dracula colors for tailwind as an esm export for twind on fresh
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
dracula-tailwind-esm/.README.template.md

439 B

usage

twind on fresh

In your import_map.json import the module.

{
  "imports": {
    ...
    "@kay/dracula-tailwind-esm": "https://code.eutychia.org/kay/dracula-tailwind-esm/-/raw/main/dracula.js"
  }
}

Then in your utils/twind.ts add the colors to the theme.

import { dracula } from "@kay/dracula-tailwind-esm";

export const config: Configuration = {
  theme: {
    colors: dracula,
  },
};