@sumup-oss/design-tokens 8.0.0-next.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/LICENSE +201 -0
- package/README.md +115 -0
- package/dark-scoped.css +140 -0
- package/dark.css +201 -0
- package/dist/cjs/index.d.ts +27 -0
- package/dist/cjs/index.js +55 -0
- package/dist/cjs/scripts/build.d.ts +36 -0
- package/dist/cjs/scripts/build.js +182 -0
- package/dist/cjs/themes/dark.d.ts +555 -0
- package/dist/cjs/themes/dark.js +694 -0
- package/dist/cjs/themes/legacy/light.d.ts +85 -0
- package/dist/cjs/themes/legacy/light.js +196 -0
- package/dist/cjs/themes/light.d.ts +555 -0
- package/dist/cjs/themes/light.js +694 -0
- package/dist/cjs/themes/schema.d.ts +603 -0
- package/dist/cjs/themes/schema.js +243 -0
- package/dist/cjs/themes/shared.d.ts +259 -0
- package/dist/cjs/themes/shared.js +333 -0
- package/dist/cjs/types/index.d.ts +175 -0
- package/dist/cjs/types/index.js +16 -0
- package/dist/cjs/utils/theme-prop-type.d.ts +36 -0
- package/dist/cjs/utils/theme-prop-type.js +162 -0
- package/dist/es/index.d.ts +27 -0
- package/dist/es/index.js +27 -0
- package/dist/es/scripts/build.d.ts +36 -0
- package/dist/es/scripts/build.js +174 -0
- package/dist/es/themes/dark.d.ts +555 -0
- package/dist/es/themes/dark.js +691 -0
- package/dist/es/themes/legacy/light.d.ts +85 -0
- package/dist/es/themes/legacy/light.js +193 -0
- package/dist/es/themes/light.d.ts +555 -0
- package/dist/es/themes/light.js +691 -0
- package/dist/es/themes/schema.d.ts +603 -0
- package/dist/es/themes/schema.js +240 -0
- package/dist/es/themes/shared.d.ts +259 -0
- package/dist/es/themes/shared.js +330 -0
- package/dist/es/types/index.d.ts +175 -0
- package/dist/es/types/index.js +15 -0
- package/dist/es/utils/theme-prop-type.d.ts +36 -0
- package/dist/es/utils/theme-prop-type.js +156 -0
- package/dynamic.css +626 -0
- package/light-scoped.css +140 -0
- package/light.css +201 -0
- package/package.json +44 -0
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Copyright 2023, SumUp Ltd.
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
* you may not use this file except in compliance with the License.
|
|
6
|
+
* You may obtain a copy of the License at
|
|
7
|
+
*
|
|
8
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
*
|
|
10
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
* See the License for the specific language governing permissions and
|
|
14
|
+
* limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.schema = void 0;
|
|
18
|
+
exports.schema = [
|
|
19
|
+
/* Neutral backgrounds */
|
|
20
|
+
{ name: '--cui-bg-normal', type: 'color' },
|
|
21
|
+
{ name: '--cui-bg-normal-hovered', type: 'color' },
|
|
22
|
+
{ name: '--cui-bg-normal-pressed', type: 'color' },
|
|
23
|
+
{ name: '--cui-bg-normal-disabled', type: 'color' },
|
|
24
|
+
{ name: '--cui-bg-subtle', type: 'color' },
|
|
25
|
+
{ name: '--cui-bg-subtle-hovered', type: 'color' },
|
|
26
|
+
{ name: '--cui-bg-subtle-pressed', type: 'color' },
|
|
27
|
+
{ name: '--cui-bg-subtle-disabled', type: 'color' },
|
|
28
|
+
{ name: '--cui-bg-highlight', type: 'color' },
|
|
29
|
+
{ name: '--cui-bg-highlight-hovered', type: 'color' },
|
|
30
|
+
{ name: '--cui-bg-highlight-pressed', type: 'color' },
|
|
31
|
+
{ name: '--cui-bg-highlight-disabled', type: 'color' },
|
|
32
|
+
{ name: '--cui-bg-strong', type: 'color' },
|
|
33
|
+
{ name: '--cui-bg-strong-hovered', type: 'color' },
|
|
34
|
+
{ name: '--cui-bg-strong-pressed', type: 'color' },
|
|
35
|
+
{ name: '--cui-bg-strong-disabled', type: 'color' },
|
|
36
|
+
/* Accent backgrounds */
|
|
37
|
+
{ name: '--cui-bg-accent', type: 'color' },
|
|
38
|
+
{ name: '--cui-bg-accent-hovered', type: 'color' },
|
|
39
|
+
{ name: '--cui-bg-accent-pressed', type: 'color' },
|
|
40
|
+
{ name: '--cui-bg-accent-disabled', type: 'color' },
|
|
41
|
+
{ name: '--cui-bg-accent-strong', type: 'color' },
|
|
42
|
+
{ name: '--cui-bg-accent-strong-hovered', type: 'color' },
|
|
43
|
+
{ name: '--cui-bg-accent-strong-pressed', type: 'color' },
|
|
44
|
+
{ name: '--cui-bg-accent-strong-disabled', type: 'color' },
|
|
45
|
+
/* Success backgrounds */
|
|
46
|
+
{ name: '--cui-bg-success', type: 'color' },
|
|
47
|
+
{ name: '--cui-bg-success-hovered', type: 'color' },
|
|
48
|
+
{ name: '--cui-bg-success-pressed', type: 'color' },
|
|
49
|
+
{ name: '--cui-bg-success-disabled', type: 'color' },
|
|
50
|
+
{ name: '--cui-bg-success-strong', type: 'color' },
|
|
51
|
+
{ name: '--cui-bg-success-strong-hovered', type: 'color' },
|
|
52
|
+
{ name: '--cui-bg-success-strong-pressed', type: 'color' },
|
|
53
|
+
{ name: '--cui-bg-success-strong-disabled', type: 'color' },
|
|
54
|
+
/* Warning backgrounds */
|
|
55
|
+
{ name: '--cui-bg-warning', type: 'color' },
|
|
56
|
+
{ name: '--cui-bg-warning-hovered', type: 'color' },
|
|
57
|
+
{ name: '--cui-bg-warning-pressed', type: 'color' },
|
|
58
|
+
{ name: '--cui-bg-warning-disabled', type: 'color' },
|
|
59
|
+
{ name: '--cui-bg-warning-strong', type: 'color' },
|
|
60
|
+
{ name: '--cui-bg-warning-strong-hovered', type: 'color' },
|
|
61
|
+
{ name: '--cui-bg-warning-strong-pressed', type: 'color' },
|
|
62
|
+
{ name: '--cui-bg-warning-strong-disabled', type: 'color' },
|
|
63
|
+
/* Danger backgrounds */
|
|
64
|
+
{ name: '--cui-bg-danger', type: 'color' },
|
|
65
|
+
{ name: '--cui-bg-danger-hovered', type: 'color' },
|
|
66
|
+
{ name: '--cui-bg-danger-pressed', type: 'color' },
|
|
67
|
+
{ name: '--cui-bg-danger-disabled', type: 'color' },
|
|
68
|
+
{ name: '--cui-bg-danger-strong', type: 'color' },
|
|
69
|
+
{ name: '--cui-bg-danger-strong-hovered', type: 'color' },
|
|
70
|
+
{ name: '--cui-bg-danger-strong-pressed', type: 'color' },
|
|
71
|
+
{ name: '--cui-bg-danger-strong-disabled', type: 'color' },
|
|
72
|
+
/* Promo backgrounds */
|
|
73
|
+
{ name: '--cui-bg-promo', type: 'color' },
|
|
74
|
+
{ name: '--cui-bg-promo-hovered', type: 'color' },
|
|
75
|
+
{ name: '--cui-bg-promo-pressed', type: 'color' },
|
|
76
|
+
{ name: '--cui-bg-promo-disabled', type: 'color' },
|
|
77
|
+
{ name: '--cui-bg-promo-strong', type: 'color' },
|
|
78
|
+
{ name: '--cui-bg-promo-strong-hovered', type: 'color' },
|
|
79
|
+
{ name: '--cui-bg-promo-strong-pressed', type: 'color' },
|
|
80
|
+
{ name: '--cui-bg-promo-strong-disabled', type: 'color' },
|
|
81
|
+
/* Neutral foregrounds */
|
|
82
|
+
{ name: '--cui-fg-normal', type: 'color' },
|
|
83
|
+
{ name: '--cui-fg-normal-hovered', type: 'color' },
|
|
84
|
+
{ name: '--cui-fg-normal-pressed', type: 'color' },
|
|
85
|
+
{ name: '--cui-fg-normal-disabled', type: 'color' },
|
|
86
|
+
{ name: '--cui-fg-subtle', type: 'color' },
|
|
87
|
+
{ name: '--cui-fg-subtle-hovered', type: 'color' },
|
|
88
|
+
{ name: '--cui-fg-subtle-pressed', type: 'color' },
|
|
89
|
+
{ name: '--cui-fg-subtle-disabled', type: 'color' },
|
|
90
|
+
{ name: '--cui-fg-placeholder', type: 'color' },
|
|
91
|
+
{ name: '--cui-fg-placeholder-hovered', type: 'color' },
|
|
92
|
+
{ name: '--cui-fg-placeholder-pressed', type: 'color' },
|
|
93
|
+
{ name: '--cui-fg-placeholder-disabled', type: 'color' },
|
|
94
|
+
{ name: '--cui-fg-on-strong', type: 'color' },
|
|
95
|
+
{ name: '--cui-fg-on-strong-hovered', type: 'color' },
|
|
96
|
+
{ name: '--cui-fg-on-strong-pressed', type: 'color' },
|
|
97
|
+
{ name: '--cui-fg-on-strong-disabled', type: 'color' },
|
|
98
|
+
{ name: '--cui-fg-on-strong-subtle', type: 'color' },
|
|
99
|
+
{ name: '--cui-fg-on-strong-subtle-hovered', type: 'color' },
|
|
100
|
+
{ name: '--cui-fg-on-strong-subtle-pressed', type: 'color' },
|
|
101
|
+
{ name: '--cui-fg-on-strong-subtle-disabled', type: 'color' },
|
|
102
|
+
/* Accent foregrounds */
|
|
103
|
+
{ name: '--cui-fg-accent', type: 'color' },
|
|
104
|
+
{ name: '--cui-fg-accent-hovered', type: 'color' },
|
|
105
|
+
{ name: '--cui-fg-accent-pressed', type: 'color' },
|
|
106
|
+
{ name: '--cui-fg-accent-disabled', type: 'color' },
|
|
107
|
+
/* Success foregrounds */
|
|
108
|
+
{ name: '--cui-fg-success', type: 'color' },
|
|
109
|
+
{ name: '--cui-fg-success-hovered', type: 'color' },
|
|
110
|
+
{ name: '--cui-fg-success-pressed', type: 'color' },
|
|
111
|
+
{ name: '--cui-fg-success-disabled', type: 'color' },
|
|
112
|
+
/* Warning foregrounds */
|
|
113
|
+
{ name: '--cui-fg-warning', type: 'color' },
|
|
114
|
+
{ name: '--cui-fg-warning-hovered', type: 'color' },
|
|
115
|
+
{ name: '--cui-fg-warning-pressed', type: 'color' },
|
|
116
|
+
{ name: '--cui-fg-warning-disabled', type: 'color' },
|
|
117
|
+
/* Danger foregrounds */
|
|
118
|
+
{ name: '--cui-fg-danger', type: 'color' },
|
|
119
|
+
{ name: '--cui-fg-danger-hovered', type: 'color' },
|
|
120
|
+
{ name: '--cui-fg-danger-pressed', type: 'color' },
|
|
121
|
+
{ name: '--cui-fg-danger-disabled', type: 'color' },
|
|
122
|
+
/* Promo foregrounds */
|
|
123
|
+
{ name: '--cui-fg-promo', type: 'color' },
|
|
124
|
+
{ name: '--cui-fg-promo-hovered', type: 'color' },
|
|
125
|
+
{ name: '--cui-fg-promo-pressed', type: 'color' },
|
|
126
|
+
{ name: '--cui-fg-promo-disabled', type: 'color' },
|
|
127
|
+
/* Neutral borders */
|
|
128
|
+
{ name: '--cui-border-normal', type: 'color' },
|
|
129
|
+
{ name: '--cui-border-normal-hovered', type: 'color' },
|
|
130
|
+
{ name: '--cui-border-normal-pressed', type: 'color' },
|
|
131
|
+
{ name: '--cui-border-normal-disabled', type: 'color' },
|
|
132
|
+
{ name: '--cui-border-subtle', type: 'color' },
|
|
133
|
+
{ name: '--cui-border-subtle-hovered', type: 'color' },
|
|
134
|
+
{ name: '--cui-border-subtle-pressed', type: 'color' },
|
|
135
|
+
{ name: '--cui-border-subtle-disabled', type: 'color' },
|
|
136
|
+
{ name: '--cui-border-divider', type: 'color' },
|
|
137
|
+
{ name: '--cui-border-divider-hovered', type: 'color' },
|
|
138
|
+
{ name: '--cui-border-divider-pressed', type: 'color' },
|
|
139
|
+
{ name: '--cui-border-divider-disabled', type: 'color' },
|
|
140
|
+
{ name: '--cui-border-strong', type: 'color' },
|
|
141
|
+
{ name: '--cui-border-strong-hovered', type: 'color' },
|
|
142
|
+
{ name: '--cui-border-strong-pressed', type: 'color' },
|
|
143
|
+
{ name: '--cui-border-strong-disabled', type: 'color' },
|
|
144
|
+
/* Accent borders */
|
|
145
|
+
{ name: '--cui-border-accent', type: 'color' },
|
|
146
|
+
{ name: '--cui-border-accent-hovered', type: 'color' },
|
|
147
|
+
{ name: '--cui-border-accent-pressed', type: 'color' },
|
|
148
|
+
{ name: '--cui-border-accent-disabled', type: 'color' },
|
|
149
|
+
/* Success borders */
|
|
150
|
+
{ name: '--cui-border-success', type: 'color' },
|
|
151
|
+
{ name: '--cui-border-success-hovered', type: 'color' },
|
|
152
|
+
{ name: '--cui-border-success-pressed', type: 'color' },
|
|
153
|
+
{ name: '--cui-border-success-disabled', type: 'color' },
|
|
154
|
+
/* Warning borders */
|
|
155
|
+
{ name: '--cui-border-warning', type: 'color' },
|
|
156
|
+
{ name: '--cui-border-warning-hovered', type: 'color' },
|
|
157
|
+
{ name: '--cui-border-warning-pressed', type: 'color' },
|
|
158
|
+
{ name: '--cui-border-warning-disabled', type: 'color' },
|
|
159
|
+
/* Danger borders */
|
|
160
|
+
{ name: '--cui-border-danger', type: 'color' },
|
|
161
|
+
{ name: '--cui-border-danger-hovered', type: 'color' },
|
|
162
|
+
{ name: '--cui-border-danger-pressed', type: 'color' },
|
|
163
|
+
{ name: '--cui-border-danger-disabled', type: 'color' },
|
|
164
|
+
/* Promo borders */
|
|
165
|
+
{ name: '--cui-border-promo', type: 'color' },
|
|
166
|
+
{ name: '--cui-border-promo-hovered', type: 'color' },
|
|
167
|
+
{ name: '--cui-border-promo-pressed', type: 'color' },
|
|
168
|
+
{ name: '--cui-border-promo-disabled', type: 'color' },
|
|
169
|
+
/* Special colors */
|
|
170
|
+
{ name: '--cui-bg-overlay', type: 'color' },
|
|
171
|
+
{ name: '--cui-bg-elevated', type: 'color' },
|
|
172
|
+
{ name: '--cui-border-focus', type: 'color' },
|
|
173
|
+
/* Border radii */
|
|
174
|
+
{ name: '--cui-border-radius-bit', type: 'dimension' },
|
|
175
|
+
{ name: '--cui-border-radius-byte', type: 'dimension' },
|
|
176
|
+
{ name: '--cui-border-radius-kilo', type: 'dimension' },
|
|
177
|
+
{ name: '--cui-border-radius-mega', type: 'dimension' },
|
|
178
|
+
{ name: '--cui-border-radius-circle', type: 'dimension' },
|
|
179
|
+
{ name: '--cui-border-radius-pill', type: 'dimension' },
|
|
180
|
+
/* Border widths */
|
|
181
|
+
{ name: '--cui-border-width-kilo', type: 'dimension' },
|
|
182
|
+
{ name: '--cui-border-width-mega', type: 'dimension' },
|
|
183
|
+
/* Font families */
|
|
184
|
+
{ name: '--cui-font-stack-default', type: 'fontFamily' },
|
|
185
|
+
{ name: '--cui-font-stack-mono', type: 'fontFamily' },
|
|
186
|
+
/* Font weights */
|
|
187
|
+
{ name: '--cui-font-weight-regular', type: 'fontWeight' },
|
|
188
|
+
{ name: '--cui-font-weight-bold', type: 'fontWeight' },
|
|
189
|
+
/* Icon sizes */
|
|
190
|
+
{ name: '--cui-icon-sizes-kilo', type: 'dimension' },
|
|
191
|
+
{ name: '--cui-icon-sizes-mega', type: 'dimension' },
|
|
192
|
+
{ name: '--cui-icon-sizes-giga', type: 'dimension' },
|
|
193
|
+
{ name: '--cui-icon-sizes-tera', type: 'dimension' },
|
|
194
|
+
/* Spacings */
|
|
195
|
+
{ name: '--cui-spacings-bit', type: 'dimension' },
|
|
196
|
+
{ name: '--cui-spacings-byte', type: 'dimension' },
|
|
197
|
+
{ name: '--cui-spacings-kilo', type: 'dimension' },
|
|
198
|
+
{ name: '--cui-spacings-mega', type: 'dimension' },
|
|
199
|
+
{ name: '--cui-spacings-giga', type: 'dimension' },
|
|
200
|
+
{ name: '--cui-spacings-tera', type: 'dimension' },
|
|
201
|
+
{ name: '--cui-spacings-peta', type: 'dimension' },
|
|
202
|
+
{ name: '--cui-spacings-exa', type: 'dimension' },
|
|
203
|
+
{ name: '--cui-spacings-zetta', type: 'dimension' },
|
|
204
|
+
/* Transitions */
|
|
205
|
+
{ name: '--cui-transitions-default', type: 'duration' },
|
|
206
|
+
{ name: '--cui-transitions-slow', type: 'duration' },
|
|
207
|
+
/* Typography */
|
|
208
|
+
{ name: '--cui-typography-headline-one-font-size', type: 'dimension' },
|
|
209
|
+
{ name: '--cui-typography-headline-one-line-height', type: 'dimension' },
|
|
210
|
+
{ name: '--cui-typography-headline-two-font-size', type: 'dimension' },
|
|
211
|
+
{ name: '--cui-typography-headline-two-line-height', type: 'dimension' },
|
|
212
|
+
{ name: '--cui-typography-headline-three-font-size', type: 'dimension' },
|
|
213
|
+
{ name: '--cui-typography-headline-three-line-height', type: 'dimension' },
|
|
214
|
+
{ name: '--cui-typography-headline-four-font-size', type: 'dimension' },
|
|
215
|
+
{ name: '--cui-typography-headline-four-line-height', type: 'dimension' },
|
|
216
|
+
{ name: '--cui-typography-title-one-font-size', type: 'dimension' },
|
|
217
|
+
{ name: '--cui-typography-title-one-line-height', type: 'dimension' },
|
|
218
|
+
{ name: '--cui-typography-title-two-font-size', type: 'dimension' },
|
|
219
|
+
{ name: '--cui-typography-title-two-line-height', type: 'dimension' },
|
|
220
|
+
{ name: '--cui-typography-title-three-font-size', type: 'dimension' },
|
|
221
|
+
{ name: '--cui-typography-title-three-line-height', type: 'dimension' },
|
|
222
|
+
{ name: '--cui-typography-title-four-font-size', type: 'dimension' },
|
|
223
|
+
{ name: '--cui-typography-title-four-line-height', type: 'dimension' },
|
|
224
|
+
{ name: '--cui-typography-sub-headline-font-size', type: 'dimension' },
|
|
225
|
+
{ name: '--cui-typography-sub-headline-line-height', type: 'dimension' },
|
|
226
|
+
{ name: '--cui-typography-body-one-font-size', type: 'dimension' },
|
|
227
|
+
{ name: '--cui-typography-body-one-line-height', type: 'dimension' },
|
|
228
|
+
{ name: '--cui-typography-body-two-font-size', type: 'dimension' },
|
|
229
|
+
{ name: '--cui-typography-body-two-line-height', type: 'dimension' },
|
|
230
|
+
{ name: '--cui-typography-body-large-font-size', type: 'dimension' },
|
|
231
|
+
{ name: '--cui-typography-body-large-line-height', type: 'dimension' },
|
|
232
|
+
/* Z-indices */
|
|
233
|
+
{ name: '--cui-z-index-default', type: 'number' },
|
|
234
|
+
{ name: '--cui-z-index-absolute', type: 'number' },
|
|
235
|
+
{ name: '--cui-z-index-input', type: 'number' },
|
|
236
|
+
{ name: '--cui-z-index-popover', type: 'number' },
|
|
237
|
+
{ name: '--cui-z-index-tooltip', type: 'number' },
|
|
238
|
+
{ name: '--cui-z-index-header', type: 'number' },
|
|
239
|
+
{ name: '--cui-z-index-backdrop', type: 'number' },
|
|
240
|
+
{ name: '--cui-z-index-navigation', type: 'number' },
|
|
241
|
+
{ name: '--cui-z-index-modal', type: 'number' },
|
|
242
|
+
{ name: '--cui-z-index-toast', type: 'number' },
|
|
243
|
+
];
|
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright 2024, SumUp Ltd.
|
|
3
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
* you may not use this file except in compliance with the License.
|
|
5
|
+
* You may obtain a copy of the License at
|
|
6
|
+
*
|
|
7
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
*
|
|
9
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
* See the License for the specific language governing permissions and
|
|
13
|
+
* limitations under the License.
|
|
14
|
+
*/
|
|
15
|
+
export declare const shared: ({
|
|
16
|
+
name: "--cui-border-radius-bit";
|
|
17
|
+
value: "4px";
|
|
18
|
+
type: "dimension";
|
|
19
|
+
} | {
|
|
20
|
+
name: "--cui-border-radius-byte";
|
|
21
|
+
value: "8px";
|
|
22
|
+
type: "dimension";
|
|
23
|
+
} | {
|
|
24
|
+
name: "--cui-border-radius-kilo";
|
|
25
|
+
value: "12px";
|
|
26
|
+
type: "dimension";
|
|
27
|
+
} | {
|
|
28
|
+
name: "--cui-border-radius-mega";
|
|
29
|
+
value: "16px";
|
|
30
|
+
type: "dimension";
|
|
31
|
+
} | {
|
|
32
|
+
name: "--cui-border-radius-circle";
|
|
33
|
+
value: "100%";
|
|
34
|
+
type: "dimension";
|
|
35
|
+
} | {
|
|
36
|
+
name: "--cui-border-radius-pill";
|
|
37
|
+
value: "999999px";
|
|
38
|
+
type: "dimension";
|
|
39
|
+
} | {
|
|
40
|
+
name: "--cui-border-width-kilo";
|
|
41
|
+
value: "1px";
|
|
42
|
+
type: "dimension";
|
|
43
|
+
} | {
|
|
44
|
+
name: "--cui-border-width-mega";
|
|
45
|
+
value: "2px";
|
|
46
|
+
type: "dimension";
|
|
47
|
+
} | {
|
|
48
|
+
name: "--cui-font-stack-default";
|
|
49
|
+
value: string;
|
|
50
|
+
type: "fontFamily";
|
|
51
|
+
} | {
|
|
52
|
+
name: "--cui-font-stack-mono";
|
|
53
|
+
value: string;
|
|
54
|
+
type: "fontFamily";
|
|
55
|
+
} | {
|
|
56
|
+
name: "--cui-font-weight-regular";
|
|
57
|
+
value: string;
|
|
58
|
+
type: "fontWeight";
|
|
59
|
+
} | {
|
|
60
|
+
name: "--cui-font-weight-bold";
|
|
61
|
+
value: string;
|
|
62
|
+
type: "fontWeight";
|
|
63
|
+
} | {
|
|
64
|
+
name: "--cui-icon-sizes-kilo";
|
|
65
|
+
value: "16px";
|
|
66
|
+
type: "dimension";
|
|
67
|
+
} | {
|
|
68
|
+
name: "--cui-icon-sizes-mega";
|
|
69
|
+
value: "24px";
|
|
70
|
+
type: "dimension";
|
|
71
|
+
} | {
|
|
72
|
+
name: "--cui-icon-sizes-giga";
|
|
73
|
+
value: "32px";
|
|
74
|
+
type: "dimension";
|
|
75
|
+
} | {
|
|
76
|
+
name: "--cui-icon-sizes-tera";
|
|
77
|
+
value: "48px";
|
|
78
|
+
type: "dimension";
|
|
79
|
+
} | {
|
|
80
|
+
name: "--cui-spacings-bit";
|
|
81
|
+
value: "4px";
|
|
82
|
+
type: "dimension";
|
|
83
|
+
} | {
|
|
84
|
+
name: "--cui-spacings-byte";
|
|
85
|
+
value: "8px";
|
|
86
|
+
type: "dimension";
|
|
87
|
+
} | {
|
|
88
|
+
name: "--cui-spacings-kilo";
|
|
89
|
+
value: "12px";
|
|
90
|
+
type: "dimension";
|
|
91
|
+
} | {
|
|
92
|
+
name: "--cui-spacings-mega";
|
|
93
|
+
value: "16px";
|
|
94
|
+
type: "dimension";
|
|
95
|
+
} | {
|
|
96
|
+
name: "--cui-spacings-giga";
|
|
97
|
+
value: "24px";
|
|
98
|
+
type: "dimension";
|
|
99
|
+
} | {
|
|
100
|
+
name: "--cui-spacings-tera";
|
|
101
|
+
value: "32px";
|
|
102
|
+
type: "dimension";
|
|
103
|
+
} | {
|
|
104
|
+
name: "--cui-spacings-peta";
|
|
105
|
+
value: "40px";
|
|
106
|
+
type: "dimension";
|
|
107
|
+
} | {
|
|
108
|
+
name: "--cui-spacings-exa";
|
|
109
|
+
value: "48px";
|
|
110
|
+
type: "dimension";
|
|
111
|
+
} | {
|
|
112
|
+
name: "--cui-spacings-zetta";
|
|
113
|
+
value: "56px";
|
|
114
|
+
type: "dimension";
|
|
115
|
+
} | {
|
|
116
|
+
name: "--cui-transitions-default";
|
|
117
|
+
value: "120ms ease-in-out";
|
|
118
|
+
type: "duration";
|
|
119
|
+
} | {
|
|
120
|
+
name: "--cui-transitions-slow";
|
|
121
|
+
value: "300ms ease-in-out";
|
|
122
|
+
type: "duration";
|
|
123
|
+
} | {
|
|
124
|
+
name: "--cui-typography-headline-one-font-size";
|
|
125
|
+
value: "2rem";
|
|
126
|
+
type: "dimension";
|
|
127
|
+
} | {
|
|
128
|
+
name: "--cui-typography-headline-one-line-height";
|
|
129
|
+
value: "2.25rem";
|
|
130
|
+
type: "dimension";
|
|
131
|
+
} | {
|
|
132
|
+
name: "--cui-typography-headline-two-font-size";
|
|
133
|
+
value: "1.5rem";
|
|
134
|
+
type: "dimension";
|
|
135
|
+
} | {
|
|
136
|
+
name: "--cui-typography-headline-two-line-height";
|
|
137
|
+
value: "1.75rem";
|
|
138
|
+
type: "dimension";
|
|
139
|
+
} | {
|
|
140
|
+
name: "--cui-typography-headline-three-font-size";
|
|
141
|
+
value: "1.25rem";
|
|
142
|
+
type: "dimension";
|
|
143
|
+
} | {
|
|
144
|
+
name: "--cui-typography-headline-three-line-height";
|
|
145
|
+
value: "1.5rem";
|
|
146
|
+
type: "dimension";
|
|
147
|
+
} | {
|
|
148
|
+
name: "--cui-typography-headline-four-font-size";
|
|
149
|
+
value: "1.125rem";
|
|
150
|
+
type: "dimension";
|
|
151
|
+
} | {
|
|
152
|
+
name: "--cui-typography-headline-four-line-height";
|
|
153
|
+
value: "1.5rem";
|
|
154
|
+
type: "dimension";
|
|
155
|
+
} | {
|
|
156
|
+
name: "--cui-typography-title-one-font-size";
|
|
157
|
+
value: "7.5rem";
|
|
158
|
+
type: "dimension";
|
|
159
|
+
} | {
|
|
160
|
+
name: "--cui-typography-title-one-line-height";
|
|
161
|
+
value: "7.5rem";
|
|
162
|
+
type: "dimension";
|
|
163
|
+
} | {
|
|
164
|
+
name: "--cui-typography-title-two-font-size";
|
|
165
|
+
value: "6rem";
|
|
166
|
+
type: "dimension";
|
|
167
|
+
} | {
|
|
168
|
+
name: "--cui-typography-title-two-line-height";
|
|
169
|
+
value: "6rem";
|
|
170
|
+
type: "dimension";
|
|
171
|
+
} | {
|
|
172
|
+
name: "--cui-typography-title-three-font-size";
|
|
173
|
+
value: "4rem";
|
|
174
|
+
type: "dimension";
|
|
175
|
+
} | {
|
|
176
|
+
name: "--cui-typography-title-three-line-height";
|
|
177
|
+
value: "4rem";
|
|
178
|
+
type: "dimension";
|
|
179
|
+
} | {
|
|
180
|
+
name: "--cui-typography-title-four-font-size";
|
|
181
|
+
value: "3.5rem";
|
|
182
|
+
type: "dimension";
|
|
183
|
+
} | {
|
|
184
|
+
name: "--cui-typography-title-four-line-height";
|
|
185
|
+
value: "3.5rem";
|
|
186
|
+
type: "dimension";
|
|
187
|
+
} | {
|
|
188
|
+
name: "--cui-typography-sub-headline-font-size";
|
|
189
|
+
value: "0.875rem";
|
|
190
|
+
type: "dimension";
|
|
191
|
+
} | {
|
|
192
|
+
name: "--cui-typography-sub-headline-line-height";
|
|
193
|
+
value: "1.25rem";
|
|
194
|
+
type: "dimension";
|
|
195
|
+
} | {
|
|
196
|
+
name: "--cui-typography-body-one-font-size";
|
|
197
|
+
value: "1rem";
|
|
198
|
+
type: "dimension";
|
|
199
|
+
} | {
|
|
200
|
+
name: "--cui-typography-body-one-line-height";
|
|
201
|
+
value: "1.5rem";
|
|
202
|
+
type: "dimension";
|
|
203
|
+
} | {
|
|
204
|
+
name: "--cui-typography-body-two-font-size";
|
|
205
|
+
value: "0.875rem";
|
|
206
|
+
type: "dimension";
|
|
207
|
+
} | {
|
|
208
|
+
name: "--cui-typography-body-two-line-height";
|
|
209
|
+
value: "1.25rem";
|
|
210
|
+
type: "dimension";
|
|
211
|
+
} | {
|
|
212
|
+
name: "--cui-typography-body-large-font-size";
|
|
213
|
+
value: "1.25rem";
|
|
214
|
+
type: "dimension";
|
|
215
|
+
} | {
|
|
216
|
+
name: "--cui-typography-body-large-line-height";
|
|
217
|
+
value: "1.75rem";
|
|
218
|
+
type: "dimension";
|
|
219
|
+
} | {
|
|
220
|
+
name: "--cui-z-index-default";
|
|
221
|
+
value: number;
|
|
222
|
+
type: "number";
|
|
223
|
+
} | {
|
|
224
|
+
name: "--cui-z-index-absolute";
|
|
225
|
+
value: number;
|
|
226
|
+
type: "number";
|
|
227
|
+
} | {
|
|
228
|
+
name: "--cui-z-index-input";
|
|
229
|
+
value: number;
|
|
230
|
+
type: "number";
|
|
231
|
+
} | {
|
|
232
|
+
name: "--cui-z-index-popover";
|
|
233
|
+
value: number;
|
|
234
|
+
type: "number";
|
|
235
|
+
} | {
|
|
236
|
+
name: "--cui-z-index-tooltip";
|
|
237
|
+
value: number;
|
|
238
|
+
type: "number";
|
|
239
|
+
} | {
|
|
240
|
+
name: "--cui-z-index-header";
|
|
241
|
+
value: number;
|
|
242
|
+
type: "number";
|
|
243
|
+
} | {
|
|
244
|
+
name: "--cui-z-index-backdrop";
|
|
245
|
+
value: number;
|
|
246
|
+
type: "number";
|
|
247
|
+
} | {
|
|
248
|
+
name: "--cui-z-index-navigation";
|
|
249
|
+
value: number;
|
|
250
|
+
type: "number";
|
|
251
|
+
} | {
|
|
252
|
+
name: "--cui-z-index-modal";
|
|
253
|
+
value: number;
|
|
254
|
+
type: "number";
|
|
255
|
+
} | {
|
|
256
|
+
name: "--cui-z-index-toast";
|
|
257
|
+
value: number;
|
|
258
|
+
type: "number";
|
|
259
|
+
})[];
|