Miss any of our Open RFC calls?Watch the recordings here! »

fela-base

0.1.0 • Public • Published

Fela Preset & Rules

Fela Base consists of a preset config and a collection of rules.

Installation

yarn add fela fela-base

Setup

import { createRenderer } from "fela"
import { createConfig } from "fela-base"
 
const config = createConfig()
const renderer = createRenderer(config)
 
const rule = ({ size = 100 }) => ({ size })
 
renderer.renderRule(rule, { size: 50 })

Author

Matthew Wagerfield

License

MIT

Install

npm i fela-base

DownloadsWeekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

28 kB

Total Files

53

Last publish

Collaborators

  • avatar