-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Discuss the default scope of each block's properties #27512
Comments
I would also argue that "border styles" (width, color, radius, style) should also be something that we consider mapping the default availability for. While we don't have user-facing controls for those attributes yet they are forthcoming. |
Before I forget, the comments blocks mentioned above needs to be split down to the individual blocks. |
As a designer user, I believe it should be possible to customize a theme globally. Having all these options available for every block may turn into a confusing experience. I usually choose a theme for its main structure or specific patterns and then wish to customize font properties, colors and spacing, but this is something I do when building a site, not in every block. Just wanted to add my perspective here, but I'd love to know your thoughts on which occasions a user would want to see these options in the "block" sidebar. |
If I understand this issue correctly, the ultimate goal is to provide a matrix for when a theme feature or design tool (such as letter-spacing) is available in code, in global styles, on a per-block basis, or a combination of those. Is that correct? In that vein, I share Bea's instinct: the more that is available in global styles, for themers to configure, the better. And on the other side of the spectrum, not all of what is available there can be shown by default on every block out there, the experience would not be great. In #27331, an effort has been put into finding a way to bridge those two: allowing a plethora of design tools to be available, finding a good subset of those to show by default, all the while still making them potentially available on a per-block basis if you really really need them. This image shows perhaps the best example of that spectrum, with a default user experience on the left, and the full range of tools on the right: The effort to discuss which controls are valuable in which blocks is definitely still relevant, and I hope that the above ticket can help inspire good defaults as well! |
+1 to many thoughts from @jasmussen. The goal of the Post Editor is to craft content. Complicated design features should try to stay out of the way. The goal of global styles is to set the design features of a site. All design features should try to be prominent. In general, most blocks should share the same level of customisation, so the user knows what to expect. I think this strikes a pretty good balance: Block level settings:
Global styles:
|
👋 When we created #27295 the views on how this all should work were different. The current view is that:
This issue can still be open if you feel it provides value, but I thought I share the new direction in case it makes think this should be closed. |
Following up with #27295, this issue is to discuss where each style property should be visible to the user.
The options would be (see #28163):
Colors
Typography
Spacing
@nosolosw
The text was updated successfully, but these errors were encountered: