-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Open
Labels
Needs DevReady for, and needs developer effortsReady for, and needs developer efforts[Feature] ExtensibilityThe ability to extend blocks or the editing experienceThe ability to extend blocks or the editing experience[Feature] Theme Style VariationsRelated to style variations provided by block themesRelated to style variations provided by block themes[Focus] Blocks AdoptionFor issues that directly impact the ability to adopt features of Gutenberg.For issues that directly impact the ability to adopt features of Gutenberg.[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Description
There should be a way to identify which theme.json style variation that is in use:
- A unique identifier as a CSS class on the body, so that custom CSS can be applied to a variation.
is-variation-name
,has-variation-name
or similar. - A PHP function that returns true or false for variations, (similar to for example is_page_template ) so that patterns, custom styles and filters can be used conditionally.
justintadlockmikachan, skorasaurus, colorful-tones, aristath, ChrisWeiser and 9 more
Metadata
Metadata
Assignees
Labels
Needs DevReady for, and needs developer effortsReady for, and needs developer efforts[Feature] ExtensibilityThe ability to extend blocks or the editing experienceThe ability to extend blocks or the editing experience[Feature] Theme Style VariationsRelated to style variations provided by block themesRelated to style variations provided by block themes[Focus] Blocks AdoptionFor issues that directly impact the ability to adopt features of Gutenberg.For issues that directly impact the ability to adopt features of Gutenberg.[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Type
Projects
Status
In Progress