godash/tailwind.config.js

29 lines
679 B
JavaScript
Raw Normal View History

2024-03-12 15:49:08 +01:00
const { addDynamicIconSelectors } = require('@iconify/tailwind');
2023-06-14 21:53:27 +02:00
/** @type {import('tailwindcss').Config} */
module.exports = {
2024-03-12 15:49:08 +01:00
content: ['./views/**/*.templ','./components/**/*.templ'],
2023-06-14 21:53:27 +02:00
theme: {
container: {
center: true
},
},
2024-03-12 15:49:08 +01:00
plugins: [require('daisyui'), addDynamicIconSelectors()],
2023-06-14 21:53:27 +02:00
daisyui: {
themes: [
{
light: {
2024-03-12 15:49:08 +01:00
...require("daisyui/src/theming/themes")["garden"],
2023-06-14 21:53:27 +02:00
primary: "#f28c18",
secondary: "rgba(70,70,70,0.7)",
},
dark: {
2024-03-12 15:49:08 +01:00
...require("daisyui/src/theming/themes")["halloween"],
2023-06-14 21:53:27 +02:00
secondary: "#a0a0a0",
},
},
],
darkTheme: "dark",
},
};