obss

0.0.0 • Public • Published

obss

npm version

A package for Object Based StyleS in css-in-js.

import { css, styled } from 'obss';

const titleClass = css({
  color: 'red'
})

// <h2 className={titleClass}>hello world</h2>

const Div = styled('div', {
  padding: '20px',
  'font-size': p => p.size || '20px',
}));

// <Div size={'32px'} />

Readme

Keywords

Package Sidebar

Install

npm i obss

Weekly Downloads

0

Version

0.0.0

License

MIT

Unpacked Size

19.1 kB

Total Files

10

Last publish

Collaborators

  • romellogoodman