@expo/styleguide 3.4.1 → 3.4.2-alpha.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/dist/expo-theme.css +300 -88
- package/dist/index.d.ts +3 -1
- package/dist/index.js +5 -1
- package/dist/src/styles/breakpoints.d.ts +5 -0
- package/dist/src/styles/breakpoints.js +8 -0
- package/dist/src/styles/themes.d.ts +122 -0
- package/dist/src/styles/themes.js +122 -0
- package/dist/src/styles/typography.d.ts +324 -0
- package/dist/src/styles/typography.js +318 -0
- package/package.json +2 -2
package/dist/expo-theme.css
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
:root {
|
|
2
|
+
/* Light palette */
|
|
2
3
|
--expo-color-base-light-gray-000: #fdfdfe;
|
|
3
4
|
--expo-color-base-light-gray-100: #f8f8fa;
|
|
4
5
|
--expo-color-base-light-gray-200: #f0f1f2;
|
|
@@ -13,13 +14,13 @@
|
|
|
13
14
|
--expo-color-base-light-primary-000: #f9f7ff;
|
|
14
15
|
--expo-color-base-light-primary-100: #ede9ff;
|
|
15
16
|
--expo-color-base-light-primary-200: #d2cafd;
|
|
16
|
-
--expo-color-base-light-primary-300: #
|
|
17
|
-
--expo-color-base-light-primary-400: #
|
|
17
|
+
--expo-color-base-light-primary-300: #a193f9;
|
|
18
|
+
--expo-color-base-light-primary-400: #664fff;
|
|
18
19
|
--expo-color-base-light-primary-500: #4630eb;
|
|
19
|
-
--expo-color-base-light-primary-600: #
|
|
20
|
-
--expo-color-base-light-primary-700: #
|
|
21
|
-
--expo-color-base-light-primary-800: #
|
|
22
|
-
--expo-color-base-light-primary-900: #
|
|
20
|
+
--expo-color-base-light-primary-600: #3929c4;
|
|
21
|
+
--expo-color-base-light-primary-700: #2e2496;
|
|
22
|
+
--expo-color-base-light-primary-800: #261f73;
|
|
23
|
+
--expo-color-base-light-primary-900: #221e5c;
|
|
23
24
|
--expo-color-base-light-blue-000: #f1f8ff;
|
|
24
25
|
--expo-color-base-light-blue-100: #dbedff;
|
|
25
26
|
--expo-color-base-light-blue-200: #c8e1ff;
|
|
@@ -43,23 +44,23 @@
|
|
|
43
44
|
--expo-color-base-light-yellow-000: #fffdef;
|
|
44
45
|
--expo-color-base-light-yellow-100: #fffbdd;
|
|
45
46
|
--expo-color-base-light-yellow-200: #fff5b1;
|
|
46
|
-
--expo-color-base-light-yellow-300: #
|
|
47
|
+
--expo-color-base-light-yellow-300: #ffeb87;
|
|
47
48
|
--expo-color-base-light-yellow-400: #ffdf5d;
|
|
48
49
|
--expo-color-base-light-yellow-500: #ffd33d;
|
|
49
|
-
--expo-color-base-light-yellow-600: #
|
|
50
|
-
--expo-color-base-light-yellow-700: #
|
|
51
|
-
--expo-color-base-light-yellow-800: #
|
|
50
|
+
--expo-color-base-light-yellow-600: #f2c012;
|
|
51
|
+
--expo-color-base-light-yellow-700: #cfa108;
|
|
52
|
+
--expo-color-base-light-yellow-800: #9c7800;
|
|
52
53
|
--expo-color-base-light-yellow-900: #735c0f;
|
|
53
54
|
--expo-color-base-light-orange-000: #fff8f2;
|
|
54
55
|
--expo-color-base-light-orange-100: #ffebda;
|
|
55
56
|
--expo-color-base-light-orange-200: #ffd1ac;
|
|
56
57
|
--expo-color-base-light-orange-300: #ffab70;
|
|
57
|
-
--expo-color-base-light-orange-400: #
|
|
58
|
-
--expo-color-base-light-orange-500: #
|
|
59
|
-
--expo-color-base-light-orange-600: #
|
|
60
|
-
--expo-color-base-light-orange-700: #
|
|
61
|
-
--expo-color-base-light-orange-800: #
|
|
62
|
-
--expo-color-base-light-orange-900: #
|
|
58
|
+
--expo-color-base-light-orange-400: #fb8e41;
|
|
59
|
+
--expo-color-base-light-orange-500: #fa7c25;
|
|
60
|
+
--expo-color-base-light-orange-600: #de6614;
|
|
61
|
+
--expo-color-base-light-orange-700: #c45408;
|
|
62
|
+
--expo-color-base-light-orange-800: #96430b;
|
|
63
|
+
--expo-color-base-light-orange-900: #7a4018;
|
|
63
64
|
--expo-color-base-light-red-000: #ffeeee;
|
|
64
65
|
--expo-color-base-light-red-100: #ffdcdc;
|
|
65
66
|
--expo-color-base-light-red-200: #fdaeae;
|
|
@@ -92,6 +93,8 @@
|
|
|
92
93
|
--expo-color-base-light-purple-900: #29134e;
|
|
93
94
|
--expo-color-base-light-white: #ffffff;
|
|
94
95
|
--expo-color-base-light-black: #1b1f23;
|
|
96
|
+
|
|
97
|
+
/* Dark palette */
|
|
95
98
|
--expo-color-base-dark-gray-000: #0d1117;
|
|
96
99
|
--expo-color-base-dark-gray-100: #161b22;
|
|
97
100
|
--expo-color-base-dark-gray-200: #21262d;
|
|
@@ -103,90 +106,186 @@
|
|
|
103
106
|
--expo-color-base-dark-gray-800: #c9d1d9;
|
|
104
107
|
--expo-color-base-dark-gray-900: #f0f6fc;
|
|
105
108
|
--expo-color-base-dark-gray-1000: #fdfdfe;
|
|
106
|
-
--expo-color-base-dark-primary-000: #
|
|
107
|
-
--expo-color-base-dark-primary-100: #
|
|
108
|
-
--expo-color-base-dark-primary-200: #
|
|
109
|
-
--expo-color-base-dark-primary-300: #
|
|
110
|
-
--expo-color-base-dark-primary-400: #
|
|
111
|
-
--expo-color-base-dark-primary-500: #
|
|
112
|
-
--expo-color-base-dark-primary-600: #
|
|
113
|
-
--expo-color-base-dark-primary-700: #
|
|
109
|
+
--expo-color-base-dark-primary-000: #1b183d;
|
|
110
|
+
--expo-color-base-dark-primary-100: #201d52;
|
|
111
|
+
--expo-color-base-dark-primary-200: #2a2375;
|
|
112
|
+
--expo-color-base-dark-primary-300: #342a9c;
|
|
113
|
+
--expo-color-base-dark-primary-400: #4436c7;
|
|
114
|
+
--expo-color-base-dark-primary-500: #5c49eb;
|
|
115
|
+
--expo-color-base-dark-primary-600: #7766e8;
|
|
116
|
+
--expo-color-base-dark-primary-700: #a498ed;
|
|
114
117
|
--expo-color-base-dark-primary-800: #c9c2f2;
|
|
115
118
|
--expo-color-base-dark-primary-900: #e4e0f5;
|
|
116
|
-
--expo-color-base-dark-blue-000: #
|
|
117
|
-
--expo-color-base-dark-blue-100: #
|
|
118
|
-
--expo-color-base-dark-blue-200: #
|
|
119
|
-
--expo-color-base-dark-blue-300: #
|
|
120
|
-
--expo-color-base-dark-blue-400: #
|
|
121
|
-
--expo-color-base-dark-blue-500: #
|
|
122
|
-
--expo-color-base-dark-blue-600: #
|
|
123
|
-
--expo-color-base-dark-blue-700: #
|
|
124
|
-
--expo-color-base-dark-blue-800: #
|
|
119
|
+
--expo-color-base-dark-blue-000: #122447;
|
|
120
|
+
--expo-color-base-dark-blue-100: #173366;
|
|
121
|
+
--expo-color-base-dark-blue-200: #1e4894;
|
|
122
|
+
--expo-color-base-dark-blue-300: #2362c4;
|
|
123
|
+
--expo-color-base-dark-blue-400: #2d73e0;
|
|
124
|
+
--expo-color-base-dark-blue-500: #4794fd;
|
|
125
|
+
--expo-color-base-dark-blue-600: #61abff;
|
|
126
|
+
--expo-color-base-dark-blue-700: #8fcaff;
|
|
127
|
+
--expo-color-base-dark-blue-800: #addaff;
|
|
125
128
|
--expo-color-base-dark-blue-900: #cae8ff;
|
|
126
|
-
--expo-color-base-dark-green-000: #
|
|
127
|
-
--expo-color-base-dark-green-100: #
|
|
128
|
-
--expo-color-base-dark-green-200: #
|
|
129
|
-
--expo-color-base-dark-green-300: #
|
|
130
|
-
--expo-color-base-dark-green-400: #
|
|
131
|
-
--expo-color-base-dark-green-500: #
|
|
132
|
-
--expo-color-base-dark-green-600: #
|
|
133
|
-
--expo-color-base-dark-green-700: #
|
|
134
|
-
--expo-color-base-dark-green-800: #
|
|
135
|
-
--expo-color-base-dark-green-900: #
|
|
136
|
-
--expo-color-base-dark-yellow-000: #
|
|
137
|
-
--expo-color-base-dark-yellow-100: #
|
|
138
|
-
--expo-color-base-dark-yellow-200: #
|
|
139
|
-
--expo-color-base-dark-yellow-300: #
|
|
140
|
-
--expo-color-base-dark-yellow-400: #
|
|
141
|
-
--expo-color-base-dark-yellow-500: #
|
|
142
|
-
--expo-color-base-dark-yellow-600: #
|
|
143
|
-
--expo-color-base-dark-yellow-700: #
|
|
144
|
-
--expo-color-base-dark-yellow-800: #
|
|
145
|
-
--expo-color-base-dark-yellow-900: #
|
|
146
|
-
--expo-color-base-dark-orange-000: #
|
|
147
|
-
--expo-color-base-dark-orange-100: #
|
|
148
|
-
--expo-color-base-dark-orange-200: #
|
|
149
|
-
--expo-color-base-dark-orange-300: #
|
|
150
|
-
--expo-color-base-dark-orange-400: #
|
|
151
|
-
--expo-color-base-dark-orange-500: #
|
|
152
|
-
--expo-color-base-dark-orange-600: #
|
|
153
|
-
--expo-color-base-dark-orange-700: #
|
|
154
|
-
--expo-color-base-dark-orange-800: #
|
|
155
|
-
--expo-color-base-dark-orange-900: #
|
|
156
|
-
--expo-color-base-dark-red-000: #
|
|
157
|
-
--expo-color-base-dark-red-100: #
|
|
158
|
-
--expo-color-base-dark-red-200: #
|
|
159
|
-
--expo-color-base-dark-red-300: #
|
|
160
|
-
--expo-color-base-dark-red-400: #
|
|
161
|
-
--expo-color-base-dark-red-500: #
|
|
162
|
-
--expo-color-base-dark-red-600: #
|
|
163
|
-
--expo-color-base-dark-red-700: #
|
|
164
|
-
--expo-color-base-dark-red-800: #
|
|
165
|
-
--expo-color-base-dark-red-900: #
|
|
166
|
-
--expo-color-base-dark-pink-000: #
|
|
167
|
-
--expo-color-base-dark-pink-100: #
|
|
168
|
-
--expo-color-base-dark-pink-200: #
|
|
169
|
-
--expo-color-base-dark-pink-300: #
|
|
129
|
+
--expo-color-base-dark-green-000: #1a2b20;
|
|
130
|
+
--expo-color-base-dark-green-100: #1d3b27;
|
|
131
|
+
--expo-color-base-dark-green-200: #255232;
|
|
132
|
+
--expo-color-base-dark-green-300: #256936;
|
|
133
|
+
--expo-color-base-dark-green-400: #2e853f;
|
|
134
|
+
--expo-color-base-dark-green-500: #38a04b;
|
|
135
|
+
--expo-color-base-dark-green-600: #4ab959;
|
|
136
|
+
--expo-color-base-dark-green-700: #65d372;
|
|
137
|
+
--expo-color-base-dark-green-800: #8ae592;
|
|
138
|
+
--expo-color-base-dark-green-900: #b9f0bd;
|
|
139
|
+
--expo-color-base-dark-yellow-000: #30250a;
|
|
140
|
+
--expo-color-base-dark-yellow-100: #473510;
|
|
141
|
+
--expo-color-base-dark-yellow-200: #664b14;
|
|
142
|
+
--expo-color-base-dark-yellow-300: #856018;
|
|
143
|
+
--expo-color-base-dark-yellow-400: #a3751a;
|
|
144
|
+
--expo-color-base-dark-yellow-500: #bf8a1f;
|
|
145
|
+
--expo-color-base-dark-yellow-600: #d4a035;
|
|
146
|
+
--expo-color-base-dark-yellow-700: #e8bb51;
|
|
147
|
+
--expo-color-base-dark-yellow-800: #f2d06d;
|
|
148
|
+
--expo-color-base-dark-yellow-900: #fae296;
|
|
149
|
+
--expo-color-base-dark-orange-000: #2e1e17;
|
|
150
|
+
--expo-color-base-dark-orange-100: #472a1d;
|
|
151
|
+
--expo-color-base-dark-orange-200: #66361f;
|
|
152
|
+
--expo-color-base-dark-orange-300: #8f4824;
|
|
153
|
+
--expo-color-base-dark-orange-400: #ad5a2b;
|
|
154
|
+
--expo-color-base-dark-orange-500: #d67233;
|
|
155
|
+
--expo-color-base-dark-orange-600: #eb853d;
|
|
156
|
+
--expo-color-base-dark-orange-700: #f5a35b;
|
|
157
|
+
--expo-color-base-dark-orange-800: #fcc279;
|
|
158
|
+
--expo-color-base-dark-orange-900: #fcd49f;
|
|
159
|
+
--expo-color-base-dark-red-000: #3d1515;
|
|
160
|
+
--expo-color-base-dark-red-100: #541c1f;
|
|
161
|
+
--expo-color-base-dark-red-200: #732225;
|
|
162
|
+
--expo-color-base-dark-red-300: #962926;
|
|
163
|
+
--expo-color-base-dark-red-400: #bd3939;
|
|
164
|
+
--expo-color-base-dark-red-500: #e0514a;
|
|
165
|
+
--expo-color-base-dark-red-600: #f76f65;
|
|
166
|
+
--expo-color-base-dark-red-700: #ff8d82;
|
|
167
|
+
--expo-color-base-dark-red-800: #ffb1a8;
|
|
168
|
+
--expo-color-base-dark-red-900: #ffd2cc;
|
|
169
|
+
--expo-color-base-dark-pink-000: #3d182f;
|
|
170
|
+
--expo-color-base-dark-pink-100: #571e40;
|
|
171
|
+
--expo-color-base-dark-pink-200: #782a57;
|
|
172
|
+
--expo-color-base-dark-pink-300: #9c356e;
|
|
170
173
|
--expo-color-base-dark-pink-400: #bf4b8a;
|
|
171
|
-
--expo-color-base-dark-pink-500: #
|
|
172
|
-
--expo-color-base-dark-pink-600: #
|
|
174
|
+
--expo-color-base-dark-pink-500: #de62a4;
|
|
175
|
+
--expo-color-base-dark-pink-600: #f77ebd;
|
|
173
176
|
--expo-color-base-dark-pink-700: #ff9bce;
|
|
174
177
|
--expo-color-base-dark-pink-800: #ffbedd;
|
|
175
|
-
--expo-color-base-dark-pink-900: #
|
|
176
|
-
--expo-color-base-dark-purple-000: #
|
|
177
|
-
--expo-color-base-dark-purple-100: #
|
|
178
|
-
--expo-color-base-dark-purple-200: #
|
|
178
|
+
--expo-color-base-dark-pink-900: #ffcfe6;
|
|
179
|
+
--expo-color-base-dark-purple-000: #2b1d47;
|
|
180
|
+
--expo-color-base-dark-purple-100: #3c2563;
|
|
181
|
+
--expo-color-base-dark-purple-200: #553096;
|
|
179
182
|
--expo-color-base-dark-purple-300: #6e40c9;
|
|
180
183
|
--expo-color-base-dark-purple-400: #8957e5;
|
|
181
184
|
--expo-color-base-dark-purple-500: #a371f7;
|
|
182
185
|
--expo-color-base-dark-purple-600: #bc8cff;
|
|
183
186
|
--expo-color-base-dark-purple-700: #d2a8ff;
|
|
184
187
|
--expo-color-base-dark-purple-800: #e2c5ff;
|
|
185
|
-
--expo-color-base-dark-purple-900: #
|
|
188
|
+
--expo-color-base-dark-purple-900: #e9d6ff;
|
|
186
189
|
--expo-color-base-dark-white: #ffffff;
|
|
187
190
|
--expo-color-base-dark-black: #0d1117;
|
|
191
|
+
|
|
192
|
+
/* Light theme */
|
|
193
|
+
--expo-theme-palette-gray-000: #fdfdfe;
|
|
194
|
+
--expo-theme-palette-gray-100: #f8f8fa;
|
|
195
|
+
--expo-theme-palette-gray-200: #f0f1f2;
|
|
196
|
+
--expo-theme-palette-gray-300: #e1e4e8;
|
|
197
|
+
--expo-theme-palette-gray-400: #d1d5da;
|
|
198
|
+
--expo-theme-palette-gray-500: #9b9fa3;
|
|
199
|
+
--expo-theme-palette-gray-600: #6c737c;
|
|
200
|
+
--expo-theme-palette-gray-700: #596068;
|
|
201
|
+
--expo-theme-palette-gray-800: #464d55;
|
|
202
|
+
--expo-theme-palette-gray-900: #30363c;
|
|
203
|
+
--expo-theme-palette-gray-1000: #25292e;
|
|
204
|
+
--expo-theme-palette-primary-000: #f9f7ff;
|
|
205
|
+
--expo-theme-palette-primary-100: #ede9ff;
|
|
206
|
+
--expo-theme-palette-primary-200: #d2cafd;
|
|
207
|
+
--expo-theme-palette-primary-300: #a193f9;
|
|
208
|
+
--expo-theme-palette-primary-400: #664fff;
|
|
209
|
+
--expo-theme-palette-primary-500: #4630eb;
|
|
210
|
+
--expo-theme-palette-primary-600: #3929c4;
|
|
211
|
+
--expo-theme-palette-primary-700: #2e2496;
|
|
212
|
+
--expo-theme-palette-primary-800: #261f73;
|
|
213
|
+
--expo-theme-palette-primary-900: #221e5c;
|
|
214
|
+
--expo-theme-palette-blue-000: #f1f8ff;
|
|
215
|
+
--expo-theme-palette-blue-100: #dbedff;
|
|
216
|
+
--expo-theme-palette-blue-200: #c8e1ff;
|
|
217
|
+
--expo-theme-palette-blue-300: #79b8ff;
|
|
218
|
+
--expo-theme-palette-blue-400: #2188ff;
|
|
219
|
+
--expo-theme-palette-blue-500: #0366d6;
|
|
220
|
+
--expo-theme-palette-blue-600: #005cc5;
|
|
221
|
+
--expo-theme-palette-blue-700: #044289;
|
|
222
|
+
--expo-theme-palette-blue-800: #032f62;
|
|
223
|
+
--expo-theme-palette-blue-900: #05264c;
|
|
224
|
+
--expo-theme-palette-green-000: #f0fff4;
|
|
225
|
+
--expo-theme-palette-green-100: #dcffe4;
|
|
226
|
+
--expo-theme-palette-green-200: #bef5cb;
|
|
227
|
+
--expo-theme-palette-green-300: #85e89d;
|
|
228
|
+
--expo-theme-palette-green-400: #34d058;
|
|
229
|
+
--expo-theme-palette-green-500: #28a745;
|
|
230
|
+
--expo-theme-palette-green-600: #22863a;
|
|
231
|
+
--expo-theme-palette-green-700: #176f2c;
|
|
232
|
+
--expo-theme-palette-green-800: #165c26;
|
|
233
|
+
--expo-theme-palette-green-900: #144620;
|
|
234
|
+
--expo-theme-palette-yellow-000: #fffdef;
|
|
235
|
+
--expo-theme-palette-yellow-100: #fffbdd;
|
|
236
|
+
--expo-theme-palette-yellow-200: #fff5b1;
|
|
237
|
+
--expo-theme-palette-yellow-300: #ffeb87;
|
|
238
|
+
--expo-theme-palette-yellow-400: #ffdf5d;
|
|
239
|
+
--expo-theme-palette-yellow-500: #ffd33d;
|
|
240
|
+
--expo-theme-palette-yellow-600: #f2c012;
|
|
241
|
+
--expo-theme-palette-yellow-700: #cfa108;
|
|
242
|
+
--expo-theme-palette-yellow-800: #9c7800;
|
|
243
|
+
--expo-theme-palette-yellow-900: #735c0f;
|
|
244
|
+
--expo-theme-palette-orange-000: #fff8f2;
|
|
245
|
+
--expo-theme-palette-orange-100: #ffebda;
|
|
246
|
+
--expo-theme-palette-orange-200: #ffd1ac;
|
|
247
|
+
--expo-theme-palette-orange-300: #ffab70;
|
|
248
|
+
--expo-theme-palette-orange-400: #fb8e41;
|
|
249
|
+
--expo-theme-palette-orange-500: #fa7c25;
|
|
250
|
+
--expo-theme-palette-orange-600: #de6614;
|
|
251
|
+
--expo-theme-palette-orange-700: #c45408;
|
|
252
|
+
--expo-theme-palette-orange-800: #96430b;
|
|
253
|
+
--expo-theme-palette-orange-900: #7a4018;
|
|
254
|
+
--expo-theme-palette-red-000: #ffeeee;
|
|
255
|
+
--expo-theme-palette-red-100: #ffdcdc;
|
|
256
|
+
--expo-theme-palette-red-200: #fdaeae;
|
|
257
|
+
--expo-theme-palette-red-300: #f97575;
|
|
258
|
+
--expo-theme-palette-red-400: #ea4a4a;
|
|
259
|
+
--expo-theme-palette-red-500: #d73a3a;
|
|
260
|
+
--expo-theme-palette-red-600: #cb2424;
|
|
261
|
+
--expo-theme-palette-red-700: #b31d1d;
|
|
262
|
+
--expo-theme-palette-red-800: #9e1e1c;
|
|
263
|
+
--expo-theme-palette-red-900: #861c18;
|
|
264
|
+
--expo-theme-palette-pink-000: #ffeef8;
|
|
265
|
+
--expo-theme-palette-pink-100: #fedbf0;
|
|
266
|
+
--expo-theme-palette-pink-200: #f9b3dd;
|
|
267
|
+
--expo-theme-palette-pink-300: #f692ce;
|
|
268
|
+
--expo-theme-palette-pink-400: #ec6cb9;
|
|
269
|
+
--expo-theme-palette-pink-500: #ea4aaa;
|
|
270
|
+
--expo-theme-palette-pink-600: #d03592;
|
|
271
|
+
--expo-theme-palette-pink-700: #b93a86;
|
|
272
|
+
--expo-theme-palette-pink-800: #99306f;
|
|
273
|
+
--expo-theme-palette-pink-900: #6d224f;
|
|
274
|
+
--expo-theme-palette-purple-000: #f5f0ff;
|
|
275
|
+
--expo-theme-palette-purple-100: #e6dcfd;
|
|
276
|
+
--expo-theme-palette-purple-200: #d1bcf9;
|
|
277
|
+
--expo-theme-palette-purple-300: #b392f0;
|
|
278
|
+
--expo-theme-palette-purple-400: #8a63d2;
|
|
279
|
+
--expo-theme-palette-purple-500: #6f42c1;
|
|
280
|
+
--expo-theme-palette-purple-600: #5a32a3;
|
|
281
|
+
--expo-theme-palette-purple-700: #4c2888;
|
|
282
|
+
--expo-theme-palette-purple-800: #3a1d6e;
|
|
283
|
+
--expo-theme-palette-purple-900: #29134e;
|
|
284
|
+
--expo-theme-palette-white: #ffffff;
|
|
285
|
+
--expo-theme-palette-black: #1b1f23;
|
|
188
286
|
--expo-theme-background-default: var(--expo-color-base-light-white);
|
|
189
287
|
--expo-theme-background-canvas: var(--expo-color-base-light-gray-000);
|
|
288
|
+
--expo-theme-background-screen: var(--expo-color-base-light-gray-100);
|
|
190
289
|
--expo-theme-background-secondary: var(--expo-color-base-light-gray-100);
|
|
191
290
|
--expo-theme-background-tertiary: var(--expo-color-base-light-gray-200);
|
|
192
291
|
--expo-theme-background-quaternary: var(--expo-color-base-light-gray-300);
|
|
@@ -227,7 +326,7 @@
|
|
|
227
326
|
--expo-theme-text-secondary: var(--expo-color-base-light-gray-700);
|
|
228
327
|
--expo-theme-text-error: var(--expo-color-base-light-red-600);
|
|
229
328
|
--expo-theme-text-warning: var(--expo-color-base-light-yellow-900);
|
|
230
|
-
--expo-theme-text-success: var(--expo-color-base-light-green-
|
|
329
|
+
--expo-theme-text-success: var(--expo-color-base-light-green-700);
|
|
231
330
|
--expo-theme-code-keyword: var(--expo-color-base-light-blue-500);
|
|
232
331
|
--expo-theme-code-builtin: var(--expo-color-base-light-green-600);
|
|
233
332
|
--expo-theme-code-property: var(--expo-color-base-light-red-500);
|
|
@@ -239,6 +338,15 @@
|
|
|
239
338
|
--expo-theme-code-before: var(--expo-color-base-light-gray-400);
|
|
240
339
|
--expo-theme-highlight-accent: var(--expo-color-base-light-primary-300);
|
|
241
340
|
--expo-theme-highlight-emphasis: var(--expo-color-base-light-yellow-300);
|
|
341
|
+
--expo-theme-project-blue: linear-gradient(#81b2eb, #6299d9);
|
|
342
|
+
--expo-theme-project-green: linear-gradient(#6eb87f, #54a767);
|
|
343
|
+
--expo-theme-project-yellow: linear-gradient(#edcd5f, #e5c145);
|
|
344
|
+
--expo-theme-project-orange: linear-gradient(#eb9f6a, #d9864c);
|
|
345
|
+
--expo-theme-project-red: linear-gradient(#eb7171, #d95757);
|
|
346
|
+
--expo-theme-project-pink: linear-gradient(#eb8dc5, #d977b2);
|
|
347
|
+
--expo-theme-project-purple: linear-gradient(#a687e0, #8a66cc);
|
|
348
|
+
|
|
349
|
+
/* Light shadows */
|
|
242
350
|
--expo-theme-shadows-micro: 0 1px 3px rgba(0, 0, 0, 0.025),
|
|
243
351
|
0 1px 2px rgba(0, 0, 0, 0.05);
|
|
244
352
|
--expo-theme-shadows-tiny: 0 3px 6px rgba(0, 0, 0, 0.08),
|
|
@@ -254,8 +362,103 @@
|
|
|
254
362
|
}
|
|
255
363
|
|
|
256
364
|
[data-expo-theme='dark'] {
|
|
257
|
-
|
|
365
|
+
/* Dark theme */
|
|
366
|
+
--expo-theme-palette-gray-000: #0d1117;
|
|
367
|
+
--expo-theme-palette-gray-100: #161b22;
|
|
368
|
+
--expo-theme-palette-gray-200: #21262d;
|
|
369
|
+
--expo-theme-palette-gray-300: #30363d;
|
|
370
|
+
--expo-theme-palette-gray-400: #484f58;
|
|
371
|
+
--expo-theme-palette-gray-500: #6e7681;
|
|
372
|
+
--expo-theme-palette-gray-600: #8b949e;
|
|
373
|
+
--expo-theme-palette-gray-700: #b1bac4;
|
|
374
|
+
--expo-theme-palette-gray-800: #c9d1d9;
|
|
375
|
+
--expo-theme-palette-gray-900: #f0f6fc;
|
|
376
|
+
--expo-theme-palette-gray-1000: #fdfdfe;
|
|
377
|
+
--expo-theme-palette-primary-000: #1b183d;
|
|
378
|
+
--expo-theme-palette-primary-100: #201d52;
|
|
379
|
+
--expo-theme-palette-primary-200: #2a2375;
|
|
380
|
+
--expo-theme-palette-primary-300: #342a9c;
|
|
381
|
+
--expo-theme-palette-primary-400: #4436c7;
|
|
382
|
+
--expo-theme-palette-primary-500: #5c49eb;
|
|
383
|
+
--expo-theme-palette-primary-600: #7766e8;
|
|
384
|
+
--expo-theme-palette-primary-700: #a498ed;
|
|
385
|
+
--expo-theme-palette-primary-800: #c9c2f2;
|
|
386
|
+
--expo-theme-palette-primary-900: #e4e0f5;
|
|
387
|
+
--expo-theme-palette-blue-000: #122447;
|
|
388
|
+
--expo-theme-palette-blue-100: #173366;
|
|
389
|
+
--expo-theme-palette-blue-200: #1e4894;
|
|
390
|
+
--expo-theme-palette-blue-300: #2362c4;
|
|
391
|
+
--expo-theme-palette-blue-400: #2d73e0;
|
|
392
|
+
--expo-theme-palette-blue-500: #4794fd;
|
|
393
|
+
--expo-theme-palette-blue-600: #61abff;
|
|
394
|
+
--expo-theme-palette-blue-700: #8fcaff;
|
|
395
|
+
--expo-theme-palette-blue-800: #addaff;
|
|
396
|
+
--expo-theme-palette-blue-900: #cae8ff;
|
|
397
|
+
--expo-theme-palette-green-000: #1a2b20;
|
|
398
|
+
--expo-theme-palette-green-100: #1d3b27;
|
|
399
|
+
--expo-theme-palette-green-200: #255232;
|
|
400
|
+
--expo-theme-palette-green-300: #256936;
|
|
401
|
+
--expo-theme-palette-green-400: #2e853f;
|
|
402
|
+
--expo-theme-palette-green-500: #38a04b;
|
|
403
|
+
--expo-theme-palette-green-600: #4ab959;
|
|
404
|
+
--expo-theme-palette-green-700: #65d372;
|
|
405
|
+
--expo-theme-palette-green-800: #8ae592;
|
|
406
|
+
--expo-theme-palette-green-900: #b9f0bd;
|
|
407
|
+
--expo-theme-palette-yellow-000: #30250a;
|
|
408
|
+
--expo-theme-palette-yellow-100: #473510;
|
|
409
|
+
--expo-theme-palette-yellow-200: #664b14;
|
|
410
|
+
--expo-theme-palette-yellow-300: #856018;
|
|
411
|
+
--expo-theme-palette-yellow-400: #a3751a;
|
|
412
|
+
--expo-theme-palette-yellow-500: #bf8a1f;
|
|
413
|
+
--expo-theme-palette-yellow-600: #d4a035;
|
|
414
|
+
--expo-theme-palette-yellow-700: #e8bb51;
|
|
415
|
+
--expo-theme-palette-yellow-800: #f2d06d;
|
|
416
|
+
--expo-theme-palette-yellow-900: #fae296;
|
|
417
|
+
--expo-theme-palette-orange-000: #2e1e17;
|
|
418
|
+
--expo-theme-palette-orange-100: #472a1d;
|
|
419
|
+
--expo-theme-palette-orange-200: #66361f;
|
|
420
|
+
--expo-theme-palette-orange-300: #8f4824;
|
|
421
|
+
--expo-theme-palette-orange-400: #ad5a2b;
|
|
422
|
+
--expo-theme-palette-orange-500: #d67233;
|
|
423
|
+
--expo-theme-palette-orange-600: #eb853d;
|
|
424
|
+
--expo-theme-palette-orange-700: #f5a35b;
|
|
425
|
+
--expo-theme-palette-orange-800: #fcc279;
|
|
426
|
+
--expo-theme-palette-orange-900: #fcd49f;
|
|
427
|
+
--expo-theme-palette-red-000: #3d1515;
|
|
428
|
+
--expo-theme-palette-red-100: #541c1f;
|
|
429
|
+
--expo-theme-palette-red-200: #732225;
|
|
430
|
+
--expo-theme-palette-red-300: #962926;
|
|
431
|
+
--expo-theme-palette-red-400: #bd3939;
|
|
432
|
+
--expo-theme-palette-red-500: #e0514a;
|
|
433
|
+
--expo-theme-palette-red-600: #f76f65;
|
|
434
|
+
--expo-theme-palette-red-700: #ff8d82;
|
|
435
|
+
--expo-theme-palette-red-800: #ffb1a8;
|
|
436
|
+
--expo-theme-palette-red-900: #ffd2cc;
|
|
437
|
+
--expo-theme-palette-pink-000: #3d182f;
|
|
438
|
+
--expo-theme-palette-pink-100: #571e40;
|
|
439
|
+
--expo-theme-palette-pink-200: #782a57;
|
|
440
|
+
--expo-theme-palette-pink-300: #9c356e;
|
|
441
|
+
--expo-theme-palette-pink-400: #bf4b8a;
|
|
442
|
+
--expo-theme-palette-pink-500: #de62a4;
|
|
443
|
+
--expo-theme-palette-pink-600: #f77ebd;
|
|
444
|
+
--expo-theme-palette-pink-700: #ff9bce;
|
|
445
|
+
--expo-theme-palette-pink-800: #ffbedd;
|
|
446
|
+
--expo-theme-palette-pink-900: #ffcfe6;
|
|
447
|
+
--expo-theme-palette-purple-000: #2b1d47;
|
|
448
|
+
--expo-theme-palette-purple-100: #3c2563;
|
|
449
|
+
--expo-theme-palette-purple-200: #553096;
|
|
450
|
+
--expo-theme-palette-purple-300: #6e40c9;
|
|
451
|
+
--expo-theme-palette-purple-400: #8957e5;
|
|
452
|
+
--expo-theme-palette-purple-500: #a371f7;
|
|
453
|
+
--expo-theme-palette-purple-600: #bc8cff;
|
|
454
|
+
--expo-theme-palette-purple-700: #d2a8ff;
|
|
455
|
+
--expo-theme-palette-purple-800: #e2c5ff;
|
|
456
|
+
--expo-theme-palette-purple-900: #e9d6ff;
|
|
457
|
+
--expo-theme-palette-white: #ffffff;
|
|
458
|
+
--expo-theme-palette-black: #0d1117;
|
|
459
|
+
--expo-theme-background-default: var(--expo-color-base-dark-gray-100);
|
|
258
460
|
--expo-theme-background-canvas: var(--expo-color-base-dark-gray-100);
|
|
461
|
+
--expo-theme-background-screen: var(--expo-color-base-dark-gray-000);
|
|
259
462
|
--expo-theme-background-secondary: var(--expo-color-base-dark-gray-200);
|
|
260
463
|
--expo-theme-background-tertiary: var(--expo-color-base-dark-gray-300);
|
|
261
464
|
--expo-theme-background-quaternary: var(--expo-color-base-dark-gray-400);
|
|
@@ -265,7 +468,7 @@
|
|
|
265
468
|
--expo-theme-background-overlay: var(--expo-color-base-dark-gray-100);
|
|
266
469
|
--expo-theme-border-default: var(--expo-color-base-dark-gray-400);
|
|
267
470
|
--expo-theme-border-error: var(--expo-color-base-dark-red-200);
|
|
268
|
-
--expo-theme-border-warning: var(--expo-color-base-dark-yellow-
|
|
471
|
+
--expo-theme-border-warning: var(--expo-color-base-dark-yellow-300);
|
|
269
472
|
--expo-theme-border-success: var(--expo-color-base-dark-green-200);
|
|
270
473
|
--expo-theme-button-primary-background: var(
|
|
271
474
|
--expo-color-base-dark-primary-500
|
|
@@ -296,7 +499,7 @@
|
|
|
296
499
|
--expo-theme-text-secondary: var(--expo-color-base-dark-gray-600);
|
|
297
500
|
--expo-theme-text-error: var(--expo-color-base-dark-red-600);
|
|
298
501
|
--expo-theme-text-warning: var(--expo-color-base-dark-yellow-900);
|
|
299
|
-
--expo-theme-text-success: var(--expo-color-base-dark-green-
|
|
502
|
+
--expo-theme-text-success: var(--expo-color-base-dark-green-700);
|
|
300
503
|
--expo-theme-code-keyword: var(--expo-color-base-dark-blue-600);
|
|
301
504
|
--expo-theme-code-builtin: var(--expo-color-base-dark-green-600);
|
|
302
505
|
--expo-theme-code-property: var(--expo-color-base-dark-red-600);
|
|
@@ -308,6 +511,15 @@
|
|
|
308
511
|
--expo-theme-code-before: var(--expo-color-base-dark-gray-400);
|
|
309
512
|
--expo-theme-highlight-accent: var(--expo-color-base-dark-primary-700);
|
|
310
513
|
--expo-theme-highlight-emphasis: var(--expo-color-base-dark-yellow-300);
|
|
514
|
+
--expo-theme-project-blue: linear-gradient(#537296, #395a80);
|
|
515
|
+
--expo-theme-project-green: linear-gradient(#4b7d56, #32633d);
|
|
516
|
+
--expo-theme-project-yellow: linear-gradient(#a67f35, #8a6319);
|
|
517
|
+
--expo-theme-project-orange: linear-gradient(#ab744d, #8c5731);
|
|
518
|
+
--expo-theme-project-red: linear-gradient(#b25656, #8c3838);
|
|
519
|
+
--expo-theme-project-pink: linear-gradient(#995c81, #8a4c71);
|
|
520
|
+
--expo-theme-project-purple: linear-gradient(#715c99, #4e3973);
|
|
521
|
+
|
|
522
|
+
/* Dark shadows */
|
|
311
523
|
--expo-theme-shadows-micro: 0 1px 3px rgba(0, 0, 0, 0.5),
|
|
312
524
|
0 1px 2px rgba(0, 0, 0, 0.4);
|
|
313
525
|
--expo-theme-shadows-tiny: 0 3px 6px rgba(0, 0, 0, 0.8),
|
package/dist/index.d.ts
CHANGED
|
@@ -6,5 +6,7 @@ import { theme, lightTheme, darkTheme } from './src/styles/themes';
|
|
|
6
6
|
import { BlockingSetInitialColorMode } from './src/components/BlockingSetInitialColorMode';
|
|
7
7
|
import { ThemeProvider, useTheme } from './src/components/ThemeProvider';
|
|
8
8
|
import { spacing } from './src/styles/spacing';
|
|
9
|
+
import { breakpoints } from './src/styles/breakpoints';
|
|
10
|
+
import { typography } from './src/styles/typography';
|
|
9
11
|
export * from './src/icons';
|
|
10
|
-
export { borderRadius, BlockingSetInitialColorMode, colors, darkTheme, iconSize, lightTheme, palette, shadows, spacing, theme, ThemeProvider, useTheme, };
|
|
12
|
+
export { borderRadius, BlockingSetInitialColorMode, breakpoints, colors, darkTheme, iconSize, lightTheme, palette, shadows, spacing, theme, ThemeProvider, typography, useTheme, };
|
package/dist/index.js
CHANGED
|
@@ -10,7 +10,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
10
10
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
11
|
};
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
exports.useTheme = exports.ThemeProvider = exports.theme = exports.spacing = exports.shadows = exports.palette = exports.lightTheme = exports.iconSize = exports.darkTheme = exports.colors = exports.BlockingSetInitialColorMode = exports.borderRadius = void 0;
|
|
13
|
+
exports.useTheme = exports.typography = exports.ThemeProvider = exports.theme = exports.spacing = exports.shadows = exports.palette = exports.lightTheme = exports.iconSize = exports.darkTheme = exports.colors = exports.breakpoints = exports.BlockingSetInitialColorMode = exports.borderRadius = void 0;
|
|
14
14
|
const legacy_colors_1 = require("./src/styles/legacy-colors");
|
|
15
15
|
Object.defineProperty(exports, "colors", { enumerable: true, get: function () { return legacy_colors_1.legacyColors; } });
|
|
16
16
|
const palette_1 = require("./src/styles/palette");
|
|
@@ -31,4 +31,8 @@ Object.defineProperty(exports, "ThemeProvider", { enumerable: true, get: functio
|
|
|
31
31
|
Object.defineProperty(exports, "useTheme", { enumerable: true, get: function () { return ThemeProvider_1.useTheme; } });
|
|
32
32
|
const spacing_1 = require("./src/styles/spacing");
|
|
33
33
|
Object.defineProperty(exports, "spacing", { enumerable: true, get: function () { return spacing_1.spacing; } });
|
|
34
|
+
const breakpoints_1 = require("./src/styles/breakpoints");
|
|
35
|
+
Object.defineProperty(exports, "breakpoints", { enumerable: true, get: function () { return breakpoints_1.breakpoints; } });
|
|
36
|
+
const typography_1 = require("./src/styles/typography");
|
|
37
|
+
Object.defineProperty(exports, "typography", { enumerable: true, get: function () { return typography_1.typography; } });
|
|
34
38
|
__exportStar(require("./src/icons"), exports);
|
|
@@ -231,4 +231,126 @@ export declare const darkTheme: {
|
|
|
231
231
|
accent: string;
|
|
232
232
|
emphasis: string;
|
|
233
233
|
};
|
|
234
|
+
project: {
|
|
235
|
+
blue: string;
|
|
236
|
+
green: string;
|
|
237
|
+
yellow: string;
|
|
238
|
+
orange: string;
|
|
239
|
+
red: string;
|
|
240
|
+
pink: string;
|
|
241
|
+
purple: string;
|
|
242
|
+
};
|
|
243
|
+
palette: {
|
|
244
|
+
gray: {
|
|
245
|
+
100: string;
|
|
246
|
+
200: string;
|
|
247
|
+
300: string;
|
|
248
|
+
400: string;
|
|
249
|
+
500: string;
|
|
250
|
+
600: string;
|
|
251
|
+
700: string;
|
|
252
|
+
800: string;
|
|
253
|
+
900: string;
|
|
254
|
+
1000: string;
|
|
255
|
+
'000': string;
|
|
256
|
+
};
|
|
257
|
+
primary: {
|
|
258
|
+
100: string;
|
|
259
|
+
200: string;
|
|
260
|
+
300: string;
|
|
261
|
+
400: string;
|
|
262
|
+
500: string;
|
|
263
|
+
600: string;
|
|
264
|
+
700: string;
|
|
265
|
+
800: string;
|
|
266
|
+
900: string;
|
|
267
|
+
'000': string;
|
|
268
|
+
};
|
|
269
|
+
blue: {
|
|
270
|
+
100: string;
|
|
271
|
+
200: string;
|
|
272
|
+
300: string;
|
|
273
|
+
400: string;
|
|
274
|
+
500: string;
|
|
275
|
+
600: string;
|
|
276
|
+
700: string;
|
|
277
|
+
800: string;
|
|
278
|
+
900: string;
|
|
279
|
+
'000': string;
|
|
280
|
+
};
|
|
281
|
+
green: {
|
|
282
|
+
100: string;
|
|
283
|
+
200: string;
|
|
284
|
+
300: string;
|
|
285
|
+
400: string;
|
|
286
|
+
500: string;
|
|
287
|
+
600: string;
|
|
288
|
+
700: string;
|
|
289
|
+
800: string;
|
|
290
|
+
900: string;
|
|
291
|
+
'000': string;
|
|
292
|
+
};
|
|
293
|
+
yellow: {
|
|
294
|
+
100: string;
|
|
295
|
+
200: string;
|
|
296
|
+
300: string;
|
|
297
|
+
400: string;
|
|
298
|
+
500: string;
|
|
299
|
+
600: string;
|
|
300
|
+
700: string;
|
|
301
|
+
800: string;
|
|
302
|
+
900: string;
|
|
303
|
+
'000': string;
|
|
304
|
+
};
|
|
305
|
+
orange: {
|
|
306
|
+
100: string;
|
|
307
|
+
200: string;
|
|
308
|
+
300: string;
|
|
309
|
+
400: string;
|
|
310
|
+
500: string;
|
|
311
|
+
600: string;
|
|
312
|
+
700: string;
|
|
313
|
+
800: string;
|
|
314
|
+
900: string;
|
|
315
|
+
'000': string;
|
|
316
|
+
};
|
|
317
|
+
red: {
|
|
318
|
+
100: string;
|
|
319
|
+
200: string;
|
|
320
|
+
300: string;
|
|
321
|
+
400: string;
|
|
322
|
+
500: string;
|
|
323
|
+
600: string;
|
|
324
|
+
700: string;
|
|
325
|
+
800: string;
|
|
326
|
+
900: string;
|
|
327
|
+
'000': string;
|
|
328
|
+
};
|
|
329
|
+
pink: {
|
|
330
|
+
100: string;
|
|
331
|
+
200: string;
|
|
332
|
+
300: string;
|
|
333
|
+
400: string;
|
|
334
|
+
500: string;
|
|
335
|
+
600: string;
|
|
336
|
+
700: string;
|
|
337
|
+
800: string;
|
|
338
|
+
900: string;
|
|
339
|
+
'000': string;
|
|
340
|
+
};
|
|
341
|
+
purple: {
|
|
342
|
+
100: string;
|
|
343
|
+
200: string;
|
|
344
|
+
300: string;
|
|
345
|
+
400: string;
|
|
346
|
+
500: string;
|
|
347
|
+
600: string;
|
|
348
|
+
700: string;
|
|
349
|
+
800: string;
|
|
350
|
+
900: string;
|
|
351
|
+
'000': string;
|
|
352
|
+
};
|
|
353
|
+
white: string;
|
|
354
|
+
black: string;
|
|
355
|
+
};
|
|
234
356
|
};
|