0.0.1-alpha.2 • Published 4 years ago
colonial v0.0.1-alpha.2
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",
});
License
0.0.1-alpha.2
4 years ago
0.0.1-alpha.1
5 years ago