UNPKG

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