From bcf43f1bd63954f9febc35c6a25cc913c38f389e Mon Sep 17 00:00:00 2001 From: Alexander Minges Date: Thu, 17 Jul 2025 20:17:25 +0200 Subject: [PATCH] style(headings): replace FoundryVTT header fonts with DS4 heading font --- scss/global/_fonts.scss | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/scss/global/_fonts.scss b/scss/global/_fonts.scss index 4e79e4c0..46a6f611 100644 --- a/scss/global/_fonts.scss +++ b/scss/global/_fonts.scss @@ -57,4 +57,21 @@ :root { --ds4-font-primary: Lora, serif; --ds4-font-heading: "Wood Stamp", sans-serif; + + // Override FoundryVTT header fonts to use DS4 heading font + --font-h1: var(--ds4-font-heading); + --font-h2: var(--ds4-font-heading); + --font-h4: var(--ds4-font-heading); + --font-h5: var(--ds4-font-heading); +} + +// Direct CSS rules with higher specificity to override FoundryVTT defaults +h1, h2, h4, h5, +.ds4-currency-title, +.ds4-embedded-document-list-title { + font-family: var(--ds4-font-heading) !important; + text-transform: uppercase; + font-weight: 100; + font-weight: 100 !important; + text-rendering: optimizeSpeed; }