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:
@@ -3,7 +3,7 @@
|
||||
font-family: 'biro script plus';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url(/_static/fonts/biro-script-plus/regular.woff2) format('woff2');
|
||||
src: url(/_static/shared/fonts/biro-script-plus/regular.woff2) format('woff2');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
@@ -11,8 +11,8 @@
|
||||
font-family: 'brandon text';
|
||||
font-weight: 700;
|
||||
src:
|
||||
url(/_static/fonts/brandon-text/bold.woff2) format('woff2'),
|
||||
url(/_static/fonts/brandon-text/bold.woff) format('woff');
|
||||
url(/_static/shared/fonts/brandon-text/bold.woff2) format('woff2'),
|
||||
url(/_static/shared/fonts/brandon-text/bold.woff) format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
@@ -20,8 +20,8 @@
|
||||
font-family: 'brandon text';
|
||||
font-weight: 900;
|
||||
src:
|
||||
url(/_static/fonts/brandon-text/black.woff2) format('woff2'),
|
||||
url(/_static/fonts/brandon-text/black.woff) format('woff');
|
||||
url(/_static/shared/fonts/brandon-text/black.woff2) format('woff2'),
|
||||
url(/_static/shared/fonts/brandon-text/black.woff) format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
@@ -30,9 +30,9 @@
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
src:
|
||||
url(/_static/fonts/domaine/domainesanstextweb-light-webfont.woff2)
|
||||
url(/_static/shared/fonts/domaine/domainesanstextweb-light-webfont.woff2)
|
||||
format('woff2'),
|
||||
url(/_static/fonts/domaine/domainesanstextweb-light-webfont.woff)
|
||||
url(/_static/shared/fonts/domaine/domainesanstextweb-light-webfont.woff)
|
||||
format('woff');
|
||||
}
|
||||
|
||||
@@ -42,9 +42,9 @@
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src:
|
||||
url(/_static/fonts/domaine/domainesanstextweb-regular-webfont.woff2)
|
||||
url(/_static/shared/fonts/domaine/domainesanstextweb-regular-webfont.woff2)
|
||||
format('woff2'),
|
||||
url(/_static/fonts/domaine/domainesanstextweb-regular-webfont.woff)
|
||||
url(/_static/shared/fonts/domaine/domainesanstextweb-regular-webfont.woff)
|
||||
format('woff');
|
||||
}
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
font-family: 'fira sans';
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
src: url(/_static/fonts/fira-sans/light.woff2) format('woff2');
|
||||
src: url(/_static/shared/fonts/fira-sans/light.woff2) format('woff2');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
@@ -61,7 +61,7 @@
|
||||
font-family: 'fira sans';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url(/_static/fonts/fira-sans/regular.woff2) format('woff2');
|
||||
src: url(/_static/shared/fonts/fira-sans/regular.woff2) format('woff2');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
@@ -69,7 +69,7 @@
|
||||
font-family: 'fira sans';
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
src: url(/_static/fonts/fira-sans/medium.woff2) format('woff2');
|
||||
src: url(/_static/shared/fonts/fira-sans/medium.woff2) format('woff2');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
@@ -77,7 +77,7 @@
|
||||
font-family: 'fira sans';
|
||||
font-style: normal;
|
||||
font-weight: 600;
|
||||
src: url(/_static/fonts/fira-sans/semibold.woff2) format('woff2');
|
||||
src: url(/_static/shared/fonts/fira-sans/semibold.woff2) format('woff2');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
@@ -85,7 +85,7 @@
|
||||
font-family: 'fira sans';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: url(/_static/fonts/fira-sans/bold.woff2) format('woff2');
|
||||
src: url(/_static/shared/fonts/fira-sans/bold.woff2) format('woff2');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
@@ -93,7 +93,7 @@
|
||||
font-family: 'fira sans';
|
||||
font-style: normal;
|
||||
font-weight: 900;
|
||||
src: url(/_static/fonts/fira-sans/black.woff2) format('woff2');
|
||||
src: url(/_static/shared/fonts/fira-sans/black.woff2) format('woff2');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
@@ -102,9 +102,9 @@
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src:
|
||||
url(/_static/fonts/itcgaramond/ITCGaramondBookNarrow_normal_condensed.woff2)
|
||||
url(/_static/shared/fonts/itcgaramond/ITCGaramondBookNarrow_normal_condensed.woff2)
|
||||
format('woff2'),
|
||||
url(/_static/fonts/itcgaramond/ITCGaramondBookNarrow_normal_condensed.woff)
|
||||
url(/_static/shared/fonts/itcgaramond/ITCGaramondBookNarrow_normal_condensed.woff)
|
||||
format('woff');
|
||||
}
|
||||
|
||||
@@ -114,8 +114,8 @@
|
||||
font-style: normal;
|
||||
font-weight: 900;
|
||||
src:
|
||||
url(/_static/fonts/gotham/gotham-black-webfont.woff2) format('woff2'),
|
||||
url(/_static/fonts/gotham/gotham-black-webfont.woff) format('woff');
|
||||
url(/_static/shared/fonts/gotham/gotham-black-webfont.woff2) format('woff2'),
|
||||
url(/_static/shared/fonts/gotham/gotham-black-webfont.woff) format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
@@ -124,8 +124,8 @@
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src:
|
||||
url(/_static/fonts/gotham/gotham-bold-webfont.woff2) format('woff2'),
|
||||
url(/_static/fonts/gotham/gotham-bold-webfont.woff) format('woff');
|
||||
url(/_static/shared/fonts/gotham/gotham-bold-webfont.woff2) format('woff2'),
|
||||
url(/_static/shared/fonts/gotham/gotham-bold-webfont.woff) format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
@@ -134,9 +134,9 @@
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src:
|
||||
url(/_static/fonts/grotesk/NeueHaasGroteskDisplay55Roman_normal_normal.woff2)
|
||||
url(/_static/shared/fonts/grotesk/NeueHaasGroteskDisplay55Roman_normal_normal.woff2)
|
||||
format('woff2'),
|
||||
url(/_static/fonts/grotesk/NeueHaasGroteskDisplay55Roman_normal_normal.woff)
|
||||
url(/_static/shared/fonts/grotesk/NeueHaasGroteskDisplay55Roman_normal_normal.woff)
|
||||
format('woff');
|
||||
}
|
||||
|
||||
@@ -146,9 +146,9 @@
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
src:
|
||||
url(/_static/fonts/grotesk/NeueHaasGroteskDisplay65Medium_normal_normal.woff2)
|
||||
url(/_static/shared/fonts/grotesk/NeueHaasGroteskDisplay65Medium_normal_normal.woff2)
|
||||
format('woff2'),
|
||||
url(/_static/fonts/grotesk/NeueHaasGroteskDisplay65Medium_normal_normal.woff)
|
||||
url(/_static/shared/fonts/grotesk/NeueHaasGroteskDisplay65Medium_normal_normal.woff)
|
||||
format('woff');
|
||||
}
|
||||
|
||||
@@ -158,8 +158,9 @@
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
src:
|
||||
url(/_static/fonts/prumo/prumotext-light-webfont.woff2) format('woff2'),
|
||||
url(/_static/fonts/prumo/PrumoText-Light.woff) format('woff');
|
||||
url(/_static/shared/fonts/prumo/prumotext-light-webfont.woff2)
|
||||
format('woff2'),
|
||||
url(/_static/shared/fonts/prumo/PrumoText-Light.woff) format('woff');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
@@ -167,7 +168,8 @@
|
||||
font-family: 'Canela Deck';
|
||||
font-style: normal;
|
||||
font-weight: 900;
|
||||
src: url(/_static/fonts/canela-deck/CanelaDeck-Black.otf) format('opentype');
|
||||
src: url(/_static/shared/fonts/canela-deck/CanelaDeck-Black.otf)
|
||||
format('opentype');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
@@ -175,7 +177,7 @@
|
||||
font-family: 'Canela Deck';
|
||||
font-style: italic;
|
||||
font-weight: 900;
|
||||
src: url(/_static/fonts/canela-deck/CanelaDeck-BlackItalic.otf)
|
||||
src: url(/_static/shared/fonts/canela-deck/CanelaDeck-BlackItalic.otf)
|
||||
format('opentype');
|
||||
}
|
||||
|
||||
@@ -184,7 +186,8 @@
|
||||
font-family: 'Canela Deck';
|
||||
font-style: normal;
|
||||
font-weight: 700;
|
||||
src: url(/_static/fonts/canela-deck/CanelaDeck-Bold.otf) format('opentype');
|
||||
src: url(/_static/shared/fonts/canela-deck/CanelaDeck-Bold.otf)
|
||||
format('opentype');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
@@ -192,7 +195,7 @@
|
||||
font-family: 'Canela Deck';
|
||||
font-style: italic;
|
||||
font-weight: 700;
|
||||
src: url(/_static/fonts/canela-deck/CanelaDeck-BoldItalic.otf)
|
||||
src: url(/_static/shared/fonts/canela-deck/CanelaDeck-BoldItalic.otf)
|
||||
format('opentype');
|
||||
}
|
||||
|
||||
@@ -201,7 +204,8 @@
|
||||
font-family: 'Canela Deck';
|
||||
font-style: normal;
|
||||
font-weight: 300;
|
||||
src: url(/_static/fonts/canela-deck/CanelaDeck-Light.otf) format('opentype');
|
||||
src: url(/_static/shared/fonts/canela-deck/CanelaDeck-Light.otf)
|
||||
format('opentype');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
@@ -209,7 +213,7 @@
|
||||
font-family: 'Canela Deck';
|
||||
font-style: italic;
|
||||
font-weight: 300;
|
||||
src: url(/_static/fonts/canela-deck/CanelaDeck-LightItalic.otf)
|
||||
src: url(/_static/shared/fonts/canela-deck/CanelaDeck-LightItalic.otf)
|
||||
format('opentype');
|
||||
}
|
||||
|
||||
@@ -218,7 +222,8 @@
|
||||
font-family: 'Canela Deck';
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
src: url(/_static/fonts/canela-deck/CanelaDeck-Medium.otf) format('opentype');
|
||||
src: url(/_static/shared/fonts/canela-deck/CanelaDeck-Medium.otf)
|
||||
format('opentype');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
@@ -226,7 +231,7 @@
|
||||
font-family: 'Canela Deck';
|
||||
font-style: italic;
|
||||
font-weight: 500;
|
||||
src: url(/_static/fonts/canela-deck/CanelaDeck-MediumItalic.otf)
|
||||
src: url(/_static/shared/fonts/canela-deck/CanelaDeck-MediumItalic.otf)
|
||||
format('opentype');
|
||||
}
|
||||
|
||||
@@ -235,7 +240,8 @@
|
||||
font-family: 'Canela Deck';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url(/_static/fonts/canela-deck/CanelaDeck-Regular.otf) format('opentype');
|
||||
src: url(/_static/shared/fonts/canela-deck/CanelaDeck-Regular.otf)
|
||||
format('opentype');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
@@ -243,7 +249,7 @@
|
||||
font-family: 'Canela Deck';
|
||||
font-style: italic;
|
||||
font-weight: 400;
|
||||
src: url(/_static/fonts/canela-deck/CanelaDeck-RegularItalic.otf)
|
||||
src: url(/_static/shared/fonts/canela-deck/CanelaDeck-RegularItalic.otf)
|
||||
format('opentype');
|
||||
}
|
||||
|
||||
@@ -252,7 +258,8 @@
|
||||
font-family: 'Canela Deck';
|
||||
font-style: normal;
|
||||
font-weight: 200;
|
||||
src: url(/_static/fonts/canela-deck/CanelaDeck-Thin.otf) format('opentype');
|
||||
src: url(/_static/shared/fonts/canela-deck/CanelaDeck-Thin.otf)
|
||||
format('opentype');
|
||||
}
|
||||
|
||||
@font-face {
|
||||
@@ -260,7 +267,7 @@
|
||||
font-family: 'Canela Deck';
|
||||
font-style: italic;
|
||||
font-weight: 200;
|
||||
src: url(/_static/fonts/canela-deck/CanelaDeck-ThinItalic.otf)
|
||||
src: url(/_static/shared/fonts/canela-deck/CanelaDeck-ThinItalic.otf)
|
||||
format('opentype');
|
||||
}
|
||||
|
||||
@@ -269,7 +276,7 @@
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
font-display: block;
|
||||
src: url(/_static/fonts/material-symbols/rounded-f2d895e1.woff2)
|
||||
src: url(/_static/shared/fonts/material-symbols/rounded-f2d895e1.woff2)
|
||||
format('woff2');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user