I'm not sure appearanceTools in theme.json is the right idea. #39586
Replies: 7 comments 8 replies
-
Wondering if you might have more insight @carolinan |
Beta Was this translation helpful? Give feedback.
-
Here is some related background on how this flag came about: #36187 #36246
In general, I think this flag exists to make it simple to opt-in to new design tools as they are added, rather than having to opt in to each one individually, especially since new features get added frequently. |
Beta Was this translation helpful? Give feedback.
-
The context for this flag is that new design tools are generally added in an opt-in way, since site maintainers, custom themes, etc, usually don't want to be on the lookout for things they might need to disable from new WordPress releases to provide a controlled experience. At the same time, there are many themes (in a sense, most of the .org theme directory) for which it's desirable that all new tools are made available as soon as they are introduced without having to release a new update of the theme. This means users of the theme get to benefit from updates to the core editor experience without requiring the theme itself to keep updating its json file. This flag is meant to capture both use cases. |
Beta Was this translation helpful? Give feedback.
-
a flag to (dis)allow random changes for color, font, size etc. would be more helpful. Editors should be able to edit text and select from basic styles like emphasis or strong but not to change color . |
Beta Was this translation helpful? Give feedback.
-
I didn't know and that is awesome. Is this in the documentation? |
Beta Was this translation helpful? Give feedback.
-
Yes it is in the reference: |
Beta Was this translation helpful? Give feedback.
-
FWIW setting
I realize @carolinan Huge fan of your site (https://fullsiteediting.com) been referencing it for years—thank so much for maintaining that! 🙏 Currently, if I use the |
Beta Was this translation helpful? Give feedback.
-
I am seeing a new setting for theme.json called
appearanceTools
that turns on a bunch of things with a single setting. While I can see the appeal in reducing the size of a theme.json file, I feel like this might cause more confusion than it's worth.The goal of the setting is purely to reduce the size of theme.json, is that correct?
This is ultimately an abstraction that makes theme.json less clear and less verbose; less easy to understand. It essentially hides options, making it harder to understand what is happening when editing a theme.json file.
If the only advantage to this is to reduce the size of theme.json, I would like to suggest that it's not worth the loss in understanding and clarity.
Is there another advantage to having
appearanceTools
that I'm not seeing?Beta Was this translation helpful? Give feedback.
All reactions