From 3cdb0b709e2af8431feeebfda12583e8e32b5828 Mon Sep 17 00:00:00 2001 From: LOUIS POTEVIN Date: Thu, 4 Jun 2026 10:05:09 +0200 Subject: [PATCH] fix: adding generic font family --- src/styles/tokens/_typography.scss | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/styles/tokens/_typography.scss b/src/styles/tokens/_typography.scss index 1259349..437ec84 100644 --- a/src/styles/tokens/_typography.scss +++ b/src/styles/tokens/_typography.scss @@ -1,49 +1,51 @@ @import url('https://fonts.googleapis.com/css?family=Intel%20One%20Mono:700|Intel%20One%20Mono:400'); +$font-mono: 'Intel One Mono', monospace; + @mixin text-sm { font-size: 0.600rem; - font-family: 'Intel One Mono'; + font-family: $font-mono; font-weight: 400; } @mixin text-base { font-size: 0.8rem; - font-family: 'Intel One Mono'; + font-family: $font-mono; font-weight: 400; } @mixin text-label { font-size: 0.8rem; - font-family: 'Intel One Mono'; + font-family: $font-mono; font-weight: 700; } @mixin text-xl { font-size: 1.066rem; - font-family: 'Intel One Mono'; + font-family: $font-mono; font-weight: 700; } @mixin text-2xl { font-size: 1.421rem; - font-family: 'Intel One Mono'; + font-family: $font-mono; font-weight: 700; } @mixin text-3xl { font-size: 1.894rem; - font-family: 'Intel One Mono'; + font-family: $font-mono; font-weight: 700; } @mixin text-4xl { font-size: 2.525rem; - font-family: 'Intel One Mono'; + font-family: $font-mono; font-weight: 700; } @mixin text-5xl { font-size: 3.366rem; - font-family: 'Intel One Mono'; + font-family: $font-mono; font-weight: 700; } \ No newline at end of file