Open
Bug 2034468
Opened 6 months ago
Updated 2 months ago
Add lwtheme support for design tokens
Categories
(Toolkit :: Themes, task)
Toolkit
Themes
Tracking
()
NEW
People
(Reporter: jooliver, Unassigned)
References
Details
(Whiteboard: [recomp][acorntractors])
Add support for handling [lwtheme] selectors in tokens-config.js. This allows us to convert some token declarations into json that are currently unable to be converted.
See examples in:
Considerations
As part of this work, determine necessary use cases to support.
- Basic positive
[lwtheme]selectors directly from:rootshould be supported. Example here. - There are more complex selectors, for example "forced colors but not lwtheme" as seen here. Determine if this level of complexity is necessary to support.
- This relates to bug 2034479, which includes restructuring of
not([lwtheme])usage intoolkit/themes/shared/design-system/dist/tokens-shared.css
| Reporter | ||
Updated•6 months ago
|
Whiteboard: [recomp][acorntractors]
Updated•6 months ago
|
Comment 1•6 months ago
|
||
Not a priority for Nova. Will be useful for extracting more definitions from the CSS files.
You need to log in
before you can comment on or make changes to this bug.
Description
•