Skip to content

Commit 160bf74

Browse files
sametbasbugclaude
andcommitted
Collapse the near-white panel surfaces into one
Panels were painted with four different almost-whites — two translucent rgba() whites, a bare #fff and --surface — over a --paper backdrop that made them composite within three units of each other. The differences were invisible but real: every new panel had to guess which white it belonged to. They all resolve to --surface now, and their borders to --line. The dark patch that forced these seven components onto rgba(21,27,40,0.94) is gone too; that value lands on #141a27 over --paper, which is --surface with a rounding error. Only the shadow override survives, and that one is about elevation, not surface. .rail-links and .feed-empty turned out to be dead — no markup in the repo emits either class — so they were removed rather than restyled. Snapshot: 9 elements changed, none by more than three units per channel. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent fc248f1 commit 160bf74

3 files changed

Lines changed: 7 additions & 79 deletions

File tree

‎src/styles/pages.css‎

Lines changed: 3 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -83,19 +83,9 @@
8383

8484
.network-section {
8585
padding: 1.15rem;
86-
border: 1px solid rgba(218, 223, 234, 0.92);
87-
border-radius: 1rem;
88-
background: rgba(255, 255, 255, 0.78);
89-
box-shadow: 0 5px 18px rgba(36, 46, 76, 0.04);
90-
}
91-
92-
.rail-links {
93-
display: grid;
94-
gap: 0.48rem;
95-
padding: 1.15rem;
96-
border: 1px solid rgba(218, 223, 234, 0.92);
86+
border: 1px solid var(--line);
9787
border-radius: 1rem;
98-
background: rgba(255, 255, 255, 0.78);
88+
background: var(--surface);
9989
box-shadow: 0 5px 18px rgba(36, 46, 76, 0.04);
10090
}
10191

@@ -113,30 +103,6 @@
113103
text-underline-offset: 0.18rem;
114104
}
115105

116-
.rail-links h2 {
117-
margin: 0;
118-
color: var(--muted);
119-
font-size: 0.67rem;
120-
font-weight: 800;
121-
letter-spacing: 0.08em;
122-
text-transform: uppercase;
123-
}
124-
125-
.rail-links a {
126-
display: flex;
127-
justify-content: space-between;
128-
color: var(--muted);
129-
font-size: 0.78rem;
130-
text-decoration: none;
131-
padding: 0.22rem 0;
132-
}
133-
134-
.rail-links a:hover {
135-
color: var(--link);
136-
text-decoration: underline;
137-
text-underline-offset: 0.18rem;
138-
}
139-
140106
.directory-page,
141107
.about-page {
142108
max-width: 860px;
@@ -1012,7 +978,7 @@
1012978
padding: 1.2rem;
1013979
border: 1px solid var(--line);
1014980
border-radius: 1rem;
1015-
background: #fff;
981+
background: var(--surface);
1016982
box-shadow: 0 5px 18px rgba(36, 46, 76, 0.04);
1017983
transition: transform 160ms ease, box-shadow 160ms ease;
1018984
}
@@ -1028,31 +994,6 @@
1028994
pointer-events: none;
1029995
}
1030996

1031-
.feed-empty {
1032-
place-items: center;
1033-
gap: 0.4rem;
1034-
padding: 3rem 1.5rem;
1035-
border: 1px dashed var(--line-dark);
1036-
border-radius: 1rem;
1037-
color: var(--muted);
1038-
background: rgba(255, 255, 255, 0.62);
1039-
text-align: center;
1040-
}
1041-
1042-
.feed-empty:not([hidden]) {
1043-
display: grid;
1044-
}
1045-
1046-
.feed-empty strong {
1047-
color: var(--ink);
1048-
font-size: 0.85rem;
1049-
}
1050-
1051-
.feed-empty p {
1052-
margin: 0;
1053-
font-size: 0.7rem;
1054-
}
1055-
1056997
.network-heading {
1057998
display: flex;
1058999
align-items: center;

‎src/styles/responsive.css‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,6 @@
108108
grid-template-columns: repeat(2, minmax(0, 1fr));
109109
}
110110

111-
.rail-links {
112-
grid-column: 1 / -1;
113-
}
114-
115111
.profile-grid {
116112
grid-template-columns: 1fr;
117113
}
@@ -412,10 +408,6 @@
412408
font-size: 2.5rem;
413409
}
414410

415-
.rail-links {
416-
grid-column: 1;
417-
}
418-
419411
.profile-identity h1 {
420412
font-size: 2.65rem;
421413
}

‎src/styles/theme.css‎

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -94,19 +94,14 @@ html[data-theme="dark"] .truth-note strong {
9494
color: #c2b3f3;
9595
}
9696

97-
/* Panel yükseltisi: açık temada bu yedi bileşenin beşi birbirine yakın ama
98-
farklı beyazlar ve gölgeler kullanıyor; koyu temada hepsi tek yüzeye iniyor.
99-
Bu kasıtlı bir sadeleşme, kayıp bir token değil — bu yüzden yama olarak
100-
duruyor. Açık taraftaki beş varyantın tekilleşmesi tipografi/boşluk turunun
101-
(adım 4) elevation kararıyla birlikte yapılacak. */
102-
html[data-theme="dark"] .feed-empty,
97+
/* Panel gölgesi koyu temada ayrı ayarlanıyor: açık temadaki mavimsi gölge
98+
koyu zeminde görünmez, panelin ayrıştığı tek şey kenarlık kalıyor. Yüzey ve
99+
kenarlık yaması buradan kalktı — bileşenler artık --surface/--line kullanıyor,
100+
eski rgba(21,27,40,0.94) zaten --surface ile aynı yere düşüyordu. */
103101
html[data-theme="dark"] .network-section,
104-
html[data-theme="dark"] .rail-links,
105102
html[data-theme="dark"] .profile-dossier,
106103
html[data-theme="dark"] .agent-directory .agent-card,
107104
html[data-theme="dark"] .activity-stats {
108-
border-color: var(--line);
109-
background: rgba(21, 27, 40, 0.94);
110105
box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16);
111106
}
112107

0 commit comments

Comments
 (0)