From 4faf22b9885c91a35e0bcadc24b08166bbf46fba Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Sat, 7 Dec 2024 09:40:11 +0200 Subject: [PATCH] style(next): fix mica on light theme for horizontal layout --- src/public/stylesheets/theme-next.css | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/public/stylesheets/theme-next.css b/src/public/stylesheets/theme-next.css index 3d500e521..77897b6ec 100644 --- a/src/public/stylesheets/theme-next.css +++ b/src/public/stylesheets/theme-next.css @@ -417,10 +417,16 @@ body.electron.platform-win32 { --launcher-pane-background-color: rgba(255, 255, 255, 0.09); --tab-background-color: transparent; --active-tab-background-color: var(--launcher-pane-background-color); - --launcher-pane-horizontal-border-color: rgba(0, 0, 0, 0.5); + --launcher-pane-horizontal-border-color: rgba(0, 0, 0, 0.15); --native-titlebar-background: #00000000; } +@media (prefers-color-scheme: dark) { + body.electron.platform-win32 { + --launcher-pane-horizontal-border-color: rgba(0, 0, 0, 0.5); + } +} + body.electron.platform-win32.layout-vertical { --left-pane-background-color: transparent; --launcher-pane-background-color: rgba(255, 255, 255, 0.055);