From 117a595f4925b5c65832e152f9ae9a889cb0a4d9 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Mon, 30 Oct 2023 01:03:29 +0100 Subject: [PATCH] Theme checkboxes using the primary color --- app/assets/stylesheets/overrides/_inputs.scss | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app/assets/stylesheets/overrides/_inputs.scss b/app/assets/stylesheets/overrides/_inputs.scss index a1ef2007..aa89b202 100644 --- a/app/assets/stylesheets/overrides/_inputs.scss +++ b/app/assets/stylesheets/overrides/_inputs.scss @@ -20,3 +20,12 @@ background-color: var(--raised-accent); border: 0; } + +.form-check-input:checked { + background-color: var(--primary); + border-color: var(--primary); +} + +.form-check-input:focus { + box-shadow: rgba(var(--primary-rgb), 0.25) 0 0 0 0.25rem; +}