Refractor. Update styling
CI / backend (push) Successful in 10m14s
CI / frontend (push) Successful in 1m55s

This commit is contained in:
2026-08-11 06:48:07 +08:00
parent e3f3a3ced8
commit 87e551c0d7
57 changed files with 450 additions and 393 deletions
+5 -23
View File
@@ -1,26 +1,8 @@
/**
* Legacy theme file kept for tooling that still reads it.
* Source of truth for colors/fonts is @theme in src/style.css (Tailwind v4).
*/
export default {
content: ['./index.html', './src/**/*.{vue,js,ts}'],
darkMode: 'class',
theme: {
extend: {
colors: {
severity: {
critical: { DEFAULT: '#dc2626', light: '#fef2f2', dark: '#991b1b' },
warning: { DEFAULT: '#f59e0b', light: '#fffbeb', dark: '#92400e' },
info: { DEFAULT: '#3b82f6', light: '#eff6ff', dark: '#1e40af' },
},
status: {
open: '#ef4444',
acknowledged: '#f59e0b',
resolved: '#22c55e',
escalated: '#7c3aed',
},
risk: {
low: '#22c55e',
medium: '#f59e0b',
high: '#ef4444',
},
},
},
},
}
}