✨(tokens) css utility classes are now optionnal
Previously, when using the cunningham bin to build tokens, the CSS file always included utility classes, resulting in duplicated CSS utility classes on the consumer side if no specific CSS optimizer is defined ( its local cunningham-tokens.css + the one from the react package ). Now, this new feature introduces a param named --utility-classes that must be provided to generate those classes. This params is henceforth only provided to the bin inside the tokens package.
This commit is contained in:
7
.changeset/sweet-socks-impress.md
Normal file
7
.changeset/sweet-socks-impress.md
Normal file
@@ -0,0 +1,7 @@
|
||||
---
|
||||
"@openfun/cunningham-tokens": patch
|
||||
"@openfun/cunningham-react": patch
|
||||
"cunningham-demo": patch
|
||||
---
|
||||
|
||||
The CSS utility classes are no longer automatically included when using Cunningham bin.
|
||||
Reference in New Issue
Block a user