From 07a2fefab15e95d38bea67206ca268c8a1064c62 Mon Sep 17 00:00:00 2001 From: CezarSTF Date: Sun, 25 May 2025 12:26:43 +0300 Subject: [PATCH 1/2] FORMS-18734: Text content lacks 4.5:1 contrast ratio @sunnym @vavarshn --- src/site/_mixin.scss | 4 ++-- src/site/_variables.scss | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/site/_mixin.scss b/src/site/_mixin.scss index 20ece36..48d4629 100644 --- a/src/site/_mixin.scss +++ b/src/site/_mixin.scss @@ -23,7 +23,7 @@ &[data-cmp-valid=false]>&__label, &[data-cmp-valid=false]>&__label-container>&__label { font-weight: 500; - color: $error ; + color: $error-darker ; } } @@ -249,7 +249,7 @@ @mixin error-message { &__errormessage { display: none; - color: $error; + color: $error-darker; font-size: $font-s; font-weight: 500; margin-bottom: $space-s; diff --git a/src/site/_variables.scss b/src/site/_variables.scss index 2b33554..58b7515 100644 --- a/src/site/_variables.scss +++ b/src/site/_variables.scss @@ -10,6 +10,7 @@ $very-light-gray: #ccc; $bg-gray: #eee; $white: #fff; $error: #eb3c36; +$error-darker: #b40000; $light-error: rgba(235, 60, 54, 0.05); $dark-error: rgba(255, 57, 50, 0.148); $accent: rgb(21, 88, 212); From 56a43d31e581d13a1b658f279029d0e0e83d32e7 Mon Sep 17 00:00:00 2001 From: CezarSTF Date: Tue, 27 May 2025 11:35:55 +0300 Subject: [PATCH 2/2] FORMS-18734: Text content lacks 4.5:1 contrast ratio @sunnym @vavarshn --- src/site/_mixin.scss | 4 ++-- src/site/_variables.scss | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/site/_mixin.scss b/src/site/_mixin.scss index 48d4629..20ece36 100644 --- a/src/site/_mixin.scss +++ b/src/site/_mixin.scss @@ -23,7 +23,7 @@ &[data-cmp-valid=false]>&__label, &[data-cmp-valid=false]>&__label-container>&__label { font-weight: 500; - color: $error-darker ; + color: $error ; } } @@ -249,7 +249,7 @@ @mixin error-message { &__errormessage { display: none; - color: $error-darker; + color: $error; font-size: $font-s; font-weight: 500; margin-bottom: $space-s; diff --git a/src/site/_variables.scss b/src/site/_variables.scss index 58b7515..b890694 100644 --- a/src/site/_variables.scss +++ b/src/site/_variables.scss @@ -9,8 +9,7 @@ $secondary: rgb(22, 22, 22); $very-light-gray: #ccc; $bg-gray: #eee; $white: #fff; -$error: #eb3c36; -$error-darker: #b40000; +$error: #b40000; $light-error: rgba(235, 60, 54, 0.05); $dark-error: rgba(255, 57, 50, 0.148); $accent: rgb(21, 88, 212);