From 9df7d6f9a009ed3bb1e8bbf1eae94af73761866b Mon Sep 17 00:00:00 2001 From: Keegan George Date: Thu, 12 Dec 2024 08:22:00 +0900 Subject: [PATCH] UX: Make radio buttons respect forum's accent color (#30235) Similar to https://github.com/discourse/discourse/commit/601780aadf19649434203ad68fde89995aad270f, this change ensures radio buttons respect the forum's accent color. Visual color change only, as such no tests. --- app/assets/stylesheets/common/foundation/base.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/common/foundation/base.scss b/app/assets/stylesheets/common/foundation/base.scss index e8538c3ad19..951cc797137 100644 --- a/app/assets/stylesheets/common/foundation/base.scss +++ b/app/assets/stylesheets/common/foundation/base.scss @@ -210,6 +210,7 @@ input[type="submit"] { // Inputs // -------------------------------------------------- -input[type="checkbox"] { +input[type="checkbox"], +input[type="radio"] { accent-color: var(--tertiary); }