@webority/theme 0.8.9 → 0.9.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webority/theme",
3
- "version": "0.8.9",
3
+ "version": "0.9.0",
4
4
  "description": "Webority shared design system — Bootstrap 5.3 SCSS overrides, --wui-* tokens, and shared component CSS. The single source of brand chrome for React portals and Razor sites.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "publishConfig": {
package/scss/_tokens.scss CHANGED
@@ -93,10 +93,6 @@
93
93
  --wui-surface-soft: #F2EFFE;
94
94
  --wui-surface-violet: #ECE4FE;
95
95
  --wui-surface-violet-soft: #FCFCFC;
96
- // Deprecated aliases — the value was always lavender, never blue. Published
97
- // names, so consumers migrate on their own bump; removed in a future major.
98
- --wui-surface-blue: var(--wui-surface-violet);
99
- --wui-surface-blue-soft: var(--wui-surface-violet-soft);
100
96
  --wui-surface-mute: #F9FBFC;
101
97
  --wui-ink: #000000;
102
98
 
@@ -1193,8 +1193,7 @@ wui-select[compact] {
1193
1193
  .badge-success {
1194
1194
  @include wui-tone-pill-colors(success);
1195
1195
  }
1196
- .badge-warning,
1197
- .badge-warn {
1196
+ .badge-warning {
1198
1197
  @include wui-tone-pill-colors(warning);
1199
1198
  }
1200
1199
  .badge-danger {
@@ -1228,29 +1227,16 @@ wui-select[compact] {
1228
1227
  // the same vocabulary .chip, .badge and every other tone-bearing component uses.
1229
1228
  // A semantic name survives a palette change; a colour name does not (a "green"
1230
1229
  // tone is a lie the moment the brand's success colour stops being green).
1231
- //
1232
- // Two other vocabularies existed and are accepted as DEPRECATED ALIASES so a
1233
- // consumer can migrate without a flag day:
1234
- // - colour-named .tone-green / -amber / -red / -blue / -grey (was the library's)
1235
- // - short semantic .tone-ok / -warn / -bad (a short-semantic set)
1236
- // Author new markup with the semantic names; the aliases will be removed.
1237
- .status-label.success,
1238
- .status-label.tone-ok,
1239
- .status-label.tone-green {
1230
+ .status-label.success {
1240
1231
  @include wui-tone-pill-colors(success);
1241
1232
  }
1242
- .status-label.warning,
1243
- .status-label.tone-warn,
1244
- .status-label.tone-amber {
1233
+ .status-label.warning {
1245
1234
  @include wui-tone-pill-colors(warning);
1246
1235
  }
1247
- .status-label.danger,
1248
- .status-label.tone-bad,
1249
- .status-label.tone-red {
1236
+ .status-label.danger {
1250
1237
  @include wui-tone-pill-colors(danger);
1251
1238
  }
1252
- .status-label.info,
1253
- .status-label.tone-blue {
1239
+ .status-label.info {
1254
1240
  @include wui-tone-pill-colors(info);
1255
1241
  }
1256
1242
  .status-label.primary {
@@ -1259,8 +1245,7 @@ wui-select[compact] {
1259
1245
  // Default/neutral — also the bare `.status-label` look, so an unknown or omitted
1260
1246
  // tone still renders as a proper pill instead of transparent text.
1261
1247
  .status-label,
1262
- .status-label.neutral,
1263
- .status-label.tone-grey {
1248
+ .status-label.neutral {
1264
1249
  background: color-mix(in srgb, var(--color-text-subtle) 16%, transparent);
1265
1250
  // The tertiary tier is readable on a plain surface but not on its own 16% tint,
1266
1251
  // so the neutral pill takes the secondary tier instead of a sixth `-text` token.