aesthetic-adapter-css-modules

CSS modules support for Aesthetic.

Usage no npm install needed!

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

README

Aesthetic with CSS Modules

Build Status npm version npm deps

Provides CSS Modules support for Aesthetic, a React styling library.

import aesthetic from 'aesthetic';
import CSSModulesAdapter from 'aesthetic-adapter-css-modules';

aesthetic.configure({
  adapter: new CSSModulesAdapter(),
});

Requirements

  • Aesthetic
  • CSS Modules

Installation

yarn add aesthetic aesthetic-adapter-css-modules
// Or
npm install aesthetic aesthetic-adapter-css-modules

Documentation

https://milesj.gitbook.io/aesthetic/adapters/css-modules