Skip to content

Commit e10e882

Browse files
committed
Merge branch 'master' into next-core-mdx
2 parents 9eaf514 + 6a685c5 commit e10e882

File tree

33 files changed

+173
-46
lines changed

33 files changed

+173
-46
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
- The `@theme-ui/editor` API has changed significantly. See the README.md for more information.
1919

2020
- `@theme-ui/components`: on Grid component, allow custom `columns` definitions via strings #541
21+
- Adds `@theme-ui/preset-polaris` #567
22+
- Adjusts default font stack in presets #568
2123

2224
## v0.2.53 2019-12-19
2325

examples/create-react-app/src/theme.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ export default {
66
secondary: '#609',
77
},
88
fonts: {
9-
body: 'system-ui, sans-serif',
9+
body:
10+
'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif',
1011
heading: 'inherit',
1112
},
1213
styles: {

examples/custom-pragma/src/theme.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ export default {
66
secondary: '#609',
77
},
88
fonts: {
9-
body: 'system-ui, sans-serif',
9+
body:
10+
'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif',
1011
heading: 'inherit',
1112
monospace: 'Menlo, monospace',
1213
},

examples/dark-mode/src/theme.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ export default {
1414
},
1515
},
1616
fonts: {
17-
body: 'system-ui, sans-serif',
17+
body:
18+
'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif',
1819
heading: 'inherit',
1920
},
2021
lineHeights: {

examples/gatsby-plugin/src/gatsby-plugin-theme-ui/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ export default {
88
secondary: '#609',
99
},
1010
fonts: {
11-
body: 'system-ui, sans-serif',
11+
body:
12+
'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif',
1213
heading: 'inherit',
1314
},
1415
lineHeights: {

examples/gatsby/src/theme.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ export default {
66
secondary: '#609',
77
},
88
fonts: {
9-
body: 'system-ui, sans-serif',
9+
body:
10+
'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif',
1011
heading: 'inherit',
1112
},
1213
styles: {

examples/next/src/theme.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ export default {
1515
},
1616
},
1717
fonts: {
18-
body: 'system-ui, sans-serif',
18+
body:
19+
'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif',
1920
heading: 'inherit',
2021
},
2122
styles: {

examples/prism/src/theme.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ export default {
77
lightgray: '#fafafa',
88
},
99
fonts: {
10-
body: 'system-ui, sans-serif',
10+
body:
11+
'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif',
1112
heading: 'inherit',
1213
monospace: 'Menlo, monospace',
1314
},

packages/chrome/src/theme.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ export default {
2424
},
2525
fontSizes: [12, 14, 16, 20, 24, 32, 48, 64, 96, 128],
2626
fonts: {
27-
body: 'system-ui, sans-serif',
27+
body:
28+
'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif',
2829
heading: 'inherit',
2930
monospace: 'Menlo, monospace',
3031
},

packages/custom-properties/test/__snapshots__/test.js.snap

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ Object {
1010
"--color-primary": "#07c",
1111
"--color-secondary": "#05a",
1212
"--color-text": "#000",
13-
"--font-body": "system-ui, sans-serif",
14-
"--font-heading": "system-ui, sans-serif",
13+
"--font-body": "system-ui, -apple-system, BlinkMacSystemFont, \\"Segoe UI\\", Roboto, \\"Helvetica Neue\\", sans-serif",
14+
"--font-heading": "system-ui, -apple-system, BlinkMacSystemFont, \\"Segoe UI\\", Roboto, \\"Helvetica Neue\\", sans-serif",
1515
"--font-monospace": "Menlo, monospace",
1616
"--fontWeight-body": 400,
1717
"--fontWeight-bold": 700,
@@ -41,8 +41,8 @@ Object {
4141
"--🍭-color-primary": "#07c",
4242
"--🍭-color-secondary": "#05a",
4343
"--🍭-color-text": "#000",
44-
"--🍭-font-body": "system-ui, sans-serif",
45-
"--🍭-font-heading": "system-ui, sans-serif",
44+
"--🍭-font-body": "system-ui, -apple-system, BlinkMacSystemFont, \\"Segoe UI\\", Roboto, \\"Helvetica Neue\\", sans-serif",
45+
"--🍭-font-heading": "system-ui, -apple-system, BlinkMacSystemFont, \\"Segoe UI\\", Roboto, \\"Helvetica Neue\\", sans-serif",
4646
"--🍭-font-monospace": "Menlo, monospace",
4747
"--🍭-fontWeight-body": 400,
4848
"--🍭-fontWeight-bold": 700,

0 commit comments

Comments
 (0)