aesthetic-adapter-fela
TypeScript icon, indicating that this package has built-in type declarations

5.1.4 • Public • Published

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

/aesthetic-adapter-fela/

    Package Sidebar

    Install

    npm i aesthetic-adapter-fela

    Weekly Downloads

    2

    Version

    5.1.4

    License

    MIT

    Unpacked Size

    19.3 kB

    Total Files

    12

    Last publish

    Collaborators

    • milesj