Global styles variations: Improve naming and clarify feature #59691
Labels
[Focus] Accessibility (a11y)
Changes that impact accessibility and need corresponding review (e.g. markup changes).
Global Styles
Anything related to the broader Global Styles efforts, including Styles Engine and theme.json
Needs Design Feedback
Needs general design feedback.
[Package] Edit Site
/packages/edit-site
[Type] Bug
An existing feature does not function as intended
Description
Noticed while working on #59508
See also #59504
As a user, I'm confused about what the various 'styles variations' are in the editor.
They're are named inconsistently and it's not clear they come from the theme. Also, when themss provide specific variations for specific aspects like Typography varaitions or Colors variations, it's not clear how setting a specific variation interat with a global variation and vice-versa.
Naming
Screenshot:
The inconsistent naming (or lack of it) doesn't help users understand what this feature is and how it works.
To me, these are 'variations' and should always be named as sucn.
Also, any section in the Typograph and Colors panel should be clearly identified by a heading. I'm not sure removing the 'Presets' heading is ideal, rather this sections should be named 'Variations'. All other sections are identified by headings e.g.: Fonts, Elements, Palette, Color...
Provided by themes
AFAIK there's no explanation anywhere these variations are provided by the active theme and, as such, they will be lost when switching to another theme.
The naming and descriptions on these panels don't help understand a fundamental aspect of this feature. I'd think the UI should clearly explain these styles variations are a theme feature.
Note: I'm not sure whether variations can be provided by plugins as well.
Reset to default
While the 'global' variations in the editor navigation panel under Design > Styles and in the Styles panel under 'Browse stylew' do have a 'Default' variation that allows users to reset to the default, the Typography and Colors variation can't be reset.
As such, when applhying a Typography variation or a Color variation separately, there's no way to 'reset' them to the default.
Active variations indication could be improved.
This is particularly confusing when setting single specific variations for Typography or Colors, For example.
Overall, I'd think the UI is confusing for users and should be clarified drastically.
Step-by-step reproduction instructions
See above.
Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: