Merge pull request #1 from fuqiuluo/fix/pr-607-revert-edge

fix(linux): keep settings window edge subtle
Цей коміт міститься в:
arookieofc authored and GitHub committed 2026-11-03 08:42:45 +08:00
коміт dc14a46a17
1 file changed
+10 -3
+10 -3
Переглянути файл
@@ -204,10 +204,17 @@
color: var(--fg);
}
/* Linux draws no shadow for a frameless window (Wayland/KDE give undecorated
windows no CSD), so mark its edge in CSS instead. --border-window alone is
near-invisible on the dark theme, so blend the foreground tone into it. */
windows no CSD), so mark its edge in CSS instead. */
.windowEdge {
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg) 32%, var(--border-window));
position: relative;
}
.windowEdge::after {
content: "";
position: absolute;
inset: 0;
z-index: 1;
pointer-events: none;
box-shadow: inset 0 0 0 1px var(--border-window);
}
.windowBody {
flex: 1;