Files
BYW-VoiceHub/tailwind.config.ts
T
Henry_Du 1106aeea6c feat: 迁移自定义功能至 1.5.9.9 版本
包含音乐源限制、CI 防 OOM 优化、数据库连接池优化、管理端权限及 UI 细节定制等功能
2026-09-12 19:26:42 +08:00

38 lines
924 B
TypeScript

import type { Config } from 'tailwindcss'
export default <Config>{
darkMode: 'class',
content: [
'./app/components/**/*.{js,vue,ts}',
'./app/layouts/**/*.vue',
'./app/pages/**/*.vue',
'./app/plugins/**/*.{js,ts}',
'./app/app.vue',
'./app/error.vue'
],
theme: {
extend: {
colors: {
primary: 'var(--primary)',
success: 'var(--success)',
warning: 'var(--warning)',
error: 'var(--error)',
info: 'var(--info)',
text: {
primary: 'var(--text-primary)',
secondary: 'var(--text-secondary)',
tertiary: 'var(--text-tertiary)',
quaternary: 'var(--text-quaternary)',
disabled: 'var(--text-disabled)'
},
surface: {
DEFAULT: 'var(--bg-primary)',
muted: 'var(--bg-secondary)',
elevated: 'var(--bg-tertiary)'
}
}
}
},
plugins: []
}