Aesthetic with Fela
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
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