Merged in feature/copy-static-files-via-build-scripts (pull request #2798)

SW-3467 Copy static files via build scripts

* add file copy script and add all fonts to design-system

* add file copy script and add all fonts to design-system

* add file copy script and add all fonts to design-system

* remove fonts that will be copied via build scripts

* wip

* update paths to shared files

* update material-symbol script

* merge

* fix missing shared segment for path in fonts.css


Approved-by: Linus Flood
This commit is contained in:
Joakim Jäderberg
2025-09-16 10:59:33 +00:00
parent 33ce30a1c8
commit 48324ef935
220 changed files with 71875 additions and 725 deletions

View File

@@ -3,28 +3,28 @@ export function FontPreload() {
<>
<link
rel="preload"
href="/_static/fonts/biro-script-plus/regular.woff2"
href="/_static/shared/fonts/biro-script-plus/regular.woff2"
as="font"
type="font/woff2"
crossOrigin="anonymous"
/>
<link
rel="preload"
href="/_static/fonts/brandon-text/bold.woff2"
href="/_static/shared/fonts/brandon-text/bold.woff2"
as="font"
type="font/woff2"
crossOrigin="anonymous"
/>
<link
rel="preload"
href="/_static/fonts/fira-sans/medium.woff2"
href="/_static/shared/fonts/fira-sans/medium.woff2"
as="font"
type="font/woff2"
crossOrigin="anonymous"
/>
<link
rel="preload"
href="/_static/fonts/fira-sans/regular.woff2"
href="/_static/shared/fonts/fira-sans/regular.woff2"
as="font"
type="font/woff2"
crossOrigin="anonymous"