Closed (fixed)
Project:
KERN UX
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Dec 2025 at 09:16 UTC
Updated:
29 Jan 2026 at 13:44 UTC
Jump to comment: Most recent
When running the npm build process, a css file gets built, that embeds the fira-sans fonts from kern_ux from the docroot instead of the directory they are residing. This leads to the fonts not being loaded.
$ cd web/themes/contrib/kern_ux$ npm i && npm run build$ drush crWhen accessing the frontpage now > in the browser's developer tools > under "networking" > you should see that the fonts are marked red - because they cannot be loaded.
Add a base path to the vite config, so the paths get resolved correctly (relatively instead of absolute)
Review
Working Fonts :-D
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
fisherman90Comment #3
fisherman90MR added, feedback welcome :)
Comment #5
christian.wiedemann commentedThanks!