@expo/styleguide 4.3.0 → 5.0.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/README.md +9 -0
- package/dist/components/BlockingSetInitialColorMode.js +2 -2
- package/dist/components/ThemeProvider.js +3 -3
- package/dist/expo-theme.css +252 -516
- package/dist/icons/ChangelogIcon.d.ts +3 -0
- package/dist/icons/ChangelogIcon.js +15 -0
- package/dist/icons/MoreVerticalIcon.d.ts +3 -0
- package/dist/icons/MoreVerticalIcon.js +16 -0
- package/dist/icons/OrganizationIcon.d.ts +3 -0
- package/dist/icons/OrganizationIcon.js +15 -0
- package/dist/icons/WrapLinesIcon.d.ts +3 -0
- package/dist/icons/WrapLinesIcon.js +15 -0
- package/dist/icons/index.d.ts +4 -0
- package/dist/icons/index.js +11 -3
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1 -3
- package/dist/styles/palette.d.ts +194 -222
- package/dist/styles/palette.js +41 -222
- package/dist/styles/shadows.d.ts +5 -8
- package/dist/styles/shadows.js +5 -8
- package/dist/styles/sizing.d.ts +15 -9
- package/dist/styles/sizing.js +15 -9
- package/dist/styles/themes.d.ts +391 -267
- package/dist/styles/themes.js +414 -287
- package/dist/styles/typography.js +10 -10
- package/package.json +8 -3
- package/tailwind.js +163 -0
- package/dist/styles/legacy-colors.d.ts +0 -122
- package/dist/styles/legacy-colors.js +0 -148
|
@@ -299,7 +299,7 @@ const body = {
|
|
|
299
299
|
};
|
|
300
300
|
const utility = {
|
|
301
301
|
anchor: {
|
|
302
|
-
color: themes_1.theme.link
|
|
302
|
+
color: themes_1.theme.text.link,
|
|
303
303
|
fontWeight: 400,
|
|
304
304
|
textDecoration: 'none',
|
|
305
305
|
cursor: 'pointer',
|
|
@@ -307,7 +307,7 @@ const utility = {
|
|
|
307
307
|
// transform prevents a 1px shift on hover on Safari
|
|
308
308
|
transform: 'translate3d(0,0,0)',
|
|
309
309
|
':visited': {
|
|
310
|
-
color: themes_1.theme.link
|
|
310
|
+
color: themes_1.theme.text.link,
|
|
311
311
|
},
|
|
312
312
|
':hover': {
|
|
313
313
|
transition: '200ms',
|
|
@@ -318,9 +318,9 @@ const utility = {
|
|
|
318
318
|
...body.code,
|
|
319
319
|
fontWeight: 400,
|
|
320
320
|
display: 'inline-block',
|
|
321
|
-
backgroundColor: themes_1.theme.background.
|
|
321
|
+
backgroundColor: themes_1.theme.background.subtle,
|
|
322
322
|
border: `1px solid ${themes_1.theme.border.default}`,
|
|
323
|
-
borderRadius: sizing_1.borderRadius.
|
|
323
|
+
borderRadius: sizing_1.borderRadius.md,
|
|
324
324
|
padding: '2px 4px',
|
|
325
325
|
lineHeight: '130%',
|
|
326
326
|
},
|
|
@@ -328,18 +328,18 @@ const utility = {
|
|
|
328
328
|
...body.code,
|
|
329
329
|
fontWeight: 400,
|
|
330
330
|
display: 'inline-block',
|
|
331
|
-
backgroundColor: themes_1.darkTheme.background.
|
|
331
|
+
backgroundColor: themes_1.darkTheme.background.subtle,
|
|
332
332
|
color: themes_1.darkTheme.text.default,
|
|
333
333
|
border: `1px solid ${themes_1.darkTheme.border.default}`,
|
|
334
|
-
borderRadius: sizing_1.borderRadius.
|
|
334
|
+
borderRadius: sizing_1.borderRadius.md,
|
|
335
335
|
padding: '2px 4px',
|
|
336
336
|
lineHeight: '130%',
|
|
337
337
|
},
|
|
338
338
|
pre: {
|
|
339
339
|
...body.code,
|
|
340
340
|
fontWeight: 400,
|
|
341
|
-
backgroundColor: themes_1.theme.background.
|
|
342
|
-
borderRadius: sizing_1.borderRadius.
|
|
341
|
+
backgroundColor: themes_1.theme.background.subtle,
|
|
342
|
+
borderRadius: sizing_1.borderRadius.md,
|
|
343
343
|
border: `1px solid ${themes_1.theme.border.default}`,
|
|
344
344
|
padding: spacing_1.spacing[4],
|
|
345
345
|
whiteSpace: 'pre-wrap',
|
|
@@ -348,9 +348,9 @@ const utility = {
|
|
|
348
348
|
terminalPre: {
|
|
349
349
|
...body.code,
|
|
350
350
|
fontWeight: 400,
|
|
351
|
-
backgroundColor: themes_1.darkTheme.background.
|
|
351
|
+
backgroundColor: themes_1.darkTheme.background.subtle,
|
|
352
352
|
color: themes_1.darkTheme.text.default,
|
|
353
|
-
borderRadius: sizing_1.borderRadius.
|
|
353
|
+
borderRadius: sizing_1.borderRadius.md,
|
|
354
354
|
border: `1px solid ${themes_1.darkTheme.border.default}`,
|
|
355
355
|
padding: spacing_1.spacing[4],
|
|
356
356
|
margin: `${spacing_1.spacing[4]}px 0`,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expo/styleguide",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"description": "Foundational styles for Expo interfaces.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
"dev": "yarn tsc -w"
|
|
14
14
|
},
|
|
15
15
|
"files": [
|
|
16
|
-
"dist"
|
|
16
|
+
"dist",
|
|
17
|
+
"tailwind.js"
|
|
17
18
|
],
|
|
18
19
|
"homepage": "https://github.com/expo/styleguide",
|
|
19
20
|
"repository": {
|
|
@@ -35,10 +36,14 @@
|
|
|
35
36
|
"@types/react": "^17.0.6",
|
|
36
37
|
"copyfiles": "^2.4.1",
|
|
37
38
|
"rimraf": "^3.0.2",
|
|
39
|
+
"tailwindcss": "^3.1.8",
|
|
38
40
|
"typescript": "^4.2.4"
|
|
39
41
|
},
|
|
40
42
|
"peerDependencies": {
|
|
41
43
|
"react": "*"
|
|
42
44
|
},
|
|
43
|
-
"gitHead": "94bfdec4905cfc8fa2c2540ed672219ec6949246"
|
|
45
|
+
"gitHead": "94bfdec4905cfc8fa2c2540ed672219ec6949246",
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"@radix-ui/colors": "^0.1.8"
|
|
48
|
+
}
|
|
44
49
|
}
|
package/tailwind.js
ADDED
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
const {
|
|
2
|
+
theme,
|
|
3
|
+
borderRadius,
|
|
4
|
+
shadows,
|
|
5
|
+
breakpoints,
|
|
6
|
+
} = require("@expo/styleguide");
|
|
7
|
+
|
|
8
|
+
/** @type {import('tailwindcss').Config} */
|
|
9
|
+
module.exports = {
|
|
10
|
+
theme: {
|
|
11
|
+
borderRadius: {
|
|
12
|
+
...borderRadius,
|
|
13
|
+
DEFAULT: borderRadius.md,
|
|
14
|
+
},
|
|
15
|
+
backgroundColor: theme.background,
|
|
16
|
+
borderColor: theme.border,
|
|
17
|
+
colors: {
|
|
18
|
+
transparent: "transparent",
|
|
19
|
+
current: "currentColor",
|
|
20
|
+
default: theme.text.default,
|
|
21
|
+
secondary: theme.text.secondary,
|
|
22
|
+
tertiary: theme.text.tertiary,
|
|
23
|
+
quaternary: theme.text.quaternary,
|
|
24
|
+
...theme,
|
|
25
|
+
},
|
|
26
|
+
boxShadow: shadows,
|
|
27
|
+
fontFamily: {
|
|
28
|
+
sans: [
|
|
29
|
+
"Inter var",
|
|
30
|
+
"ui-sans-serif",
|
|
31
|
+
"system-ui",
|
|
32
|
+
"-apple-system",
|
|
33
|
+
"BlinkMacSystemFont",
|
|
34
|
+
'"Segoe UI"',
|
|
35
|
+
"Roboto",
|
|
36
|
+
'"Helvetica Neue"',
|
|
37
|
+
"Arial",
|
|
38
|
+
'"Noto Sans"',
|
|
39
|
+
"sans-serif",
|
|
40
|
+
'"Apple Color Emoji"',
|
|
41
|
+
'"Segoe UI Emoji"',
|
|
42
|
+
'"Segoe UI Symbol"',
|
|
43
|
+
'"Noto Color Emoji"',
|
|
44
|
+
],
|
|
45
|
+
mono: [
|
|
46
|
+
"Menlo",
|
|
47
|
+
"ui-monospace",
|
|
48
|
+
"SFMono-Regular",
|
|
49
|
+
"Menlo",
|
|
50
|
+
"Monaco",
|
|
51
|
+
"Consolas",
|
|
52
|
+
'"Liberation Mono"',
|
|
53
|
+
'"Courier New"',
|
|
54
|
+
"monospace",
|
|
55
|
+
],
|
|
56
|
+
},
|
|
57
|
+
// Based on Major Third (1.250) type scale.
|
|
58
|
+
// Sizes calculated at: https://type-scale.com
|
|
59
|
+
fontSize: {
|
|
60
|
+
"heading-5xl": [
|
|
61
|
+
"calc(var(--expo-theme-heading-base-font-size) * 3.815)",
|
|
62
|
+
{
|
|
63
|
+
lineHeight: 1.2,
|
|
64
|
+
letterSpacing: "-0.022rem",
|
|
65
|
+
},
|
|
66
|
+
],
|
|
67
|
+
"heading-4xl": [
|
|
68
|
+
"calc(var(--expo-theme-heading-base-font-size) * 3.052)",
|
|
69
|
+
{
|
|
70
|
+
lineHeight: 1.2,
|
|
71
|
+
letterSpacing: "-0.022rem",
|
|
72
|
+
},
|
|
73
|
+
],
|
|
74
|
+
"heading-3xl": [
|
|
75
|
+
"calc(var(--expo-theme-heading-base-font-size) * 2.441)",
|
|
76
|
+
{
|
|
77
|
+
lineHeight: 1.3,
|
|
78
|
+
letterSpacing: "-0.022rem",
|
|
79
|
+
},
|
|
80
|
+
],
|
|
81
|
+
"heading-2xl": [
|
|
82
|
+
"calc(var(--expo-theme-heading-base-font-size) * 1.953)",
|
|
83
|
+
{
|
|
84
|
+
lineHeight: 1.4,
|
|
85
|
+
letterSpacing: "-0.021rem",
|
|
86
|
+
},
|
|
87
|
+
],
|
|
88
|
+
"heading-xl": [
|
|
89
|
+
"calc(var(--expo-theme-heading-base-font-size) * 1.563)",
|
|
90
|
+
{
|
|
91
|
+
lineHeight: 1.5,
|
|
92
|
+
letterSpacing: "-0.017rem",
|
|
93
|
+
},
|
|
94
|
+
],
|
|
95
|
+
"heading-lg": [
|
|
96
|
+
"calc(var(--expo-theme-heading-base-font-size) * 1.25)",
|
|
97
|
+
{
|
|
98
|
+
lineHeight: 1.5,
|
|
99
|
+
letterSpacing: "-0.017rem",
|
|
100
|
+
},
|
|
101
|
+
],
|
|
102
|
+
"heading-base": [
|
|
103
|
+
"calc(var(--expo-theme-heading-base-font-size) * 1)",
|
|
104
|
+
{
|
|
105
|
+
lineHeight: 1.625,
|
|
106
|
+
letterSpacing: "-0.011rem",
|
|
107
|
+
},
|
|
108
|
+
],
|
|
109
|
+
"heading-sm": [
|
|
110
|
+
"calc(var(--expo-theme-heading-base-font-size) * 0.8)",
|
|
111
|
+
{
|
|
112
|
+
lineHeight: 1.615,
|
|
113
|
+
letterSpacing: "-0.003rem",
|
|
114
|
+
},
|
|
115
|
+
],
|
|
116
|
+
"heading-xs": [
|
|
117
|
+
"calc(var(--expo-theme-heading-base-font-size) * 0.64)",
|
|
118
|
+
{
|
|
119
|
+
lineHeight: 1.58,
|
|
120
|
+
},
|
|
121
|
+
],
|
|
122
|
+
base: [
|
|
123
|
+
"16px",
|
|
124
|
+
{
|
|
125
|
+
lineHeight: 1.625,
|
|
126
|
+
letterSpacing: "-0.011rem",
|
|
127
|
+
},
|
|
128
|
+
],
|
|
129
|
+
sm: [
|
|
130
|
+
"15px",
|
|
131
|
+
{
|
|
132
|
+
lineHeight: 1.6,
|
|
133
|
+
letterSpacing: "-0.009rem",
|
|
134
|
+
},
|
|
135
|
+
],
|
|
136
|
+
xs: [
|
|
137
|
+
"14px",
|
|
138
|
+
{
|
|
139
|
+
lineHeight: 1.57,
|
|
140
|
+
letterSpacing: "-0.006rem",
|
|
141
|
+
},
|
|
142
|
+
],
|
|
143
|
+
"2xs": [
|
|
144
|
+
"13px",
|
|
145
|
+
{
|
|
146
|
+
lineHeight: 1.61,
|
|
147
|
+
letterSpacing: "-0.003rem",
|
|
148
|
+
},
|
|
149
|
+
],
|
|
150
|
+
"3xs": [
|
|
151
|
+
"12px",
|
|
152
|
+
{
|
|
153
|
+
lineHeight: 1.58,
|
|
154
|
+
},
|
|
155
|
+
],
|
|
156
|
+
},
|
|
157
|
+
},
|
|
158
|
+
screens: {
|
|
159
|
+
sm: `${breakpoints.small}px`,
|
|
160
|
+
md: `${breakpoints.medium}px`,
|
|
161
|
+
lg: `${breakpoints.large}px`,
|
|
162
|
+
},
|
|
163
|
+
};
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
export declare const legacyColors: {
|
|
2
|
-
semantic: {
|
|
3
|
-
border: string;
|
|
4
|
-
background: string;
|
|
5
|
-
success: string;
|
|
6
|
-
error: string;
|
|
7
|
-
warning: string;
|
|
8
|
-
link: string;
|
|
9
|
-
text: string;
|
|
10
|
-
dark: {
|
|
11
|
-
border: string;
|
|
12
|
-
background: string;
|
|
13
|
-
success: string;
|
|
14
|
-
error: string;
|
|
15
|
-
warning: string;
|
|
16
|
-
link: string;
|
|
17
|
-
text: string;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
blue: {
|
|
21
|
-
'000': string;
|
|
22
|
-
100: string;
|
|
23
|
-
200: string;
|
|
24
|
-
300: string;
|
|
25
|
-
400: string;
|
|
26
|
-
500: string;
|
|
27
|
-
600: string;
|
|
28
|
-
700: string;
|
|
29
|
-
800: string;
|
|
30
|
-
900: string;
|
|
31
|
-
};
|
|
32
|
-
gray: {
|
|
33
|
-
'000': string;
|
|
34
|
-
100: string;
|
|
35
|
-
200: string;
|
|
36
|
-
300: string;
|
|
37
|
-
400: string;
|
|
38
|
-
500: string;
|
|
39
|
-
600: string;
|
|
40
|
-
700: string;
|
|
41
|
-
800: string;
|
|
42
|
-
900: string;
|
|
43
|
-
1000: string;
|
|
44
|
-
};
|
|
45
|
-
green: {
|
|
46
|
-
'000': string;
|
|
47
|
-
100: string;
|
|
48
|
-
200: string;
|
|
49
|
-
300: string;
|
|
50
|
-
400: string;
|
|
51
|
-
500: string;
|
|
52
|
-
600: string;
|
|
53
|
-
700: string;
|
|
54
|
-
800: string;
|
|
55
|
-
900: string;
|
|
56
|
-
};
|
|
57
|
-
orange: {
|
|
58
|
-
'000': string;
|
|
59
|
-
100: string;
|
|
60
|
-
200: string;
|
|
61
|
-
300: string;
|
|
62
|
-
400: string;
|
|
63
|
-
500: string;
|
|
64
|
-
600: string;
|
|
65
|
-
700: string;
|
|
66
|
-
800: string;
|
|
67
|
-
900: string;
|
|
68
|
-
};
|
|
69
|
-
pink: {
|
|
70
|
-
'000': string;
|
|
71
|
-
100: string;
|
|
72
|
-
200: string;
|
|
73
|
-
300: string;
|
|
74
|
-
400: string;
|
|
75
|
-
500: string;
|
|
76
|
-
600: string;
|
|
77
|
-
700: string;
|
|
78
|
-
800: string;
|
|
79
|
-
900: string;
|
|
80
|
-
};
|
|
81
|
-
primary: {
|
|
82
|
-
100: string;
|
|
83
|
-
200: string;
|
|
84
|
-
300: string;
|
|
85
|
-
400: string;
|
|
86
|
-
500: string;
|
|
87
|
-
600: string;
|
|
88
|
-
700: string;
|
|
89
|
-
800: string;
|
|
90
|
-
900: string;
|
|
91
|
-
1000: string;
|
|
92
|
-
};
|
|
93
|
-
red: {
|
|
94
|
-
'000': string;
|
|
95
|
-
100: string;
|
|
96
|
-
200: string;
|
|
97
|
-
300: string;
|
|
98
|
-
400: string;
|
|
99
|
-
500: string;
|
|
100
|
-
600: string;
|
|
101
|
-
700: string;
|
|
102
|
-
800: string;
|
|
103
|
-
900: string;
|
|
104
|
-
};
|
|
105
|
-
yellow: {
|
|
106
|
-
'000': string;
|
|
107
|
-
100: string;
|
|
108
|
-
200: string;
|
|
109
|
-
300: string;
|
|
110
|
-
400: string;
|
|
111
|
-
500: string;
|
|
112
|
-
600: string;
|
|
113
|
-
700: string;
|
|
114
|
-
800: string;
|
|
115
|
-
900: string;
|
|
116
|
-
};
|
|
117
|
-
black: string;
|
|
118
|
-
white: string;
|
|
119
|
-
beige: string;
|
|
120
|
-
navy: string;
|
|
121
|
-
lila: string;
|
|
122
|
-
};
|
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.legacyColors = void 0;
|
|
4
|
-
const gray = {
|
|
5
|
-
'000': '#FDFDFE',
|
|
6
|
-
100: '#F8F8FA',
|
|
7
|
-
200: '#F0F1F2',
|
|
8
|
-
300: '#E1E4E8',
|
|
9
|
-
400: '#D1D5DA',
|
|
10
|
-
500: '#B7BBBF',
|
|
11
|
-
600: '#6C737C',
|
|
12
|
-
700: '#596068',
|
|
13
|
-
800: '#464D55',
|
|
14
|
-
900: '#30363C',
|
|
15
|
-
1000: '#25292E',
|
|
16
|
-
};
|
|
17
|
-
const green = {
|
|
18
|
-
'000': '#f0fff4',
|
|
19
|
-
100: '#dcffe4',
|
|
20
|
-
200: '#bef5cb',
|
|
21
|
-
300: '#85e89d',
|
|
22
|
-
400: '#34d058',
|
|
23
|
-
500: '#28a745',
|
|
24
|
-
600: '#22863a',
|
|
25
|
-
700: '#176f2c',
|
|
26
|
-
800: '#165c26',
|
|
27
|
-
900: '#144620',
|
|
28
|
-
};
|
|
29
|
-
const red = {
|
|
30
|
-
'000': '#ffeef0',
|
|
31
|
-
100: '#ffdce0',
|
|
32
|
-
200: '#fdaeb7',
|
|
33
|
-
300: '#f97583',
|
|
34
|
-
400: '#ea4a5a',
|
|
35
|
-
500: '#d73a49',
|
|
36
|
-
600: '#cb2431',
|
|
37
|
-
700: '#b31d28',
|
|
38
|
-
800: '#9e1c23',
|
|
39
|
-
900: '#86181d',
|
|
40
|
-
};
|
|
41
|
-
const yellow = {
|
|
42
|
-
'000': '#fffdef',
|
|
43
|
-
100: '#fffbdd',
|
|
44
|
-
200: '#fff5b1',
|
|
45
|
-
300: '#ffea7f',
|
|
46
|
-
400: '#ffdf5d',
|
|
47
|
-
500: '#ffd33d',
|
|
48
|
-
600: '#f9c513',
|
|
49
|
-
700: '#dbab09',
|
|
50
|
-
800: '#b08800',
|
|
51
|
-
900: '#735c0f',
|
|
52
|
-
};
|
|
53
|
-
const blue = {
|
|
54
|
-
'000': '#f1f8ff',
|
|
55
|
-
100: '#dbedff',
|
|
56
|
-
200: '#c8e1ff',
|
|
57
|
-
300: '#79b8ff',
|
|
58
|
-
400: '#2188ff',
|
|
59
|
-
500: '#0366d6',
|
|
60
|
-
600: '#005cc5',
|
|
61
|
-
700: '#044289',
|
|
62
|
-
800: '#032f62',
|
|
63
|
-
900: '#05264c',
|
|
64
|
-
};
|
|
65
|
-
const purple = {
|
|
66
|
-
'000': '#f5f0ff',
|
|
67
|
-
100: '#e6dcfd',
|
|
68
|
-
200: '#d1bcf9',
|
|
69
|
-
300: '#b392f0',
|
|
70
|
-
400: '#8a63d2',
|
|
71
|
-
500: '#6f42c1',
|
|
72
|
-
600: '#5a32a3',
|
|
73
|
-
700: '#4c2889',
|
|
74
|
-
800: '#3a1d6e',
|
|
75
|
-
900: '#29134e',
|
|
76
|
-
};
|
|
77
|
-
const orange = {
|
|
78
|
-
'000': '#fff8f2',
|
|
79
|
-
100: '#ffebda',
|
|
80
|
-
200: '#ffd1ac',
|
|
81
|
-
300: '#ffab70',
|
|
82
|
-
400: '#fb8532',
|
|
83
|
-
500: '#f66a0a',
|
|
84
|
-
600: '#e36209',
|
|
85
|
-
700: '#d15704',
|
|
86
|
-
800: '#c24e00',
|
|
87
|
-
900: '#a04100',
|
|
88
|
-
};
|
|
89
|
-
const pink = {
|
|
90
|
-
'000': '#ffeef8',
|
|
91
|
-
100: '#fedbf0',
|
|
92
|
-
200: '#f9b3dd',
|
|
93
|
-
300: '#f692ce',
|
|
94
|
-
400: '#ec6cb9',
|
|
95
|
-
500: '#ea4aaa',
|
|
96
|
-
600: '#d03592',
|
|
97
|
-
700: '#b93a86',
|
|
98
|
-
800: '#99306f',
|
|
99
|
-
900: '#6d224f',
|
|
100
|
-
};
|
|
101
|
-
const primary = {
|
|
102
|
-
100: '#EDE9FF',
|
|
103
|
-
200: '#D2CAFD',
|
|
104
|
-
300: '#A89AF9',
|
|
105
|
-
400: '#7F6DF3',
|
|
106
|
-
500: '#4630EB',
|
|
107
|
-
600: '#3423CA',
|
|
108
|
-
700: '#2518A9',
|
|
109
|
-
800: '#190F88',
|
|
110
|
-
900: '#100970',
|
|
111
|
-
1000: '#161856',
|
|
112
|
-
};
|
|
113
|
-
const baseColors = {
|
|
114
|
-
blue,
|
|
115
|
-
gray,
|
|
116
|
-
green,
|
|
117
|
-
orange,
|
|
118
|
-
pink,
|
|
119
|
-
primary,
|
|
120
|
-
red,
|
|
121
|
-
yellow,
|
|
122
|
-
black: '#001020',
|
|
123
|
-
white: '#ffffff',
|
|
124
|
-
beige: '#F7F6F3',
|
|
125
|
-
navy: '#1A1A35',
|
|
126
|
-
lila: '#A3A1F7',
|
|
127
|
-
};
|
|
128
|
-
exports.legacyColors = {
|
|
129
|
-
...baseColors,
|
|
130
|
-
semantic: {
|
|
131
|
-
border: baseColors.gray[300],
|
|
132
|
-
background: baseColors.gray['000'],
|
|
133
|
-
success: baseColors.green[500],
|
|
134
|
-
error: baseColors.red[500],
|
|
135
|
-
warning: baseColors.yellow[700],
|
|
136
|
-
link: baseColors.primary[500],
|
|
137
|
-
text: baseColors.black,
|
|
138
|
-
dark: {
|
|
139
|
-
border: baseColors.gray[800],
|
|
140
|
-
background: baseColors.gray[1000],
|
|
141
|
-
success: baseColors.green[300],
|
|
142
|
-
error: baseColors.red[300],
|
|
143
|
-
warning: baseColors.yellow[300],
|
|
144
|
-
link: baseColors.primary[300],
|
|
145
|
-
text: baseColors.gray[100],
|
|
146
|
-
},
|
|
147
|
-
},
|
|
148
|
-
};
|