Export a new util method `getThemesFromGlobals` to easily generate theme with its variant only by providing a partial globals object. By default it returns both available theme variants (light & dark). Through options you can prefix variant property keys, only generate theme with a subset of variant and also overrides/extend theme.
6 lines
82 B
Markdown
6 lines
82 B
Markdown
---
|
|
"@gouvfr-lasuite/cunningham-tokens": minor
|
|
---
|
|
|
|
Add getThemesFromGlobals util
|