@expo/styleguide-native 0.4.1 → 0.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/index.d.ts CHANGED
@@ -3,5 +3,6 @@ import { shadows } from './src/styles/shadows';
3
3
  import { lightTheme, darkTheme } from './src/styles/themes';
4
4
  import { iconSize, borderRadius } from './src/styles/sizing';
5
5
  import { spacing } from './src/styles/spacing';
6
+ import { breakpoints } from './src/styles/breakpoints';
6
7
  export * from './src/icons';
7
- export { borderRadius, darkTheme, iconSize, lightTheme, palette, shadows, spacing, };
8
+ export { borderRadius, breakpoints, darkTheme, iconSize, lightTheme, palette, shadows, spacing, };
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.spacing = exports.shadows = exports.palette = exports.lightTheme = exports.iconSize = exports.darkTheme = exports.borderRadius = void 0;
13
+ exports.spacing = exports.shadows = exports.palette = exports.lightTheme = exports.iconSize = exports.darkTheme = exports.breakpoints = exports.borderRadius = void 0;
14
14
  const palette_1 = require("./src/styles/palette");
15
15
  Object.defineProperty(exports, "palette", { enumerable: true, get: function () { return palette_1.palette; } });
16
16
  const shadows_1 = require("./src/styles/shadows");
@@ -23,4 +23,6 @@ Object.defineProperty(exports, "iconSize", { enumerable: true, get: function ()
23
23
  Object.defineProperty(exports, "borderRadius", { enumerable: true, get: function () { return sizing_1.borderRadius; } });
24
24
  const spacing_1 = require("./src/styles/spacing");
25
25
  Object.defineProperty(exports, "spacing", { enumerable: true, get: function () { return spacing_1.spacing; } });
26
+ const breakpoints_1 = require("./src/styles/breakpoints");
27
+ Object.defineProperty(exports, "breakpoints", { enumerable: true, get: function () { return breakpoints_1.breakpoints; } });
26
28
  __exportStar(require("./src/icons"), exports);
@@ -0,0 +1,5 @@
1
+ export declare const breakpoints: {
2
+ small: number;
3
+ medium: number;
4
+ large: number;
5
+ };
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.breakpoints = void 0;
4
+ exports.breakpoints = {
5
+ small: 400,
6
+ medium: 900,
7
+ large: 1200,
8
+ };
@@ -45,12 +45,12 @@ exports.palette = {
45
45
  100: '#ffebda',
46
46
  200: '#ffd1ac',
47
47
  300: '#ffab70',
48
- 400: '#fb8532',
49
- 500: '#f66a0a',
50
- 600: '#e36209',
51
- 700: '#d15704',
52
- 800: '#c24e00',
53
- 900: '#a04100',
48
+ 400: '#fb8e41',
49
+ 500: '#fa7c25',
50
+ 600: '#de6614',
51
+ 700: '#c45408',
52
+ 800: '#96430b',
53
+ 900: '#7a4018',
54
54
  },
55
55
  pink: {
56
56
  '000': '#ffeef8',
@@ -80,13 +80,13 @@ exports.palette = {
80
80
  '000': '#f9f7ff',
81
81
  100: '#ede9ff',
82
82
  200: '#d2cafd',
83
- 300: '#a89af9',
84
- 400: '#7f6df3',
83
+ 300: '#a193f9',
84
+ 400: '#664fff',
85
85
  500: '#4630eb',
86
- 600: '#3423ca',
87
- 700: '#2518a9',
88
- 800: '#190f88',
89
- 900: '#100970',
86
+ 600: '#3929c4',
87
+ 700: '#2e2496',
88
+ 800: '#261f73',
89
+ 900: '#221e5c',
90
90
  },
91
91
  red: {
92
92
  '000': '#fee',
@@ -104,12 +104,12 @@ exports.palette = {
104
104
  '000': '#fffdef',
105
105
  100: '#fffbdd',
106
106
  200: '#fff5b1',
107
- 300: '#ffea7f',
107
+ 300: '#ffeb87',
108
108
  400: '#ffdf5d',
109
109
  500: '#ffd33d',
110
- 600: '#f9c513',
111
- 700: '#dbab09',
112
- 800: '#b08800',
110
+ 600: '#f2c012',
111
+ 700: '#cfa108',
112
+ 800: '#9c7800',
113
113
  900: '#735c0f',
114
114
  },
115
115
  white: '#fff',
@@ -117,15 +117,15 @@ exports.palette = {
117
117
  },
118
118
  dark: {
119
119
  blue: {
120
- '000': '#051d4d',
121
- 100: '#0c2d6b',
122
- 200: '#0d419d',
123
- 300: '#1158c7',
124
- 400: '#1f6feb',
125
- 500: '#388bfd',
126
- 600: '#58a6ff',
127
- 700: '#79c0ff',
128
- 800: '#a5d6ff',
120
+ '000': '#122447',
121
+ 100: '#173366',
122
+ 200: '#1e4894',
123
+ 300: '#2362c4',
124
+ 400: '#2d73e0',
125
+ 500: '#4794fd',
126
+ 600: '#61abff',
127
+ 700: '#8fcaff',
128
+ 800: '#addaff',
129
129
  900: '#cae8ff',
130
130
  },
131
131
  gray: {
@@ -142,88 +142,88 @@ exports.palette = {
142
142
  1000: '#fdfdfe',
143
143
  },
144
144
  green: {
145
- '000': '#04260f',
146
- 100: '#033a16',
147
- 200: '#0f5323',
148
- 300: '#196c2e',
149
- 400: '#238636',
150
- 500: '#2ea043',
151
- 600: '#3fb950',
152
- 700: '#56d364',
153
- 800: '#7ee787',
154
- 900: '#aff5b4',
145
+ '000': '#1a2b20',
146
+ 100: '#1d3b27',
147
+ 200: '#255232',
148
+ 300: '#256936',
149
+ 400: '#2e853f',
150
+ 500: '#38a04b',
151
+ 600: '#4ab959',
152
+ 700: '#65d372',
153
+ 800: '#8ae592',
154
+ 900: '#b9f0bd',
155
155
  },
156
156
  orange: {
157
- '000': '#3d1300',
158
- 100: '#5a1e02',
159
- 200: '#762d0a',
160
- 300: '#9b4215',
161
- 400: '#bd561d',
162
- 500: '#db6d28',
163
- 600: '#f0883e',
164
- 700: '#ffa657',
165
- 800: '#ffc680',
166
- 900: '#ffdfb6',
157
+ '000': '#2e1e17',
158
+ 100: '#472a1d',
159
+ 200: '#66361f',
160
+ 300: '#8f4824',
161
+ 400: '#ad5a2b',
162
+ 500: '#d67233',
163
+ 600: '#eb853d',
164
+ 700: '#f5a35b',
165
+ 800: '#fcc279',
166
+ 900: '#fcd49f',
167
167
  },
168
168
  pink: {
169
- '000': '#42062a',
170
- 100: '#5e103e',
171
- 200: '#7d2457',
172
- 300: '#9e3670',
169
+ '000': '#3d182f',
170
+ 100: '#571e40',
171
+ 200: '#782a57',
172
+ 300: '#9c356e',
173
173
  400: '#bf4b8a',
174
- 500: '#db61a2',
175
- 600: '#f778ba',
174
+ 500: '#de62a4',
175
+ 600: '#f77ebd',
176
176
  700: '#ff9bce',
177
177
  800: '#ffbedd',
178
- 900: '#ffdaec',
178
+ 900: '#ffcfe6',
179
179
  },
180
180
  primary: {
181
- '000': '#0c0752',
182
- 100: '#0f0869',
183
- 200: '#190f88',
184
- 300: '#2518a9',
185
- 400: '#3423ca',
186
- 500: '#4630eb',
187
- 600: '#7464de',
188
- 700: '#9c90e8',
181
+ '000': '#1b183d',
182
+ 100: '#201d52',
183
+ 200: '#2a2375',
184
+ 300: '#342a9c',
185
+ 400: '#4436c7',
186
+ 500: '#5c49eb',
187
+ 600: '#7766e8',
188
+ 700: '#a498ed',
189
189
  800: '#c9c2f2',
190
190
  900: '#e4e0f5',
191
191
  },
192
192
  purple: {
193
- '000': '#271052',
194
- 100: '#3c1e70',
195
- 200: '#553098',
193
+ '000': '#2b1d47',
194
+ 100: '#3c2563',
195
+ 200: '#553096',
196
196
  300: '#6e40c9',
197
197
  400: '#8957e5',
198
198
  500: '#a371f7',
199
199
  600: '#bc8cff',
200
200
  700: '#d2a8ff',
201
201
  800: '#e2c5ff',
202
- 900: '#eddeff',
202
+ 900: '#e9d6ff',
203
203
  },
204
204
  red: {
205
- '000': '#490202',
206
- 100: '#67060c',
207
- 200: '#8e1519',
208
- 300: '#b6231e',
209
- 400: '#d92a2b',
210
- 500: '#f85149',
211
- 600: '#ff7b72',
212
- 700: '#ffa198',
213
- 800: '#ffc1ba',
214
- 900: '#ffdcd7',
205
+ '000': '#3d1515',
206
+ 100: '#541c1f',
207
+ 200: '#732225',
208
+ 300: '#962926',
209
+ 400: '#bd3939',
210
+ 500: '#e0514a',
211
+ 600: '#f76f65',
212
+ 700: '#ff8d82',
213
+ 800: '#ffb1a8',
214
+ 900: '#ffd2cc',
215
215
  },
216
216
  yellow: {
217
- '000': '#342400',
218
- 100: '#4b3200',
219
- 200: '#694600',
220
- 300: '#845a06',
221
- 400: '#9e6a03',
222
- 500: '#bb8009',
223
- 600: '#d29922',
224
- 700: '#e3b341',
225
- 800: '#f2cc60',
226
- 900: '#f8e3a1',
217
+ '000': '#30250a',
218
+ 100: '#473510',
219
+ 200: '#664b14',
220
+ 300: '#856018',
221
+ 400: '#a3751a',
222
+ 500: '#bf8a1f',
223
+ 600: '#d4a035',
224
+ 700: '#e8bb51',
225
+ 800: '#f2d06d',
226
+ 900: '#fae296',
227
227
  },
228
228
  white: '#fff',
229
229
  black: '#0d1117',
@@ -2,6 +2,7 @@ export declare const lightTheme: {
2
2
  background: {
3
3
  default: string;
4
4
  canvas: string;
5
+ screen: string;
5
6
  secondary: string;
6
7
  tertiary: string;
7
8
  quaternary: string;
@@ -75,11 +76,21 @@ export declare const lightTheme: {
75
76
  accent: string;
76
77
  emphasis: string;
77
78
  };
79
+ project: {
80
+ blue: string;
81
+ green: string;
82
+ yellow: string;
83
+ orange: string;
84
+ red: string;
85
+ pink: string;
86
+ purple: string;
87
+ };
78
88
  };
79
89
  export declare const darkTheme: {
80
90
  background: {
81
91
  default: string;
82
92
  canvas: string;
93
+ screen: string;
83
94
  secondary: string;
84
95
  tertiary: string;
85
96
  quaternary: string;
@@ -153,4 +164,13 @@ export declare const darkTheme: {
153
164
  accent: string;
154
165
  emphasis: string;
155
166
  };
167
+ project: {
168
+ blue: string;
169
+ green: string;
170
+ yellow: string;
171
+ orange: string;
172
+ red: string;
173
+ pink: string;
174
+ purple: string;
175
+ };
156
176
  };
@@ -6,6 +6,7 @@ exports.lightTheme = {
6
6
  background: {
7
7
  default: palette_1.palette.light.white,
8
8
  canvas: palette_1.palette.light.gray['000'],
9
+ screen: palette_1.palette.light.gray[100],
9
10
  secondary: palette_1.palette.light.gray[100],
10
11
  tertiary: palette_1.palette.light.gray[200],
11
12
  quaternary: palette_1.palette.light.gray[300],
@@ -79,11 +80,21 @@ exports.lightTheme = {
79
80
  accent: palette_1.palette.light.primary[300],
80
81
  emphasis: palette_1.palette.light.yellow[300],
81
82
  },
83
+ project: {
84
+ blue: '#6299d9',
85
+ green: '#54a767',
86
+ yellow: '#e5c145',
87
+ orange: '#d9864c',
88
+ red: '#d95757',
89
+ pink: '#d977b2',
90
+ purple: '#8a66cc',
91
+ },
82
92
  };
83
93
  exports.darkTheme = {
84
94
  background: {
85
95
  default: palette_1.palette.dark.gray['000'],
86
96
  canvas: palette_1.palette.dark.gray[100],
97
+ screen: palette_1.palette.dark.gray['000'],
87
98
  secondary: palette_1.palette.dark.gray[200],
88
99
  tertiary: palette_1.palette.dark.gray[300],
89
100
  quaternary: palette_1.palette.dark.gray[400],
@@ -157,4 +168,13 @@ exports.darkTheme = {
157
168
  accent: palette_1.palette.dark.primary[700],
158
169
  emphasis: palette_1.palette.dark.yellow[300],
159
170
  },
171
+ project: {
172
+ blue: '#395a80',
173
+ green: '#32633d',
174
+ yellow: '#8a6319',
175
+ orange: '#8c5731',
176
+ red: '#8c3838',
177
+ pink: '#8a4c71',
178
+ purple: '#4e3973',
179
+ },
160
180
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expo/styleguide-native",
3
- "version": "0.4.1",
3
+ "version": "0.4.2-alpha.0",
4
4
  "description": "Foundational styles for Expo interfaces.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -33,5 +33,5 @@
33
33
  "react": "*",
34
34
  "react-native-svg": "*"
35
35
  },
36
- "gitHead": "729f74893412c374f7e953da8f3ee981bdf2c0b6"
36
+ "gitHead": "c90b726d5511e0f6600290c63c85420b7ed629c2"
37
37
  }