@expo/styleguide 4.0.0 → 4.0.1

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.
@@ -1,15 +1,15 @@
1
1
  :root {
2
2
  /* Light palette */
3
3
  --expo-color-base-light-gray-000: #fdfdfe;
4
- --expo-color-base-light-gray-100: #f8f8fa;
4
+ --expo-color-base-light-gray-100: #f8f9fa;
5
5
  --expo-color-base-light-gray-200: #f0f1f2;
6
6
  --expo-color-base-light-gray-300: #e1e4e8;
7
7
  --expo-color-base-light-gray-400: #d1d5da;
8
- --expo-color-base-light-gray-500: #9b9fa3;
8
+ --expo-color-base-light-gray-500: #9b9ea3;
9
9
  --expo-color-base-light-gray-600: #6c737c;
10
- --expo-color-base-light-gray-700: #596068;
11
- --expo-color-base-light-gray-800: #464d55;
12
- --expo-color-base-light-gray-900: #30363c;
10
+ --expo-color-base-light-gray-700: #595f68;
11
+ --expo-color-base-light-gray-800: #464c55;
12
+ --expo-color-base-light-gray-900: #30353c;
13
13
  --expo-color-base-light-gray-1000: #25292e;
14
14
  --expo-color-base-light-primary-000: #f9f7ff;
15
15
  --expo-color-base-light-primary-100: #ede9ff;
@@ -95,17 +95,17 @@
95
95
  --expo-color-base-light-black: #1b1f23;
96
96
 
97
97
  /* Dark palette */
98
- --expo-color-base-dark-gray-000: #0d1117;
99
- --expo-color-base-dark-gray-100: #161b22;
100
- --expo-color-base-dark-gray-200: #21262d;
101
- --expo-color-base-dark-gray-300: #30363d;
102
- --expo-color-base-dark-gray-400: #484f58;
103
- --expo-color-base-dark-gray-500: #6e7681;
104
- --expo-color-base-dark-gray-600: #8b949e;
105
- --expo-color-base-dark-gray-700: #b1bac4;
106
- --expo-color-base-dark-gray-800: #c9d1d9;
107
- --expo-color-base-dark-gray-900: #f0f6fc;
108
- --expo-color-base-dark-gray-1000: #fdfdfe;
98
+ --expo-color-base-dark-gray-000: #0b0f13;
99
+ --expo-color-base-dark-gray-100: #14191f;
100
+ --expo-color-base-dark-gray-200: #1c2026;
101
+ --expo-color-base-dark-gray-300: #262a31;
102
+ --expo-color-base-dark-gray-400: #32373e;
103
+ --expo-color-base-dark-gray-500: #49505a;
104
+ --expo-color-base-dark-gray-600: #737b87;
105
+ --expo-color-base-dark-gray-700: #9ba4b0;
106
+ --expo-color-base-dark-gray-800: #bcc3cd;
107
+ --expo-color-base-dark-gray-900: #e0e4eb;
108
+ --expo-color-base-dark-gray-1000: #f0f2f5;
109
109
  --expo-color-base-dark-primary-000: #1b183d;
110
110
  --expo-color-base-dark-primary-100: #201d52;
111
111
  --expo-color-base-dark-primary-200: #2a2375;
@@ -191,15 +191,15 @@
191
191
 
192
192
  /* Light theme */
193
193
  --expo-theme-palette-gray-000: #fdfdfe;
194
- --expo-theme-palette-gray-100: #f8f8fa;
194
+ --expo-theme-palette-gray-100: #f8f9fa;
195
195
  --expo-theme-palette-gray-200: #f0f1f2;
196
196
  --expo-theme-palette-gray-300: #e1e4e8;
197
197
  --expo-theme-palette-gray-400: #d1d5da;
198
- --expo-theme-palette-gray-500: #9b9fa3;
198
+ --expo-theme-palette-gray-500: #9b9ea3;
199
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;
200
+ --expo-theme-palette-gray-700: #595f68;
201
+ --expo-theme-palette-gray-800: #464c55;
202
+ --expo-theme-palette-gray-900: #30353c;
203
203
  --expo-theme-palette-gray-1000: #25292e;
204
204
  --expo-theme-palette-primary-000: #f9f7ff;
205
205
  --expo-theme-palette-primary-100: #ede9ff;
@@ -303,12 +303,18 @@
303
303
  --expo-theme-button-secondary-background: var(
304
304
  --expo-color-base-light-gray-200
305
305
  );
306
- --expo-theme-button-secondary-foreground: var(--expo-color-base-light-black);
307
- --expo-theme-button-tertiary-background: var(--expo-color-base-light-black);
308
- --expo-theme-button-tertiary-foreground: var(--expo-color-base-light-white);
306
+ --expo-theme-button-secondary-foreground: var(
307
+ --expo-color-base-light-gray-1000
308
+ );
309
+ --expo-theme-button-tertiary-background: var(
310
+ --expo-color-base-light-gray-1000
311
+ );
312
+ --expo-theme-button-tertiary-foreground: var(
313
+ --expo-color-base-light-gray-000
314
+ );
309
315
  --expo-theme-button-transparent-background: transparent;
310
316
  --expo-theme-button-transparent-foreground: var(
311
- --expo-color-base-light-black
317
+ --expo-color-base-light-gray-1000
312
318
  );
313
319
  --expo-theme-button-ghost-background: transparent;
314
320
  --expo-theme-button-ghost-foreground: var(--expo-color-base-light-gray-800);
@@ -321,7 +327,7 @@
321
327
  --expo-theme-status-warning: var(--expo-color-base-light-yellow-500);
322
328
  --expo-theme-status-success: var(--expo-color-base-light-green-500);
323
329
  --expo-theme-status-info: var(--expo-color-base-light-blue-500);
324
- --expo-theme-text-default: var(--expo-color-base-light-black);
330
+ --expo-theme-text-default: var(--expo-color-base-light-gray-1000);
325
331
  --expo-theme-text-secondary: var(--expo-color-base-light-gray-700);
326
332
  --expo-theme-text-error: var(--expo-color-base-light-red-600);
327
333
  --expo-theme-text-warning: var(--expo-color-base-light-yellow-900);
@@ -362,17 +368,17 @@
362
368
 
363
369
  [data-expo-theme='dark'] {
364
370
  /* Dark theme */
365
- --expo-theme-palette-gray-000: #0d1117;
366
- --expo-theme-palette-gray-100: #161b22;
367
- --expo-theme-palette-gray-200: #21262d;
368
- --expo-theme-palette-gray-300: #30363d;
369
- --expo-theme-palette-gray-400: #484f58;
370
- --expo-theme-palette-gray-500: #6e7681;
371
- --expo-theme-palette-gray-600: #8b949e;
372
- --expo-theme-palette-gray-700: #b1bac4;
373
- --expo-theme-palette-gray-800: #c9d1d9;
374
- --expo-theme-palette-gray-900: #f0f6fc;
375
- --expo-theme-palette-gray-1000: #fdfdfe;
371
+ --expo-theme-palette-gray-000: #0b0f13;
372
+ --expo-theme-palette-gray-100: #14191f;
373
+ --expo-theme-palette-gray-200: #1c2026;
374
+ --expo-theme-palette-gray-300: #262a31;
375
+ --expo-theme-palette-gray-400: #32373e;
376
+ --expo-theme-palette-gray-500: #49505a;
377
+ --expo-theme-palette-gray-600: #737b87;
378
+ --expo-theme-palette-gray-700: #9ba4b0;
379
+ --expo-theme-palette-gray-800: #bcc3cd;
380
+ --expo-theme-palette-gray-900: #e0e4eb;
381
+ --expo-theme-palette-gray-1000: #f0f2f5;
376
382
  --expo-theme-palette-primary-000: #1b183d;
377
383
  --expo-theme-palette-primary-100: #201d52;
378
384
  --expo-theme-palette-primary-200: #2a2375;
@@ -454,7 +460,7 @@
454
460
  --expo-theme-palette-purple-800: #e2c5ff;
455
461
  --expo-theme-palette-purple-900: #e9d6ff;
456
462
  --expo-theme-palette-white: #ffffff;
457
- --expo-theme-palette-black: #0d1117;
463
+ --expo-theme-palette-black: var(--expo-color-base-dark-gray-000);
458
464
  --expo-theme-background-default: var(--expo-color-base-dark-gray-100);
459
465
  --expo-theme-background-screen: var(--expo-color-base-dark-gray-000);
460
466
  --expo-theme-background-secondary: var(--expo-color-base-dark-gray-200);
@@ -463,7 +469,7 @@
463
469
  --expo-theme-background-error: var(--expo-color-base-dark-red-000);
464
470
  --expo-theme-background-warning: var(--expo-color-base-dark-yellow-000);
465
471
  --expo-theme-background-success: var(--expo-color-base-dark-green-000);
466
- --expo-theme-background-overlay: var(--expo-color-base-dark-gray-100);
472
+ --expo-theme-background-overlay: var(--expo-color-base-dark-gray-200);
467
473
  --expo-theme-border-default: var(--expo-color-base-dark-gray-400);
468
474
  --expo-theme-border-error: var(--expo-color-base-dark-red-200);
469
475
  --expo-theme-border-warning: var(--expo-color-base-dark-yellow-300);
@@ -475,9 +481,13 @@
475
481
  --expo-theme-button-secondary-background: var(
476
482
  --expo-color-base-dark-gray-300
477
483
  );
478
- --expo-theme-button-secondary-foreground: var(--expo-color-base-dark-white);
479
- --expo-theme-button-tertiary-foreground: var(--expo-color-base-dark-black);
480
- --expo-theme-button-tertiary-background: var(--expo-color-base-dark-gray-900);
484
+ --expo-theme-button-secondary-foreground: var(
485
+ --expo-color-base-dark-gray-800
486
+ );
487
+ --expo-theme-button-tertiary-foreground: var(
488
+ --expo-color-base-dark-gray-1000
489
+ );
490
+ --expo-theme-button-tertiary-background: var(--expo-color-base-dark-gray-500);
481
491
  --expo-theme-button-transparent-background: transparent;
482
492
  --expo-theme-button-transparent-foreground: var(
483
493
  --expo-color-base-dark-gray-800
@@ -485,7 +495,7 @@
485
495
  --expo-theme-button-ghost-background: transparent;
486
496
  --expo-theme-button-ghost-foreground: var(--expo-color-base-dark-gray-800);
487
497
  --expo-theme-button-ghost-border: var(--expo-color-base-dark-gray-400);
488
- --expo-theme-icon-default: var(--expo-color-base-dark-gray-800);
498
+ --expo-theme-icon-default: var(--expo-color-base-dark-gray-700);
489
499
  --expo-theme-icon-secondary: var(--expo-color-base-dark-gray-600);
490
500
  --expo-theme-link-default: var(--expo-color-base-dark-primary-700);
491
501
  --expo-theme-status-default: var(--expo-color-base-dark-gray-400);
@@ -494,7 +504,7 @@
494
504
  --expo-theme-status-success: var(--expo-color-base-dark-green-500);
495
505
  --expo-theme-status-info: var(--expo-color-base-dark-blue-500);
496
506
  --expo-theme-text-default: var(--expo-color-base-dark-gray-800);
497
- --expo-theme-text-secondary: var(--expo-color-base-dark-gray-600);
507
+ --expo-theme-text-secondary: var(--expo-color-base-dark-gray-700);
498
508
  --expo-theme-text-error: var(--expo-color-base-dark-red-600);
499
509
  --expo-theme-text-warning: var(--expo-color-base-dark-yellow-900);
500
510
  --expo-theme-text-success: var(--expo-color-base-dark-green-700);
@@ -518,13 +528,13 @@
518
528
  --expo-theme-project-purple: linear-gradient(#715c99, #4e3973);
519
529
 
520
530
  /* Dark shadows */
521
- --expo-theme-shadows-micro: 0 1px 3px rgba(0, 0, 0, 0.5),
522
- 0 1px 2px rgba(0, 0, 0, 0.4);
523
- --expo-theme-shadows-tiny: 0 3px 6px rgba(0, 0, 0, 0.8),
524
- 0 2px 4px rgba(0, 0, 0, 0.5);
525
- --expo-theme-shadows-small: 0 10px 20px rgba(0, 0, 0, 0.9),
526
- 0 3px 6px rgba(0, 0, 0, 0.6);
527
- --expo-theme-shadows-medium: 0 15px 25px rgba(0, 0, 0, 0.95),
528
- 0 5px 10px rgba(0, 0, 0, 0.5);
529
- --expo-theme-shadows-large: 0 20px 40px rgba(0, 0, 0, 1);
531
+ --expo-theme-shadows-micro: 0 1px 3px rgba(0, 0, 0, 0.3),
532
+ 0 1px 2px rgba(0, 0, 0, 0.3);
533
+ --expo-theme-shadows-tiny: 0 3px 6px rgba(0, 0, 0, 0.4),
534
+ 0 2px 4px rgba(0, 0, 0, 0.25);
535
+ --expo-theme-shadows-small: 0 10px 20px rgba(0, 0, 0, 0.25),
536
+ 0 3px 6px rgba(0, 0, 0, 0.25);
537
+ --expo-theme-shadows-medium: 0 15px 25px rgba(0, 0, 0, 0.5),
538
+ 0 5px 10px rgba(0, 0, 0, 0.25);
539
+ --expo-theme-shadows-large: 0 20px 40px rgba(0, 0, 0, 0.5);
530
540
  }
@@ -8,6 +8,6 @@ function BuildIcon(props) {
8
8
  const { title = "Build-icon", size, color, width, height, titleId } = props;
9
9
  return (react_1.default.createElement("svg", Object.assign({ width: size || width || "20px", height: size || height || "20px", viewBox: "0 0 20 20", fill: "none", role: "img", "aria-labelledby": titleId }, props),
10
10
  title ? react_1.default.createElement("title", { id: titleId }, title) : null,
11
- react_1.default.createElement("path", { d: "M10 18.943V9.098m0 9.845L1.964 14.92V5.08M10 18.943l8.037-4.022V5.08M10 9.098L1.964 5.08M10 9.098l8.037-4.018m-16.073 0L10 1.057l8.037 4.023", stroke: color || "var(--expo-theme-icon-default)", strokeWidth: 1.85 })));
11
+ react_1.default.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M10 .023l8.962 4.485v10.984L10 19.977l-8.96-4.485V4.508L10 .023zM2.89 6.576v7.773l6.186 3.096V9.67L2.89 6.576zm8.036 3.093v7.776l6.186-3.096V6.576L10.925 9.67zm5.044-4.59L10 8.064 4.031 5.079l5.97-2.987 5.968 2.987z", fill: color || "var(--expo-theme-icon-default)" })));
12
12
  }
13
13
  exports.default = BuildIcon;
@@ -8,7 +8,7 @@ function InvoicesIcon(props) {
8
8
  const { title = "Invoices-icon", size, color, width, height, titleId, } = props;
9
9
  return (react_1.default.createElement("svg", Object.assign({ width: size || width || "20px", height: size || height || "20px", viewBox: "0 0 20 20", fill: "none", role: "img", "aria-labelledby": titleId }, props),
10
10
  title ? react_1.default.createElement("title", { id: titleId }, title) : null,
11
- react_1.default.createElement("path", { d: "M10.45 17.75l-.45-.27-.45.27-2.088 1.253-2.57-1.286-.484-.241-.433.324-1.767 1.325H2A1.125 1.125 0 01.875 18V3C.875 1.826 1.826.875 3 .875h14c1.174 0 2.125.951 2.125 2.125v15c0 .621-.504 1.125-1.125 1.125h-.208L16.025 17.8l-.433-.325-.483.242-2.57 1.286-2.089-1.253z", stroke: color || "var(--expo-theme-icon-default)", strokeWidth: 1.75 }),
12
- react_1.default.createElement("path", { d: "M4.444 5.183h11.112M4.444 7.88h11.112M4.444 10.813h9.226", stroke: color || "var(--expo-theme-icon-default)" })));
11
+ react_1.default.createElement("path", { d: "M.875 18.673V3C.875 1.826 1.826.875 3 .875h14c1.174 0 2.125.951 2.125 2.125v15.673l-2.28-.977-.373-.16-.363.181-2.637 1.319-3.127-1.34-.345-.148-.345.148-3.127 1.34-2.637-1.319-.363-.181-.373.16-2.28.977z", stroke: color || "var(--expo-theme-icon-default)", strokeWidth: 1.75 }),
12
+ react_1.default.createElement("path", { d: "M5.265 5.732h9.47M5.265 8.43h9.47m-9.47 2.933h6.123", stroke: color || "var(--expo-theme-icon-default)", strokeWidth: 1.5, strokeLinecap: "round" })));
13
13
  }
14
14
  exports.default = InvoicesIcon;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expo/styleguide",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "description": "Foundational styles for Expo interfaces.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -37,5 +37,5 @@
37
37
  "peerDependencies": {
38
38
  "react": "*"
39
39
  },
40
- "gitHead": "b66433e1fc551311023c6c5829a0d9cdb3bdcae7"
40
+ "gitHead": "a43ff0bf6249689c8dfb4ef8ce7fbd65ab5c24b5"
41
41
  }