@rovula/ui 0.0.81 → 0.0.82
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/cjs/bundle.css +1 -2
- package/dist/esm/bundle.css +1 -2
- package/dist/src/theme/global.css +309 -1853
- package/package.json +2 -4
- package/src/components/Button/Button.tsx +7 -7
- package/src/theme/global.css +1 -2
- package/src/theme/themes/xspector/color.css +48 -50
- package/src/theme/themes/xspector/palette.css +121 -141
- package/src/theme/themes/xspector/state.css +78 -83
- package/src/theme/themes/xspector/transparent.css +68 -93
- package/src/theme/THEME_MAPPING.md +0 -231
- package/src/theme/themes/skyller/baseline.css +0 -6
- package/src/theme/themes/skyller/color.css +0 -79
- package/src/theme/themes/skyller/components/action-button.css +0 -81
- package/src/theme/themes/skyller/palette.css +0 -143
- package/src/theme/themes/skyller/state.css +0 -94
- package/src/theme/themes/skyller/transparent.css +0 -94
- package/src/theme/themes/skyller/typography.css +0 -30
- package/src/theme/themes/variable.css +0 -1057
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rovula/ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.82",
|
|
4
4
|
"main": "dist/cjs/bundle.js",
|
|
5
5
|
"module": "dist/esm/bundle.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -18,9 +18,7 @@
|
|
|
18
18
|
"storybook:docker": "storybook dev -p 6006 --no-open",
|
|
19
19
|
"build-storybook": "storybook build",
|
|
20
20
|
"chromatic": "npx chromatic --project-token=chpt_cee098dd3b9b3ee",
|
|
21
|
-
"deploy-storybook": "npx wrangler pages deploy storybook-static --project-name=rovula-ui --branch=main"
|
|
22
|
-
"docs": "npx serve docs-website -p 3000",
|
|
23
|
-
"docs:open": "npx serve docs-website -p 3000 -o"
|
|
21
|
+
"deploy-storybook": "npx wrangler pages deploy storybook-static --project-name=rovula-ui --branch=main"
|
|
24
22
|
},
|
|
25
23
|
"files": [
|
|
26
24
|
"dist/**/*",
|
|
@@ -7,13 +7,13 @@ export type ButtonProps = {
|
|
|
7
7
|
title?: string;
|
|
8
8
|
size?: "sm" | "md" | "lg";
|
|
9
9
|
color?:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
10
|
+
| "primary"
|
|
11
|
+
| "secondary"
|
|
12
|
+
| "success"
|
|
13
|
+
| "tertiary"
|
|
14
|
+
| "info"
|
|
15
|
+
| "warning"
|
|
16
|
+
| "error";
|
|
17
17
|
variant?: "solid" | "outline" | "flat" | "link";
|
|
18
18
|
disabled?: boolean;
|
|
19
19
|
isLoading?: boolean;
|
package/src/theme/global.css
CHANGED
|
@@ -1,55 +1,53 @@
|
|
|
1
|
-
:root[data-theme="xspector"] {
|
|
2
|
-
/* ------------------------------------------------------------------ */
|
|
3
|
-
/* Semantic Colors — from variable_lasted.css */
|
|
4
|
-
/* ------------------------------------------------------------------ */
|
|
5
1
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
--input-color-default-
|
|
9
|
-
--input-color-
|
|
10
|
-
--input-color-
|
|
11
|
-
--input-color-
|
|
12
|
-
--input-color-disable-
|
|
13
|
-
--input-color-disable-
|
|
14
|
-
--input-color-
|
|
15
|
-
--input-color-
|
|
2
|
+
:root[data-theme="xspector"]{
|
|
3
|
+
/* Base from design */
|
|
4
|
+
--input-color-default-text: #9e9e9e;
|
|
5
|
+
--input-color-default-stroke: rgba(158 158 158 / 0.24);
|
|
6
|
+
--input-color-filled-text: #dfe3e8;
|
|
7
|
+
--input-color-active-stroke: rgba(158 158 158 / 0.48);
|
|
8
|
+
--input-color-disable-text: rgba(145 158 171 / 0.52);
|
|
9
|
+
--input-color-disable-stroke: rgba(145 158 171 / 0.08);
|
|
10
|
+
--input-color-disable-bg: rgba(145 158 171 / 0.04);
|
|
11
|
+
--input-color-label-bg: #2d2e30;
|
|
12
|
+
--input-color-error: #ff4d35;
|
|
16
13
|
|
|
17
14
|
/* Function button */
|
|
18
|
-
--function-default-solid:
|
|
19
|
-
--function-default-hover:
|
|
20
|
-
--function-default-hover-bg:
|
|
21
|
-
--function-default-stroke:
|
|
22
|
-
--function-default-icon:
|
|
23
|
-
--function-default-outline-icon:
|
|
24
|
-
--function-active-solid:
|
|
25
|
-
--function-active-hover:
|
|
26
|
-
--function-active-hover-bg:
|
|
27
|
-
--function-active-stroke:
|
|
28
|
-
--function-active-icon:
|
|
15
|
+
--function-default-solid: #ececec;
|
|
16
|
+
--function-default-hover: #fafafa;
|
|
17
|
+
--function-default-hover-bg: rgba(250 250 250 / 0.08);
|
|
18
|
+
--function-default-stroke: rgba(158 158 158 / 0.24);
|
|
19
|
+
--function-default-icon: #212b36;
|
|
20
|
+
--function-default-outline-icon: #9e9e9e;
|
|
21
|
+
--function-active-solid: #b1a400;
|
|
22
|
+
--function-active-hover: #ddcd00;
|
|
23
|
+
--function-active-hover-bg: rgba(221 205 0 / 0.08);
|
|
24
|
+
--function-active-stroke: rgba(177 164 0 / 0.48);
|
|
25
|
+
--function-active-icon: #212b36;
|
|
29
26
|
|
|
30
|
-
|
|
31
|
-
--text-
|
|
32
|
-
--text-
|
|
33
|
-
--text-
|
|
34
|
-
--text-
|
|
35
|
-
--text-grey-
|
|
36
|
-
--text-
|
|
37
|
-
--text-grey-light: var(--text-grey-light-xspector);
|
|
38
|
-
--text-white: var(--text-white-xspector);
|
|
27
|
+
--text-dark: #212b36;
|
|
28
|
+
--text-medium: #637381;
|
|
29
|
+
--text-light: #919eab;
|
|
30
|
+
--text-grey-dark: #7e7e7e;
|
|
31
|
+
--text-grey-medium: #aaaaaa;
|
|
32
|
+
--text-grey-light: #dfe3e8;
|
|
33
|
+
--text-white: #ffffff;
|
|
39
34
|
|
|
40
|
-
|
|
41
|
-
--base-color-
|
|
42
|
-
--base-color-
|
|
43
|
-
--base-color-
|
|
44
|
-
--base-color-
|
|
45
|
-
--base-color-
|
|
46
|
-
--base-color-popup:
|
|
47
|
-
--base-color-popup-
|
|
48
|
-
--
|
|
49
|
-
--common-
|
|
50
|
-
--common-black: var(--common-black-xspector);
|
|
35
|
+
--base-color-bg: #202427;
|
|
36
|
+
--base-color-bg2: #282c31;
|
|
37
|
+
--base-color-bg3: #d8d8d8;
|
|
38
|
+
--base-color-workspace-stroke: #e2e2e2;
|
|
39
|
+
--base-color-guideline-stroke: #c5c5c5;
|
|
40
|
+
--base-color-popup: #2d2e30;
|
|
41
|
+
--base-color-popup-hightlight: #343638;
|
|
42
|
+
--base-color-popup-curtain: rgba(0 0 0 / 0.6);
|
|
43
|
+
--common-white: #ffffff;
|
|
44
|
+
--common-black: #000000;
|
|
51
45
|
|
|
52
|
-
|
|
46
|
+
--dashboard-panel-bg-grey: rgba(145 158 171 / 0.08);
|
|
47
|
+
--dashboard-panel-bg-white: rgba(255 255 255 / 0.08);
|
|
48
|
+
--dashboard-panel-border: rgba(168 162 168 / 0.24);
|
|
49
|
+
|
|
50
|
+
/* ------- Addon base ---------- */
|
|
53
51
|
--background: var(--base-color-bg);
|
|
54
52
|
--foreground: var(--common-white);
|
|
55
53
|
|
|
@@ -64,12 +62,12 @@
|
|
|
64
62
|
--grey2: var(--grey2-grey2-100);
|
|
65
63
|
|
|
66
64
|
--primary-foreground: var(--state-color-primary-text-solid);
|
|
67
|
-
--secondary-foreground:
|
|
65
|
+
--secondary-foreground: var(--state-color-secondary-text-solid);
|
|
68
66
|
--tertiary-foreground: var(--state-color-tertiary-text-solid);
|
|
69
67
|
--info-foreground: var(--state-color-info-text-solid);
|
|
70
|
-
--success-foreground:
|
|
71
|
-
--warning-foreground:
|
|
72
|
-
--error-foreground:
|
|
68
|
+
--success-foreground: var(--state-color-success-text-solid);
|
|
69
|
+
--warning-foreground: var(--state-color-warning-text-solid);
|
|
70
|
+
--error-foreground: var(--state-color-error-text-solid);
|
|
73
71
|
--grey-foreground: var(--common-black);
|
|
74
72
|
--grey2-foreground: var(--common-black);
|
|
75
73
|
|
|
@@ -1,142 +1,122 @@
|
|
|
1
|
-
:root[data-theme="xspector"] {
|
|
2
|
-
/* ------------------------------------------------------------------ */
|
|
3
|
-
/* Color Ramps — from variable_lasted.css */
|
|
4
|
-
/* ------------------------------------------------------------------ */
|
|
5
1
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
--primary-ramps-primary-10:
|
|
9
|
-
--primary-ramps-primary-20:
|
|
10
|
-
--primary-ramps-primary-30:
|
|
11
|
-
--primary-ramps-primary-40:
|
|
12
|
-
--primary-ramps-primary-50:
|
|
13
|
-
--primary-ramps-primary-60:
|
|
14
|
-
--primary-ramps-primary-70:
|
|
15
|
-
--primary-ramps-primary-80:
|
|
16
|
-
--primary-ramps-primary-90:
|
|
17
|
-
--primary-ramps-primary-100:
|
|
18
|
-
--primary-ramps-primary-110:
|
|
19
|
-
--primary-ramps-primary-120:
|
|
20
|
-
--primary-ramps-primary-130:
|
|
21
|
-
--primary-ramps-primary-140:
|
|
22
|
-
--primary-ramps-primary-150:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
--secondary-ramps-secondary-
|
|
26
|
-
--secondary-ramps-secondary-
|
|
27
|
-
--secondary-ramps-secondary-
|
|
28
|
-
--secondary-ramps-secondary-
|
|
29
|
-
--secondary-ramps-secondary-
|
|
30
|
-
--secondary-ramps-secondary-
|
|
31
|
-
--secondary-ramps-secondary-
|
|
32
|
-
--secondary-ramps-secondary-
|
|
33
|
-
--secondary-ramps-secondary-
|
|
34
|
-
--secondary-ramps-secondary-
|
|
35
|
-
--secondary-ramps-secondary-
|
|
36
|
-
--secondary-ramps-secondary-
|
|
37
|
-
--secondary-ramps-secondary-
|
|
38
|
-
--secondary-ramps-secondary-
|
|
39
|
-
--
|
|
40
|
-
--
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
--tertiary-ramps-tertiary-
|
|
44
|
-
--tertiary-ramps-tertiary-
|
|
45
|
-
--tertiary-ramps-tertiary-
|
|
46
|
-
--tertiary-ramps-tertiary-
|
|
47
|
-
--tertiary-ramps-tertiary-
|
|
48
|
-
--tertiary-ramps-tertiary-
|
|
49
|
-
--tertiary-ramps-tertiary-
|
|
50
|
-
--tertiary-ramps-tertiary-
|
|
51
|
-
--tertiary-ramps-tertiary-
|
|
52
|
-
--tertiary-ramps-tertiary-
|
|
53
|
-
--tertiary-ramps-tertiary-
|
|
54
|
-
--tertiary-ramps-tertiary-
|
|
55
|
-
--
|
|
56
|
-
--
|
|
57
|
-
--
|
|
58
|
-
--
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
--grey-grey-
|
|
62
|
-
--grey-grey-
|
|
63
|
-
--grey-grey-
|
|
64
|
-
--grey-grey-
|
|
65
|
-
--grey-grey-
|
|
66
|
-
--grey-grey-
|
|
67
|
-
--grey-grey-
|
|
68
|
-
--grey-grey-
|
|
69
|
-
--grey-grey-
|
|
70
|
-
--grey-grey-
|
|
71
|
-
--
|
|
72
|
-
--
|
|
73
|
-
--
|
|
74
|
-
--
|
|
75
|
-
--
|
|
76
|
-
--
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
--grey2-grey2-
|
|
80
|
-
--grey2-grey2-
|
|
81
|
-
--grey2-grey2-
|
|
82
|
-
--
|
|
83
|
-
--
|
|
84
|
-
--
|
|
85
|
-
--
|
|
86
|
-
--
|
|
87
|
-
--
|
|
88
|
-
--
|
|
89
|
-
--
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
--info-info-
|
|
93
|
-
--
|
|
94
|
-
--
|
|
95
|
-
--
|
|
96
|
-
--
|
|
97
|
-
--
|
|
98
|
-
--
|
|
99
|
-
--
|
|
100
|
-
--
|
|
101
|
-
--
|
|
102
|
-
--
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
--
|
|
106
|
-
--
|
|
107
|
-
--
|
|
108
|
-
--
|
|
109
|
-
--
|
|
110
|
-
--
|
|
111
|
-
--
|
|
112
|
-
--
|
|
113
|
-
--
|
|
114
|
-
--
|
|
115
|
-
--
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
--
|
|
119
|
-
--
|
|
120
|
-
--
|
|
121
|
-
--
|
|
122
|
-
--
|
|
123
|
-
--
|
|
124
|
-
--
|
|
125
|
-
--
|
|
126
|
-
|
|
127
|
-
--warning-warning-900: var(--ramps-warning-900-xspector);
|
|
128
|
-
--warning-warning-950: var(--ramps-warning-950-xspector);
|
|
129
|
-
|
|
130
|
-
/* Error */
|
|
131
|
-
--error-error-50: var(--ramps-error-50-xspector);
|
|
132
|
-
--error-error-100: var(--ramps-error-100-xspector);
|
|
133
|
-
--error-error-200: var(--ramps-error-200-xspector);
|
|
134
|
-
--error-error-300: var(--ramps-error-300-xspector);
|
|
135
|
-
--error-error-400: var(--ramps-error-400-xspector);
|
|
136
|
-
--error-error-500: var(--ramps-error-500-xspector);
|
|
137
|
-
--error-error-600: var(--ramps-error-600-xspector);
|
|
138
|
-
--error-error-700: var(--ramps-error-700-xspector);
|
|
139
|
-
--error-error-800: var(--ramps-error-800-xspector);
|
|
140
|
-
--error-error-900: var(--ramps-error-900-xspector);
|
|
141
|
-
--error-error-950: var(--ramps-error-950-xspector);
|
|
142
|
-
}
|
|
2
|
+
:root[data-theme="xspector"]{
|
|
3
|
+
--primary-ramps-primary-5: #fdfcf2;
|
|
4
|
+
--primary-ramps-primary-10: #fcfae5;
|
|
5
|
+
--primary-ramps-primary-20: #f8f5cc;
|
|
6
|
+
--primary-ramps-primary-30: #f5f0b2;
|
|
7
|
+
--primary-ramps-primary-40: #f1eb99;
|
|
8
|
+
--primary-ramps-primary-50: #eee680;
|
|
9
|
+
--primary-ramps-primary-60: #ebe166;
|
|
10
|
+
--primary-ramps-primary-70: #e7dc4d;
|
|
11
|
+
--primary-ramps-primary-80: #e4d733;
|
|
12
|
+
--primary-ramps-primary-90: #e0d21a;
|
|
13
|
+
--primary-ramps-primary-100: #ddcd00;
|
|
14
|
+
--primary-ramps-primary-110: #c7b800;
|
|
15
|
+
--primary-ramps-primary-120: #b1a400;
|
|
16
|
+
--primary-ramps-primary-130: #9b8f00;
|
|
17
|
+
--primary-ramps-primary-140: #857b00;
|
|
18
|
+
--primary-ramps-primary-150: #6f6700;
|
|
19
|
+
--secondary-ramps-secondary-5: #fafafa;
|
|
20
|
+
--secondary-ramps-secondary-10: #f5f5f5;
|
|
21
|
+
--secondary-ramps-secondary-20: #ececec;
|
|
22
|
+
--secondary-ramps-secondary-30: #e2e2e2;
|
|
23
|
+
--secondary-ramps-secondary-40: #d8d8d8;
|
|
24
|
+
--secondary-ramps-secondary-50: #cfcfcf;
|
|
25
|
+
--secondary-ramps-secondary-60: #c5c5c5;
|
|
26
|
+
--secondary-ramps-secondary-70: #bbbbbb;
|
|
27
|
+
--secondary-ramps-secondary-80: #b1b1b1;
|
|
28
|
+
--secondary-ramps-secondary-90: #a8a8a8;
|
|
29
|
+
--secondary-ramps-secondary-100: #9e9e9e;
|
|
30
|
+
--secondary-ramps-secondary-110: #8e8e8e;
|
|
31
|
+
--secondary-ramps-secondary-120: #7e7e7e;
|
|
32
|
+
--secondary-ramps-secondary-130: #6f6f6f;
|
|
33
|
+
--secondary-ramps-secondary-140: #5f5f5f;
|
|
34
|
+
--secondary-ramps-secondary-150: #4f4f4f;
|
|
35
|
+
--tertiary-ramps-tertiary-5: #fbfcfd;
|
|
36
|
+
--tertiary-ramps-tertiary-10: #f7fafb;
|
|
37
|
+
--tertiary-ramps-tertiary-20: #eff4f7;
|
|
38
|
+
--tertiary-ramps-tertiary-30: #e6eff3;
|
|
39
|
+
--tertiary-ramps-tertiary-40: #deeaef;
|
|
40
|
+
--tertiary-ramps-tertiary-50: #d6e5eb;
|
|
41
|
+
--tertiary-ramps-tertiary-60: #cedfe6;
|
|
42
|
+
--tertiary-ramps-tertiary-70: #c6dae2;
|
|
43
|
+
--tertiary-ramps-tertiary-80: #bdd5de;
|
|
44
|
+
--tertiary-ramps-tertiary-90: #b5cfda;
|
|
45
|
+
--tertiary-ramps-tertiary-100: #adcad6;
|
|
46
|
+
--tertiary-ramps-tertiary-110: #9cb6c1;
|
|
47
|
+
--tertiary-ramps-tertiary-120: #8aa2ab;
|
|
48
|
+
--tertiary-ramps-tertiary-130: #798d96;
|
|
49
|
+
--tertiary-ramps-tertiary-140: #687980;
|
|
50
|
+
--tertiary-ramps-tertiary-150: #57656b;
|
|
51
|
+
--grey-grey-5: #fafafa;
|
|
52
|
+
--grey-grey-10: #f5f5f5;
|
|
53
|
+
--grey-grey-20: #ececec;
|
|
54
|
+
--grey-grey-30: #e2e2e2;
|
|
55
|
+
--grey-grey-40: #d8d8d8;
|
|
56
|
+
--grey-grey-50: #cfcfcf;
|
|
57
|
+
--grey-grey-60: #c5c5c5;
|
|
58
|
+
--grey-grey-70: #bbbbbb;
|
|
59
|
+
--grey-grey-80: #b1b1b1;
|
|
60
|
+
--grey-grey-90: #a8a8a8;
|
|
61
|
+
--grey-grey-100: #9e9e9e;
|
|
62
|
+
--grey-grey-110: #8e8e8e;
|
|
63
|
+
--grey-grey-120: #7e7e7e;
|
|
64
|
+
--grey-grey-130: #6f6f6f;
|
|
65
|
+
--grey-grey-140: #5f5f5f;
|
|
66
|
+
--grey-grey-150: #4f4f4f;
|
|
67
|
+
--grey2-grey2-50: #f8fafa;
|
|
68
|
+
--grey2-grey2-100: #f2f5f5;
|
|
69
|
+
--grey2-grey2-200: #e7ebed;
|
|
70
|
+
--grey2-grey2-300: #d3dadf;
|
|
71
|
+
--grey2-grey2-400: #bac5cb;
|
|
72
|
+
--grey2-grey2-500: #9dabb5;
|
|
73
|
+
--grey2-grey2-600: #919eab;
|
|
74
|
+
--grey2-grey2-700: #72808f;
|
|
75
|
+
--grey2-grey2-800: #606b77;
|
|
76
|
+
--grey2-grey2-900: #4f5863;
|
|
77
|
+
--grey2-grey2-950: #343b41;
|
|
78
|
+
--info-info-50: #eef8ff;
|
|
79
|
+
--info-info-100: #d9efff;
|
|
80
|
+
--info-info-200: #bce4ff;
|
|
81
|
+
--info-info-300: #8ed5ff;
|
|
82
|
+
--info-info-400: #59bbff;
|
|
83
|
+
--info-info-500: #2998ff;
|
|
84
|
+
--info-info-600: #1b7df5;
|
|
85
|
+
--info-info-700: #1466e1;
|
|
86
|
+
--info-info-800: #1752b6;
|
|
87
|
+
--info-info-900: #19478f;
|
|
88
|
+
--info-info-950: #142c57;
|
|
89
|
+
--success-success-50: #effce9;
|
|
90
|
+
--success-success-100: #daf9ce;
|
|
91
|
+
--success-success-200: #b8f3a3;
|
|
92
|
+
--success-success-300: #8ce86e;
|
|
93
|
+
--success-success-400: #54d62c;
|
|
94
|
+
--success-success-500: #44c022;
|
|
95
|
+
--success-success-600: #319917;
|
|
96
|
+
--success-success-700: #277516;
|
|
97
|
+
--success-success-800: #235d17;
|
|
98
|
+
--success-success-900: #214f18;
|
|
99
|
+
--success-success-950: #0c2b08;
|
|
100
|
+
--warning-warning-50: #ffffea;
|
|
101
|
+
--warning-warning-100: #fffbc5;
|
|
102
|
+
--warning-warning-200: #fff885;
|
|
103
|
+
--warning-warning-300: #ffee46;
|
|
104
|
+
--warning-warning-400: #ffdf1b;
|
|
105
|
+
--warning-warning-500: #ffc107;
|
|
106
|
+
--warning-warning-600: #e29400;
|
|
107
|
+
--warning-warning-700: #bb6902;
|
|
108
|
+
--warning-warning-800: #985108;
|
|
109
|
+
--warning-warning-900: #7c420b;
|
|
110
|
+
--warning-warning-950: #482200;
|
|
111
|
+
--error-error-50: #fff3f1;
|
|
112
|
+
--error-error-100: #ffe3df;
|
|
113
|
+
--error-error-200: #ffccc5;
|
|
114
|
+
--error-error-300: #ffa99d;
|
|
115
|
+
--error-error-400: #ff7664;
|
|
116
|
+
--error-error-500: #ff4d35;
|
|
117
|
+
--error-error-600: #ed2f15;
|
|
118
|
+
--error-error-700: #c8230d;
|
|
119
|
+
--error-error-800: #a5210f;
|
|
120
|
+
--error-error-900: #882214;
|
|
121
|
+
--error-error-950: #4b0c04;
|
|
122
|
+
}
|
|
@@ -1,94 +1,89 @@
|
|
|
1
|
-
|
|
1
|
+
|
|
2
|
+
:root[data-theme="xspector"]{
|
|
2
3
|
/* ------------------------------------------------------------------ */
|
|
3
|
-
/* State Tokens
|
|
4
|
+
/* State Tokens */
|
|
4
5
|
/* ------------------------------------------------------------------ */
|
|
5
|
-
/*
|
|
6
|
+
/* Naming Convention: --state-color-[theme]-[element?]-[state] */
|
|
7
|
+
/* States: [default, hover, pressed, disabled] */
|
|
6
8
|
|
|
7
|
-
|
|
8
|
-
--state-color-primary-
|
|
9
|
-
--state-color-primary-
|
|
10
|
-
--state-color-primary-
|
|
11
|
-
--state-color-primary-
|
|
12
|
-
--state-color-primary-
|
|
13
|
-
--state-color-primary-
|
|
14
|
-
--state-color-primary-text-
|
|
15
|
-
--state-color-primary-text-
|
|
16
|
-
--state-color-primary-text-
|
|
17
|
-
--state-color-primary-text-pressed: var(--state-primary-text-pressed-xspector);
|
|
9
|
+
--state-color-primary-default: #b1a400;
|
|
10
|
+
--state-color-primary-hover: #ddcd00;
|
|
11
|
+
--state-color-primary-stroke: rgba(177 164 0 / 0.48);
|
|
12
|
+
--state-color-primary-hover-bg: rgba(221 205 0 / 0.08);
|
|
13
|
+
--state-color-primary-pressed: #6f6700;
|
|
14
|
+
--state-color-primary-active: #ddcd00;
|
|
15
|
+
--state-color-primary-text-solid: #212B36;
|
|
16
|
+
--state-color-primary-text-outline: #b1a400;
|
|
17
|
+
--state-color-primary-text-hover: #ddcd00;
|
|
18
|
+
--state-color-primary-text-pressed: #6f6700;
|
|
18
19
|
|
|
19
|
-
|
|
20
|
-
--state-color-secondary-
|
|
21
|
-
--state-color-secondary-
|
|
22
|
-
--state-color-secondary-
|
|
23
|
-
--state-color-secondary-
|
|
24
|
-
--state-color-secondary-
|
|
25
|
-
--state-color-secondary-
|
|
26
|
-
--state-color-secondary-text-
|
|
27
|
-
--state-color-secondary-text-
|
|
28
|
-
--state-color-secondary-text-
|
|
29
|
-
--state-color-secondary-text-pressed: var(--state-secondary-text-pressed-xspector);
|
|
20
|
+
--state-color-secondary-default: #ececec;
|
|
21
|
+
--state-color-secondary-hover: #fafafa;
|
|
22
|
+
--state-color-secondary-stroke: rgba(236 236 236 / 0.48);
|
|
23
|
+
--state-color-secondary-hover-bg: rgba(250 250 250 / 0.08);
|
|
24
|
+
--state-color-secondary-pressed: #bbbbbb;
|
|
25
|
+
--state-color-secondary-active: #fafafa;
|
|
26
|
+
--state-color-secondary-text-solid: #212B36;
|
|
27
|
+
--state-color-secondary-text-outline: #ececec;
|
|
28
|
+
--state-color-secondary-text-hover: #fafafa;
|
|
29
|
+
--state-color-secondary-text-pressed: #bbbbbb;
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
--state-color-tertiary-
|
|
33
|
-
--state-color-tertiary-
|
|
34
|
-
--state-color-tertiary-
|
|
35
|
-
--state-color-tertiary-
|
|
36
|
-
--state-color-tertiary-
|
|
37
|
-
--state-color-tertiary-
|
|
38
|
-
--state-color-tertiary-text-
|
|
39
|
-
--state-color-tertiary-text-
|
|
40
|
-
--state-color-tertiary-text-
|
|
41
|
-
--state-color-tertiary-text-pressed: var(--state-tertiery-text-pressed-xspector);
|
|
31
|
+
--state-color-tertiary-default: #8aa2ab;
|
|
32
|
+
--state-color-tertiary-hover: #adcad6;
|
|
33
|
+
--state-color-tertiary-stroke: rgba(138 162 171 / 0.48);
|
|
34
|
+
--state-color-tertiary-hover-bg: rgba(173 202 214 / 0.08);
|
|
35
|
+
--state-color-tertiary-pressed: #57656b;
|
|
36
|
+
--state-color-tertiary-active: #adcad6;
|
|
37
|
+
--state-color-tertiary-text-solid: #212B36;
|
|
38
|
+
--state-color-tertiary-text-outline: #8aa2ab;
|
|
39
|
+
--state-color-tertiary-text-hover: #adcad6;
|
|
40
|
+
--state-color-tertiary-text-pressed: #57656b;
|
|
42
41
|
|
|
43
|
-
|
|
44
|
-
--state-color-info-
|
|
45
|
-
--state-color-info-
|
|
46
|
-
--state-color-info-
|
|
47
|
-
--state-color-info-
|
|
48
|
-
--state-color-info-
|
|
49
|
-
--state-color-info-
|
|
50
|
-
--state-color-info-text-
|
|
51
|
-
--state-color-info-text-
|
|
52
|
-
--state-color-info-text-
|
|
53
|
-
--state-color-info-text-pressed: var(--state-info-text-pressed-xspector);
|
|
42
|
+
--state-color-info-default: #1b7df5;
|
|
43
|
+
--state-color-info-hover: #2998ff;
|
|
44
|
+
--state-color-info-stroke: rgba(27 125 245 / 0.48);
|
|
45
|
+
--state-color-info-hover-bg: rgba(41 152 255 / 0.08);
|
|
46
|
+
--state-color-info-pressed: #1752b6;
|
|
47
|
+
--state-color-info-active: #2998ff;
|
|
48
|
+
--state-color-info-text-solid: #ffffff;
|
|
49
|
+
--state-color-info-text-outline: #1b7df5;
|
|
50
|
+
--state-color-info-text-hover: #2998ff;
|
|
51
|
+
--state-color-info-text-pressed: #1752b6;
|
|
54
52
|
|
|
55
|
-
|
|
56
|
-
--state-color-success-
|
|
57
|
-
--state-color-success-
|
|
58
|
-
--state-color-success-
|
|
59
|
-
--state-color-success-
|
|
60
|
-
--state-color-success-
|
|
61
|
-
--state-color-success-
|
|
62
|
-
--state-color-success-text-
|
|
63
|
-
--state-color-success-text-
|
|
64
|
-
--state-color-success-text-
|
|
65
|
-
--state-color-success-text-pressed: var(--state-success-text-pressed-xspector);
|
|
53
|
+
--state-color-success-default: #319917;
|
|
54
|
+
--state-color-success-hover: #44c022;
|
|
55
|
+
--state-color-success-stroke: rgba(49 153 23 / 0.48);
|
|
56
|
+
--state-color-success-hover-bg: rgba(84 214 44 / 0.08);
|
|
57
|
+
--state-color-success-pressed: #235d17;
|
|
58
|
+
--state-color-success-active: #44c022;
|
|
59
|
+
--state-color-success-text-solid: #ffffff;
|
|
60
|
+
--state-color-success-text-outline: #319917;
|
|
61
|
+
--state-color-success-text-hover: #44c022;
|
|
62
|
+
--state-color-success-text-pressed: #235d17;
|
|
66
63
|
|
|
67
|
-
|
|
68
|
-
--state-color-warning-
|
|
69
|
-
--state-color-warning-
|
|
70
|
-
--state-color-warning-
|
|
71
|
-
--state-color-warning-
|
|
72
|
-
--state-color-warning-
|
|
73
|
-
--state-color-warning-
|
|
74
|
-
--state-color-warning-text-
|
|
75
|
-
--state-color-warning-text-
|
|
76
|
-
--state-color-warning-text-
|
|
77
|
-
--state-color-warning-text-pressed: var(--state-warning-text-pressed-xspector);
|
|
64
|
+
--state-color-warning-default: #ffc107;
|
|
65
|
+
--state-color-warning-hover: #ffdf1b;
|
|
66
|
+
--state-color-warning-stroke: rgba(255 193 7 / 0.48);
|
|
67
|
+
--state-color-warning-hover-bg: rgba(255 193 7 / 0.08);
|
|
68
|
+
--state-color-warning-pressed: #985108;
|
|
69
|
+
--state-color-warning-active: #ffc107;
|
|
70
|
+
--state-color-warning-text-solid: #ffffff;
|
|
71
|
+
--state-color-warning-text-outline: #ffc107;
|
|
72
|
+
--state-color-warning-text-hover: #ffdf1b;
|
|
73
|
+
--state-color-warning-text-pressed: #985108;
|
|
78
74
|
|
|
79
|
-
|
|
80
|
-
--state-color-error-
|
|
81
|
-
--state-color-error-
|
|
82
|
-
--state-color-error-
|
|
83
|
-
--state-color-error-
|
|
84
|
-
--state-color-error-
|
|
85
|
-
--state-color-error-
|
|
86
|
-
--state-color-error-text-
|
|
87
|
-
--state-color-error-text-
|
|
88
|
-
--state-color-error-text-
|
|
89
|
-
--state-color-error-text-pressed: var(--state-error-text-pressed-xspector);
|
|
75
|
+
--state-color-error-default: #ed2f15;
|
|
76
|
+
--state-color-error-hover: #ff4d35;
|
|
77
|
+
--state-color-error-stroke: rgba(237 47 21 / 0.48);
|
|
78
|
+
--state-color-error-hover-bg: rgba(255 77 53 / 0.08);
|
|
79
|
+
--state-color-error-pressed: #a5210f;
|
|
80
|
+
--state-color-error-active: #ff4d35;
|
|
81
|
+
--state-color-error-text-solid: #ffffff;
|
|
82
|
+
--state-color-error-text-outline: #ed2f15;
|
|
83
|
+
--state-color-error-text-hover: #ff4d35;
|
|
84
|
+
--state-color-error-text-pressed: #a5210f;
|
|
90
85
|
|
|
91
|
-
|
|
92
|
-
--state-color-disable-
|
|
93
|
-
--state-color-disable-outline: var(--state-disable-outline-xspector);
|
|
86
|
+
--state-color-disable-solid: #454f5b;
|
|
87
|
+
--state-color-disable-outline: #637381;
|
|
94
88
|
}
|
|
89
|
+
|