aesthetic-adapter-fela

Fela support for Aesthetic.

Usage no npm install needed!

<script type="module">
  import aestheticAdapterFela from 'https://cdn.skypack.dev/aesthetic-adapter-fela';
</script>

README

Aesthetic with Fela

Build Status npm version npm deps

Provides Fela support for Aesthetic, a React styling library.

import aesthetic from 'aesthetic';
import FelaAdapter from 'aesthetic-adapter-fela';
import { createRenderer } from 'fela';
import webPreset from 'fela-preset-web';

aesthetic.configure({
  adapter: new FelaAdapter(createRenderer({ plugins: [...webPreset] })),
});

Requirements

  • Aesthetic
  • Fela

Installation

yarn add aesthetic aesthetic-adapter-fela fela fela-dom
// Or
npm install aesthetic aesthetic-adapter-fela fela fela-dom

Documentation

https://milesj.gitbook.io/aesthetic/adapters/fela