Skip to content

Commit fd003d3

Browse files
committed
style(web): refine light mode and sharp corners
1 parent 3473c3d commit fd003d3

1 file changed

Lines changed: 38 additions & 28 deletions

File tree

frontend/src/style.css

Lines changed: 38 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@
4949

5050
/* Layout */
5151
--sidebar-width: 232px;
52-
--radius-sm: 6px;
53-
--radius-md: 10px;
54-
--radius-lg: 14px;
55-
--radius-xl: 18px;
56-
--radius-pill: 999px;
52+
--radius-sm: 0px;
53+
--radius-md: 0px;
54+
--radius-lg: 0px;
55+
--radius-xl: 0px;
56+
--radius-pill: 0px;
5757

5858
/* Shadows */
5959
--shadow-sm: 0 1px 4px rgba(0, 0, 0, 0.5);
@@ -74,23 +74,33 @@
7474

7575
/* ── LIGHT THEME ── */
7676
:root[data-theme='light'] {
77-
--bg: #F0F2F7;
78-
--bg-2: #EBEEf5;
77+
--bg: #FFFFFF;
78+
--bg-2: #F4F0FB;
7979
--surface: #FFFFFF;
80-
--surface-2: #F6F8FC;
81-
--surface-3: #EDF0F8;
82-
--surface-hover: #E8EDF6;
83-
--border: rgba(0, 0, 0, 0.07);
84-
--border-mid: rgba(0, 0, 0, 0.11);
85-
--border-strong: rgba(0, 0, 0, 0.18);
86-
--text: #111827;
87-
--text-muted: #6B7280;
88-
--text-dim: #9CA3AF;
89-
--blue-dim: rgba(224, 64, 200, 0.1);
80+
--surface-2: #F4F0FB;
81+
--surface-3: #EDE7F9;
82+
--surface-hover: #E6DEF6;
83+
--border: rgba(91, 74, 128, 0.12);
84+
--border-mid: rgba(91, 74, 128, 0.18);
85+
--border-strong: rgba(91, 74, 128, 0.26);
86+
--text: #1A1030;
87+
--text-muted: #5C4A80;
88+
--text-dim: #9880B8;
89+
--blue: #7B30C8;
90+
--blue-hover: #9346D8;
91+
--blue-dim: rgba(123, 48, 200, 0.12);
92+
--blue-border: rgba(123, 48, 200, 0.28);
9093
--shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
91-
--color-deep-dim: rgba(91, 0, 160, 0.08);
92-
--color-mid-dim: rgba(214, 60, 160, 0.1);
93-
--color-gold-dim: rgba(245, 200, 66, 0.14);
94+
--color-deep: #7B30C8;
95+
--color-mid: #C8318A;
96+
--color-gold: #D4880A;
97+
--color-deep-dim: rgba(123, 48, 200, 0.08);
98+
--color-mid-dim: rgba(200, 49, 138, 0.1);
99+
--color-gold-dim: rgba(212, 136, 10, 0.14);
100+
--amber: #D4880A;
101+
--amber-dim: rgba(212, 136, 10, 0.12);
102+
--purple: #C8318A;
103+
--purple-dim: rgba(200, 49, 138, 0.12);
94104
}
95105

96106
/* ─────────────────────────────────────────────────────────
@@ -253,7 +263,7 @@ h4 {
253263
bottom: 25%;
254264
width: 2px;
255265
background: var(--blue);
256-
border-radius: 0 2px 2px 0;
266+
border-radius: 0;
257267
}
258268

259269
.app-shell.is-collapsed .nav-link {
@@ -377,7 +387,7 @@ h4 {
377387
.topbar-dot {
378388
width: 5px;
379389
height: 5px;
380-
border-radius: 50%;
390+
border-radius: 0;
381391
background: var(--blue);
382392
box-shadow: 0 0 6px var(--blue);
383393
}
@@ -646,7 +656,7 @@ h4 {
646656
.progress-track {
647657
width: 100%;
648658
height: 4px;
649-
border-radius: 2px;
659+
border-radius: 0;
650660
background: var(--surface-3);
651661
overflow: hidden;
652662
}
@@ -657,7 +667,7 @@ h4 {
657667

658668
.progress-fill {
659669
height: 100%;
660-
border-radius: 2px;
670+
border-radius: 0;
661671
transition: width 400ms cubic-bezier(0.4, 0, 0.2, 1);
662672
}
663673

@@ -847,7 +857,7 @@ h4 {
847857
align-items: center;
848858
gap: 6px;
849859
padding: 6px 12px;
850-
border-radius: calc(var(--radius-md) - 2px);
860+
border-radius: 0;
851861
border: none;
852862
background: transparent;
853863
color: var(--text-muted);
@@ -884,7 +894,7 @@ h4 {
884894
content: '';
885895
width: 5px;
886896
height: 5px;
887-
border-radius: 50%;
897+
border-radius: 0;
888898
flex-shrink: 0;
889899
}
890900

@@ -1000,7 +1010,7 @@ h4 {
10001010

10011011
.console-block::-webkit-scrollbar-thumb {
10021012
background: var(--border-mid);
1003-
border-radius: 2px;
1013+
border-radius: 0;
10041014
}
10051015

10061016
.console-block.large {
@@ -1205,7 +1215,7 @@ h4 {
12051215

12061216
::-webkit-scrollbar-thumb {
12071217
background: var(--border-mid);
1208-
border-radius: 3px;
1218+
border-radius: 0;
12091219
}
12101220

12111221
::-webkit-scrollbar-thumb:hover {

0 commit comments

Comments
 (0)