mirror of
https://github.com/Nutomic/ibis.git
synced 2024-12-23 14:51:22 +00:00
33 lines
741 B
JavaScript
33 lines
741 B
JavaScript
/** @type {import('tailwindcss').Config} */
|
|
module.exports = {
|
|
content: {
|
|
files: ["*.html", "./src/**/*.rs"],
|
|
},
|
|
theme: {
|
|
extend: {},
|
|
},
|
|
plugins: [
|
|
require('daisyui'),
|
|
require('@tailwindcss/typography')
|
|
],
|
|
daisyui: {
|
|
//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"]']
|
|
}
|