From 95b676f1983c20d9287fd6840d5f1911f9992dd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Kry=C5=A1p=C3=ADn?= Date: Thu, 20 Oct 2022 15:34:26 +0200 Subject: [PATCH] Feat(web): Add brand colors to text and background utilities --- packages/web/src/scss/settings/_utilities.scss | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/packages/web/src/scss/settings/_utilities.scss b/packages/web/src/scss/settings/_utilities.scss index 2826dbf096..7303f1c056 100644 --- a/packages/web/src/scss/settings/_utilities.scss +++ b/packages/web/src/scss/settings/_utilities.scss @@ -134,7 +134,14 @@ $utilities: ( responsive: false, property: color, class: text, - values: tokens.$text-colors, + values: + map.merge( + tokens.$text-colors, + ( + brand-primary: tokens.$brand-primary, + brand-secondary: tokens.$brand-secondary, + ) + ), ), 'background-color': ( responsive: false, @@ -142,6 +149,8 @@ $utilities: ( class: bg, values: ( basic: tokens.$background-basic, + brand-primary: tokens.$brand-primary, + brand-secondary: tokens.$brand-secondary, cover: tokens.$background-cover, inverted: tokens.$background-inverted, ),