An open API service indexing awesome lists of open source software.

https://github.com/hamlim/layout-primitives

A few (opinionated) styled defaults for layout built with React and Emotion 👨‍🎤
https://github.com/hamlim/layout-primitives

emotion layout react

Last synced: 2 months ago
JSON representation

A few (opinionated) styled defaults for layout built with React and Emotion 👨‍🎤

Awesome Lists containing this project

README

          

# Layout Primitives built using Emotion and React

## Implementation:

1. `yarn add layout-primitives emotion`
2. Add emotion to `.babelrc`
3. Add the `ThemeProvider` at the top level of your app, with the theme function from `utils`
4. Make awesome things

## Usage:

```Javascript

import { ThemeProvider } from 'emotion/react';
import { Container, makeTheme } from 'layout-primitives';

const App = () => (


Hello World




);
```