colonial
v0.0.1-alpha.2
Published
Old fashioned CSS-in-JS
Downloads
7
Readme
colonial
Old fashioned CSS-in-JS.
Getting Started
yarn add colonial
Usage
Pass a template string literal to the css
function.
Pass an object to the style
function.
import { css, style } from "colonial";
const h1 = css`
font-size: 2rem;
`;
const h2 = style({
fontSize: "1.5rem",
});