fix: set font-display to swap for all custom fonts and remove obsolete Tailwind CSS base styles
This commit is contained in:
@@ -1,38 +1,38 @@
|
||||
@import url(https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:ital,wght@1,300;1,400;1,500;1,600;1,700);
|
||||
@import url(https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:ital,wght@1,300;1,400;1,500;1,600;1,700&display=swap);
|
||||
@font-face {
|
||||
font-family: 'Space Grotesk';
|
||||
src: url(../../fonts/space/SpaceGrotesk-SemiBold.woff2) format('woff2'), url(../../fonts/space/SpaceGrotesk-SemiBold.woff) format('woff');
|
||||
font-weight: 600;
|
||||
font-style: normal;
|
||||
font-display: block
|
||||
font-display: swap;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Space Grotesk';
|
||||
src: url(../../fonts/space/SpaceGrotesk-Light.woff2) format('woff2'), url(../../fonts/space/SpaceGrotesk-Light.woff) format('woff');
|
||||
font-weight: 300;
|
||||
font-style: normal;
|
||||
font-display: block
|
||||
font-display: swap;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Space Grotesk';
|
||||
src: url(../../fonts/space/SpaceGrotesk-Bold.woff2) format('woff2'), url(../../fonts/space/SpaceGrotesk-Bold.woff) format('woff');
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
font-display: block
|
||||
font-display: swap;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Space Grotesk';
|
||||
src: url(../../fonts/space/SpaceGrotesk-Medium.woff2) format('woff2'), url(../../fonts/space/SpaceGrotesk-Medium.woff) format('woff');
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
font-display: block
|
||||
font-display: swap;
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Space Grotesk';
|
||||
src: url(../../fonts/space/SpaceGrotesk-Regular.woff2) format('woff2'), url(../../fonts/space/SpaceGrotesk-Regular.woff) format('woff');
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
font-display: block
|
||||
font-display: swap;
|
||||
}
|
||||
* {
|
||||
word-spacing: normal !important
|
||||
|
||||
@@ -3,70 +3,70 @@
|
||||
src: url(../../fonts/urbanist/Urbanist-BoldItalic.woff2) format('woff2'), url(../../fonts/urbanist/Urbanist-BoldItalic.woff) format('woff');
|
||||
font-weight: 700;
|
||||
font-style: italic;
|
||||
font-display: block
|
||||
font-display: swap;
|
||||
}
|
||||
@font-face {
|
||||
font-family: Urbanist;
|
||||
src: url(../../fonts/urbanist/Urbanist-SemiBoldItalic.woff2) format('woff2'), url(../../fonts/urbanist/Urbanist-SemiBoldItalic.woff) format('woff');
|
||||
font-weight: 600;
|
||||
font-style: italic;
|
||||
font-display: block
|
||||
font-display: swap;
|
||||
}
|
||||
@font-face {
|
||||
font-family: Urbanist;
|
||||
src: url(../../fonts/urbanist/Urbanist-Medium.woff2) format('woff2'), url(../../fonts/urbanist/Urbanist-Medium.woff) format('woff');
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
font-display: block
|
||||
font-display: swap;
|
||||
}
|
||||
@font-face {
|
||||
font-family: Urbanist;
|
||||
src: url(../../fonts/urbanist/Urbanist-MediumItalic.woff2) format('woff2'), url(../../fonts/urbanist/Urbanist-MediumItalic.woff) format('woff');
|
||||
font-weight: 500;
|
||||
font-style: italic;
|
||||
font-display: block
|
||||
font-display: swap;
|
||||
}
|
||||
@font-face {
|
||||
font-family: Urbanist;
|
||||
src: url(../../fonts/urbanist/Urbanist-SemiBold.woff2) format('woff2'), url(../../fonts/urbanist/Urbanist-SemiBold.woff) format('woff');
|
||||
font-weight: 600;
|
||||
font-style: normal;
|
||||
font-display: block
|
||||
font-display: swap;
|
||||
}
|
||||
@font-face {
|
||||
font-family: Urbanist;
|
||||
src: url(../../fonts/urbanist/Urbanist-Italic.woff2) format('woff2'), url(../../fonts/urbanist/Urbanist-Italic.woff) format('woff');
|
||||
font-weight: 400;
|
||||
font-style: italic;
|
||||
font-display: block
|
||||
font-display: swap;
|
||||
}
|
||||
@font-face {
|
||||
font-family: Urbanist;
|
||||
src: url(../../fonts/urbanist/Urbanist-Regular.woff2) format('woff2'), url(../../fonts/urbanist/Urbanist-Regular.woff) format('woff');
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
font-display: block
|
||||
font-display: swap;
|
||||
}
|
||||
@font-face {
|
||||
font-family: Urbanist;
|
||||
src: url(../../fonts/urbanist/Urbanist-LightItalic.woff2) format('woff2'), url(../../fonts/urbanist/Urbanist-LightItalic.woff) format('woff');
|
||||
font-weight: 300;
|
||||
font-style: italic;
|
||||
font-display: block
|
||||
font-display: swap;
|
||||
}
|
||||
@font-face {
|
||||
font-family: Urbanist;
|
||||
src: url(../../fonts/urbanist/Urbanist-Light.woff2) format('woff2'), url(../../fonts/urbanist/Urbanist-Light.woff) format('woff');
|
||||
font-weight: 300;
|
||||
font-style: normal;
|
||||
font-display: block
|
||||
font-display: swap;
|
||||
}
|
||||
@font-face {
|
||||
font-family: Urbanist;
|
||||
src: url(../../fonts/urbanist/Urbanist-Bold.woff2) format('woff2'), url(../../fonts/urbanist/Urbanist-Bold.woff) format('woff');
|
||||
font-weight: 700;
|
||||
font-style: normal;
|
||||
font-display: block
|
||||
font-display: swap;
|
||||
}
|
||||
* {
|
||||
word-spacing: normal !important
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
src:url(Unicons.woff2) format("woff2"),url(Unicons.woff) format("woff");
|
||||
font-weight:400;
|
||||
font-style:normal;
|
||||
font-display:block
|
||||
font-display:swap;
|
||||
}
|
||||
@font-face {
|
||||
font-family:Custom;
|
||||
src:url(../custom/Custom.woff2) format("woff2"),url(../custom/Custom.woff) format("woff");
|
||||
font-weight:400;
|
||||
font-style:normal;
|
||||
font-display:block
|
||||
font-display:swap;
|
||||
}
|
||||
+1
-31862
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user