Skip to content

romellogoodman/obss

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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'} />

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published