diff --git a/Readme.md b/Readme.md index 6d292ec8..b0d55f4a 100644 --- a/Readme.md +++ b/Readme.md @@ -50,7 +50,7 @@ We use [glamor](https://github.com/threepointone/glamor) to provide a great buil ```jsx import React from 'react' -import style from 'next/css' +import css from 'next/css' export default () => (
@@ -58,15 +58,13 @@ export default () => (
) -const style = style({ - main: { - background: 'red', - ':hover': { - background: 'gray' - } - '@media (max-width: 600px)': { - background: 'blue' - } +const style = css({ + background: 'red', + ':hover': { + background: 'gray' + }, + '@media (max-width: 600px)': { + background: 'blue' } }) ```