Skip to content

Commit eefe7fb

Browse files
committed
Remove instances of styled-system/css
1 parent 0ef49cb commit eefe7fb

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

packages/color/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"watch": "microbundle watch --no-compress"
99
},
1010
"dependencies": {
11-
"@styled-system/css": "^5.0.23",
11+
"@theme-ui/css": "^0.2.48",
1212
"polished": "^3.4.1"
1313
},
1414
"publishConfig": {

packages/color/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as P from 'polished'
2-
import { get } from '@styled-system/css'
2+
import { get } from '@theme-ui/css'
33

44
const g = (t, c) =>
55
get(t, `colors.${c}`, c)

packages/components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"@emotion/core": "^10.0.0",
1212
"@emotion/styled": "^10.0.0",
1313
"@styled-system/color": "^5.1.2",
14-
"@styled-system/css": "^5.0.23",
14+
"@theme-ui/css": "^0.2.48",
1515
"@styled-system/should-forward-prop": "^5.1.2",
1616
"@styled-system/space": "^5.1.2"
1717
},

packages/components/src/Box.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import styled from '@emotion/styled'
2-
import css, { get } from '@styled-system/css'
2+
import { css, get } from '@theme-ui/css'
33
import { createShouldForwardProp } from '@styled-system/should-forward-prop'
44
import space from '@styled-system/space'
55
import color from '@styled-system/color'

packages/match-media/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { useState, useEffect, useCallback } from 'react'
22
import { useThemeUI } from 'theme-ui'
33

4-
// Shared with @styled-system/css
4+
// Shared with @theme-ui/css
55
const defaultBreakpoints = [40, 52, 64].map(n => n + 'em')
66

77
export const useBreakpointIndex = (options = {}) => {

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3101,7 +3101,7 @@
31013101
dependencies:
31023102
object-assign "^4.1.1"
31033103

3104-
"@styled-system/css@^5.0.23", "@styled-system/css@^5.1.4":
3104+
"@styled-system/css@^5.1.4":
31053105
version "5.1.4"
31063106
resolved "https://registry.yarnpkg.com/@styled-system/css/-/css-5.1.4.tgz#fc51d0789a69b3831e00e6f8daf9f1d345eebdc3"
31073107
integrity sha512-79IFT37Kxb6dlbx/0hwIGOakNHkK5oU3cMypGziShnEK8WMgK/+vuAi4MHO7uLI+FZ5U8MGYvGY9Gtk0mBzxSg==

0 commit comments

Comments
 (0)