You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Proposed breaking changes for next major version of Enhance Styles
Emit only custom properties
Users should be able to configure Enhance Styles to only emit custom properties so that folks who want to use those without utility classes may do so.
Current modules which export custom styles:
type scale
space scale
theme
color
This would need to be compatible with another desired change, which is:
Make files, config, and output 1:1
Users should be able to opt out of any modules they don't require. Currently the styleguide.json allows for configuring some fields; most have defaults if no configuration is specified, some (like color) do not. We should unify the configuration file with the range of available modules for utility classes, such that all modules are included by default, but users can choose to opt out of certain modules if they prefer. For example, to configure the type scale but opt out of background- classes:
{
"typeScale": {…},
"background": false,
}
The text was updated successfully, but these errors were encountered:
Proposed breaking changes for next major version of Enhance Styles
Emit only custom properties
Users should be able to configure Enhance Styles to only emit custom properties so that folks who want to use those without utility classes may do so.
Current modules which export custom styles:
This would need to be compatible with another desired change, which is:
Make files, config, and output 1:1
Users should be able to opt out of any modules they don't require. Currently the
styleguide.json
allows for configuring some fields; most have defaults if no configuration is specified, some (likecolor
) do not. We should unify the configuration file with the range of available modules for utility classes, such that all modules are included by default, but users can choose to opt out of certain modules if they prefer. For example, to configure the type scale but opt out ofbackground-
classes:The text was updated successfully, but these errors were encountered: