1
0
Fork 0
mirror of https://github.com/Nutomic/ibis.git synced 2024-11-29 03:31:10 +00:00
ibis/tailwind.config.js

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"]']
}