diff --git a/scss/global/_fonts.scss b/scss/global/_fonts.scss index 477ed759..d5e7adb4 100644 --- a/scss/global/_fonts.scss +++ b/scss/global/_fonts.scss @@ -57,26 +57,22 @@ :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:not(.window-title), h2, h4, h5, +// Apply Wood Stamp font only to DS4 sheet-specific elements +.ds4-actor-sheet h1, +.ds4-actor-sheet h2, +.ds4-actor-sheet h4, +.ds4-actor-sheet h5, +.ds4-actor-sheet h6, +.ds4-item-sheet h1, +.ds4-item-sheet h2, +.ds4-item-sheet h4, +.ds4-item-sheet h5, +.ds4-item-sheet h6, .ds4-currency-title, .ds4-embedded-document-list-title { font-family: var(--ds4-font-heading) !important; text-transform: uppercase; font-weight: 100 !important; } - -// Keep window titles readable with standard font -.window-title { - font-family: var(--font-sans) !important; - font-weight: 600 !important; - text-transform: none; -}