JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 16
  • Score
    100M100P100Q47127F
  • License WTFPL

Browser script to generate colors for Shiraha.

Package Exports

  • shiraha-colors
  • shiraha-colors/package.json

Readme

Shiraha Colors

Browser script to generate colors for Shiraha.

Usage

<script type="module" src="https://unpkg.com/shiraha-colors" />

Configuration

TODO

<head>
  <script>
    shiraha = {
      colors: {
        /* Shiraha Colors Config */
      },
    }
  </script>
  <script type="module" src="https://unpkg.com/shiraha-colors" />
</head>

nomodule

TODO

<head>
  <script type="module" src="https://unpkg.com/shiraha-colors" />
  <script nomodule src="https://unpkg.com/shiraha-colors/nomodule" />
</head>

with Partytown

TODO

Partytown does not support ES Module at this time. see partytown#195

<head>
  <script
    type="text/partytown"
    src="https://unpkg.com/shiraha-colors/nomodule"
  />
  <script>
    /* Inlined Partytown Snippet */
  </script>
</head>