1
0
Fork 0
mirror of https://github.com/Nutomic/ibis.git synced 2024-11-24 13:11:08 +00:00
ibis/tailwind.config.js

34 lines
741 B
JavaScript
Raw Permalink Normal View History

2024-10-16 08:28:07 +00:00
/** @type {import('tailwindcss').Config} */
module.exports = {
content: {
files: ["*.html", "./src/**/*.rs"],
},
theme: {
extend: {},
},
plugins: [
require('daisyui'),
require('@tailwindcss/typography')
],
daisyui: {
2024-11-06 13:42:15 +00:00
//themes: ["emerald", "dim"]
themes: [
{
emerald: {
...require("daisyui/src/theming/themes")["emerald"],
"nav, .menu": {
"background-color": "theme(colors.sky.50)",
},
},
dim: {
...require("daisyui/src/theming/themes")["dim"],
"nav, .menu": {
"background-color": "theme(colors.sky.900)",
},
},
},
],
},
darkMode: ['class', '[data-theme="dim"]']
2024-10-16 08:28:07 +00:00
}