@rovula/ui 0.1.5 → 0.1.7
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 +404 -368
- package/dist/cjs/bundle.js +171 -171
- package/dist/cjs/bundle.js.map +1 -1
- package/dist/cjs/types/components/Text/Text.d.ts +25 -1
- package/dist/cjs/types/components/Text/Text.stories.d.ts +1 -1
- package/dist/cjs/types/utils/colors.d.ts +268 -268
- package/dist/components/Avatar/Avatar.styles.js +2 -2
- package/dist/components/Button/Buttons.stories.js +1 -1
- package/dist/components/Calendar/Calendar.js +1 -1
- package/dist/components/Dropdown/Dropdown.js +2 -2
- package/dist/components/DropdownMenu/DropdownMenu.js +4 -4
- package/dist/components/Footer/Footer.js +1 -1
- package/dist/components/Input/Input.styles.js +2 -2
- package/dist/components/InputFilter/InputFilter.js +2 -2
- package/dist/components/Label/Label.styles.js +4 -4
- package/dist/components/Menu/Menu.js +2 -2
- package/dist/components/Navbar/Navbar.js +1 -1
- package/dist/components/Switch/Switch.styles.js +1 -1
- package/dist/components/Tabs/Tabs.js +1 -1
- package/dist/components/Text/Text.js +11 -1
- package/dist/components/Text/Text.stories.js +6 -6
- package/dist/components/TextArea/TextArea.styles.js +6 -6
- package/dist/components/TextInput/TextInput.stories.js +1 -1
- package/dist/components/TextInput/TextInput.styles.js +18 -18
- package/dist/components/Toast/Toast.js +2 -2
- package/dist/esm/bundle.css +404 -368
- package/dist/esm/bundle.js +5 -5
- package/dist/esm/bundle.js.map +1 -1
- package/dist/esm/types/components/Text/Text.d.ts +25 -1
- package/dist/esm/types/components/Text/Text.stories.d.ts +1 -1
- package/dist/esm/types/utils/colors.d.ts +268 -268
- package/dist/index.d.ts +293 -269
- package/dist/src/theme/global.css +2514 -2607
- package/dist/utils/colors.js +268 -268
- package/package.json +1 -1
- package/src/components/Avatar/Avatar.styles.ts +2 -2
- package/src/components/Button/Buttons.stories.tsx +17 -9
- package/src/components/Calendar/Calendar.tsx +1 -1
- package/src/components/Dropdown/Dropdown.tsx +2 -2
- package/src/components/DropdownMenu/DropdownMenu.tsx +6 -6
- package/src/components/Footer/Footer.tsx +1 -1
- package/src/components/Input/Input.styles.tsx +2 -2
- package/src/components/InputFilter/InputFilter.tsx +2 -2
- package/src/components/Label/Label.styles.ts +4 -4
- package/src/components/Menu/Menu.tsx +2 -2
- package/src/components/Navbar/Navbar.tsx +1 -1
- package/src/components/Switch/Switch.styles.ts +1 -1
- package/src/components/Tabs/Tabs.tsx +1 -1
- package/src/components/Text/Text.stories.tsx +6 -6
- package/src/components/Text/Text.tsx +36 -1
- package/src/components/TextArea/TextArea.styles.ts +6 -6
- package/src/components/TextInput/TextInput.stories.tsx +3 -1
- package/src/components/TextInput/TextInput.styles.ts +18 -18
- package/src/components/Toast/Toast.tsx +2 -2
- package/src/theme/THEME_MAPPING.md +41 -42
- package/src/theme/global.css +8 -4
- package/src/theme/main-preset.js +49 -0
- package/src/theme/plugins/utilities/typography.js +40 -6
- package/src/theme/presets/colors.js +27 -29
- package/src/theme/themes/skyller/baseline.css +0 -4
- package/src/theme/themes/variable-mapping.css +1064 -0
- package/src/theme/themes/variable.css +317 -284
- package/src/theme/themes/xspector/baseline.css +0 -4
- package/src/theme/themes/xspector/components/dropdown-menu.css +4 -4
- package/src/theme/tokens/baseline.css +0 -3
- package/src/theme/tokens/color.css +34 -63
- package/src/theme/tokens/components/action-button.css +6 -6
- package/src/theme/tokens/components/button.css +189 -189
- package/src/theme/tokens/components/dropdown-menu.css +2 -2
- package/src/theme/tokens/components/footer.css +1 -1
- package/src/theme/tokens/components/switch.css +10 -10
- package/src/theme/tokens/typography.css +28 -28
- package/src/theme/tokens_old/baseline.css +13 -0
- package/src/theme/tokens_old/color.css +78 -0
- package/src/theme/tokens_old/components/action-button.css +127 -0
- package/src/theme/tokens_old/components/button.css +512 -0
- package/src/theme/tokens_old/components/dropdown-menu.css +27 -0
- package/src/theme/tokens_old/components/footer.css +9 -0
- package/src/theme/tokens_old/components/loading.css +11 -0
- package/src/theme/tokens_old/components/navbar.css +9 -0
- package/src/theme/tokens_old/components/progress-bar.css +8 -0
- package/src/theme/tokens_old/components/switch.css +29 -0
- package/src/theme/tokens_old/typography.css +199 -0
- package/src/theme/tokens_old/variables.css +28 -0
- package/src/theme/utils.js +16 -16
- package/src/utils/colors.ts +276 -279
- package/src/theme/themes/skyller/color.css +0 -79
- 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/xspector/color.css +0 -83
- package/src/theme/themes/xspector/palette.css +0 -142
- package/src/theme/themes/xspector/state.css +0 -94
- package/src/theme/themes/xspector/transparent.css +0 -93
- /package/src/theme/{tokens → tokens_old}/palette.css +0 -0
- /package/src/theme/{tokens → tokens_old}/state.css +0 -0
- /package/src/theme/{tokens → tokens_old}/transparent.css +0 -0
|
@@ -1,196 +1,196 @@
|
|
|
1
1
|
/** CSS variable names for theme colors (resolved by data-theme) */
|
|
2
2
|
export declare const THEME_COLOR_KEYS: {
|
|
3
|
-
readonly "primary-5": "--
|
|
4
|
-
readonly "primary-10": "--
|
|
5
|
-
readonly "primary-20": "--
|
|
6
|
-
readonly "primary-30": "--
|
|
7
|
-
readonly "primary-40": "--
|
|
8
|
-
readonly "primary-50": "--
|
|
9
|
-
readonly "primary-60": "--
|
|
10
|
-
readonly "primary-70": "--
|
|
11
|
-
readonly "primary-80": "--
|
|
12
|
-
readonly "primary-90": "--
|
|
13
|
-
readonly "primary-100": "--
|
|
14
|
-
readonly "primary-110": "--
|
|
15
|
-
readonly "primary-120": "--
|
|
16
|
-
readonly "primary-130": "--
|
|
17
|
-
readonly "primary-140": "--
|
|
18
|
-
readonly "primary-150": "--
|
|
19
|
-
readonly "secondary-5": "--
|
|
20
|
-
readonly "secondary-10": "--
|
|
21
|
-
readonly "secondary-20": "--
|
|
22
|
-
readonly "secondary-30": "--
|
|
23
|
-
readonly "secondary-40": "--
|
|
24
|
-
readonly "secondary-50": "--
|
|
25
|
-
readonly "secondary-60": "--
|
|
26
|
-
readonly "secondary-70": "--
|
|
27
|
-
readonly "secondary-80": "--
|
|
28
|
-
readonly "secondary-90": "--
|
|
29
|
-
readonly "secondary-100": "--
|
|
30
|
-
readonly "secondary-110": "--
|
|
31
|
-
readonly "secondary-120": "--
|
|
32
|
-
readonly "secondary-130": "--
|
|
33
|
-
readonly "secondary-140": "--
|
|
34
|
-
readonly "secondary-150": "--
|
|
35
|
-
readonly "tertiary-5": "--
|
|
36
|
-
readonly "tertiary-10": "--
|
|
37
|
-
readonly "tertiary-20": "--
|
|
38
|
-
readonly "tertiary-30": "--
|
|
39
|
-
readonly "tertiary-40": "--
|
|
40
|
-
readonly "tertiary-50": "--
|
|
41
|
-
readonly "tertiary-60": "--
|
|
42
|
-
readonly "tertiary-70": "--
|
|
43
|
-
readonly "tertiary-80": "--
|
|
44
|
-
readonly "tertiary-90": "--
|
|
45
|
-
readonly "tertiary-100": "--
|
|
46
|
-
readonly "tertiary-110": "--
|
|
47
|
-
readonly "tertiary-120": "--
|
|
48
|
-
readonly "tertiary-130": "--
|
|
49
|
-
readonly "tertiary-140": "--
|
|
50
|
-
readonly "tertiary-150": "--
|
|
51
|
-
readonly "grey-5": "--
|
|
52
|
-
readonly "grey-10": "--
|
|
53
|
-
readonly "grey-20": "--
|
|
54
|
-
readonly "grey-30": "--
|
|
55
|
-
readonly "grey-40": "--
|
|
56
|
-
readonly "grey-50": "--
|
|
57
|
-
readonly "grey-60": "--
|
|
58
|
-
readonly "grey-70": "--
|
|
59
|
-
readonly "grey-80": "--
|
|
60
|
-
readonly "grey-90": "--
|
|
61
|
-
readonly "grey-100": "--
|
|
62
|
-
readonly "grey-110": "--
|
|
63
|
-
readonly "grey-120": "--
|
|
64
|
-
readonly "grey-130": "--
|
|
65
|
-
readonly "grey-140": "--
|
|
66
|
-
readonly "grey-150": "--
|
|
67
|
-
readonly "grey2-50": "--
|
|
68
|
-
readonly "grey2-100": "--
|
|
69
|
-
readonly "grey2-200": "--
|
|
70
|
-
readonly "grey2-300": "--
|
|
71
|
-
readonly "grey2-400": "--
|
|
72
|
-
readonly "grey2-500": "--
|
|
73
|
-
readonly "grey2-600": "--
|
|
74
|
-
readonly "grey2-700": "--
|
|
75
|
-
readonly "grey2-800": "--
|
|
76
|
-
readonly "grey2-900": "--
|
|
77
|
-
readonly "grey2-950": "--
|
|
78
|
-
readonly "info-50": "--
|
|
79
|
-
readonly "info-100": "--
|
|
80
|
-
readonly "info-200": "--
|
|
81
|
-
readonly "info-300": "--
|
|
82
|
-
readonly "info-400": "--
|
|
83
|
-
readonly "info-500": "--
|
|
84
|
-
readonly "info-600": "--
|
|
85
|
-
readonly "info-700": "--
|
|
86
|
-
readonly "info-800": "--
|
|
87
|
-
readonly "info-900": "--
|
|
88
|
-
readonly "info-950": "--
|
|
89
|
-
readonly "success-50": "--
|
|
90
|
-
readonly "success-100": "--
|
|
91
|
-
readonly "success-200": "--
|
|
92
|
-
readonly "success-300": "--
|
|
93
|
-
readonly "success-400": "--
|
|
94
|
-
readonly "success-500": "--
|
|
95
|
-
readonly "success-600": "--
|
|
96
|
-
readonly "success-700": "--
|
|
97
|
-
readonly "success-800": "--
|
|
98
|
-
readonly "success-900": "--
|
|
99
|
-
readonly "success-950": "--
|
|
100
|
-
readonly "warning-50": "--
|
|
101
|
-
readonly "warning-100": "--
|
|
102
|
-
readonly "warning-200": "--
|
|
103
|
-
readonly "warning-300": "--
|
|
104
|
-
readonly "warning-400": "--
|
|
105
|
-
readonly "warning-500": "--
|
|
106
|
-
readonly "warning-600": "--
|
|
107
|
-
readonly "warning-700": "--
|
|
108
|
-
readonly "warning-800": "--
|
|
109
|
-
readonly "warning-900": "--
|
|
110
|
-
readonly "warning-950": "--
|
|
111
|
-
readonly "error-50": "--
|
|
112
|
-
readonly "error-100": "--
|
|
113
|
-
readonly "error-200": "--
|
|
114
|
-
readonly "error-300": "--
|
|
115
|
-
readonly "error-400": "--
|
|
116
|
-
readonly "error-500": "--
|
|
117
|
-
readonly "error-600": "--
|
|
118
|
-
readonly "error-700": "--
|
|
119
|
-
readonly "error-800": "--
|
|
120
|
-
readonly "error-900": "--
|
|
121
|
-
readonly "error-950": "--
|
|
122
|
-
readonly primary: "--state-
|
|
123
|
-
readonly "primary-hover": "--state-
|
|
124
|
-
readonly "primary-stroke": "--state-
|
|
125
|
-
readonly "primary-hover-bg": "--state-
|
|
126
|
-
readonly "primary-pressed": "--state-
|
|
127
|
-
readonly "primary-active": "--state-
|
|
128
|
-
readonly "primary-text-solid": "--state-
|
|
129
|
-
readonly "primary-text-outline": "--state-
|
|
130
|
-
readonly "primary-text-hover": "--state-
|
|
131
|
-
readonly "primary-text-pressed": "--state-
|
|
132
|
-
readonly secondary: "--state-
|
|
133
|
-
readonly "secondary-hover": "--state-
|
|
134
|
-
readonly "secondary-stroke": "--state-
|
|
135
|
-
readonly "secondary-hover-bg": "--state-
|
|
136
|
-
readonly "secondary-pressed": "--state-
|
|
137
|
-
readonly "secondary-active": "--state-
|
|
138
|
-
readonly "secondary-text-solid": "--state-
|
|
139
|
-
readonly "secondary-text-outline": "--state-
|
|
140
|
-
readonly "secondary-text-hover": "--state-
|
|
141
|
-
readonly "secondary-text-pressed": "--state-
|
|
142
|
-
readonly tertiary: "--state-
|
|
143
|
-
readonly "tertiary-hover": "--state-
|
|
144
|
-
readonly "tertiary-stroke": "--state-
|
|
145
|
-
readonly "tertiary-hover-bg": "--state-
|
|
146
|
-
readonly "tertiary-pressed": "--state-
|
|
147
|
-
readonly "tertiary-active": "--state-
|
|
148
|
-
readonly "tertiary-text-solid": "--state-
|
|
149
|
-
readonly "tertiary-text-outline": "--state-
|
|
150
|
-
readonly "tertiary-text-hover": "--state-
|
|
151
|
-
readonly "tertiary-text-pressed": "--state-
|
|
152
|
-
readonly info: "--state-
|
|
153
|
-
readonly "info-hover": "--state-
|
|
154
|
-
readonly "info-stroke": "--state-
|
|
155
|
-
readonly "info-hover-bg": "--state-
|
|
156
|
-
readonly "info-pressed": "--state-
|
|
157
|
-
readonly "info-active": "--state-
|
|
158
|
-
readonly "info-text-solid": "--state-
|
|
159
|
-
readonly "info-text-outline": "--state-
|
|
160
|
-
readonly "info-text-hover": "--state-
|
|
161
|
-
readonly "info-text-pressed": "--state-
|
|
162
|
-
readonly success: "--state-
|
|
163
|
-
readonly "success-hover": "--state-
|
|
164
|
-
readonly "success-stroke": "--state-
|
|
165
|
-
readonly "success-hover-bg": "--state-
|
|
166
|
-
readonly "success-pressed": "--state-
|
|
167
|
-
readonly "success-active": "--state-
|
|
168
|
-
readonly "success-text-solid": "--state-
|
|
169
|
-
readonly "success-text-outline": "--state-
|
|
170
|
-
readonly "success-text-hover": "--state-
|
|
171
|
-
readonly "success-text-pressed": "--state-
|
|
172
|
-
readonly warning: "--state-
|
|
173
|
-
readonly "warning-hover": "--state-
|
|
174
|
-
readonly "warning-stroke": "--state-
|
|
175
|
-
readonly "warning-hover-bg": "--state-
|
|
176
|
-
readonly "warning-pressed": "--state-
|
|
177
|
-
readonly "warning-active": "--state-
|
|
178
|
-
readonly "warning-text-solid": "--state-
|
|
179
|
-
readonly "warning-text-outline": "--state-
|
|
180
|
-
readonly "warning-text-hover": "--state-
|
|
181
|
-
readonly "warning-text-pressed": "--state-
|
|
182
|
-
readonly error: "--state-
|
|
183
|
-
readonly "error-hover": "--state-
|
|
184
|
-
readonly "error-stroke": "--state-
|
|
185
|
-
readonly "error-hover-bg": "--state-
|
|
186
|
-
readonly "error-pressed": "--state-
|
|
187
|
-
readonly "error-active": "--state-
|
|
188
|
-
readonly "error-text-solid": "--state-
|
|
189
|
-
readonly "error-text-outline": "--state-
|
|
190
|
-
readonly "error-text-hover": "--state-
|
|
191
|
-
readonly "error-text-pressed": "--state-
|
|
192
|
-
readonly "disable-solid": "--state-
|
|
193
|
-
readonly "disable-outline": "--state-
|
|
3
|
+
readonly "primary-5": "--ramps-primary-5";
|
|
4
|
+
readonly "primary-10": "--ramps-primary-10";
|
|
5
|
+
readonly "primary-20": "--ramps-primary-20";
|
|
6
|
+
readonly "primary-30": "--ramps-primary-30";
|
|
7
|
+
readonly "primary-40": "--ramps-primary-40";
|
|
8
|
+
readonly "primary-50": "--ramps-primary-50";
|
|
9
|
+
readonly "primary-60": "--ramps-primary-60";
|
|
10
|
+
readonly "primary-70": "--ramps-primary-70";
|
|
11
|
+
readonly "primary-80": "--ramps-primary-80";
|
|
12
|
+
readonly "primary-90": "--ramps-primary-90";
|
|
13
|
+
readonly "primary-100": "--ramps-primary-100";
|
|
14
|
+
readonly "primary-110": "--ramps-primary-110";
|
|
15
|
+
readonly "primary-120": "--ramps-primary-120";
|
|
16
|
+
readonly "primary-130": "--ramps-primary-130";
|
|
17
|
+
readonly "primary-140": "--ramps-primary-140";
|
|
18
|
+
readonly "primary-150": "--ramps-primary-150";
|
|
19
|
+
readonly "secondary-5": "--ramps-secondary-5";
|
|
20
|
+
readonly "secondary-10": "--ramps-secondary-10";
|
|
21
|
+
readonly "secondary-20": "--ramps-secondary-20";
|
|
22
|
+
readonly "secondary-30": "--ramps-secondary-30";
|
|
23
|
+
readonly "secondary-40": "--ramps-secondary-40";
|
|
24
|
+
readonly "secondary-50": "--ramps-secondary-50";
|
|
25
|
+
readonly "secondary-60": "--ramps-secondary-60";
|
|
26
|
+
readonly "secondary-70": "--ramps-secondary-70";
|
|
27
|
+
readonly "secondary-80": "--ramps-secondary-80";
|
|
28
|
+
readonly "secondary-90": "--ramps-secondary-90";
|
|
29
|
+
readonly "secondary-100": "--ramps-secondary-100";
|
|
30
|
+
readonly "secondary-110": "--ramps-secondary-110";
|
|
31
|
+
readonly "secondary-120": "--ramps-secondary-120";
|
|
32
|
+
readonly "secondary-130": "--ramps-secondary-130";
|
|
33
|
+
readonly "secondary-140": "--ramps-secondary-140";
|
|
34
|
+
readonly "secondary-150": "--ramps-secondary-150";
|
|
35
|
+
readonly "tertiary-5": "--ramps-tertiary-5";
|
|
36
|
+
readonly "tertiary-10": "--ramps-tertiary-10";
|
|
37
|
+
readonly "tertiary-20": "--ramps-tertiary-20";
|
|
38
|
+
readonly "tertiary-30": "--ramps-tertiary-30";
|
|
39
|
+
readonly "tertiary-40": "--ramps-tertiary-40";
|
|
40
|
+
readonly "tertiary-50": "--ramps-tertiary-50";
|
|
41
|
+
readonly "tertiary-60": "--ramps-tertiary-60";
|
|
42
|
+
readonly "tertiary-70": "--ramps-tertiary-70";
|
|
43
|
+
readonly "tertiary-80": "--ramps-tertiary-80";
|
|
44
|
+
readonly "tertiary-90": "--ramps-tertiary-90";
|
|
45
|
+
readonly "tertiary-100": "--ramps-tertiary-100";
|
|
46
|
+
readonly "tertiary-110": "--ramps-tertiary-110";
|
|
47
|
+
readonly "tertiary-120": "--ramps-tertiary-120";
|
|
48
|
+
readonly "tertiary-130": "--ramps-tertiary-130";
|
|
49
|
+
readonly "tertiary-140": "--ramps-tertiary-140";
|
|
50
|
+
readonly "tertiary-150": "--ramps-tertiary-150";
|
|
51
|
+
readonly "grey-5": "--ramps-grey-5";
|
|
52
|
+
readonly "grey-10": "--ramps-grey-10";
|
|
53
|
+
readonly "grey-20": "--ramps-grey-20";
|
|
54
|
+
readonly "grey-30": "--ramps-grey-30";
|
|
55
|
+
readonly "grey-40": "--ramps-grey-40";
|
|
56
|
+
readonly "grey-50": "--ramps-grey-50";
|
|
57
|
+
readonly "grey-60": "--ramps-grey-60";
|
|
58
|
+
readonly "grey-70": "--ramps-grey-70";
|
|
59
|
+
readonly "grey-80": "--ramps-grey-80";
|
|
60
|
+
readonly "grey-90": "--ramps-grey-90";
|
|
61
|
+
readonly "grey-100": "--ramps-grey-100";
|
|
62
|
+
readonly "grey-110": "--ramps-grey-110";
|
|
63
|
+
readonly "grey-120": "--ramps-grey-120";
|
|
64
|
+
readonly "grey-130": "--ramps-grey-130";
|
|
65
|
+
readonly "grey-140": "--ramps-grey-140";
|
|
66
|
+
readonly "grey-150": "--ramps-grey-150";
|
|
67
|
+
readonly "grey2-50": "--ramps-grey2-50";
|
|
68
|
+
readonly "grey2-100": "--ramps-grey2-100";
|
|
69
|
+
readonly "grey2-200": "--ramps-grey2-200";
|
|
70
|
+
readonly "grey2-300": "--ramps-grey2-300";
|
|
71
|
+
readonly "grey2-400": "--ramps-grey2-400";
|
|
72
|
+
readonly "grey2-500": "--ramps-grey2-500";
|
|
73
|
+
readonly "grey2-600": "--ramps-grey2-600";
|
|
74
|
+
readonly "grey2-700": "--ramps-grey2-700";
|
|
75
|
+
readonly "grey2-800": "--ramps-grey2-800";
|
|
76
|
+
readonly "grey2-900": "--ramps-grey2-900";
|
|
77
|
+
readonly "grey2-950": "--ramps-grey2-950";
|
|
78
|
+
readonly "info-50": "--ramps-info-50";
|
|
79
|
+
readonly "info-100": "--ramps-info-100";
|
|
80
|
+
readonly "info-200": "--ramps-info-200";
|
|
81
|
+
readonly "info-300": "--ramps-info-300";
|
|
82
|
+
readonly "info-400": "--ramps-info-400";
|
|
83
|
+
readonly "info-500": "--ramps-info-500";
|
|
84
|
+
readonly "info-600": "--ramps-info-600";
|
|
85
|
+
readonly "info-700": "--ramps-info-700";
|
|
86
|
+
readonly "info-800": "--ramps-info-800";
|
|
87
|
+
readonly "info-900": "--ramps-info-900";
|
|
88
|
+
readonly "info-950": "--ramps-info-950";
|
|
89
|
+
readonly "success-50": "--ramps-success-50";
|
|
90
|
+
readonly "success-100": "--ramps-success-100";
|
|
91
|
+
readonly "success-200": "--ramps-success-200";
|
|
92
|
+
readonly "success-300": "--ramps-success-300";
|
|
93
|
+
readonly "success-400": "--ramps-success-400";
|
|
94
|
+
readonly "success-500": "--ramps-success-500";
|
|
95
|
+
readonly "success-600": "--ramps-success-600";
|
|
96
|
+
readonly "success-700": "--ramps-success-700";
|
|
97
|
+
readonly "success-800": "--ramps-success-800";
|
|
98
|
+
readonly "success-900": "--ramps-success-900";
|
|
99
|
+
readonly "success-950": "--ramps-success-950";
|
|
100
|
+
readonly "warning-50": "--ramps-warning-50";
|
|
101
|
+
readonly "warning-100": "--ramps-warning-100";
|
|
102
|
+
readonly "warning-200": "--ramps-warning-200";
|
|
103
|
+
readonly "warning-300": "--ramps-warning-300";
|
|
104
|
+
readonly "warning-400": "--ramps-warning-400";
|
|
105
|
+
readonly "warning-500": "--ramps-warning-500";
|
|
106
|
+
readonly "warning-600": "--ramps-warning-600";
|
|
107
|
+
readonly "warning-700": "--ramps-warning-700";
|
|
108
|
+
readonly "warning-800": "--ramps-warning-800";
|
|
109
|
+
readonly "warning-900": "--ramps-warning-900";
|
|
110
|
+
readonly "warning-950": "--ramps-warning-950";
|
|
111
|
+
readonly "error-50": "--ramps-error-50";
|
|
112
|
+
readonly "error-100": "--ramps-error-100";
|
|
113
|
+
readonly "error-200": "--ramps-error-200";
|
|
114
|
+
readonly "error-300": "--ramps-error-300";
|
|
115
|
+
readonly "error-400": "--ramps-error-400";
|
|
116
|
+
readonly "error-500": "--ramps-error-500";
|
|
117
|
+
readonly "error-600": "--ramps-error-600";
|
|
118
|
+
readonly "error-700": "--ramps-error-700";
|
|
119
|
+
readonly "error-800": "--ramps-error-800";
|
|
120
|
+
readonly "error-900": "--ramps-error-900";
|
|
121
|
+
readonly "error-950": "--ramps-error-950";
|
|
122
|
+
readonly primary: "--state-primary-default";
|
|
123
|
+
readonly "primary-hover": "--state-primary-hover";
|
|
124
|
+
readonly "primary-stroke": "--state-primary-stroke";
|
|
125
|
+
readonly "primary-hover-bg": "--state-primary-hover-bg";
|
|
126
|
+
readonly "primary-pressed": "--state-primary-pressed";
|
|
127
|
+
readonly "primary-active": "--state-primary-active";
|
|
128
|
+
readonly "primary-text-solid": "--state-primary-text-solid";
|
|
129
|
+
readonly "primary-text-outline": "--state-primary-text-outline";
|
|
130
|
+
readonly "primary-text-hover": "--state-primary-text-hover";
|
|
131
|
+
readonly "primary-text-pressed": "--state-primary-text-pressed";
|
|
132
|
+
readonly secondary: "--state-secondary-default";
|
|
133
|
+
readonly "secondary-hover": "--state-secondary-hover";
|
|
134
|
+
readonly "secondary-stroke": "--state-secondary-stroke";
|
|
135
|
+
readonly "secondary-hover-bg": "--state-secondary-hover-bg";
|
|
136
|
+
readonly "secondary-pressed": "--state-secondary-pressed";
|
|
137
|
+
readonly "secondary-active": "--state-secondary-active";
|
|
138
|
+
readonly "secondary-text-solid": "--state-secondary-text-solid";
|
|
139
|
+
readonly "secondary-text-outline": "--state-secondary-text-outline";
|
|
140
|
+
readonly "secondary-text-hover": "--state-secondary-text-hover";
|
|
141
|
+
readonly "secondary-text-pressed": "--state-secondary-text-pressed";
|
|
142
|
+
readonly tertiary: "--state-tertiary-default";
|
|
143
|
+
readonly "tertiary-hover": "--state-tertiary-hover";
|
|
144
|
+
readonly "tertiary-stroke": "--state-tertiary-stroke";
|
|
145
|
+
readonly "tertiary-hover-bg": "--state-tertiary-hover-bg";
|
|
146
|
+
readonly "tertiary-pressed": "--state-tertiary-pressed";
|
|
147
|
+
readonly "tertiary-active": "--state-tertiary-active";
|
|
148
|
+
readonly "tertiary-text-solid": "--state-tertiary-text-solid";
|
|
149
|
+
readonly "tertiary-text-outline": "--state-tertiary-text-outline";
|
|
150
|
+
readonly "tertiary-text-hover": "--state-tertiary-text-hover";
|
|
151
|
+
readonly "tertiary-text-pressed": "--state-tertiary-text-pressed";
|
|
152
|
+
readonly info: "--state-info-default";
|
|
153
|
+
readonly "info-hover": "--state-info-hover";
|
|
154
|
+
readonly "info-stroke": "--state-info-stroke";
|
|
155
|
+
readonly "info-hover-bg": "--state-info-hover-bg";
|
|
156
|
+
readonly "info-pressed": "--state-info-pressed";
|
|
157
|
+
readonly "info-active": "--state-info-active";
|
|
158
|
+
readonly "info-text-solid": "--state-info-text-solid";
|
|
159
|
+
readonly "info-text-outline": "--state-info-text-outline";
|
|
160
|
+
readonly "info-text-hover": "--state-info-text-hover";
|
|
161
|
+
readonly "info-text-pressed": "--state-info-text-pressed";
|
|
162
|
+
readonly success: "--state-success-default";
|
|
163
|
+
readonly "success-hover": "--state-success-hover";
|
|
164
|
+
readonly "success-stroke": "--state-success-stroke";
|
|
165
|
+
readonly "success-hover-bg": "--state-success-hover-bg";
|
|
166
|
+
readonly "success-pressed": "--state-success-pressed";
|
|
167
|
+
readonly "success-active": "--state-success-active";
|
|
168
|
+
readonly "success-text-solid": "--state-success-text-solid";
|
|
169
|
+
readonly "success-text-outline": "--state-success-text-outline";
|
|
170
|
+
readonly "success-text-hover": "--state-success-text-hover";
|
|
171
|
+
readonly "success-text-pressed": "--state-success-text-pressed";
|
|
172
|
+
readonly warning: "--state-warning-default";
|
|
173
|
+
readonly "warning-hover": "--state-warning-hover";
|
|
174
|
+
readonly "warning-stroke": "--state-warning-stroke";
|
|
175
|
+
readonly "warning-hover-bg": "--state-warning-hover-bg";
|
|
176
|
+
readonly "warning-pressed": "--state-warning-pressed";
|
|
177
|
+
readonly "warning-active": "--state-warning-active";
|
|
178
|
+
readonly "warning-text-solid": "--state-warning-text-solid";
|
|
179
|
+
readonly "warning-text-outline": "--state-warning-text-outline";
|
|
180
|
+
readonly "warning-text-hover": "--state-warning-text-hover";
|
|
181
|
+
readonly "warning-text-pressed": "--state-warning-text-pressed";
|
|
182
|
+
readonly error: "--state-error-default";
|
|
183
|
+
readonly "error-hover": "--state-error-hover";
|
|
184
|
+
readonly "error-stroke": "--state-error-stroke";
|
|
185
|
+
readonly "error-hover-bg": "--state-error-hover-bg";
|
|
186
|
+
readonly "error-pressed": "--state-error-pressed";
|
|
187
|
+
readonly "error-active": "--state-error-active";
|
|
188
|
+
readonly "error-text-solid": "--state-error-text-solid";
|
|
189
|
+
readonly "error-text-outline": "--state-error-text-outline";
|
|
190
|
+
readonly "error-text-hover": "--state-error-text-hover";
|
|
191
|
+
readonly "error-text-pressed": "--state-error-text-pressed";
|
|
192
|
+
readonly "disable-solid": "--state-disable-solid";
|
|
193
|
+
readonly "disable-outline": "--state-disable-outline";
|
|
194
194
|
readonly "text-black": "--text-black";
|
|
195
195
|
readonly "text-dark": "--text-dark";
|
|
196
196
|
readonly "text-medium": "--text-medium";
|
|
@@ -199,15 +199,15 @@ export declare const THEME_COLOR_KEYS: {
|
|
|
199
199
|
readonly "text-grey-medium": "--text-grey-medium";
|
|
200
200
|
readonly "text-grey-light": "--text-grey-light";
|
|
201
201
|
readonly "text-white": "--text-white";
|
|
202
|
-
readonly "input-default-text": "--input-
|
|
203
|
-
readonly "input-default-stroke": "--input-
|
|
204
|
-
readonly "input-filled-text": "--input-
|
|
205
|
-
readonly "input-active-stroke": "--input-
|
|
206
|
-
readonly "input-disable-text": "--input-
|
|
207
|
-
readonly "input-disable-stroke": "--input-
|
|
208
|
-
readonly "input-disable-bg": "--input-
|
|
209
|
-
readonly "input-label-bg": "--input-
|
|
210
|
-
readonly "input-error": "--input-
|
|
202
|
+
readonly "input-default-text": "--input-default-text";
|
|
203
|
+
readonly "input-default-stroke": "--input-default-stroke";
|
|
204
|
+
readonly "input-filled-text": "--input-filled-text";
|
|
205
|
+
readonly "input-active-stroke": "--input-active-stroke";
|
|
206
|
+
readonly "input-disable-text": "--input-disable-text";
|
|
207
|
+
readonly "input-disable-stroke": "--input-disable-stroke";
|
|
208
|
+
readonly "input-disable-bg": "--input-disable-bg";
|
|
209
|
+
readonly "input-label-bg": "--input-label-bg";
|
|
210
|
+
readonly "input-error": "--input-error";
|
|
211
211
|
readonly "function-default-solid": "--function-default-solid";
|
|
212
212
|
readonly "function-default-hover": "--function-default-hover";
|
|
213
213
|
readonly "function-default-hover-bg": "--function-default-hover-bg";
|
|
@@ -225,7 +225,7 @@ export declare const THEME_COLOR_KEYS: {
|
|
|
225
225
|
readonly "base-workspace-stroke": "--base-color-workspace-stroke";
|
|
226
226
|
readonly "base-guideline-stroke": "--base-color-guideline-stroke";
|
|
227
227
|
readonly "base-popup": "--base-color-popup";
|
|
228
|
-
readonly "base-popup-highlight": "--base-color-popup-
|
|
228
|
+
readonly "base-popup-highlight": "--base-color-popup-highlight";
|
|
229
229
|
readonly "base-popup-curtain": "--base-color-popup-curtain";
|
|
230
230
|
readonly "base-popup-foreground": "--base-color-popup-foreground";
|
|
231
231
|
readonly "common-white": "--common-white";
|
|
@@ -243,72 +243,72 @@ export declare const THEME_COLOR_KEYS: {
|
|
|
243
243
|
readonly "error-foreground": "--error-foreground";
|
|
244
244
|
readonly "grey-foreground": "--grey-foreground";
|
|
245
245
|
readonly "grey2-foreground": "--grey2-foreground";
|
|
246
|
-
readonly "primary-transparent-8": "--
|
|
247
|
-
readonly "primary-transparent-12": "--
|
|
248
|
-
readonly "primary-transparent-16": "--
|
|
249
|
-
readonly "primary-transparent-24": "--
|
|
250
|
-
readonly "primary-transparent-32": "--
|
|
251
|
-
readonly "primary-transparent-48": "--
|
|
252
|
-
readonly "secondary-transparent-8": "--
|
|
253
|
-
readonly "secondary-transparent-12": "--
|
|
254
|
-
readonly "secondary-transparent-16": "--
|
|
255
|
-
readonly "secondary-transparent-24": "--
|
|
256
|
-
readonly "secondary-transparent-32": "--
|
|
257
|
-
readonly "secondary-transparent-48": "--
|
|
258
|
-
readonly "tertiary-transparent-8": "--
|
|
259
|
-
readonly "tertiary-transparent-12": "--
|
|
260
|
-
readonly "tertiary-transparent-16": "--
|
|
261
|
-
readonly "tertiary-transparent-24": "--
|
|
262
|
-
readonly "tertiary-transparent-32": "--
|
|
263
|
-
readonly "tertiary-transparent-48": "--
|
|
264
|
-
readonly "info-transparent-8": "--
|
|
265
|
-
readonly "info-transparent-12": "--
|
|
266
|
-
readonly "info-transparent-16": "--
|
|
267
|
-
readonly "info-transparent-24": "--
|
|
268
|
-
readonly "info-transparent-32": "--
|
|
269
|
-
readonly "info-transparent-48": "--
|
|
270
|
-
readonly "success-transparent-8": "--
|
|
271
|
-
readonly "success-transparent-12": "--
|
|
272
|
-
readonly "success-transparent-16": "--
|
|
273
|
-
readonly "success-transparent-24": "--
|
|
274
|
-
readonly "success-transparent-32": "--
|
|
275
|
-
readonly "success-transparent-48": "--
|
|
276
|
-
readonly "warning-transparent-8": "--
|
|
277
|
-
readonly "warning-transparent-12": "--
|
|
278
|
-
readonly "warning-transparent-16": "--
|
|
279
|
-
readonly "warning-transparent-24": "--
|
|
280
|
-
readonly "warning-transparent-32": "--
|
|
281
|
-
readonly "warning-transparent-48": "--
|
|
282
|
-
readonly "error-transparent-8": "--
|
|
283
|
-
readonly "error-transparent-12": "--
|
|
284
|
-
readonly "error-transparent-16": "--
|
|
285
|
-
readonly "error-transparent-24": "--
|
|
286
|
-
readonly "error-transparent-32": "--
|
|
287
|
-
readonly "error-transparent-48": "--
|
|
288
|
-
readonly "grey-transparent-8": "--
|
|
289
|
-
readonly "grey-transparent-12": "--
|
|
290
|
-
readonly "grey-transparent-16": "--
|
|
291
|
-
readonly "grey-transparent-24": "--
|
|
292
|
-
readonly "grey-transparent-32": "--
|
|
293
|
-
readonly "grey-transparent-48": "--
|
|
294
|
-
readonly "grey2-transparent-8": "--
|
|
295
|
-
readonly "grey2-transparent-12": "--
|
|
296
|
-
readonly "grey2-transparent-16": "--
|
|
297
|
-
readonly "grey2-transparent-24": "--
|
|
298
|
-
readonly "grey2-transparent-32": "--
|
|
299
|
-
readonly "grey2-transparent-48": "--
|
|
300
|
-
readonly "white-transparent-8": "--
|
|
301
|
-
readonly "white-transparent-12": "--
|
|
302
|
-
readonly "white-transparent-16": "--
|
|
303
|
-
readonly "white-transparent-24": "--
|
|
304
|
-
readonly "white-transparent-32": "--
|
|
305
|
-
readonly "white-transparent-48": "--
|
|
306
|
-
readonly "black-transparent-8": "--
|
|
307
|
-
readonly "black-transparent-12": "--
|
|
308
|
-
readonly "black-transparent-16": "--
|
|
309
|
-
readonly "black-transparent-24": "--
|
|
310
|
-
readonly "black-transparent-32": "--
|
|
311
|
-
readonly "black-transparent-48": "--
|
|
246
|
+
readonly "primary-transparent-8": "--transparent-primary-8";
|
|
247
|
+
readonly "primary-transparent-12": "--transparent-primary-12";
|
|
248
|
+
readonly "primary-transparent-16": "--transparent-primary-16";
|
|
249
|
+
readonly "primary-transparent-24": "--transparent-primary-24";
|
|
250
|
+
readonly "primary-transparent-32": "--transparent-primary-32";
|
|
251
|
+
readonly "primary-transparent-48": "--transparent-primary-48";
|
|
252
|
+
readonly "secondary-transparent-8": "--transparent-secondary-8";
|
|
253
|
+
readonly "secondary-transparent-12": "--transparent-secondary-12";
|
|
254
|
+
readonly "secondary-transparent-16": "--transparent-secondary-16";
|
|
255
|
+
readonly "secondary-transparent-24": "--transparent-secondary-24";
|
|
256
|
+
readonly "secondary-transparent-32": "--transparent-secondary-32";
|
|
257
|
+
readonly "secondary-transparent-48": "--transparent-secondary-48";
|
|
258
|
+
readonly "tertiary-transparent-8": "--transparent-tertiary-8";
|
|
259
|
+
readonly "tertiary-transparent-12": "--transparent-tertiary-12";
|
|
260
|
+
readonly "tertiary-transparent-16": "--transparent-tertiary-16";
|
|
261
|
+
readonly "tertiary-transparent-24": "--transparent-tertiary-24";
|
|
262
|
+
readonly "tertiary-transparent-32": "--transparent-tertiary-32";
|
|
263
|
+
readonly "tertiary-transparent-48": "--transparent-tertiary-48";
|
|
264
|
+
readonly "info-transparent-8": "--transparent-info-8";
|
|
265
|
+
readonly "info-transparent-12": "--transparent-info-12";
|
|
266
|
+
readonly "info-transparent-16": "--transparent-info-16";
|
|
267
|
+
readonly "info-transparent-24": "--transparent-info-24";
|
|
268
|
+
readonly "info-transparent-32": "--transparent-info-32";
|
|
269
|
+
readonly "info-transparent-48": "--transparent-info-48";
|
|
270
|
+
readonly "success-transparent-8": "--transparent-success-8";
|
|
271
|
+
readonly "success-transparent-12": "--transparent-success-12";
|
|
272
|
+
readonly "success-transparent-16": "--transparent-success-16";
|
|
273
|
+
readonly "success-transparent-24": "--transparent-success-24";
|
|
274
|
+
readonly "success-transparent-32": "--transparent-success-32";
|
|
275
|
+
readonly "success-transparent-48": "--transparent-success-48";
|
|
276
|
+
readonly "warning-transparent-8": "--transparent-warning-8";
|
|
277
|
+
readonly "warning-transparent-12": "--transparent-warning-12";
|
|
278
|
+
readonly "warning-transparent-16": "--transparent-warning-16";
|
|
279
|
+
readonly "warning-transparent-24": "--transparent-warning-24";
|
|
280
|
+
readonly "warning-transparent-32": "--transparent-warning-32";
|
|
281
|
+
readonly "warning-transparent-48": "--transparent-warning-48";
|
|
282
|
+
readonly "error-transparent-8": "--transparent-error-8";
|
|
283
|
+
readonly "error-transparent-12": "--transparent-error-12";
|
|
284
|
+
readonly "error-transparent-16": "--transparent-error-16";
|
|
285
|
+
readonly "error-transparent-24": "--transparent-error-24";
|
|
286
|
+
readonly "error-transparent-32": "--transparent-error-32";
|
|
287
|
+
readonly "error-transparent-48": "--transparent-error-48";
|
|
288
|
+
readonly "grey-transparent-8": "--transparent-grey-8";
|
|
289
|
+
readonly "grey-transparent-12": "--transparent-grey-12";
|
|
290
|
+
readonly "grey-transparent-16": "--transparent-grey-16";
|
|
291
|
+
readonly "grey-transparent-24": "--transparent-grey-24";
|
|
292
|
+
readonly "grey-transparent-32": "--transparent-grey-32";
|
|
293
|
+
readonly "grey-transparent-48": "--transparent-grey-48";
|
|
294
|
+
readonly "grey2-transparent-8": "--transparent-grey2-8";
|
|
295
|
+
readonly "grey2-transparent-12": "--transparent-grey2-12";
|
|
296
|
+
readonly "grey2-transparent-16": "--transparent-grey2-16";
|
|
297
|
+
readonly "grey2-transparent-24": "--transparent-grey2-24";
|
|
298
|
+
readonly "grey2-transparent-32": "--transparent-grey2-32";
|
|
299
|
+
readonly "grey2-transparent-48": "--transparent-grey2-48";
|
|
300
|
+
readonly "white-transparent-8": "--transparent-white-8";
|
|
301
|
+
readonly "white-transparent-12": "--transparent-white-12";
|
|
302
|
+
readonly "white-transparent-16": "--transparent-white-16";
|
|
303
|
+
readonly "white-transparent-24": "--transparent-white-24";
|
|
304
|
+
readonly "white-transparent-32": "--transparent-white-32";
|
|
305
|
+
readonly "white-transparent-48": "--transparent-white-48";
|
|
306
|
+
readonly "black-transparent-8": "--transparent-black-8";
|
|
307
|
+
readonly "black-transparent-12": "--transparent-black-12";
|
|
308
|
+
readonly "black-transparent-16": "--transparent-black-16";
|
|
309
|
+
readonly "black-transparent-24": "--transparent-black-24";
|
|
310
|
+
readonly "black-transparent-32": "--transparent-black-32";
|
|
311
|
+
readonly "black-transparent-48": "--transparent-black-48";
|
|
312
312
|
};
|
|
313
313
|
export type ThemeColorKey = keyof typeof THEME_COLOR_KEYS;
|
|
314
314
|
/**
|
|
@@ -317,7 +317,7 @@ export type ThemeColorKey = keyof typeof THEME_COLOR_KEYS;
|
|
|
317
317
|
*
|
|
318
318
|
* @example
|
|
319
319
|
* const primary = getThemeColor('primary');
|
|
320
|
-
* const hex = getThemeColor('--
|
|
320
|
+
* const hex = getThemeColor('--ramps-primary-100');
|
|
321
321
|
*/
|
|
322
322
|
export declare function getThemeColor(keyOrVar: ThemeColorKey | string, element?: HTMLElement | Document): string;
|
|
323
323
|
/**
|