Skip to content

romellogoodman/jstyles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jstyles

npm version

import { css, styled } from 'jstyles';

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 css-in-js package.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published