@bi-digital/tokens 0.12.2 → 0.12.4

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/dist/tokens.css CHANGED
@@ -241,8 +241,8 @@
241
241
  --bi-color-info-on-fill: var(--bi-basic-white);
242
242
  --bi-color-warning-background: var(--bi-warning-0);
243
243
  --bi-color-warning-surface-subtle: var(--bi-basic-white);
244
- --bi-color-warning-surface: var(--bi-warning-10);
245
- --bi-color-warning-surface-strong: var(--bi-warning-15);
244
+ --bi-color-warning-surface: var(--bi-warning-5);
245
+ --bi-color-warning-surface-strong: var(--bi-warning-10);
246
246
  --bi-color-warning-surface-active: var(--bi-warning-20);
247
247
  --bi-color-warning-stroke-subtle: var(--bi-warning-10);
248
248
  --bi-color-warning-stroke: var(--bi-warning-15);
@@ -275,8 +275,8 @@
275
275
  --bi-color-success-on-fill: var(--bi-basic-white);
276
276
  --bi-color-alert-background: var(--bi-alert-0);
277
277
  --bi-color-alert-surface-subtle: var(--bi-basic-white);
278
- --bi-color-alert-surface: var(--bi-alert-10);
279
- --bi-color-alert-surface-strong: var(--bi-alert-15);
278
+ --bi-color-alert-surface: var(--bi-alert-5);
279
+ --bi-color-alert-surface-strong: var(--bi-alert-10);
280
280
  --bi-color-alert-surface-active: var(--bi-alert-20);
281
281
  --bi-color-alert-stroke-subtle: var(--bi-alert-10);
282
282
  --bi-color-alert-stroke: var(--bi-alert-15);
@@ -360,6 +360,10 @@
360
360
  }
361
361
 
