1.0.0 • Published 5 years ago
styled-ress v1.0.0
styled-ress
ress CSS library for styled-components.
The original ress.css
is pulled from filipelinhares/ress.css, and parsed into styled ready format.
Innstall
npm install --save styled-ress
Usage
This is just usage example
import React from 'react';
import { Ress } from 'styled-ress';
const App = () => (
<>
<Ress />
<Component />
</>
);
Also you can use injectGlobal
API:
import ress from 'styled-ress';
import { injectGlobal } from 'styled-components';
injectGlobal`
${ress}
// You can continue writing global styles
body {
margin: 0;
}
`;
License
The MIT License