From 50d75ea27c57d61f720cfdf6bd07c38b8c867dd7 Mon Sep 17 00:00:00 2001 From: Stefan Dragomir Date: Wed, 16 Apr 2025 14:50:59 +0300 Subject: [PATCH] FORMS-18740: State of active component lacks 3 to 1 contrast ratio --- src/site/_mixin.scss | 4 +++- src/site/_variables.scss | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/site/_mixin.scss b/src/site/_mixin.scss index 20ece36..404bc8f 100644 --- a/src/site/_mixin.scss +++ b/src/site/_mixin.scss @@ -466,9 +466,11 @@ border-bottom: $border-light; border-color: transparent; border: none; + font-weight: normal; &--active { - color: $accent; + color: $black; + font-weight: 600; } &:last-child { diff --git a/src/site/_variables.scss b/src/site/_variables.scss index 2b33554..60720e0 100644 --- a/src/site/_variables.scss +++ b/src/site/_variables.scss @@ -9,6 +9,7 @@ $secondary: rgb(22, 22, 22); $very-light-gray: #ccc; $bg-gray: #eee; $white: #fff; +$black: #000; $error: #eb3c36; $light-error: rgba(235, 60, 54, 0.05); $dark-error: rgba(255, 57, 50, 0.148);