colonial
TypeScript icon, indicating that this package has built-in type declarations

0.0.1-alpha.2 • Public • Published

colonial

NPM Build

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

MIT

Package Sidebar

Install

npm i colonial

Weekly Downloads

1

Version

0.0.1-alpha.2

License

MIT

Unpacked Size

4.99 kB

Total Files

7

Last publish

Collaborators

  • metonym