Skip to content

Commit 5e667e2

Browse files
committed
Refactor dashboard bento colors & welcome styles
1 parent 8297cbe commit 5e667e2

1 file changed

Lines changed: 15 additions & 25 deletions

File tree

src/gui/src/css/dashboard.css

Lines changed: 15 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -63,19 +63,17 @@
6363
--dashboard-icon-green-shadow: rgba(16, 185, 129, 0.3);
6464

6565
/* TabHome bento: solid surfaces aligned with header icon accents (no gradients) */
66-
/* Profile / welcome card — warm neutral stone (reads calm next to apps blue & usage violet; avoids tinted hues that clash) */
67-
--dashboard-bento-welcome-bg: #faf8f5;
68-
--dashboard-bento-welcome-pattern: rgba(87, 83, 78, 0.045);
6966
--dashboard-bento-welcome-avatar-border: #e8e4df;
7067
--dashboard-bento-welcome-avatar-shadow: rgba(41, 37, 36, 0.1);
7168
--dashboard-bento-apps-icon-bg: #2563eb;
7269
--dashboard-bento-apps-icon-shadow: rgba(37, 99, 235, 0.22);
7370
--dashboard-bento-apps-surface: #eff6ff;
7471
--dashboard-bento-apps-header-bg: #dbeafe;
75-
--dashboard-bento-usage-icon-bg: #7c3aed;
76-
--dashboard-bento-usage-icon-shadow: rgba(124, 58, 237, 0.24);
77-
--dashboard-bento-usage-surface: #f5f3ff;
78-
--dashboard-bento-usage-header-bg: #ede9fe;
72+
/* Indigo (cool blue-violet; avoids lavender/violet-50 that reads pink on screen) */
73+
--dashboard-bento-usage-icon-bg: #4f46e5;
74+
--dashboard-bento-usage-icon-shadow: rgba(79, 70, 229, 0.22);
75+
--dashboard-bento-usage-surface: #eef2ff;
76+
--dashboard-bento-usage-header-bg: #e0e7ff;
7977
--dashboard-bento-usage-bar-fill: #ea580c;
8078

8179
--dashboard-shadow-subtle: rgba(0, 0, 0, 0.04);
@@ -157,18 +155,16 @@ body {
157155
--dashboard-icon-green-end: #10b981;
158156
--dashboard-icon-green-shadow: rgba(52, 211, 153, 0.25);
159157

160-
--dashboard-bento-welcome-bg: #252422;
161-
--dashboard-bento-welcome-pattern: rgba(168, 162, 158, 0.06);
162158
--dashboard-bento-welcome-avatar-border: #44403c;
163159
--dashboard-bento-welcome-avatar-shadow: rgba(0, 0, 0, 0.35);
164160
--dashboard-bento-apps-icon-bg: #3b82f6;
165161
--dashboard-bento-apps-icon-shadow: rgba(59, 130, 246, 0.28);
166162
--dashboard-bento-apps-surface: #1a2332;
167163
--dashboard-bento-apps-header-bg: #1e2d42;
168-
--dashboard-bento-usage-icon-bg: #8b5cf6;
169-
--dashboard-bento-usage-icon-shadow: rgba(139, 92, 246, 0.35);
170-
--dashboard-bento-usage-surface: #1f1a2e;
171-
--dashboard-bento-usage-header-bg: #2a2440;
164+
--dashboard-bento-usage-icon-bg: #6366f1;
165+
--dashboard-bento-usage-icon-shadow: rgba(99, 102, 241, 0.32);
166+
--dashboard-bento-usage-surface: #1c1d2e;
167+
--dashboard-bento-usage-header-bg: #252a42;
172168
--dashboard-bento-usage-bar-fill: #fb923c;
173169

174170
--dashboard-shadow-subtle: rgba(0, 0, 0, 0.2);
@@ -2408,12 +2404,14 @@ body {
24082404
border-radius: 20px;
24092405
overflow: hidden;
24102406
border: 1px solid var(--dashboard-shadow-light);
2407+
box-shadow:
2408+
0 1px 2px var(--dashboard-shadow-subtle),
2409+
0 4px 16px var(--dashboard-shadow-light);
24112410
}
24122411

2413-
/* Welcome Card */
2412+
/* Welcome Card — uses same surface as .bento-card (no separate welcome tint) */
24142413
.dashboard .bento-welcome {
24152414
position: relative;
2416-
background-color: var(--dashboard-bento-welcome-bg);
24172415
color: var(--dashboard-text-primary);
24182416
min-height: 280px;
24192417
}
@@ -2430,13 +2428,7 @@ body {
24302428
}
24312429

24322430
.dashboard .bento-welcome-pattern {
2433-
position: absolute;
2434-
top: 0;
2435-
left: 0;
2436-
right: 0;
2437-
bottom: 0;
2438-
background-color: var(--dashboard-bento-welcome-pattern);
2439-
pointer-events: none;
2431+
display: none;
24402432
}
24412433

24422434
.dashboard .bento-welcome-content {
@@ -2523,7 +2515,6 @@ body {
25232515
min-height: 310px;
25242516
display: flex;
25252517
flex-direction: column;
2526-
background-color: var(--dashboard-bento-apps-surface);
25272518
}
25282519

25292520
.dashboard .bento-card-header {
@@ -2767,11 +2758,10 @@ body {
27672758
}
27682759
}
27692760

2770-
/* Usage bento card (violet surfaces; orange bars stay as progress accent) */
2761+
/* Usage bento card (cool indigo surfaces; orange bars stay as progress accent) */
27712762
.dashboard .bento-usage {
27722763
grid-column: 1 / -1;
27732764
min-height: auto;
2774-
background-color: var(--dashboard-bento-usage-surface);
27752765
}
27762766

27772767
.dashboard .bento-usage-container {

0 commit comments

Comments
 (0)