From feddd0b0c43ab14714e4f175229c0378b7e9da64 Mon Sep 17 00:00:00 2001 From: alexisben <alex@noesya.coop> Date: Wed, 27 Mar 2024 10:14:56 +0100 Subject: [PATCH] use css variable instead of sass variables --- assets/sass/_theme/design-system/typography.sass | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/assets/sass/_theme/design-system/typography.sass b/assets/sass/_theme/design-system/typography.sass index e08b6c2a..6b1f3ca4 100644 --- a/assets/sass/_theme/design-system/typography.sass +++ b/assets/sass/_theme/design-system/typography.sass @@ -4,12 +4,10 @@ body font-family: $body-font-family -moz-osx-font-smoothing: grayscale -webkit-font-smoothing: antialiased - font-size: $body-size + font-size: var(--body-size) + line-height: var(--body-line-height) font-variant-ligatures: common-ligatures text-rendering: optimizelegibility - line-height: $body-line-height - @include media-breakpoint-up(desktop) - font-size: $body-size-desktop // Experimental, not implemented yet // https://github.com/jantimon/text-box-trim-examples -- GitLab