Improve design for checkboxes, switches and radios

This commit is contained in:
Massedil
2025-12-03 18:59:51 +01:00
parent 3ea44b73a6
commit ec565e2b67
3 changed files with 27 additions and 17 deletions

View File

@@ -28,6 +28,23 @@
}
}
:root {
/* TODO Try to change the primary color but without success */
--oruga-primary: #1e7d97;
--oruga-variant-primary: #1e7d97;
/* So force change the primary color for each component */
--oruga-radio-active-background-color: #1e7d97;
--oruga-switch-checked-background: #1e7d97;
/* We want transparent background for buttons
instead of oruga default primay color */
--oruga-checkbox-background-color: white;
--oruga-checkbox-active-background-color: white;
}
@media (prefers-color-scheme: dark) {
:root {
--oruga-variant-primary: #1e7d97;