fix(native-buttons): fix background difference on modals

This commit is contained in:
Elian Doran 2024-12-13 23:30:31 +02:00
parent 2babc680a8
commit 74c10dff05
No known key found for this signature in database
5 changed files with 6 additions and 12 deletions

View File

@ -38,17 +38,12 @@ body {
color: var(--main-text-color);
font-family: var(--main-font-family);
font-size: var(--main-font-size);
--native-titlebar-background: var(--main-background-color);
--native-titlebar-foreground: var(--main-text-color);
--native-titlebar-darwin-x-offset: 10;
--native-titlebar-darwin-y-offset: 12;
}
body.layout-horizontal {
--native-titlebar-background: var(--left-pane-background-color);
}
body.mobile .desktop-only {
display: none !important;
}

View File

@ -75,6 +75,7 @@
--link-color: lightskyblue;
--mermaid-theme: dark;
--native-titlebar-background: #00000000;
}
body ::-webkit-calendar-picker-indicator {

View File

@ -78,4 +78,5 @@ html {
--link-color: blue;
--mermaid-theme: default;
--native-titlebar-background: #ffffff00;
}

View File

@ -87,6 +87,7 @@
*/
:root {
--theme-style: light;
--native-titlebar-background: #ffffff00;
--main-background-color: white;
--main-text-color: black;
@ -230,7 +231,8 @@
@media (prefers-color-scheme: dark) {
:root {
--theme-style: dark;
--theme-style: dark;
--native-titlebar-background: #00000000;
--main-background-color: #333;
--main-text-color: #ccc;

View File

@ -19,10 +19,6 @@ body {
--native-titlebar-darwin-y-offset: 17 !important;
}
body.layout-vertical {
--native-titlebar-background: var(--root-background);
}
body.layout-horizontal {
--launcher-pane-background-color: var(--launcher-pane-horizontal-background-color);
--launcher-pane-size: var(--launcher-pane-horizontal-size);
@ -41,7 +37,6 @@ body.background-effects.platform-win32 {
--tab-background-color: transparent;
--new-tab-button-background: transparent;
--active-tab-background-color: var(--launcher-pane-background-color);
--native-titlebar-background: #00000000;
--background-material: tabbed;
}