Skip to content

Commit f09e7ee

Browse files
author
Aleksandra Sikora
committed
add @theme-ui/css to dependencies
1 parent 5118572 commit f09e7ee

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

packages/docs/src/components/presets-demo.js

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,30 +24,27 @@ export default () => {
2424
<Helmet>
2525
<link
2626
rel="stylesheet"
27-
href="https://fonts.googleapis.com/css?family=Montserrat:400,700|Poppins:400,700,900|Roboto:400,600"
27+
href="https://fonts.googleapis.com/css?family=Montserrat:400,700|Poppins:400,700,900|Roboto:400,600|Architects+Daughter"
2828
/>
2929
</Helmet>
3030
<div
3131
sx={{
3232
'*': {
3333
transition: 'all .2s ease-out',
3434
},
35-
}}
36-
>
35+
}}>
3736
<label
3837
sx={{
3938
display: 'block',
4039
mb: 4,
41-
}}
42-
>
40+
}}>
4341
Preset:{' '}
4442
<Select
4543
value={theme}
46-
onChange={e => {
44+
onChange={(e) => {
4745
setTheme(e.target.value)
48-
}}
49-
>
50-
{Object.keys(presets).map(key => (
46+
}}>
47+
{Object.keys(presets).map((key) => (
5148
<option key={key} children={key} />
5249
))}
5350
</Select>
@@ -64,8 +61,7 @@ export default () => {
6461
fontFamily="heading"
6562
fontWeight="heading"
6663
lineHeight="heading"
67-
fontSize={7}
68-
>
64+
fontSize={7}>
6965
Heading: <FontFamily name="heading" />
7066
</HeadingStyle>
7167
<Styled.h2>Type Scale</Styled.h2>

packages/preset-sketchy/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,8 @@
1313
},
1414
"publishConfig": {
1515
"access": "public"
16+
},
17+
"dependencies": {
18+
"@theme-ui/css": "0.4.0-alpha.1"
1619
}
1720
}

0 commit comments

Comments
 (0)