diff options
| author | Ariel Costas Guerrero <94913521+arielcostas@users.noreply.github.com> | 2025-01-01 19:26:25 +0100 |
|---|---|---|
| committer | Ariel Costas Guerrero <94913521+arielcostas@users.noreply.github.com> | 2025-01-01 19:26:25 +0100 |
| commit | c8027460db70dcc2db0f9a6e9d374d3e667800b5 (patch) | |
| tree | 7a2d5de3723c673caac8805db8e76dd96dd7971c /styles/shared.scss | |
| parent | ed484cdde9326823a696fd39682f8e6d6e33c3cb (diff) | |
Add Beiruti font for titles
Diffstat (limited to 'styles/shared.scss')
| -rw-r--r-- | styles/shared.scss | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/styles/shared.scss b/styles/shared.scss index 1d9ccdc..40fd5c2 100644 --- a/styles/shared.scss +++ b/styles/shared.scss @@ -1,3 +1,4 @@ +$titleFontStack: 'Beiruti', 'Arial', system-ui, sans-serif; $mainFontStack: 'Sen Variable', 'Arial', system-ui, sans-serif; $monoFontStack: 'Fira Code', 'Consolas', monospace; @@ -21,13 +22,8 @@ $breakpointDesktop: 1024px; font: 400 16px/1.65 $mainFontStack; } -%tracking-tight { - letter-spacing: -0.05em; -} - %heading { - font-family: $mainFontStack; - @extend %tracking-tight; + font-family: $titleFontStack; line-height: 1.25; margin-block-start: 0.75em; margin-block-end: 0.25em; @@ -35,12 +31,12 @@ $breakpointDesktop: 1024px; h1 { @extend %heading; - font-size: 3rem; + font-size: 3.25rem; } h2 { @extend %heading; - font-size: 2.25rem; + font-size: 2.5rem; } h3 { |
