forked from LizardByte/Sunshine
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathtailwind.config.js
More file actions
42 lines (42 loc) · 1.85 KB
/
tailwind.config.js
File metadata and controls
42 lines (42 loc) · 1.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'class',
content: [
'./src_assets/common/assets/web/index.html',
'./src_assets/common/assets/web/*.{vue,js,ts,html}',
'./src_assets/common/assets/web/components/**/*.{vue,js,ts}',
'./src_assets/common/assets/web/views/**/*.{vue,js,ts}',
'./src_assets/common/assets/web/configs/**/*.{vue,js,ts}',
'./src_assets/common/assets/web/stores/**/*.{js,ts}',
],
theme: {
extend: {
colors: {
// Semantic tokens resolved via CSS variables (light defaults, dark overrides via .dark)
primary: 'rgb(var(--color-primary) / <alpha-value>)',
secondary: 'rgb(var(--color-secondary) / <alpha-value>)',
success: 'rgb(var(--color-success) / <alpha-value>)',
warning: 'rgb(var(--color-warning) / <alpha-value>)',
danger: 'rgb(var(--color-danger) / <alpha-value>)',
info: 'rgb(var(--color-info) / <alpha-value>)',
light: 'rgb(var(--color-light) / <alpha-value>)',
dark: 'rgb(var(--color-dark) / <alpha-value>)',
surface: 'rgb(var(--color-surface) / <alpha-value>)',
accent: 'rgb(var(--color-accent) / <alpha-value>)',
onPrimary: 'rgb(var(--color-on-primary) / <alpha-value>)',
onSecondary: 'rgb(var(--color-on-secondary) / <alpha-value>)',
onAccent: 'rgb(var(--color-on-accent) / <alpha-value>)',
onLight: 'rgb(var(--color-on-light) / <alpha-value>)',
onDark: 'rgb(var(--color-on-dark) / <alpha-value>)',
// Optional brand token for places that previously mixed solar-secondary + lunar-onSecondary
brand: 'rgb(var(--color-brand) / <alpha-value>)',
},
},
},
// Enable Tailwind preflight now that Bootstrap is removed. Keep visibility disabled if not needed.
corePlugins: {
preflight: true,
visibility: false,
},
plugins: [],
};