From 047e63541cb9c40dd64277d51574c9becb3da163 Mon Sep 17 00:00:00 2001 From: Ahmed Ejaz Date: Thu, 28 Dec 2023 17:06:56 +0500 Subject: [PATCH] 11068: add black-text css class --- app/views/admin/products_v3/_delete_modal.html.haml | 2 +- app/webpacker/css/admin_v3/shared/layout.scss | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/app/views/admin/products_v3/_delete_modal.html.haml b/app/views/admin/products_v3/_delete_modal.html.haml index a5f2ce01a9..446130cd95 100644 --- a/app/views/admin/products_v3/_delete_modal.html.haml +++ b/app/views/admin/products_v3/_delete_modal.html.haml @@ -8,7 +8,7 @@ confirm_reflexes: "click->products#delete_#{object_type}", ) = render delete_modal do - %h2.margin-bottom-20{style:'color: black'} + %h2.margin-bottom-20.black-text = t("#{base_translation_key}.heading") %p = t("#{base_translation_key}.prompt") diff --git a/app/webpacker/css/admin_v3/shared/layout.scss b/app/webpacker/css/admin_v3/shared/layout.scss index addd363521..e5a47dc247 100644 --- a/app/webpacker/css/admin_v3/shared/layout.scss +++ b/app/webpacker/css/admin_v3/shared/layout.scss @@ -135,3 +135,9 @@ display: none; } } + +// Text Colors +.black-text { + color: $near-black +} +//------------