Skip to content

Commit 6f5abbe

Browse files
committed
Refine dark theme and review push buttons
1 parent d36e1bf commit 6f5abbe

1 file changed

Lines changed: 90 additions & 20 deletions

File tree

apps/desktop/src/styles.css

Lines changed: 90 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -48,28 +48,31 @@
4848
}
4949

5050
:root[data-theme="dark"] {
51-
--canvas: #0f1518;
52-
--paper: #151d20;
53-
--wash: #11191c;
54-
--ink: #eef5f3;
55-
--muted: #a5b3b0;
56-
--subtle: #8d9d9a;
57-
--faint: #72827f;
58-
--line: rgba(148, 163, 184, 0.2);
59-
--line-soft: rgba(148, 163, 184, 0.14);
60-
--line-strong: rgba(183, 199, 208, 0.28);
61-
--teal-wash: rgba(15, 118, 110, 0.2);
51+
--canvas: #172023;
52+
--paper: #202b2f;
53+
--wash: #1b2629;
54+
--ink: #edf4f2;
55+
--muted: #b6c2bf;
56+
--subtle: #9baaa7;
57+
--faint: #7f8f8c;
58+
--line: rgba(163, 183, 190, 0.2);
59+
--line-soft: rgba(163, 183, 190, 0.14);
60+
--line-strong: rgba(190, 209, 216, 0.3);
61+
--teal: #2aa198;
62+
--teal-strong: #23857e;
63+
--teal-deep: #1d6f69;
64+
--teal-wash: rgba(42, 161, 152, 0.18);
6265
--amber-soft: rgba(192, 138, 0, 0.17);
6366
--orange-soft: rgba(217, 119, 6, 0.17);
6467
--red-soft: rgba(220, 38, 38, 0.16);
6568
--blue-soft: rgba(37, 99, 235, 0.16);
6669
--slate-soft: rgba(148, 163, 184, 0.16);
6770
--green-soft: rgba(35, 132, 95, 0.18);
6871
--bg: var(--canvas);
69-
--surface: rgba(21, 29, 32, 0.9);
70-
--surface-strong: #182226;
71-
--shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
72-
--tight-shadow: 0 14px 36px rgba(0, 0, 0, 0.28);
72+
--surface: rgba(32, 43, 47, 0.94);
73+
--surface-strong: #263338;
74+
--shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
75+
--tight-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
7376
}
7477

