mirror of
https://github.com/zadam/trilium.git
synced 2025-10-31 19:49:01 +01:00
fix(share): flash of dark color on light theme
This commit is contained in:
parent
1c832182d6
commit
9c3f9a524e
@ -30,19 +30,6 @@ Accent Color Ideas
|
||||
--text-link: #FFB628;
|
||||
*/
|
||||
|
||||
:root {
|
||||
--background-primary: #333333;
|
||||
--background-secondary: #1F1F1F;
|
||||
--background-highlight: #484848;
|
||||
--background-active: #777777;
|
||||
--text-primary: #cccccc;
|
||||
--text-heading: #cccccc;
|
||||
--text-menu: #AAAAAA;
|
||||
--text-link: #87CEFA;
|
||||
--text-menu-active: #000000;
|
||||
color-scheme: dark;
|
||||
}
|
||||
|
||||
body.theme-light {
|
||||
--background-primary: #FFFFFF;
|
||||
--background-secondary: #F3F3F3;
|
||||
@ -55,6 +42,19 @@ body.theme-light {
|
||||
color-scheme: light;
|
||||
}
|
||||
|
||||
body.theme-dark {
|
||||
--background-primary: #333333;
|
||||
--background-secondary: #1F1F1F;
|
||||
--background-highlight: #484848;
|
||||
--background-active: #777777;
|
||||
--text-primary: #cccccc;
|
||||
--text-heading: #cccccc;
|
||||
--text-menu: #AAAAAA;
|
||||
--text-link: #87CEFA;
|
||||
--text-menu-active: #000000;
|
||||
color-scheme: dark;
|
||||
}
|
||||
|
||||
body {
|
||||
background: var(--background-primary);
|
||||
font-family: 'Montserrat', 'Lucida Grande', 'Lucida Sans Unicode', arial, sans-serif;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user