UNPKG

10.6 kBJavaScriptView Raw
1export const borderRadius0 = "0";
2export const borderRadius10 = "3px";
3export const borderRadius20 = "4px";
4export const borderRadius30 = "8px";
5export const borderRadiusCircle = "50%";
6export const borderWidth0 = "0";
7export const borderWidth10 = "1px";
8export const borderWidth20 = "2px";
9export const colorBackground = "#f8f8f9";
10export const colorBackgroundBody = "#ffffff";
11export const colorBackgroundBrand = "#233659";
12export const colorBackgroundBrandHighlight = "#f22f46";
13export const colorBackgroundDestructive = "#e22525";
14export const colorBackgroundDestructiveDark = "#921200";
15export const colorBackgroundDestructiveDarker = "#600101";
16export const colorBackgroundDestructiveLight = "#ecb6b6";
17export const colorBackgroundDestructiveLighter = "#f5dddd";
18export const colorBackgroundDestructiveLightest = "#ffe9e7";
19export const colorBackgroundError = "#e22525";
20export const colorBackgroundErrorLightest = "#ffe9e7";
21export const colorBackgroundInverse = "#4f5355";
22export const colorBackgroundNeutralLightest = "#f5f8ff";
23export const colorBackgroundPrimary = "#027ac5";
24export const colorBackgroundPrimaryDark = "#003e82";
25export const colorBackgroundPrimaryDarker = "#032c5e";
26export const colorBackgroundPrimaryLight = "#b3d3e9";
27export const colorBackgroundPrimaryLighter = "#dceaf4";
28export const colorBackgroundPrimaryLightest = "#f5f8ff";
29export const colorBackgroundRowStriped = "#f8f8f9";
30export const colorBackgroundSuccess = "#00994a";
31export const colorBackgroundSuccessLightest = "#e0ffef";
32export const colorBackgroundWarning = "#e46216";
33export const colorBackgroundWarningLightest = "#ffecd8";
34export const colorBorder = "#c8cccf";
35export const colorBorderDark = "#888c8e";
36export const colorBorderDestructive = "#e22525";
37export const colorBorderDestructiveDark = "#921200";
38export const colorBorderDestructiveDarker = "#600101";
39export const colorBorderDestructiveLight = "#ecb6b6";
40export const colorBorderDestructiveLighter = "#f5dddd";
41export const colorBorderError = "#e22525";
42export const colorBorderErrorLight = "#de5858";
43export const colorBorderErrorLightest = "#ffe9e7";
44export const colorBorderInput = "#888c8e";
45export const colorBorderInputFocus = "#027ac5";
46export const colorBorderInputHover = "#027ac5";
47export const colorBorderLight = "#e4e7e9";
48export const colorBorderNeutralLight = "#c8cccf";
49export const colorBorderPrimary = "#027ac5";
50export const colorBorderPrimaryDark = "#003e82";
51export const colorBorderPrimaryDarker = "#032c5e";
52export const colorBorderPrimaryLight = "#b3d3e9";
53export const colorBorderPrimaryLighter = "#dceaf4";
54export const colorBorderSuccess = "#00994a";
55export const colorBorderSuccessLightest = "#e0ffef";
56export const colorBorderWarning = "#e46216";
57export const colorBorderWarningLight = "#f28510";
58export const colorBorderWarningLightest = "#ffecd8";
59export const colorBrand = "#233659";
60export const colorBrandHighlight = "#f22f46";
61export const colorGray0 = "#ffffff";
62export const colorGray10 = "#f9fafb";
63export const colorGray100 = "#282a2b";
64export const colorGray20 = "#f8f8f9";
65export const colorGray30 = "#f2f3f4";
66export const colorGray40 = "#e4e7e9";
67export const colorGray50 = "#c8cccf";
68export const colorGray60 = "#888c8e";
69export const colorGray70 = "#666a6d";
70export const colorGray80 = "#4f5355";
71export const colorGray90 = "#424547";
72export const colorText = "#282a2b";
73export const colorTextBrandHighlight = "#f22f46";
74export const colorTextBrandInverse = "#ffffff";
75export const colorTextError = "#e22525";
76export const colorTextErrorDark = "#921200";
77export const colorTextIcon = "#666a6d";
78export const colorTextInverse = "#ffffff";
79export const colorTextInverseWeak = "#c8cccf";
80export const colorTextLabel = "#282a2b";
81export const colorTextLink = "#005ea6";
82export const colorTextLinkDark = "#003e82";
83export const colorTextLinkDarker = "#032c5e";
84export const colorTextLinkDestructive = "#e22525";
85export const colorTextLinkDestructiveDark = "#b20600";
86export const colorTextLinkDestructiveDarker = "#921200";
87export const colorTextLinkDestructiveLight = "#ecb6b6";
88export const colorTextLinkLight = "#b3d3e9";
89export const colorTextPlaceholder = "#666a6d";
90export const colorTextSuccess = "#00994a";
91export const colorTextWarning = "#e46216";
92export const colorTextWarningDark = "#a83e00";
93export const colorTextWeak = "#666a6d";
94export const fontFamilyCode = "'Fira Mono', 'Courier New', Courier, monospace";
95export const fontFamilyText = "'Whitney SSm A', 'Whitney SSm B', 'Helvetica Neue', Helvetica, Arial, sans-serif";
96export const fontSize10 = "0.625rem";
97export const fontSize100 = "2.5rem";
98export const fontSize110 = "3rem";
99export const fontSize20 = "0.75rem";
100export const fontSize30 = "0.875rem";
101export const fontSize40 = "1rem";
102export const fontSize50 = "1.125rem";
103export const fontSize60 = "1.25rem";
104export const fontSize70 = "1.5rem";
105export const fontSize80 = "1.75rem";
106export const fontSize90 = "2rem";
107export const fontWeightBold = "700";
108export const fontWeightLight = "300";
109export const fontWeightMedium = "500";
110export const fontWeightNormal = "400";
111export const fontWeightSemibold = "500";
112export const lineHeight10 = "1rem";
113export const lineHeight100 = "3.25rem";
114export const lineHeight110 = "3.75rem";
115export const lineHeight20 = "1.25rem";
116export const lineHeight30 = "1.5rem";
117export const lineHeight40 = "1.75rem";
118export const lineHeight50 = "1.75rem";
119export const lineHeight60 = "1.75rem";
120export const lineHeight70 = "2rem";
121export const lineHeight80 = "2.25rem";
122export const lineHeight90 = "2.5rem";
123export const shadowCard = "0 2px 4px 0 rgba(40, 42, 43, 0.3)";
124export const shadowFocus = "0 0 0 4px rgba(2, 122, 197, 0.8)";
125export const size0 = "0";
126export const size10 = "5.5rem";
127export const size100 = "64rem";
128export const size110 = "70.5rem";
129export const size120 = "77rem";
130export const size20 = "12rem";
131export const size30 = "18.5rem";
132export const size40 = "25rem";
133export const size50 = "31.5rem";
134export const size60 = "38rem";
135export const size70 = "44.5rem";
136export const size80 = "51rem";
137export const size90 = "57.5rem";
138export const sizeIcon10 = "1rem";
139export const sizeIcon20 = "1.25rem";
140export const sizeIcon30 = "1.5rem";
141export const sizeIcon40 = "2rem";
142export const space0 = "0";
143export const space10 = "0.125rem";
144export const space100 = "2.25rem";
145export const space110 = "2.5rem";
146export const space120 = "2.75rem";
147export const space130 = "3rem";
148export const space140 = "3.25rem";
149export const space150 = "3.5rem";
150export const space160 = "3.75rem";
151export const space170 = "4rem";
152export const space180 = "4.25rem";
153export const space190 = "4.5rem";
154export const space20 = "0.25rem";
155export const space200 = "4.75rem";
156export const space30 = "0.5rem";
157export const space40 = "0.75rem";
158export const space50 = "1rem";
159export const space60 = "1.25rem";
160export const space70 = "1.5rem";
161export const space80 = "1.75rem";
162export const space90 = "2rem";
163export const zIndex0 = "0";
164export const zIndex10 = "10";
165export const zIndex20 = "20";
166export const zIndex30 = "30";
167export const zIndex40 = "40";
168export const zIndex50 = "50";
169export const zIndex60 = "60";
170export const zIndex70 = "70";
171export const zIndex80 = "80";
172export const zIndex90 = "90";
173export const backgroundColors = {
174colorBackground,
175colorBackgroundBody,
176colorBackgroundBrand,
177colorBackgroundBrandHighlight,
178colorBackgroundDestructive,
179colorBackgroundDestructiveDark,
180colorBackgroundDestructiveDarker,
181colorBackgroundDestructiveLight,
182colorBackgroundDestructiveLighter,
183colorBackgroundDestructiveLightest,
184colorBackgroundError,
185colorBackgroundErrorLightest,
186colorBackgroundInverse,
187colorBackgroundNeutralLightest,
188colorBackgroundPrimary,
189colorBackgroundPrimaryDark,
190colorBackgroundPrimaryDarker,
191colorBackgroundPrimaryLight,
192colorBackgroundPrimaryLighter,
193colorBackgroundPrimaryLightest,
194colorBackgroundRowStriped,
195colorBackgroundSuccess,
196colorBackgroundSuccessLightest,
197colorBackgroundWarning,
198colorBackgroundWarningLightest,
199};
200export const borderColors = {
201colorBorder,
202colorBorderDark,
203colorBorderDestructive,
204colorBorderDestructiveDark,
205colorBorderDestructiveDarker,
206colorBorderDestructiveLight,
207colorBorderDestructiveLighter,
208colorBorderError,
209colorBorderErrorLight,
210colorBorderErrorLightest,
211colorBorderInput,
212colorBorderInputFocus,
213colorBorderInputHover,
214colorBorderLight,
215colorBorderNeutralLight,
216colorBorderPrimary,
217colorBorderPrimaryDark,
218colorBorderPrimaryDarker,
219colorBorderPrimaryLight,
220colorBorderPrimaryLighter,
221colorBorderSuccess,
222colorBorderSuccessLightest,
223colorBorderWarning,
224colorBorderWarningLight,
225colorBorderWarningLightest,
226};
227export const borderWidths = {
228borderWidth0,
229borderWidth10,
230borderWidth20,
231};
232export const boxShadows = {
233shadowCard,
234shadowFocus,
235};
236export const colors = {
237colorBrand,
238colorBrandHighlight,
239colorGray0,
240colorGray10,
241colorGray100,
242colorGray20,
243colorGray30,
244colorGray40,
245colorGray50,
246colorGray60,
247colorGray70,
248colorGray80,
249colorGray90,
250};
251export const fonts = {
252fontFamilyCode,
253fontFamilyText,
254};
255export const fontSizes = {
256fontSize10,
257fontSize100,
258fontSize110,
259fontSize20,
260fontSize30,
261fontSize40,
262fontSize50,
263fontSize60,
264fontSize70,
265fontSize80,
266fontSize90,
267};
268export const fontWeights = {
269fontWeightBold,
270fontWeightLight,
271fontWeightMedium,
272fontWeightNormal,
273fontWeightSemibold,
274};
275export const lineHeights = {
276lineHeight10,
277lineHeight100,
278lineHeight110,
279lineHeight20,
280lineHeight30,
281lineHeight40,
282lineHeight50,
283lineHeight60,
284lineHeight70,
285lineHeight80,
286lineHeight90,
287};
288export const radii = {
289borderRadius0,
290borderRadius10,
291borderRadius20,
292borderRadius30,
293borderRadiusCircle,
294};
295export const sizings = {
296size0,
297size10,
298size100,
299size110,
300size120,
301size20,
302size30,
303size40,
304size50,
305size60,
306size70,
307size80,
308size90,
309sizeIcon10,
310sizeIcon20,
311sizeIcon30,
312sizeIcon40,
313};
314export const spacings = {
315space0,
316space10,
317space100,
318space110,
319space120,
320space130,
321space140,
322space150,
323space160,
324space170,
325space180,
326space190,
327space20,
328space200,
329space30,
330space40,
331space50,
332space60,
333space70,
334space80,
335space90,
336};
337export const textColors = {
338colorText,
339colorTextBrandHighlight,
340colorTextBrandInverse,
341colorTextError,
342colorTextErrorDark,
343colorTextIcon,
344colorTextInverse,
345colorTextInverseWeak,
346colorTextLabel,
347colorTextLink,
348colorTextLinkDark,
349colorTextLinkDarker,
350colorTextLinkDestructive,
351colorTextLinkDestructiveDark,
352colorTextLinkDestructiveDarker,
353colorTextLinkDestructiveLight,
354colorTextLinkLight,
355colorTextPlaceholder,
356colorTextSuccess,
357colorTextWarning,
358colorTextWarningDark,
359colorTextWeak,
360};
361export const zIndices = {
362zIndex0,
363zIndex10,
364zIndex20,
365zIndex30,
366zIndex40,
367zIndex50,
368zIndex60,
369zIndex70,
370zIndex80,
371zIndex90,
372};
\No newline at end of file