@juwel-development/design-system 3.5.0 → 3.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -122,6 +122,14 @@ npm run build:tokens
122
122
  The generated files are committed, and a test pins each to the palette - editing the
123
123
  palette without regenerating fails the suite rather than shipping stale colours.
124
124
 
125
+ #### Migrating a custom palette to the `scrim` role
126
+
127
+ Dialog added the required `scrim` role to `PaletteTokens`. A consumer that constructs its own
128
+ palette object of this type must add a `scrim` colour - an `rgb(r g b / a)` value whose alpha is
129
+ part of the role, `rgb(15 23 42 / 0.5)` being the shipped default. Spreading `light`/`dark` and
130
+ overriding stays valid unchanged, and a theme that only overrides the generated
131
+ `--color-*` custom properties in CSS inherits the new default without any change.
132
+
125
133
  ## Development
126
134
 
127
135
  ```bash