@dezkareid/design-tokens 1.4.1 → 1.5.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/dist/catalogs/all-tokens-css.md +5 -0
- package/dist/catalogs/all-tokens-js.md +4 -0
- package/dist/catalogs/all-tokens-scss.md +4 -0
- package/dist/css/variables.css +5 -0
- package/dist/js/tokens.d.ts +4 -0
- package/dist/js/tokens.js +4 -0
- package/dist/js/tokens.mjs +4 -0
- package/dist/scss/_variables.scss +4 -0
- package/package.json +1 -1
|
@@ -39,6 +39,8 @@ This catalog contains design tokens optimized for CSS usage.
|
|
|
39
39
|
| `--color-base-red-100` | `#fee2e2` |
|
|
40
40
|
| `--color-base-red-500` | `#ef4444` |
|
|
41
41
|
| `--color-base-red-900` | `#7f1d1d` |
|
|
42
|
+
| `--color-base-amber-600` | `#d97706` |
|
|
43
|
+
| `--color-base-amber-900` | `#78350f` |
|
|
42
44
|
| `--color-base-gray-100` | `#f3f4f6` |
|
|
43
45
|
| `--color-base-gray-400` | `#9ca3af` |
|
|
44
46
|
| `--color-base-gray-500` | `#6b7280` |
|
|
@@ -128,4 +130,7 @@ The following semantic tokens are themed and support light/dark modes.
|
|
|
128
130
|
| `--color-text-secondary` | `light-dark(var(--light-color-text-secondary), var(--dark-color-text-secondary))` |
|
|
129
131
|
| `--light-color-text-secondary` | `#4b5563` |
|
|
130
132
|
| `--dark-color-text-secondary` | `#9ca3af` |
|
|
133
|
+
| `--color-warning` | `light-dark(var(--light-color-warning), var(--dark-color-warning))` |
|
|
134
|
+
| `--light-color-warning` | `#d97706` |
|
|
135
|
+
| `--dark-color-warning` | `#78350f` |
|
|
131
136
|
|
|
@@ -39,6 +39,8 @@ This catalog contains design tokens optimized for JS usage.
|
|
|
39
39
|
| `ColorBaseRed100` | `#fee2e2` |
|
|
40
40
|
| `ColorBaseRed500` | `#ef4444` |
|
|
41
41
|
| `ColorBaseRed900` | `#7f1d1d` |
|
|
42
|
+
| `ColorBaseAmber600` | `#d97706` |
|
|
43
|
+
| `ColorBaseAmber900` | `#78350f` |
|
|
42
44
|
| `ColorBaseGray100` | `#f3f4f6` |
|
|
43
45
|
| `ColorBaseGray400` | `#9ca3af` |
|
|
44
46
|
| `ColorBaseGray500` | `#6b7280` |
|
|
@@ -120,4 +122,6 @@ The following semantic tokens are themed and support light/dark modes.
|
|
|
120
122
|
| `DarkColorTextPrimary` | `#ffffff` |
|
|
121
123
|
| `LightColorTextSecondary` | `#4b5563` |
|
|
122
124
|
| `DarkColorTextSecondary` | `#9ca3af` |
|
|
125
|
+
| `LightColorWarning` | `#d97706` |
|
|
126
|
+
| `DarkColorWarning` | `#78350f` |
|
|
123
127
|
|
|
@@ -39,6 +39,8 @@ This catalog contains design tokens optimized for SCSS usage.
|
|
|
39
39
|
| `$color-base-red-100` | `#fee2e2` |
|
|
40
40
|
| `$color-base-red-500` | `#ef4444` |
|
|
41
41
|
| `$color-base-red-900` | `#7f1d1d` |
|
|
42
|
+
| `$color-base-amber-600` | `#d97706` |
|
|
43
|
+
| `$color-base-amber-900` | `#78350f` |
|
|
42
44
|
| `$color-base-gray-100` | `#f3f4f6` |
|
|
43
45
|
| `$color-base-gray-400` | `#9ca3af` |
|
|
44
46
|
| `$color-base-gray-500` | `#6b7280` |
|
|
@@ -120,4 +122,6 @@ The following semantic tokens are themed and support light/dark modes.
|
|
|
120
122
|
| `$color-semantic-dark-text-primary` | `#ffffff` |
|
|
121
123
|
| `$color-semantic-light-text-secondary` | `#4b5563` |
|
|
122
124
|
| `$color-semantic-dark-text-secondary` | `#9ca3af` |
|
|
125
|
+
| `$color-semantic-light-warning` | `#d97706` |
|
|
126
|
+
| `$color-semantic-dark-warning` | `#78350f` |
|
|
123
127
|
|
package/dist/css/variables.css
CHANGED
|
@@ -27,6 +27,8 @@
|
|
|
27
27
|
--color-base-red-100: #fee2e2;
|
|
28
28
|
--color-base-red-500: #ef4444;
|
|
29
29
|
--color-base-red-900: #7f1d1d;
|
|
30
|
+
--color-base-amber-600: #d97706;
|
|
31
|
+
--color-base-amber-900: #78350f;
|
|
30
32
|
--color-base-gray-100: #f3f4f6;
|
|
31
33
|
--color-base-gray-400: #9ca3af;
|
|
32
34
|
--color-base-gray-500: #6b7280;
|
|
@@ -79,6 +81,9 @@
|
|
|
79
81
|
--light-color-danger: var(--color-base-red-500);
|
|
80
82
|
--dark-color-danger: var(--color-base-red-900);
|
|
81
83
|
--color-danger: light-dark(var(--light-color-danger), var(--dark-color-danger));
|
|
84
|
+
--light-color-warning: var(--color-base-amber-600);
|
|
85
|
+
--dark-color-warning: var(--color-base-amber-900);
|
|
86
|
+
--color-warning: light-dark(var(--light-color-warning), var(--dark-color-warning));
|
|
82
87
|
--light-color-background-primary: var(--color-base-white);
|
|
83
88
|
--dark-color-background-primary: var(--color-base-black);
|
|
84
89
|
--color-background-primary: light-dark(var(--light-color-background-primary), var(--dark-color-background-primary));
|
package/dist/js/tokens.d.ts
CHANGED
|
@@ -25,6 +25,8 @@ export const ColorBaseGreen900: string;
|
|
|
25
25
|
export const ColorBaseRed100: string;
|
|
26
26
|
export const ColorBaseRed500: string;
|
|
27
27
|
export const ColorBaseRed900: string;
|
|
28
|
+
export const ColorBaseAmber600: string;
|
|
29
|
+
export const ColorBaseAmber900: string;
|
|
28
30
|
export const ColorBaseGray100: string;
|
|
29
31
|
export const ColorBaseGray400: string;
|
|
30
32
|
export const ColorBaseGray500: string;
|
|
@@ -36,6 +38,7 @@ export const ColorBaseBlack: string;
|
|
|
36
38
|
export const LightColorPrimary: string;
|
|
37
39
|
export const LightColorSuccess: string;
|
|
38
40
|
export const LightColorDanger: string;
|
|
41
|
+
export const LightColorWarning: string;
|
|
39
42
|
export const LightColorBackgroundPrimary: string;
|
|
40
43
|
export const LightColorBackgroundSecondary: string;
|
|
41
44
|
export const LightColorTextPrimary: string;
|
|
@@ -44,6 +47,7 @@ export const LightColorTextInverse: string;
|
|
|
44
47
|
export const DarkColorPrimary: string;
|
|
45
48
|
export const DarkColorSuccess: string;
|
|
46
49
|
export const DarkColorDanger: string;
|
|
50
|
+
export const DarkColorWarning: string;
|
|
47
51
|
export const DarkColorBackgroundPrimary: string;
|
|
48
52
|
export const DarkColorBackgroundSecondary: string;
|
|
49
53
|
export const DarkColorTextPrimary: string;
|
package/dist/js/tokens.js
CHANGED
|
@@ -25,6 +25,8 @@ export const ColorBaseGreen900 = "#14532d";
|
|
|
25
25
|
export const ColorBaseRed100 = "#fee2e2";
|
|
26
26
|
export const ColorBaseRed500 = "#ef4444";
|
|
27
27
|
export const ColorBaseRed900 = "#7f1d1d";
|
|
28
|
+
export const ColorBaseAmber600 = "#d97706";
|
|
29
|
+
export const ColorBaseAmber900 = "#78350f";
|
|
28
30
|
export const ColorBaseGray100 = "#f3f4f6";
|
|
29
31
|
export const ColorBaseGray400 = "#9ca3af";
|
|
30
32
|
export const ColorBaseGray500 = "#6b7280";
|
|
@@ -36,6 +38,7 @@ export const ColorBaseBlack = "#000000";
|
|
|
36
38
|
export const LightColorPrimary = "#2563eb";
|
|
37
39
|
export const LightColorSuccess = "#22c55e";
|
|
38
40
|
export const LightColorDanger = "#ef4444";
|
|
41
|
+
export const LightColorWarning = "#d97706";
|
|
39
42
|
export const LightColorBackgroundPrimary = "#ffffff";
|
|
40
43
|
export const LightColorBackgroundSecondary = "#f3f4f6";
|
|
41
44
|
export const LightColorTextPrimary = "#111827";
|
|
@@ -44,6 +47,7 @@ export const LightColorTextInverse = "#ffffff";
|
|
|
44
47
|
export const DarkColorPrimary = "#dbeafe";
|
|
45
48
|
export const DarkColorSuccess = "#14532d";
|
|
46
49
|
export const DarkColorDanger = "#7f1d1d";
|
|
50
|
+
export const DarkColorWarning = "#78350f";
|
|
47
51
|
export const DarkColorBackgroundPrimary = "#000000";
|
|
48
52
|
export const DarkColorBackgroundSecondary = "#1f2937";
|
|
49
53
|
export const DarkColorTextPrimary = "#ffffff";
|
package/dist/js/tokens.mjs
CHANGED
|
@@ -25,6 +25,8 @@ export const ColorBaseGreen900 = "#14532d";
|
|
|
25
25
|
export const ColorBaseRed100 = "#fee2e2";
|
|
26
26
|
export const ColorBaseRed500 = "#ef4444";
|
|
27
27
|
export const ColorBaseRed900 = "#7f1d1d";
|
|
28
|
+
export const ColorBaseAmber600 = "#d97706";
|
|
29
|
+
export const ColorBaseAmber900 = "#78350f";
|
|
28
30
|
export const ColorBaseGray100 = "#f3f4f6";
|
|
29
31
|
export const ColorBaseGray400 = "#9ca3af";
|
|
30
32
|
export const ColorBaseGray500 = "#6b7280";
|
|
@@ -36,6 +38,7 @@ export const ColorBaseBlack = "#000000";
|
|
|
36
38
|
export const LightColorPrimary = "#2563eb";
|
|
37
39
|
export const LightColorSuccess = "#22c55e";
|
|
38
40
|
export const LightColorDanger = "#ef4444";
|
|
41
|
+
export const LightColorWarning = "#d97706";
|
|
39
42
|
export const LightColorBackgroundPrimary = "#ffffff";
|
|
40
43
|
export const LightColorBackgroundSecondary = "#f3f4f6";
|
|
41
44
|
export const LightColorTextPrimary = "#111827";
|
|
@@ -44,6 +47,7 @@ export const LightColorTextInverse = "#ffffff";
|
|
|
44
47
|
export const DarkColorPrimary = "#dbeafe";
|
|
45
48
|
export const DarkColorSuccess = "#14532d";
|
|
46
49
|
export const DarkColorDanger = "#7f1d1d";
|
|
50
|
+
export const DarkColorWarning = "#78350f";
|
|
47
51
|
export const DarkColorBackgroundPrimary = "#000000";
|
|
48
52
|
export const DarkColorBackgroundSecondary = "#1f2937";
|
|
49
53
|
export const DarkColorTextPrimary = "#ffffff";
|
|
@@ -21,6 +21,8 @@ $color-base-green-900: #14532d;
|
|
|
21
21
|
$color-base-red-100: #fee2e2;
|
|
22
22
|
$color-base-red-500: #ef4444;
|
|
23
23
|
$color-base-red-900: #7f1d1d;
|
|
24
|
+
$color-base-amber-600: #d97706;
|
|
25
|
+
$color-base-amber-900: #78350f;
|
|
24
26
|
$color-base-gray-100: #f3f4f6;
|
|
25
27
|
$color-base-gray-400: #9ca3af;
|
|
26
28
|
$color-base-gray-500: #6b7280;
|
|
@@ -32,6 +34,7 @@ $color-base-black: #000000;
|
|
|
32
34
|
$color-semantic-light-primary: $color-base-blue-600;
|
|
33
35
|
$color-semantic-light-success: $color-base-green-500;
|
|
34
36
|
$color-semantic-light-danger: $color-base-red-500;
|
|
37
|
+
$color-semantic-light-warning: $color-base-amber-600;
|
|
35
38
|
$color-semantic-light-background-primary: $color-base-white;
|
|
36
39
|
$color-semantic-light-background-secondary: $color-base-gray-100;
|
|
37
40
|
$color-semantic-light-text-primary: $color-base-gray-900;
|
|
@@ -40,6 +43,7 @@ $color-semantic-light-text-inverse: $color-base-white;
|
|
|
40
43
|
$color-semantic-dark-primary: $color-base-blue-100;
|
|
41
44
|
$color-semantic-dark-success: $color-base-green-900;
|
|
42
45
|
$color-semantic-dark-danger: $color-base-red-900;
|
|
46
|
+
$color-semantic-dark-warning: $color-base-amber-900;
|
|
43
47
|
$color-semantic-dark-background-primary: $color-base-black;
|
|
44
48
|
$color-semantic-dark-background-secondary: $color-base-gray-800;
|
|
45
49
|
$color-semantic-dark-text-primary: $color-base-white;
|