@webority/theme 0.161.0 → 0.163.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 +2 -2
- package/dist/webority-theme.css +3 -3
- package/package.json +5 -5
- package/scss/_bootstrap.generated.scss +1 -1
- package/scss/_tokens.generated.scss +1 -1
- package/scss/wui/_card.scss +12 -4
- package/scss/wui/_controls.scss +7 -2
- package/scss/wui/_flow.scss +2 -2
- package/scss/wui/_overlays.scss +2 -2
package/README.md
CHANGED
|
@@ -28,7 +28,7 @@ $font-family-sans-serif: "Brand Sans", system-ui, sans-serif;
|
|
|
28
28
|
// The entry stylesheet.
|
|
29
29
|
@use "your-brand/variables"; // first: it configures the theme
|
|
30
30
|
@use "@webority/theme/scss/fonts";
|
|
31
|
-
@use "@webority/theme/scss/bootstrap-css"; // Bootstrap 5.3.
|
|
31
|
+
@use "@webority/theme/scss/bootstrap-css"; // Bootstrap 5.3.9, built from your configuration
|
|
32
32
|
@use "@webority/theme/scss/tokens"; // --wui-* and --color-* tokens
|
|
33
33
|
@use "your-brand/tokens"; // your CSS custom properties
|
|
34
34
|
@use "@webority/theme/scss/components"; // portal / control chrome
|
|
@@ -45,7 +45,7 @@ $font-family-sans-serif: "Brand Sans", system-ui, sans-serif;
|
|
|
45
45
|
name the theme marks `!default` can be configured; Sass names any other one in its error.
|
|
46
46
|
- A project partial that reads a theme value (`$grid-breakpoints`, `media-breakpoint-up`) starts with
|
|
47
47
|
`@use "@webority/theme/scss/config" as *;` and gets the configured values.
|
|
48
|
-
- Bootstrap 5.3.
|
|
48
|
+
- Bootstrap 5.3.9 ships no Sass modules, so `config` and `bootstrap-css` load it with `@import` inside;
|
|
49
49
|
load Bootstrap only through them, never `bootstrap/scss/bootstrap` yourself.
|
|
50
50
|
- `node scripts/codemods/theme-use.mjs <folder>` (in webority-ui) moves an `@import` chain onto this form
|
|
51
51
|
and turns `@include wui-brand-primary(X)` into `$primary: X;`; `--check` reports without writing.
|