(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:
Nathan Vasse
2023-02-16 17:06:33 +01:00
committed by NathanVss
parent cd88e46537
commit 2a5acea4a4
11 changed files with 55 additions and 361 deletions

View 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.