Add business dashboard dark mode from Super Admin theme setting.

Login and in-app surfaces follow tenant themeMode, matching customer dark tokens, with themed switches and tighter card/table chrome.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-08-31 13:40:40 +03:30
co-authored by Cursor
parent 65012717d0
commit e9400c2281
83 changed files with 586 additions and 193 deletions
@@ -4,7 +4,7 @@
min-width: 0;
border: 1px solid rgba(148, 163, 184, 0.35);
border-radius: var(--radius-sm);
background: rgba(255, 255, 255, 0.7);
background: var(--surface);
overflow: visible;
transition: border-color 0.2s, box-shadow 0.2s;
box-sizing: border-box;
@@ -22,7 +22,7 @@
gap: 2px;
padding: 4px 6px;
border-bottom: 1px solid rgba(148, 163, 184, 0.2);
background: rgba(248, 250, 252, 0.8);
background: var(--elevated-surface);
position: relative;
z-index: 2;
}
@@ -110,7 +110,7 @@
padding: 10px;
border: 1px solid rgba(148, 163, 184, 0.35);
border-radius: var(--radius-sm);
background: rgba(255, 255, 255, 0.98);
background: var(--elevated-surface);
box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}
@@ -142,7 +142,7 @@
padding: var(--field-padding-y) var(--field-padding-x);
border: 1px solid rgba(148, 163, 184, 0.35);
border-radius: var(--radius-sm);
background: rgba(255, 255, 255, 0.9);
background: var(--elevated-surface);
font-size: var(--field-font-size);
font-family: var(--font-ui);
color: var(--text-primary);