Skip to content

Commit 5c13bd1

Browse files
committed
refactor(@theme-ui/core): stop depending on styled-system
1 parent 00f811e commit 5c13bd1

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

packages/core/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
"dependencies": {
2020
"@emotion/core": "^10.0.0",
2121
"@theme-ui/css": "^0.3.1",
22-
"@types/styled-system": "^5.1.6",
23-
"@types/styled-system__css": "^5.0.4",
2422
"deepmerge": "^4.2.2"
2523
},
2624
"peerDependencies": {

packages/core/src/react-jsx.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { SxProps } from './theme'
1+
import { SxProps } from './types'
22

33
declare module 'react' {
44
// tslint:disable-next-line: no-empty-interface

packages/core/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { SystemStyleObject } from '@styled-system/css'
1+
import { SystemStyleObject } from '@theme-ui/css'
22

33
/**
44
* The `sx` prop accepts a `SxStyleProp` object and properties that are part of

0 commit comments

Comments
 (0)