style(ui): apply Wood Stamp font only to sheets

This commit is contained in:
Alexander Minges 2025-07-17 20:34:35 +02:00
parent 3c5e24a646
commit 1358bfad93
Signed by: Athemis
GPG key ID: 31FBDEF92DDB162B

View file

@ -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;
}