Skip to content

jacklorusso/sheety

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sheety
sheety

yarn add sheety

Usage

Sheety works with any framework, but this example uses React.

import React from 'react';
import css from 'sheety';

const className = css`
  font-size: 6em;
  color: #333;
  text-align: center;
`;

const Title = props => {
  return (
    <h1 className={className}>sheety example 💩</h1>
  )
};

export default Title;

Credit

sheety was bootstrapped following Kyle Hohenberger's article Writing A CSS-in-JS Library From Scratch. It's definitely an interesting exercise for anyone who is interested in CSS-in-JS and wants to learn more.

Looking for a more powerful solution? Check out compiled.

About

Simple CSS-in-JS solution 💩

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published