Define --in-content-button- variables based on design tokens
Categories
(Toolkit :: Themes, task)
Tracking
()
People
(Reporter: mstriemer, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Whiteboard: [recomp])
Bug 1798404 introduces some design tokens for moz-toggle, this should also provide most of the tokens we need for buttons. We'll likely need to add text color and potentially some spacing tokens to fully update the button rules to be based on design tokens.
Since the --in-content-button-*
variables are used in so many places it would make sense to leave those rules in common-shared.css for now and have them be defined by the design tokens like --in-content-button-background: var(--button-background-color)
. It would be nice if the button styles used the design tokens, but the old variables are left to support existing uses.
Removing the --in-content-button-*
variables and updating existing uses can happen in one or more follow up tickets.
Updated•2 years ago
|
Updated•2 years ago
|
Reporter | ||
Comment 1•2 years ago
|
||
Work is happening in bug 1835869
Updated•1 year ago
|
Description
•