clustvirt/tailwind.config.js
Matthew Stobbs 9c35be1fcf really liking templ
- made multiple components for reuse in templ
- going to start on actual data displaying templates
2024-03-14 21:56:49 -06:00

31 lines
837 B
JavaScript

/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["**/*.templ", "**/*.go"],
safelist: [
{
pattern: /(bg|text|shadow|divide|border)-(aro|blade|buffy|cullen|dracula|lincoln|marcelin|morbius|nosferatu|vanhelsing|voncount)-[0-9]+/,
},
{
pattern: /list-image-(accepted|informational|never|possible)/,
},
],
theme: {
extend: {
listStyleImage: {
never: 'url("/static/icons/list-never.svg")',
accepted: 'url("/static/icons/list-accepted.svg")',
possible: 'url("/static/icons/list-possible.svg")',
informational: 'url("/static/icons/list-informational.svg")',
},
content: {
link: 'url("/static/icons/link.svg")',
},
},
},
plugins: [
require('@tailwindcss/forms'),
require('tailwind-dracula')(),
],
}