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
style(next): improve the color contrast for switches
Adorian Doranb56b42bea05f
diff --git a/src/public/stylesheets/theme-next/forms.css b/src/public/stylesheets/theme-next/forms.cssindex 9e3c7e2b5c..92d7f84d77 100644--- a/src/public/stylesheets/theme-next/forms.css+++ b/src/public/stylesheets/theme-next/forms.css@@ -451,6 +451,14 @@ optgroup {--icon-button-size: 28px;}+div.switch-widget {+ --switch-off-track-background: var(--cmd-button-background-color);+ --switch-on-track-background: var(--cmd-button-text-color);++ --switch-off-thumb-background: var(--cmd-button-text-color);+ --switch-on-thumb-background: var(--main-background-color);+}+/* Links */body a.tn-link,