From 29f50097fb713fe38a93ca70150414b1e9c48190 Mon Sep 17 00:00:00 2001 From: Guillermo Rauch Date: Wed, 19 Oct 2016 16:59:18 -0700 Subject: [PATCH] Update Readme.md --- Readme.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Readme.md b/Readme.md index 5b9fd139..dafdb70e 100644 --- a/Readme.md +++ b/Readme.md @@ -40,21 +40,24 @@ That means pages never load unneccessary code! ### CSS -We use [Aphrodite](https://github.com/Khan/aphrodite) to provide a great built-in solution for CSS modularization +We use [glamor](https://github.com/threepointone/glamor) to provide a great built-in solution for CSS isolation and modularization without trading off any CSS features ```jsx import React from 'react' -import { css, StyleSheet } from 'next/css' +import css from 'next/css' export default () => ( -
+
Hello world
) -const styles = StyleSheet.create({ +const style = css({ main: { background: 'red', + ':hover': { + background: 'gray' + } '@media (max-width: 600px)': { background: 'blue' }