362
362
  :root, [data-color-scheme="light"] {
363
+ --bi-color-stroke-basic-subtle: #0000001a;
364
+ --bi-color-stroke-basic: #00000033;
365
+ --bi-color-stroke-basic-strong: #0000004d;
366
+ --bi-color-stroke-basic-contrast: #00000080;
363
367
  --bi-color-neutral-background: var(--bi-neutral-5);
364
368
  --bi-color-neutral-surface-subtle: var(--bi-basic-white);
365
369
  --bi-color-neutral-surface: var(--bi-neutral-5);
@@ -416,8 +420,8 @@
416
420
  --bi-color-info-on-fill: var(--bi-basic-white);
417
421
  --bi-color-warning-background: var(--bi-warning-0);
418
422
  --bi-color-warning-surface-subtle: var(--bi-basic-white);
419
- --bi-color-warning-surface: var(--bi-warning-10);
420
- --bi-color-warning-surface-strong: var(--bi-warning-15);
423
+ --bi-color-warning-surface: var(--bi-warning-5);
424
+ --bi-color-warning-surface-strong: var(--bi-warning-10);
421
425
  --bi-color-warning-surface-active: var(--bi-warning-20);
422
426
  --bi-color-warning-stroke-subtle: var(--bi-warning-10);
423
427
  --bi-color-warning-stroke: var(--bi-warning-15);
@@ -452,8 +456,8 @@
452
456
  --bi-color-success-on-fill: var(--bi-basic-white);
453
457
  --bi-color-alert-background: var(--bi-alert-0);
454
458
  --bi-color-alert-surface-subtle: var(--bi-basic-white);
455
- --bi-color-alert-surface: var(--bi-alert-10);
456
- --bi-color-alert-surface-strong: var(--bi-alert-15);
459
+ --bi-color-alert-surface: var(--bi-alert-5);
460
+ --bi-color-alert-surface-strong: var(--bi-alert-10);
457
461
  --bi-color-alert-surface-active: var(--bi-alert-20);
458
462
  --bi-color-alert-stroke-subtle: var(--bi-alert-10);
459
463
  --bi-color-alert-stroke: var(--bi-alert-15);
@@ -468,10 +472,6 @@
468
472
  --bi-color-alert-contrast-hover: var(--bi-alert-95);
469
473
  --bi-color-alert-fill: var(--bi-alert-60);
470
474
  --bi-color-alert-on-fill: var(--bi-basic-white);
471
- --bi-color-stroke-basic-subtle: #0000001a;
472
- --bi-color-stroke-basic: #00000033;
473
- --bi-color-stroke-basic-strong: #0000004d;
474
- --bi-color-stroke-basic-contrast: #00000080;
475
475
  --bi-states-hover: #26333f1a;
476
476
  --bi-states-press: #26333f26;
477
477
  --bi-states-focus: var(--bi-primary-50);
package/dist/tokens.js CHANGED
@@ -3940,12 +3940,12 @@ export default {
3940
3940
  surface: {
3941
3941
  key: "{color.warning.surface}",
3942
3942
  $type: "color",
3943
- $value: "#fff2bf",
3943
+ $value: "#fff7d5",
3944
3944
  filePath: "tokens/Semantic.light.tokens.json",
3945
3945
  isSource: true,
3946
3946
  original: {
3947
3947
  $type: "color",
3948
- $value: "{warning.10}",
3948
+ $value: "{warning.5}",
3949
3949
  key: "{color.warning.surface}",
3950
3950
  },
3951
3951
  name: "bi-color-warning-surface",
@@ -3959,12 +3959,12 @@ export default {
3959
3959
  "surface-strong": {
3960
3960
  key: "{color.warning.surface-strong}",
3961
3961
  $type: "color",
3962
- $value: "#ffea95",
3962
+ $value: "#fff2bf",
3963
3963
  filePath: "tokens/Semantic.light.tokens.json",
3964
3964
  isSource: true,
3965
3965
  original: {
3966
3966
  $type: "color",
3967
- $value: "{warning.15}",
3967
+ $value: "{warning.10}",
3968
3968
  key: "{color.warning.surface-strong}",
3969
3969
  },
3970
3970
  name: "bi-color-warning-surface-strong",
@@ -4628,12 +4628,12 @@ export default {
4628
4628
  surface: {
4629
4629
  key: "{color.alert.surface}",
4630
4630
  $type: "color",
4631
- $value: "#ffd7d5",
4631
+ $value: "#ffe1df",
4632
4632
  filePath: "tokens/Semantic.light.tokens.json",
4633
4633
  isSource: true,
4634
4634
  original: {
4635
4635
  $type: "color",
4636
- $value: "{alert.10}",
4636
+ $value: "{alert.5}",
4637
4637
  key: "{color.alert.surface}",
4638
4638
  },
4639
4639
  name: "bi-color-alert-surface",
@@ -4647,12 +4647,12 @@ export default {
4647
4647
  "surface-strong": {
4648
4648
  key: "{color.alert.surface-strong}",
4649
4649
  $type: "color",
4650
- $value: "#ffc3bf",
4650
+ $value: "#ffd7d5",
4651
4651
  filePath: "tokens/Semantic.light.tokens.json",
4652
4652
  isSource: true,
4653
4653
  original: {
4654
4654
  $type: "color",
4655
- $value: "{alert.15}",
4655
+ $value: "{alert.10}",
4656
4656
  key: "{color.alert.surface-strong}",
4657
4657
  },
4658
4658
  name: "bi-color-alert-surface-strong",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bi-digital/tokens",
3
3
  "type": "module",
4
- "version": "0.12.2",
4
+ "version": "0.12.4",
5
5
  "description": "CSS and SASS variables for the BI Design System",
6
6
  "author": "BI Digital",
7
7
  "homepage": "https://designsystem.bi.no/?path=/docs/styles-colors--docs",
@@ -30,7 +30,7 @@
30
30
  ],
31
31
  "devDependencies": {
32
32
  "style-dictionary": "^5.5.0",
33
- "vitest": "^4.1.4"
33
+ "vitest": "4.1.10"
34
34
  },
35
35
  "scripts": {
36
36
  "build": "style-dictionary build",