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.
193 B
193 B
@openfun/cunningham-tokens, @openfun/cunningham-react, cunningham-demo
| @openfun/cunningham-tokens | @openfun/cunningham-react | cunningham-demo |
|---|---|---|
| patch | patch | patch |
The CSS utility classes are no longer automatically included when using Cunningham bin.