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): tweak the colors of the radio buttons
Adorian Doranfe539b164799
diff --git a/src/public/stylesheets/theme-next-dark.css b/src/public/stylesheets/theme-next-dark.cssindex e2813cd124..364dd9cb7d 100644--- a/src/public/stylesheets/theme-next-dark.css+++ b/src/public/stylesheets/theme-next-dark.css@@ -46,6 +46,10 @@--input-action-button-color: #c6c6c6;--input-action-button-hover: white;+ --radio-background: #ffffff30;+ --radio-hover-background: #ffffff61;+ --radio-indicator-color: white;+--select-focus-background: #333;--select-focus-text-color: var(--input-text-color);--select-dropdown-text-color: var(--input-text-color);diff --git a/src/public/stylesheets/theme-next-light.css b/src/public/stylesheets/theme-next-light.cssindex 424be79ae2..8bf38c3f1d 100644--- a/src/public/stylesheets/theme-next-light.css+++ b/src/public/stylesheets/theme-next-light.css@@ -46,6 +46,10 @@--input-action-button-color: #575757;--input-action-button-hover: black;+ --radio-background: #0000002e;+ --radio-hover-background: #0000004f;+ --radio-indicator-color: black;+--select-focus-background: white;--select-focus-text-color: var(--input-text-color);--select-dropdown-text-color: var(--input-text-color);diff --git a/src/public/stylesheets/theme-next/forms.css b/src/public/stylesheets/theme-next/forms.cssindex b37e470b54..6002edd977 100644--- a/src/public/stylesheets/theme-next/forms.css+++ b/src/public/stylesheets/theme-next/forms.css@@ -218,15 +218,15 @@ label:has(input[type="radio"])::after {/* The outer circle */label:has(input[type="radio"])::before {- background: lightgray;+ background: var(--radio-background);}label:has(input[type="radio"]:hover)::before {- background: lightgray;+ background: var(--radio-hover-background);}label:has(input[type="radio"]:focus-visible)::before {- outline: 2px solid blue;+ outline: 2px solid var(--input-focus-outline-color);}/* The inner circle */@@ -237,7 +237,7 @@ label:has(input[type="radio"])::after {}label:has(input[type="radio"]:checked)::after {- background: black;+ background: var(--radio-indicator-color);transform: scale(.5);transition: transform 150ms ease-in;}\ No newline at end of file