From 5a8d1d621929abea7d43017a3d0052ec98f500f4 Mon Sep 17 00:00:00 2001 From: Bhushan Palsapure Date: Fri, 21 Jun 2024 15:39:17 +0100 Subject: [PATCH] Changed: Issue-2041 - Updated colour from secondary to primary for text-body --- components/vf-sass-config/CHANGELOG.md | 4 ++++ components/vf-sass-config/mixins/_typography.scss | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/components/vf-sass-config/CHANGELOG.md b/components/vf-sass-config/CHANGELOG.md index bdef2d375b..9535ec8601 100644 --- a/components/vf-sass-config/CHANGELOG.md +++ b/components/vf-sass-config/CHANGELOG.md @@ -1,3 +1,7 @@ +### 2.7.2 + +* Changes to use primary colours instead of secondary colours for text-body.[Tracking issue](https://github.com/visual-framework/vf-core/issues/2041) + ### 2.7.1 * Make vf-divider respect vf-stack spacing. diff --git a/components/vf-sass-config/mixins/_typography.scss b/components/vf-sass-config/mixins/_typography.scss index e7f5aa7cfb..c850a16e00 100644 --- a/components/vf-sass-config/mixins/_typography.scss +++ b/components/vf-sass-config/mixins/_typography.scss @@ -46,16 +46,16 @@ color: text-color(primary); } @else if $font-size == text-body--3 { - color: text-color(secondary); + color: text-color(primary); } @else if $font-size == text-body--4 { - color: text-color(secondary); + color: text-color(primary); } @else if $font-size == text-body--5 { - color: text-color(secondary); + color: text-color(primary); } @else if $font-size == text-body--5 { - color: text-color(secondary); + color: text-color(primary); } // Set font weight