feat: release OpsXShell 2.1.0 native Tauri edition

This commit is contained in:
Logan.Li committed 2026-07-30 23:32:51 +08:00
1 parent e9a0d21758
commit a3dba0c6ed
311 files changed
+31748 -14897

No files matched your search

+6
View File
@@ -54,6 +54,12 @@ export function useTheme() {
// Apply CSS custom properties
applyCSSVars(colors)
// Hairline aliases for legacy border-dark-* remaps in index.css
const root = document.documentElement
root.style.setProperty('--hairline-soft', colors['hairline-soft'] || colors['border-subtle'] || 'rgba(148,163,184,0.06)')
root.style.setProperty('--hairline', colors['hairline'] || colors['border-default'] || 'rgba(148,163,184,0.10)')
root.style.setProperty('--hairline-strong', colors['hairline-strong'] || colors['border-strong'] || 'rgba(148,163,184,0.16)')
// Update body bg & colour from tokens (not hardcoded)
document.body.style.backgroundColor = colors['surface-base'] || '#0f172a'
document.body.style.color = colors['text-primary'] || '#e2e8f0'