7578
* {
@@ -160,14 +163,14 @@ p {
160163
:root[data-theme="dark"] .app-frame,
161164
:root[data-theme="dark"] .setup-window {
162165
background:
163-
radial-gradient(circle at 50% -12%, rgba(15, 118, 110, 0.2), transparent 36%),
164-
linear-gradient(180deg, #151f22 0%, var(--bg) 100%);
166+
radial-gradient(circle at 50% -12%, rgba(42, 161, 152, 0.14), transparent 34%),
167+
linear-gradient(180deg, #1d292d 0%, var(--bg) 100%);
165168
}
166169

167170
:root[data-theme="dark"] .setup-window,
168171
:root[data-theme="dark"] .app-shell {
169172
border-color: rgba(148, 163, 184, 0.16);
170-
background: rgba(17, 25, 28, 0.92);
173+
background: rgba(24, 34, 38, 0.94);
171174
}
172175

173176
.setup-window {
@@ -1603,6 +1606,28 @@ p {
16031606
color: var(--accent);
16041607
}
16051608

1609+
:root[data-theme="dark"] .sidebar {
1610+
border-color: rgba(163, 183, 190, 0.14);
1611+
background: rgba(28, 38, 42, 0.92);
1612+
}
1613+
1614+
:root[data-theme="dark"] .sidebar-link {
1615+
color: #93a39f;
1616+
}
1617+
1618+
:root[data-theme="dark"] .sidebar-link.active,
1619+
:root[data-theme="dark"] .sidebar-link:hover {
1620+
background: rgba(42, 161, 152, 0.14);
1621+
color: #55c1b7;
1622+
}
1623+
1624+
:root[data-theme="dark"] .sidebar-collapse-button:hover,
1625+
:root[data-theme="dark"] .sidebar-collapsed .sidebar-collapse-button {
1626+
border-color: rgba(163, 183, 190, 0.16);
1627+
background: rgba(35, 48, 53, 0.88);
1628+
color: var(--accent);
1629+
}
1630+
16061631
.sidebar-collapsed .sidebar {
16071632
gap: 18px;
16081633
padding: 18px 10px;
@@ -3208,6 +3233,22 @@ button.home-stat:hover {
32083233
color: #b23b3b;
32093234
}
32103235

3236+
:root[data-theme="dark"] .file-state {
3237+
background: rgba(35, 132, 95, 0.18);
3238+
color: #7ac5a4;
3239+
}
3240+
3241+
:root[data-theme="dark"] .file-row.needs_review .file-state {
3242+
background: rgba(192, 138, 0, 0.18);
3243+
color: #dfb44d;
3244+
}
3245+
3246+
:root[data-theme="dark"] .file-row.blocked .file-state,
3247+
:root[data-theme="dark"] .file-row.conflict .file-state {
3248+
background: rgba(220, 38, 38, 0.14);
3249+
color: #f28b8b;
3250+
}
3251+
32113252
.file-row-actions {
32123253
display: grid;
32133254
grid-template-columns: minmax(0, 1fr) 104px;
@@ -3311,13 +3352,14 @@ button.home-stat:hover {
33113352
padding: 0 9px;
33123353
border-radius: 8px;
33133354
font-size: 11px;
3314-
font-weight: 750;
3355+
font-weight: 900;
33153356
line-height: 1;
33163357
white-space: nowrap;
33173358
}
33183359

33193360
.file-row-actions .primary-button {
33203361
min-width: 104px;
3362+
box-shadow: 0 10px 22px rgba(15, 118, 110, 0.18);
33213363
}
33223364

33233365
.file-row-actions .primary-button svg,
@@ -3328,7 +3370,11 @@ button.home-stat:hover {
33283370

33293371
.file-row-actions .primary-button span,
33303372
.file-row-actions .secondary-button span {
3373+
display: inline;
3374+
margin-top: 0;
33313375
overflow: hidden;
3376+
color: inherit;
3377+
font-size: inherit;
33323378
text-overflow: ellipsis;
33333379
}
33343380

@@ -3533,6 +3579,30 @@ button.home-stat:hover {
35333579
font-size: 11px;
35343580
}
35353581

3582+
:root[data-theme="dark"] .review-overview-panel {
3583+
background: rgba(31, 42, 46, 0.96);
3584+
}
3585+
3586+
:root[data-theme="dark"] .review-counts .metric,
3587+
:root[data-theme="dark"] .metric {
3588+
border-color: rgba(163, 183, 190, 0.14);
3589+
background: rgba(38, 51, 56, 0.88);
3590+
}
3591+
3592+
:root[data-theme="dark"] .metric strong {
3593+
color: #f5faf8;
3594+
}
3595+
3596+
:root[data-theme="dark"] .review-filter-button.active,
3597+
:root[data-theme="dark"] .review-filter-button:hover {
3598+
background: rgba(42, 161, 152, 0.18);
3599+
color: #55c1b7;
3600+
}
3601+
3602+
:root[data-theme="dark"] .review-filter-button span {
3603+
background: rgba(224, 238, 234, 0.14);
3604+
}
3605+
35363606
.review-empty-filter {
35373607
justify-content: start;
35383608
}
@@ -4019,7 +4089,7 @@ button.home-stat:hover {
40194089
:root[data-theme="dark"] .file-row {
40204090
border-color: var(--line);
40214091
background: var(--surface);
4022-
box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
4092+
box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
40234093
}
40244094

40254095
:root[data-theme="dark"] .secondary-button,

0 commit comments

Comments
 (0)