aesthetic-adapter-jss

JSS support for Aesthetic.

Usage no npm install needed!

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

README

Aesthetic with JSS

Build Status npm version npm deps

Provides JSS support for Aesthetic, a React styling library.

import aesthetic from 'aesthetic';
import JSSAdapter from 'aesthetic-adapter-jss';
import { create } from 'jss';
import preset from 'jss-preset-default';

aesthetic.configure({
  adapter: new JSSAdapter(create(preset())),
});

Requirements

  • Aesthetic
  • JSS

Installation

yarn add aesthetic aesthetic-adapter-jss jss jss-nested
// Or
npm install aesthetic aesthetic-adapter-jss jss jss-nested

The jss-nested plugin is required.

Documentation

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