gwen

Utility-first CSS-in-JS styling library for maniacs

MIT License

Stars
4

Table of contents

Installation

To install the latest version:

npm install --save gwen
yarn add gwen

TypeScript versions

[email protected] is compatible with TypeScript 3.7+.

You must use "strict": true in your tsconfig.json! Otherwise you may get unexpected type errors.

Usage

import { Gwen } from 'gwen';

const gwen = new Gwen();

function Component() {
  return <p className={gwen.fontSize(14).color('blue').class}>Hello there</p>;
}

Changelog

version release notes
[email protected] Initial release