-
Notifications
You must be signed in to change notification settings - Fork 45
Open
Labels
Description
Explore non-breaking changes to improve sizing modes. Ideas to consider (from most to least likely):
- Complete feat: modular font-size scale #4044 to make
font-sizemore customizable. - Make it possible to add (or remove) size modes. Currently we provide
sm,md,lg, but we could add support for optionally adding several smaller or larger modes as well, removing sizes, or reconfiguring the base size for each. A part of the necessary work to support this has been done in feat: modular font-size scale #4044 by removing hard-coding of these size modes in the css generating code. - Expose possibility for adjusting the step size of each size mode, which is currently only an internal token.
- Currently, size modes affect
sizetokens andfont-sizetokens similarly. We could consider adding options to configure this differently, since these internally use different tokens for base-size and step. E.g. someone could configure both asmmode and asm-compactmode, where the latter has smallersizetokens, while both have the equal values forfont-sizetokens. Or having thesizetokens grow less than thefont-sizetokens when changing fromsmtomdtolg.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
☂ Epics