styled-ress
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i styled-ress

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

6.48 kB

Total Files

5

Last publish

Collaborators

  • tatsuyakmura