Skip to content
This repository was archived by the owner on Jun 20, 2022. It is now read-only.

Commit 36daa92

Browse files
committed
refactor: use core-em instead of core-emotion
1 parent 44bc596 commit 36daa92

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

docs/basics/Emotion.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ By default Smooth UI uses [styled-components](http://styled-components.com/), bu
1010

1111
### Installation
1212

13-
Install `@smooth-ui/core-emotion`, `react-emotion` and `emotion-theming` from npm:
13+
Install `@smooth-ui/core-em`, `react-emotion` and `emotion-theming` from npm:
1414

15-
`npm install @smooth-ui/core-emotion react-emotion emotion-theming`
15+
`npm install @smooth-ui/core-em react-emotion emotion-theming`
1616

1717
### Usage
1818

19-
Import components from `@smooth-ui/core-emotion`.
19+
Import components from `@smooth-ui/core-em`.
2020

2121
```js
22-
import { Button } from '@smooth-ui/core-emotion'
22+
import { Button } from '@smooth-ui/core-em'
2323

2424
const App = () => (
2525
<Button variant="primary">Hello world!</Button>
@@ -34,7 +34,7 @@ Even if it is not required, is recommended to apply a global normalize before us
3434

3535
```js
3636
import { injectGlobal } from 'react-emotion'
37-
import { globalStyle } from '@smooth-ui/core-sc'
37+
import { globalStyle } from '@smooth-ui/core-em'
3838

3939
injectGlobal`${globalStyle}`
4040
```

scripts/pkg.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const pkg = require('../package.json')
33
const { STYLED_ENGINE } = process.env
44

55
const packageNames = {
6-
emotion: '@smooth-ui/core-emotion',
6+
emotion: '@smooth-ui/core-em',
77
'styled-components': '@smooth-ui/core-sc',
88
}
99

0 commit comments

Comments
 (0)