UNPKG

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