@vellira-ui/tokens 2.25.0 → 2.26.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/css/tokens.css +1217 -870
- package/dist/dark/components/button.d.ts +53 -53
- package/dist/dark/components/button.d.ts.map +1 -1
- package/dist/dark/components/button.js +58 -60
- package/dist/dark/components/checkbox.d.ts +17 -13
- package/dist/dark/components/checkbox.d.ts.map +1 -1
- package/dist/dark/components/checkbox.js +21 -10
- package/dist/dark/components/contextMenu.d.ts +89 -0
- package/dist/dark/components/contextMenu.d.ts.map +1 -0
- package/dist/dark/components/contextMenu.js +52 -0
- package/dist/dark/components/dropdown.d.ts +33 -13
- package/dist/dark/components/dropdown.d.ts.map +1 -1
- package/dist/dark/components/dropdown.js +30 -27
- package/dist/dark/components/formField.d.ts +2 -2
- package/dist/dark/components/formField.js +1 -1
- package/dist/dark/components/index.d.ts +1 -1
- package/dist/dark/components/index.d.ts.map +1 -1
- package/dist/dark/components/index.js +1 -1
- package/dist/dark/components/input.d.ts +26 -26
- package/dist/dark/components/input.js +11 -11
- package/dist/dark/components/modal.d.ts +21 -4
- package/dist/dark/components/modal.d.ts.map +1 -1
- package/dist/dark/components/modal.js +18 -4
- package/dist/dark/components/radio.d.ts +24 -19
- package/dist/dark/components/radio.d.ts.map +1 -1
- package/dist/dark/components/radio.js +19 -19
- package/dist/dark/components/select.d.ts +24 -14
- package/dist/dark/components/select.d.ts.map +1 -1
- package/dist/dark/components/select.js +31 -24
- package/dist/dark/components/tabs.d.ts +17 -12
- package/dist/dark/components/tabs.d.ts.map +1 -1
- package/dist/dark/components/tabs.js +9 -8
- package/dist/dark/components/tooltip.d.ts +2 -1
- package/dist/dark/components/tooltip.d.ts.map +1 -1
- package/dist/dark/components/tooltip.js +7 -7
- package/dist/dark/semantic/action.d.ts +30 -30
- package/dist/dark/semantic/action.d.ts.map +1 -1
- package/dist/dark/semantic/action.js +45 -45
- package/dist/dark/semantic/border.d.ts +5 -5
- package/dist/dark/semantic/border.d.ts.map +1 -1
- package/dist/dark/semantic/border.js +5 -5
- package/dist/dark/semantic/control.d.ts +21 -16
- package/dist/dark/semantic/control.d.ts.map +1 -1
- package/dist/dark/semantic/control.js +24 -19
- package/dist/dark/semantic/divider.d.ts +3 -3
- package/dist/dark/semantic/divider.js +3 -3
- package/dist/dark/semantic/focus.d.ts +6 -2
- package/dist/dark/semantic/focus.d.ts.map +1 -1
- package/dist/dark/semantic/focus.js +6 -2
- package/dist/dark/semantic/icons.d.ts +10 -11
- package/dist/dark/semantic/icons.d.ts.map +1 -1
- package/dist/dark/semantic/icons.js +10 -11
- package/dist/dark/semantic/index.d.ts +3 -0
- package/dist/dark/semantic/index.d.ts.map +1 -1
- package/dist/dark/semantic/index.js +3 -0
- package/dist/dark/{components → semantic}/menu.d.ts +14 -19
- package/dist/dark/semantic/menu.d.ts.map +1 -0
- package/dist/dark/semantic/menu.js +47 -0
- package/dist/dark/semantic/navigation.d.ts +8 -8
- package/dist/dark/semantic/navigation.d.ts.map +1 -1
- package/dist/dark/semantic/navigation.js +5 -4
- package/dist/dark/semantic/overlay.d.ts +17 -0
- package/dist/dark/semantic/overlay.d.ts.map +1 -0
- package/dist/dark/semantic/overlay.js +19 -0
- package/dist/dark/semantic/shadow.d.ts +8 -0
- package/dist/dark/semantic/shadow.d.ts.map +1 -0
- package/dist/dark/semantic/shadow.js +7 -0
- package/dist/dark/semantic/skeleton.d.ts +2 -2
- package/dist/dark/semantic/skeleton.js +2 -2
- package/dist/dark/semantic/status.d.ts +12 -8
- package/dist/dark/semantic/status.d.ts.map +1 -1
- package/dist/dark/semantic/status.js +12 -8
- package/dist/dark/semantic/surface.d.ts +4 -4
- package/dist/dark/semantic/surface.d.ts.map +1 -1
- package/dist/dark/semantic/surface.js +4 -4
- package/dist/dark/semantic/text.d.ts +6 -5
- package/dist/dark/semantic/text.d.ts.map +1 -1
- package/dist/dark/semantic/text.js +6 -5
- package/dist/generated/token-types.d.ts +5 -5
- package/dist/generated/token-types.d.ts.map +1 -1
- package/dist/generated/token-types.js +565 -132
- package/dist/highContrast/components/button.d.ts +70 -70
- package/dist/highContrast/components/button.d.ts.map +1 -1
- package/dist/highContrast/components/button.js +68 -69
- package/dist/highContrast/components/checkbox.d.ts +19 -15
- package/dist/highContrast/components/checkbox.d.ts.map +1 -1
- package/dist/highContrast/components/checkbox.js +22 -12
- package/dist/highContrast/components/contextMenu.d.ts +89 -0
- package/dist/highContrast/components/contextMenu.d.ts.map +1 -0
- package/dist/highContrast/components/contextMenu.js +52 -0
- package/dist/highContrast/components/dropdown.d.ts +45 -25
- package/dist/highContrast/components/dropdown.d.ts.map +1 -1
- package/dist/highContrast/components/dropdown.js +28 -37
- package/dist/highContrast/components/formField.d.ts +5 -5
- package/dist/highContrast/components/formField.js +2 -2
- package/dist/highContrast/components/index.d.ts +1 -1
- package/dist/highContrast/components/index.d.ts.map +1 -1
- package/dist/highContrast/components/index.js +1 -1
- package/dist/highContrast/components/input.d.ts +29 -29
- package/dist/highContrast/components/input.d.ts.map +1 -1
- package/dist/highContrast/components/input.js +16 -17
- package/dist/highContrast/components/modal.d.ts +22 -5
- package/dist/highContrast/components/modal.d.ts.map +1 -1
- package/dist/highContrast/components/modal.js +19 -6
- package/dist/highContrast/components/radio.d.ts +27 -22
- package/dist/highContrast/components/radio.d.ts.map +1 -1
- package/dist/highContrast/components/radio.js +20 -20
- package/dist/highContrast/components/select.d.ts +27 -17
- package/dist/highContrast/components/select.d.ts.map +1 -1
- package/dist/highContrast/components/select.js +31 -30
- package/dist/highContrast/components/tabs.d.ts +21 -16
- package/dist/highContrast/components/tabs.d.ts.map +1 -1
- package/dist/highContrast/components/tabs.js +18 -15
- package/dist/highContrast/components/tooltip.d.ts +3 -2
- package/dist/highContrast/components/tooltip.d.ts.map +1 -1
- package/dist/highContrast/components/tooltip.js +7 -7
- package/dist/highContrast/semantic/action.d.ts +48 -38
- package/dist/highContrast/semantic/action.d.ts.map +1 -1
- package/dist/highContrast/semantic/action.js +58 -49
- package/dist/highContrast/semantic/border.d.ts +4 -4
- package/dist/highContrast/semantic/border.d.ts.map +1 -1
- package/dist/highContrast/semantic/border.js +4 -4
- package/dist/highContrast/semantic/control.d.ts +23 -28
- package/dist/highContrast/semantic/control.d.ts.map +1 -1
- package/dist/highContrast/semantic/control.js +24 -29
- package/dist/highContrast/semantic/divider.d.ts +2 -2
- package/dist/highContrast/semantic/divider.js +2 -2
- package/dist/highContrast/semantic/focus.d.ts +6 -2
- package/dist/highContrast/semantic/focus.d.ts.map +1 -1
- package/dist/highContrast/semantic/focus.js +6 -2
- package/dist/highContrast/semantic/icons.d.ts +10 -11
- package/dist/highContrast/semantic/icons.d.ts.map +1 -1
- package/dist/highContrast/semantic/icons.js +11 -12
- package/dist/highContrast/semantic/index.d.ts +4 -0
- package/dist/highContrast/semantic/index.d.ts.map +1 -1
- package/dist/highContrast/semantic/index.js +4 -0
- package/dist/highContrast/{components → semantic}/menu.d.ts +20 -25
- package/dist/highContrast/semantic/menu.d.ts.map +1 -0
- package/dist/highContrast/semantic/menu.js +47 -0
- package/dist/highContrast/semantic/navigation.d.ts +14 -25
- package/dist/highContrast/semantic/navigation.d.ts.map +1 -1
- package/dist/highContrast/semantic/navigation.js +12 -23
- package/dist/highContrast/semantic/overlay.d.ts +17 -0
- package/dist/highContrast/semantic/overlay.d.ts.map +1 -0
- package/dist/highContrast/semantic/overlay.js +19 -0
- package/dist/highContrast/semantic/shadow.d.ts +8 -0
- package/dist/highContrast/semantic/shadow.d.ts.map +1 -0
- package/dist/highContrast/semantic/shadow.js +7 -0
- package/dist/highContrast/semantic/skeleton.d.ts +1 -1
- package/dist/highContrast/semantic/skeleton.js +1 -1
- package/dist/highContrast/semantic/status.d.ts +17 -13
- package/dist/highContrast/semantic/status.d.ts.map +1 -1
- package/dist/highContrast/semantic/status.js +17 -13
- package/dist/highContrast/semantic/surface.d.ts +6 -6
- package/dist/highContrast/semantic/surface.d.ts.map +1 -1
- package/dist/highContrast/semantic/surface.js +7 -7
- package/dist/highContrast/semantic/text.d.ts +7 -6
- package/dist/highContrast/semantic/text.d.ts.map +1 -1
- package/dist/highContrast/semantic/text.js +7 -6
- package/dist/light/components/button.d.ts +49 -49
- package/dist/light/components/button.d.ts.map +1 -1
- package/dist/light/components/button.js +62 -64
- package/dist/light/components/checkbox.d.ts +18 -14
- package/dist/light/components/checkbox.d.ts.map +1 -1
- package/dist/light/components/checkbox.js +16 -12
- package/dist/light/components/contextMenu.d.ts +89 -0
- package/dist/light/components/contextMenu.d.ts.map +1 -0
- package/dist/light/components/contextMenu.js +52 -0
- package/dist/light/components/dropdown.d.ts +38 -18
- package/dist/light/components/dropdown.d.ts.map +1 -1
- package/dist/light/components/dropdown.js +21 -31
- package/dist/light/components/formField.d.ts +7 -7
- package/dist/light/components/formField.js +1 -1
- package/dist/light/components/index.d.ts +1 -1
- package/dist/light/components/index.d.ts.map +1 -1
- package/dist/light/components/index.js +1 -1
- package/dist/light/components/input.d.ts +31 -31
- package/dist/light/components/input.d.ts.map +1 -1
- package/dist/light/components/input.js +14 -15
- package/dist/light/components/modal.d.ts +25 -8
- package/dist/light/components/modal.d.ts.map +1 -1
- package/dist/light/components/modal.js +19 -6
- package/dist/light/components/radio.d.ts +23 -18
- package/dist/light/components/radio.d.ts.map +1 -1
- package/dist/light/components/radio.js +21 -21
- package/dist/light/components/select.d.ts +28 -18
- package/dist/light/components/select.d.ts.map +1 -1
- package/dist/light/components/select.js +31 -26
- package/dist/light/components/tabs.d.ts +20 -15
- package/dist/light/components/tabs.d.ts.map +1 -1
- package/dist/light/components/tabs.js +14 -13
- package/dist/light/components/tooltip.d.ts +3 -2
- package/dist/light/components/tooltip.d.ts.map +1 -1
- package/dist/light/components/tooltip.js +7 -7
- package/dist/light/semantic/action.d.ts +30 -28
- package/dist/light/semantic/action.d.ts.map +1 -1
- package/dist/light/semantic/action.js +38 -36
- package/dist/light/semantic/border.d.ts +4 -4
- package/dist/light/semantic/border.d.ts.map +1 -1
- package/dist/light/semantic/border.js +4 -4
- package/dist/light/semantic/control.d.ts +18 -13
- package/dist/light/semantic/control.d.ts.map +1 -1
- package/dist/light/semantic/control.js +18 -13
- package/dist/light/semantic/divider.d.ts +3 -3
- package/dist/light/semantic/divider.js +3 -3
- package/dist/light/semantic/focus.d.ts +6 -2
- package/dist/light/semantic/focus.d.ts.map +1 -1
- package/dist/light/semantic/focus.js +6 -2
- package/dist/light/semantic/icons.d.ts +10 -11
- package/dist/light/semantic/icons.d.ts.map +1 -1
- package/dist/light/semantic/icons.js +10 -11
- package/dist/light/semantic/index.d.ts +3 -0
- package/dist/light/semantic/index.d.ts.map +1 -1
- package/dist/light/semantic/index.js +3 -0
- package/dist/light/{components → semantic}/menu.d.ts +17 -22
- package/dist/light/semantic/menu.d.ts.map +1 -0
- package/dist/light/semantic/menu.js +47 -0
- package/dist/light/semantic/navigation.d.ts +13 -9
- package/dist/light/semantic/navigation.d.ts.map +1 -1
- package/dist/light/semantic/navigation.js +15 -9
- package/dist/light/semantic/overlay.d.ts +17 -0
- package/dist/light/semantic/overlay.d.ts.map +1 -0
- package/dist/light/semantic/overlay.js +19 -0
- package/dist/light/semantic/shadow.d.ts +8 -0
- package/dist/light/semantic/shadow.d.ts.map +1 -0
- package/dist/light/semantic/shadow.js +7 -0
- package/dist/light/semantic/skeleton.d.ts +2 -2
- package/dist/light/semantic/skeleton.js +2 -2
- package/dist/light/semantic/status.d.ts +14 -10
- package/dist/light/semantic/status.d.ts.map +1 -1
- package/dist/light/semantic/status.js +14 -10
- package/dist/light/semantic/surface.d.ts +6 -6
- package/dist/light/semantic/surface.d.ts.map +1 -1
- package/dist/light/semantic/surface.js +7 -7
- package/dist/light/semantic/text.d.ts +7 -5
- package/dist/light/semantic/text.d.ts.map +1 -1
- package/dist/light/semantic/text.js +7 -5
- package/dist/primitives/colors.d.ts +3 -5
- package/dist/primitives/colors.d.ts.map +1 -1
- package/dist/primitives/colors.js +3 -5
- package/package.json +1 -1
- package/dist/dark/components/menu.d.ts.map +0 -1
- package/dist/dark/components/menu.js +0 -47
- package/dist/highContrast/components/menu.d.ts.map +0 -1
- package/dist/highContrast/components/menu.js +0 -48
- package/dist/light/components/menu.d.ts.map +0 -1
- package/dist/light/components/menu.js +0 -48
|
@@ -1,50 +1,45 @@
|
|
|
1
1
|
export declare const menu: {
|
|
2
|
+
readonly background: "#111827";
|
|
3
|
+
readonly border: "#FFFFFF";
|
|
2
4
|
readonly item: {
|
|
3
5
|
readonly default: {
|
|
4
6
|
readonly bg: "transparent";
|
|
5
7
|
readonly fg: "#FFFFFF";
|
|
6
8
|
};
|
|
7
9
|
readonly hover: {
|
|
8
|
-
readonly bg: "#
|
|
9
|
-
readonly fg: "#
|
|
10
|
+
readonly bg: "#FCD34D";
|
|
11
|
+
readonly fg: "#000000";
|
|
10
12
|
};
|
|
11
13
|
readonly active: {
|
|
12
|
-
readonly bg: "#
|
|
13
|
-
readonly fg: "#
|
|
14
|
+
readonly bg: "#FBBF24";
|
|
15
|
+
readonly fg: "#000000";
|
|
14
16
|
};
|
|
15
|
-
readonly
|
|
16
|
-
readonly
|
|
17
|
+
readonly pressed: {
|
|
18
|
+
readonly bg: "#F59E0B";
|
|
19
|
+
readonly fg: "#000000";
|
|
17
20
|
};
|
|
18
21
|
readonly disabled: {
|
|
19
|
-
readonly bg: "
|
|
22
|
+
readonly bg: "transparent";
|
|
20
23
|
readonly fg: "#6B7280";
|
|
21
24
|
};
|
|
22
25
|
readonly danger: {
|
|
23
26
|
readonly default: {
|
|
24
|
-
readonly
|
|
27
|
+
readonly bg: "transparent";
|
|
28
|
+
readonly fg: "#FB7185";
|
|
25
29
|
};
|
|
26
30
|
readonly hover: {
|
|
27
|
-
readonly bg: "#
|
|
28
|
-
readonly fg: "#
|
|
31
|
+
readonly bg: "#FB7185";
|
|
32
|
+
readonly fg: "#000000";
|
|
29
33
|
};
|
|
30
34
|
readonly active: {
|
|
31
|
-
readonly bg: "#
|
|
32
|
-
readonly fg: "#
|
|
35
|
+
readonly bg: "#E11D48";
|
|
36
|
+
readonly fg: "#FFFFFF";
|
|
37
|
+
};
|
|
38
|
+
readonly disabled: {
|
|
39
|
+
readonly bg: "transparent";
|
|
40
|
+
readonly fg: "#6B7280";
|
|
33
41
|
};
|
|
34
42
|
};
|
|
35
43
|
};
|
|
36
|
-
readonly trigger: {
|
|
37
|
-
readonly default: {
|
|
38
|
-
readonly fg: "#FFFFFF";
|
|
39
|
-
};
|
|
40
|
-
readonly hover: {
|
|
41
|
-
readonly bg: "#F59E0B";
|
|
42
|
-
readonly fg: "#000000";
|
|
43
|
-
readonly ring: "transparent";
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
readonly groupLabel: {
|
|
47
|
-
readonly fg: "#E5E7EB";
|
|
48
|
-
};
|
|
49
44
|
};
|
|
50
45
|
//# sourceMappingURL=menu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../../src/highContrast/semantic/menu.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoDP,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { colors } from '../../primitives/colors.js';
|
|
2
|
+
import { status } from './status.js';
|
|
3
|
+
import { text } from './text.js';
|
|
4
|
+
export const menu = {
|
|
5
|
+
background: colors.gray[900],
|
|
6
|
+
border: colors.mono[50],
|
|
7
|
+
item: {
|
|
8
|
+
default: {
|
|
9
|
+
bg: 'transparent',
|
|
10
|
+
fg: text.primary,
|
|
11
|
+
},
|
|
12
|
+
hover: {
|
|
13
|
+
bg: colors.warning[300],
|
|
14
|
+
fg: colors.mono[950],
|
|
15
|
+
},
|
|
16
|
+
active: {
|
|
17
|
+
bg: colors.warning[400],
|
|
18
|
+
fg: colors.mono[950],
|
|
19
|
+
},
|
|
20
|
+
pressed: {
|
|
21
|
+
bg: colors.warning[500],
|
|
22
|
+
fg: colors.mono[950],
|
|
23
|
+
},
|
|
24
|
+
disabled: {
|
|
25
|
+
bg: 'transparent',
|
|
26
|
+
fg: text.disabled,
|
|
27
|
+
},
|
|
28
|
+
danger: {
|
|
29
|
+
default: {
|
|
30
|
+
bg: 'transparent',
|
|
31
|
+
fg: status.error.fg,
|
|
32
|
+
},
|
|
33
|
+
hover: {
|
|
34
|
+
bg: colors.error[400],
|
|
35
|
+
fg: colors.mono[950],
|
|
36
|
+
},
|
|
37
|
+
active: {
|
|
38
|
+
bg: colors.error[600],
|
|
39
|
+
fg: colors.mono[50],
|
|
40
|
+
},
|
|
41
|
+
disabled: {
|
|
42
|
+
bg: 'transparent',
|
|
43
|
+
fg: text.disabled,
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
};
|
|
@@ -1,45 +1,34 @@
|
|
|
1
1
|
export declare const navigation: {
|
|
2
2
|
readonly hover: {
|
|
3
|
-
readonly bg: "#
|
|
4
|
-
readonly fg: "#
|
|
3
|
+
readonly bg: "#374151";
|
|
4
|
+
readonly fg: "#FFFFFF";
|
|
5
5
|
};
|
|
6
6
|
readonly active: {
|
|
7
|
-
readonly bg: "#
|
|
8
|
-
readonly fg: "#
|
|
7
|
+
readonly bg: "#374151";
|
|
8
|
+
readonly fg: "#FFFFFF";
|
|
9
9
|
};
|
|
10
10
|
readonly brandHover: {
|
|
11
|
-
readonly bg: "#
|
|
12
|
-
readonly fg: "#
|
|
11
|
+
readonly bg: "#374151";
|
|
12
|
+
readonly fg: "#FCD34D";
|
|
13
13
|
};
|
|
14
14
|
readonly tabHover: {
|
|
15
|
-
readonly fg: "#
|
|
15
|
+
readonly fg: "#FCD34D";
|
|
16
16
|
};
|
|
17
17
|
readonly tabFocus: {
|
|
18
|
-
readonly ring: "#
|
|
18
|
+
readonly ring: "#FBBF24";
|
|
19
19
|
};
|
|
20
20
|
readonly optionHover: {
|
|
21
|
-
readonly bg: "#
|
|
21
|
+
readonly bg: "#374151";
|
|
22
22
|
readonly fg: "#FFFFFF";
|
|
23
23
|
};
|
|
24
24
|
readonly optionActive: {
|
|
25
|
-
readonly bg: "#
|
|
25
|
+
readonly bg: "#374151";
|
|
26
26
|
readonly fg: "#FFFFFF";
|
|
27
27
|
};
|
|
28
|
-
readonly
|
|
29
|
-
readonly bg: "#
|
|
30
|
-
readonly fg: "#
|
|
31
|
-
};
|
|
32
|
-
readonly groupLabel: {
|
|
33
|
-
readonly fg: "#9CA3AF";
|
|
34
|
-
};
|
|
35
|
-
readonly itemHover: {
|
|
36
|
-
readonly bg: "#1F2937";
|
|
37
|
-
readonly fg: "#FFFFFF";
|
|
38
|
-
};
|
|
39
|
-
readonly itemActive: {
|
|
40
|
-
readonly bg: "#1F2937";
|
|
41
|
-
readonly fg: "#FFFFFF";
|
|
28
|
+
readonly triggerHover: {
|
|
29
|
+
readonly bg: "#374151";
|
|
30
|
+
readonly fg: "#FCD34D";
|
|
42
31
|
};
|
|
43
|
-
readonly border: "#
|
|
32
|
+
readonly border: "#9CA3AF";
|
|
44
33
|
};
|
|
45
34
|
//# sourceMappingURL=navigation.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../../src/highContrast/semantic/navigation.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../../src/highContrast/semantic/navigation.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwCb,CAAC"}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { border } from './border.js';
|
|
2
2
|
import { surface } from './surface.js';
|
|
3
3
|
import { text } from './text.js';
|
|
4
4
|
export const navigation = {
|
|
5
5
|
hover: {
|
|
6
|
-
bg:
|
|
7
|
-
fg:
|
|
6
|
+
bg: surface.hover,
|
|
7
|
+
fg: text.primary,
|
|
8
8
|
},
|
|
9
9
|
active: {
|
|
10
|
-
bg:
|
|
11
|
-
fg:
|
|
10
|
+
bg: surface.active,
|
|
11
|
+
fg: text.primary,
|
|
12
12
|
},
|
|
13
13
|
brandHover: {
|
|
14
|
-
bg:
|
|
15
|
-
fg:
|
|
14
|
+
bg: surface.hover,
|
|
15
|
+
fg: text.interactiveHover,
|
|
16
16
|
},
|
|
17
17
|
tabHover: {
|
|
18
|
-
fg:
|
|
18
|
+
fg: text.interactiveHover,
|
|
19
19
|
},
|
|
20
20
|
tabFocus: {
|
|
21
|
-
ring:
|
|
21
|
+
ring: text.interactive,
|
|
22
22
|
},
|
|
23
23
|
optionHover: {
|
|
24
24
|
bg: surface.hover,
|
|
@@ -28,20 +28,9 @@ export const navigation = {
|
|
|
28
28
|
bg: surface.active,
|
|
29
29
|
fg: text.primary,
|
|
30
30
|
},
|
|
31
|
-
|
|
32
|
-
bg: colors.gray[900],
|
|
33
|
-
fg: colors.gray[600],
|
|
34
|
-
},
|
|
35
|
-
groupLabel: {
|
|
36
|
-
fg: colors.gray[400],
|
|
37
|
-
},
|
|
38
|
-
itemHover: {
|
|
31
|
+
triggerHover: {
|
|
39
32
|
bg: surface.hover,
|
|
40
|
-
fg: text.
|
|
41
|
-
},
|
|
42
|
-
itemActive: {
|
|
43
|
-
bg: surface.hover,
|
|
44
|
-
fg: text.primary,
|
|
33
|
+
fg: text.interactiveHover,
|
|
45
34
|
},
|
|
46
|
-
border:
|
|
35
|
+
border: border.default,
|
|
47
36
|
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const overlay: {
|
|
2
|
+
readonly backdrop: "rgba(0, 0, 0, 0.82)";
|
|
3
|
+
readonly tooltip: {
|
|
4
|
+
readonly bg: "#FFFFFF";
|
|
5
|
+
readonly fg: "#000000";
|
|
6
|
+
readonly border: "#FCD34D";
|
|
7
|
+
};
|
|
8
|
+
readonly popover: {
|
|
9
|
+
readonly bg: "#111827";
|
|
10
|
+
readonly border: "#9CA3AF";
|
|
11
|
+
};
|
|
12
|
+
readonly modal: {
|
|
13
|
+
readonly bg: "#111827";
|
|
14
|
+
readonly border: "#9CA3AF";
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=overlay.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"overlay.d.ts","sourceRoot":"","sources":["../../../src/highContrast/semantic/overlay.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;CAkBV,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { colors } from '../../primitives/colors.js';
|
|
2
|
+
import { border } from './border.js';
|
|
3
|
+
import { surface } from './surface.js';
|
|
4
|
+
export const overlay = {
|
|
5
|
+
backdrop: 'rgba(0, 0, 0, 0.82)',
|
|
6
|
+
tooltip: {
|
|
7
|
+
bg: colors.mono[50],
|
|
8
|
+
fg: colors.mono[950],
|
|
9
|
+
border: colors.warning[300],
|
|
10
|
+
},
|
|
11
|
+
popover: {
|
|
12
|
+
bg: surface.muted,
|
|
13
|
+
border: border.default,
|
|
14
|
+
},
|
|
15
|
+
modal: {
|
|
16
|
+
bg: surface.muted,
|
|
17
|
+
border: border.default,
|
|
18
|
+
},
|
|
19
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const shadow: {
|
|
2
|
+
readonly sm: "0 1px 2px rgba(0, 0, 0, 0.5)";
|
|
3
|
+
readonly md: "0 4px 12px rgba(0, 0, 0, 0.6)";
|
|
4
|
+
readonly lg: "0 12px 40px rgba(0, 0, 0, 0.7)";
|
|
5
|
+
readonly xl: "0 20px 60px rgba(0, 0, 0, 0.8)";
|
|
6
|
+
readonly inset: "inset 0 1px 0 rgba(255, 255, 255, 0.14)";
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=shadow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shadow.d.ts","sourceRoot":"","sources":["../../../src/highContrast/semantic/shadow.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM;;;;;;CAMT,CAAC"}
|
|
@@ -1,27 +1,31 @@
|
|
|
1
1
|
export declare const status: {
|
|
2
2
|
readonly success: {
|
|
3
3
|
readonly fg: "#6EE7B7";
|
|
4
|
-
readonly bg: "#
|
|
4
|
+
readonly bg: "#022C22";
|
|
5
5
|
readonly border: "#6EE7B7";
|
|
6
|
-
readonly
|
|
6
|
+
readonly ring: "#6EE7B7";
|
|
7
|
+
readonly strong: "#A7F3D0";
|
|
7
8
|
};
|
|
8
9
|
readonly error: {
|
|
9
10
|
readonly fg: "#FB7185";
|
|
10
|
-
readonly bg: "#
|
|
11
|
-
readonly border: "#
|
|
12
|
-
readonly
|
|
11
|
+
readonly bg: "#4C0519";
|
|
12
|
+
readonly border: "#FB7185";
|
|
13
|
+
readonly ring: "#FB7185";
|
|
14
|
+
readonly strong: "#FECDD3";
|
|
13
15
|
};
|
|
14
16
|
readonly warning: {
|
|
15
|
-
readonly fg: "#
|
|
16
|
-
readonly bg: "#
|
|
17
|
-
readonly border: "#
|
|
18
|
-
readonly
|
|
17
|
+
readonly fg: "#FCD34D";
|
|
18
|
+
readonly bg: "#451A03";
|
|
19
|
+
readonly border: "#FCD34D";
|
|
20
|
+
readonly ring: "#FCD34D";
|
|
21
|
+
readonly strong: "#FDE68A";
|
|
19
22
|
};
|
|
20
23
|
readonly info: {
|
|
21
|
-
readonly fg: "#
|
|
22
|
-
readonly bg: "#
|
|
23
|
-
readonly border: "#
|
|
24
|
-
readonly
|
|
24
|
+
readonly fg: "#7DD3FC";
|
|
25
|
+
readonly bg: "#071927";
|
|
26
|
+
readonly border: "#7DD3FC";
|
|
27
|
+
readonly ring: "#7DD3FC";
|
|
28
|
+
readonly strong: "#BAE6FD";
|
|
25
29
|
};
|
|
26
30
|
};
|
|
27
31
|
//# sourceMappingURL=status.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../../src/highContrast/semantic/status.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"status.d.ts","sourceRoot":"","sources":["../../../src/highContrast/semantic/status.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgCT,CAAC"}
|
|
@@ -2,26 +2,30 @@ import { colors } from '../../primitives/colors.js';
|
|
|
2
2
|
export const status = {
|
|
3
3
|
success: {
|
|
4
4
|
fg: colors.success[300],
|
|
5
|
-
bg: colors.
|
|
5
|
+
bg: colors.success[950],
|
|
6
6
|
border: colors.success[300],
|
|
7
|
-
|
|
7
|
+
ring: colors.success[300],
|
|
8
|
+
strong: colors.success[200],
|
|
8
9
|
},
|
|
9
10
|
error: {
|
|
10
11
|
fg: colors.error[400],
|
|
11
|
-
bg: colors.error[
|
|
12
|
-
border: colors.error[
|
|
13
|
-
|
|
12
|
+
bg: colors.error[950],
|
|
13
|
+
border: colors.error[400],
|
|
14
|
+
ring: colors.error[400],
|
|
15
|
+
strong: colors.error[200],
|
|
14
16
|
},
|
|
15
17
|
warning: {
|
|
16
|
-
fg: colors.warning[
|
|
17
|
-
bg: colors.
|
|
18
|
-
border: colors.warning[
|
|
19
|
-
|
|
18
|
+
fg: colors.warning[300],
|
|
19
|
+
bg: colors.warning[950],
|
|
20
|
+
border: colors.warning[300],
|
|
21
|
+
ring: colors.warning[300],
|
|
22
|
+
strong: colors.warning[200],
|
|
20
23
|
},
|
|
21
24
|
info: {
|
|
22
|
-
fg: colors.info[
|
|
23
|
-
bg: colors.
|
|
24
|
-
border: colors.info[
|
|
25
|
-
|
|
25
|
+
fg: colors.info[200],
|
|
26
|
+
bg: colors.info[950],
|
|
27
|
+
border: colors.info[200],
|
|
28
|
+
ring: colors.info[200],
|
|
29
|
+
strong: colors.info[150],
|
|
26
30
|
},
|
|
27
31
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export declare const surface: {
|
|
2
2
|
readonly default: "#000000";
|
|
3
|
-
readonly muted: "#
|
|
4
|
-
readonly subtle: "#
|
|
3
|
+
readonly muted: "#111827";
|
|
4
|
+
readonly subtle: "#1F2937";
|
|
5
5
|
readonly elevated: "#374151";
|
|
6
|
-
readonly
|
|
6
|
+
readonly hover: "#374151";
|
|
7
|
+
readonly active: "#374151";
|
|
8
|
+
readonly pressed: "#4B5563";
|
|
9
|
+
readonly disabled: "#111827";
|
|
7
10
|
readonly danger: string;
|
|
8
|
-
readonly disabled: "#1F2937";
|
|
9
|
-
readonly hover: "#1F2937";
|
|
10
|
-
readonly active: "#6B7280";
|
|
11
11
|
readonly inverse: "#FFFFFF";
|
|
12
12
|
};
|
|
13
13
|
//# sourceMappingURL=surface.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"surface.d.ts","sourceRoot":"","sources":["../../../src/highContrast/semantic/surface.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"surface.d.ts","sourceRoot":"","sources":["../../../src/highContrast/semantic/surface.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO;;;;;;;;;;;CAcV,CAAC"}
|
|
@@ -2,13 +2,13 @@ import { colors } from '../../primitives/colors.js';
|
|
|
2
2
|
import { withAlpha } from '../../utils/color.js';
|
|
3
3
|
export const surface = {
|
|
4
4
|
default: colors.mono[950],
|
|
5
|
-
muted: colors.gray[
|
|
6
|
-
subtle: colors.gray[
|
|
5
|
+
muted: colors.gray[900],
|
|
6
|
+
subtle: colors.gray[800],
|
|
7
7
|
elevated: colors.gray[700],
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
hover: colors.gray[700],
|
|
9
|
+
active: colors.gray[700],
|
|
10
|
+
pressed: colors.gray[600],
|
|
11
|
+
disabled: colors.gray[900],
|
|
12
|
+
danger: withAlpha(colors.error[700], 0.5),
|
|
13
13
|
inverse: colors.mono[50],
|
|
14
14
|
};
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
export declare const text: {
|
|
2
2
|
readonly primary: "#FFFFFF";
|
|
3
3
|
readonly secondary: "#EEE8FA";
|
|
4
|
-
readonly muted: "#
|
|
4
|
+
readonly muted: "#D1D5DB";
|
|
5
|
+
readonly subtle: "#9CA3AF";
|
|
5
6
|
readonly disabled: "#6B7280";
|
|
6
|
-
readonly
|
|
7
|
-
readonly
|
|
8
|
-
readonly
|
|
9
|
-
readonly
|
|
10
|
-
readonly
|
|
7
|
+
readonly brand: "#FBBF24";
|
|
8
|
+
readonly interactive: "#FBBF24";
|
|
9
|
+
readonly interactiveHover: "#FCD34D";
|
|
10
|
+
readonly interactiveActive: "#FDE68A";
|
|
11
|
+
readonly inverse: "#000000";
|
|
11
12
|
};
|
|
12
13
|
//# sourceMappingURL=text.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../src/highContrast/semantic/text.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI
|
|
1
|
+
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../src/highContrast/semantic/text.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,IAAI;;;;;;;;;;;CAcP,CAAC"}
|
|
@@ -2,11 +2,12 @@ import { colors } from '../../primitives/colors.js';
|
|
|
2
2
|
export const text = {
|
|
3
3
|
primary: colors.mono[50],
|
|
4
4
|
secondary: colors.vellira[150],
|
|
5
|
-
muted: colors.gray[
|
|
5
|
+
muted: colors.gray[300],
|
|
6
|
+
subtle: colors.gray[400],
|
|
6
7
|
disabled: colors.gray[500],
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
brand: colors.warning[400],
|
|
9
|
+
interactive: colors.warning[400],
|
|
10
|
+
interactiveHover: colors.warning[300],
|
|
11
|
+
interactiveActive: colors.warning[200],
|
|
12
|
+
inverse: colors.mono[950],
|
|
12
13
|
};
|