UNPKG

6.03 kBTypeScriptView Raw
1/*
2 * Copyright 2020 Adobe. All rights reserved.
3 * This file is licensed to you under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License. You may obtain a copy
5 * of the License at http://www.apache.org/licenses/LICENSE-2.0
6 *
7 * Unless required by applicable law or agreed to in writing, software distributed under
8 * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9 * OF ANY KIND, either express or implied. See the License for the specific language
10 * governing permissions and limitations under the License.
11 */
12
13// This file is generated by lib/varsToTypeScript.js! DO NOT EDIT.
14
15/** See the [Styling docs](styling.html#dimension-values) for a visualization of these values. */
16export type DimensionValue =
17 | 'size-0'
18 | 'size-10'
19 | 'size-25'
20 | 'size-40'
21 | 'size-50'
22 | 'size-65'
23 | 'size-75'
24 | 'size-85'
25 | 'size-100'
26 | 'size-115'
27 | 'size-125'
28 | 'size-130'
29 | 'size-150'
30 | 'size-160'
31 | 'size-175'
32 | 'size-200'
33 | 'size-225'
34 | 'size-250'
35 | 'size-300'
36 | 'size-350'
37 | 'size-400'
38 | 'size-450'
39 | 'size-500'
40 | 'size-550'
41 | 'size-600'
42 | 'size-675'
43 | 'size-700'
44 | 'size-800'
45 | 'size-900'
46 | 'size-1000'
47 | 'size-1200'
48 | 'size-1250'
49 | 'size-1600'
50 | 'size-1700'
51 | 'size-2000'
52 | 'size-2400'
53 | 'size-3000'
54 | 'size-3400'
55 | 'size-3600'
56 | 'size-4600'
57 | 'size-5000'
58 | 'size-6000'
59 | 'static-size-0'
60 | 'static-size-10'
61 | 'static-size-25'
62 | 'static-size-50'
63 | 'static-size-40'
64 | 'static-size-65'
65 | 'static-size-100'
66 | 'static-size-115'
67 | 'static-size-125'
68 | 'static-size-130'
69 | 'static-size-150'
70 | 'static-size-160'
71 | 'static-size-175'
72 | 'static-size-200'
73 | 'static-size-225'
74 | 'static-size-250'
75 | 'static-size-300'
76 | 'static-size-400'
77 | 'static-size-450'
78 | 'static-size-500'
79 | 'static-size-550'
80 | 'static-size-600'
81 | 'static-size-700'
82 | 'static-size-800'
83 | 'static-size-900'
84 | 'static-size-1000'
85 | 'static-size-1200'
86 | 'static-size-1700'
87 | 'static-size-2400'
88 | 'static-size-2600'
89 | 'static-size-3400'
90 | 'static-size-3600'
91 | 'static-size-4600'
92 | 'static-size-5000'
93 | 'static-size-6000'
94 | 'single-line-height'
95 | 'single-line-width'
96 // This allows autocomplete to work properly and not collapse the above options into just `string`.
97 // See https://github.com/microsoft/TypeScript/issues/29729.
98 | (string & {})
99 | number;
100
101export type ColorValue =
102 | 'celery-400'
103 | 'celery-500'
104 | 'celery-600'
105 | 'celery-700'
106 | 'chartreuse-400'
107 | 'chartreuse-500'
108 | 'chartreuse-600'
109 | 'chartreuse-700'
110 | 'yellow-400'
111 | 'yellow-500'
112 | 'yellow-600'
113 | 'yellow-700'
114 | 'magenta-400'
115 | 'magenta-500'
116 | 'magenta-600'
117 | 'magenta-700'
118 | 'fuchsia-400'
119 | 'fuchsia-500'
120 | 'fuchsia-600'
121 | 'fuchsia-700'
122 | 'purple-400'
123 | 'purple-500'
124 | 'purple-600'
125 | 'purple-700'
126 | 'indigo-400'
127 | 'indigo-500'
128 | 'indigo-600'
129 | 'indigo-700'
130 | 'seafoam-400'
131 | 'seafoam-500'
132 | 'seafoam-600'
133 | 'seafoam-700'
134 | 'red-400'
135 | 'red-500'
136 | 'red-600'
137 | 'red-700'
138 | 'orange-400'
139 | 'orange-500'
140 | 'orange-600'
141 | 'orange-700'
142 | 'green-400'
143 | 'green-500'
144 | 'green-600'
145 | 'green-700'
146 | 'blue-400'
147 | 'blue-500'
148 | 'blue-600'
149 | 'blue-700'
150 | 'gray-50'
151 | 'gray-75'
152 | 'gray-100'
153 | 'gray-200'
154 | 'gray-300'
155 | 'gray-400'
156 | 'gray-500'
157 | 'gray-600'
158 | 'gray-700'
159 | 'gray-800'
160 | 'gray-900'
161 | 'static-black'
162 | 'static-white'
163 | 'static-blue'
164 | 'static-gray-50'
165 | 'static-gray-75'
166 | 'static-gray-100'
167 | 'static-gray-200'
168 | 'static-gray-300'
169 | 'static-gray-400'
170 | 'static-gray-500'
171 | 'static-gray-600'
172 | 'static-gray-700'
173 | 'static-gray-800'
174 | 'static-gray-900'
175 | 'static-blue-200'
176 | 'static-blue-300'
177 | 'static-blue-400'
178 | 'static-blue-500'
179 | 'static-blue-600'
180 | 'static-blue-700'
181 | 'static-blue-800'
182 | 'static-red-400'
183 | 'static-red-500'
184 | 'static-red-600'
185 | 'static-red-700'
186 | 'static-orange-400'
187 | 'static-orange-500'
188 | 'static-orange-600'
189 | 'static-orange-700'
190 | 'static-green-400'
191 | 'static-green-500'
192 | 'static-green-600'
193 | 'static-green-700'
194 | 'static-celery-200'
195 | 'static-celery-300'
196 | 'static-celery-400'
197 | 'static-celery-500'
198 | 'static-celery-600'
199 | 'static-celery-700'
200 | 'static-chartreuse-300'
201 | 'static-chartreuse-400'
202 | 'static-chartreuse-500'
203 | 'static-chartreuse-600'
204 | 'static-chartreuse-700'
205 | 'static-yellow-200'
206 | 'static-yellow-300'
207 | 'static-yellow-400'
208 | 'static-yellow-500'
209 | 'static-yellow-600'
210 | 'static-yellow-700'
211 | 'static-magenta-200'
212 | 'static-magenta-300'
213 | 'static-magenta-400'
214 | 'static-magenta-500'
215 | 'static-magenta-600'
216 | 'static-magenta-700'
217 | 'static-fuchsia-400'
218 | 'static-fuchsia-500'
219 | 'static-fuchsia-600'
220 | 'static-fuchsia-700'
221 | 'static-purple-400'
222 | 'static-purple-500'
223 | 'static-purple-600'
224 | 'static-purple-700'
225 | 'static-purple-800'
226 | 'static-indigo-200'
227 | 'static-indigo-300'
228 | 'static-indigo-400'
229 | 'static-indigo-500'
230 | 'static-indigo-600'
231 | 'static-indigo-700'
232 | 'static-seafoam-200'
233 | 'static-seafoam-300'
234 | 'static-seafoam-400'
235 | 'static-seafoam-500'
236 | 'static-seafoam-600'
237 | 'static-seafoam-700'
238 | 'negative'
239 | 'notice'
240 | 'positive'
241 | 'informative';
242
243export type BorderColorValue =
244 | 'default'
245 | 'negative'
246 | 'notice'
247 | 'positive'
248 | 'informative'
249 | 'hover'
250 | 'down'
251 | 'focus'
252 | 'mouse-focus'
253 | 'disabled'
254 | 'extralight'
255 | 'light'
256 | 'mid'
257 | 'dark'
258 | 'transparent'
259 | 'translucent-dark'
260 | 'translucent-darker'
261 | ColorValue;
262
263export type BackgroundColorValue =
264 | 'default'
265 | 'transparent'
266 | 'label-gray'
267 | ColorValue;
268
269export type IconColorValue =
270 | 'negative'
271 | 'notice'
272 | 'positive'
273 | 'informative';
274
275export type BorderSizeValue =
276 | 'thin'
277 | 'thick'
278 | 'thicker'
279 | 'thickest';
280
281export type BorderRadiusValue =
282 | 'xsmall'
283 | 'small'
284 | 'regular'
285 | 'medium'
286 | 'large';