1
0
Fork 0
mirror of https://github.com/Nutomic/ibis.git synced 2024-11-22 07:01:09 +00:00
ibis/tailwind.config.js

35 lines
776 B
JavaScript
Raw 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/forms'),
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
}