snowpack-plugin-designspek

[Experiment] A Designspek preprocessor

Usage no npm install needed!

<script type="module">
  import snowpackPluginDesignspek from 'https://cdn.skypack.dev/snowpack-plugin-designspek';
</script>

README


snowpack-plugin-designspek

[Experiment] A Designspek Preprocessor: Atomized CSS
 

Types Codecov Build Status NPM Version MIT License

 

This plugin is originally created to be used within a Svelte project, but has future plans to be JS library/framework agnostic.

yarn add snowpack-plugin-designspek -D
# or
npm i snowpack-plugin-designspek --dev -D

Peer dependencies: svelte, snowpack, designpek.

Quick start

If starting a new project, tryout Create Snowpack App (CSA) using either:

  • @snowpack/app-template-svelte
  • @snowpack/app-template-svelte-typescript

Otherwise, after installing, update your snowpack config:

// snowpack.config.json
{
  "plugins": [["snowpack-plugin-designpek", { /* see "Plugin Options" below */ }]]
}

Plugin Options

  • [TODO]

LICENSE

MIT