Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(share): flash of dark color on light theme
Elian Doran9c3f9a524e93
diff --git a/packages/share-theme/src/styles/index.css b/packages/share-theme/src/styles/index.cssindex 095f808357..9df4180094 100644--- a/packages/share-theme/src/styles/index.css+++ b/packages/share-theme/src/styles/index.css@@ -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;