加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
tailwind.config.js 1.05 KB
一键复制 编辑 原始数据 按行查看 历史
成雨 提交于 2024-01-31 14:14 . feat(init): 初始化
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/renderer/*.html', './src/renderer/**/*.{js,ts,jsx,tsx,mdx}'],
theme: {
extend: {}
},
plugins: [require('daisyui')],
// daisyUI config (optional - here are the default values)
daisyui: {
themes: ['light', 'dark', 'nord'],
// themes: false, // false: only light + dark | true: all themes | array: specific themes like this ["light", "dark", "cupcake"]
darkTheme: 'nord', // name of one of the included themes for dark mode
base: true, // applies background color and foreground color for root element by default
styled: true, // include daisyUI colors and design decisions for all components
utils: true, // adds responsive and modifier utility classes
prefix: '', // prefix for daisyUI classnames (components, modifiers and responsive class names. Not colors)
logs: true, // Shows info about daisyUI version and used config in the console when building your CSS
themeRoot: ':root' // The element that receives theme color CSS variables
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化