adds fonts back

This commit is contained in:
Drew
2025-04-26 13:18:53 -06:00
parent 18c2c898aa
commit e0546c0e2e
4 changed files with 81 additions and 11 deletions

79
assets/css/fonts.css Normal file
View File

@ -0,0 +1,79 @@
@font-face {
font-family: 'EB Garamond 12';
src: local('EB Garamond 12 Italic'), local('EBGaramond12-Italic'),
url('/fonts/EBGaramond12-Italic.woff2') format('woff2'),
url('/fonts/EBGaramond12-Italic.woff') format('woff');
font-weight: normal;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: 'EB Garamond 12';
src: local('EB Garamond 12 Regular'), local('EBGaramond12-Regular'),
url('/fonts/EBGaramond12-Regular.woff2') format('woff2'),
url('/fonts/EBGaramond12-Regular.woff') format('woff');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Iosevka';
src: local('Iosevka'),
url('/fonts/Iosevka.woff2') format('woff2'),
url('/fonts/Iosevka.woff') format('woff');
font-weight: normal;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Iosevka';
src: local('Iosevka Bold'), local('Iosevka-Bold'),
url('/fonts/Iosevka-Bold.woff2') format('woff2'),
url('/fonts/Iosevka-Bold.woff') format('woff');
font-weight: bold;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Iosevka';
src: local('Iosevka Bold Italic'), local('Iosevka-Bold-Italic'),
url('/fonts/Iosevka-Bold-Italic.woff2') format('woff2'),
url('/fonts/Iosevka-Bold-Italic.woff') format('woff');
font-weight: bold;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: 'Iosevka';
src: local('Iosevka Light'), local('Iosevka-Light'),
url('/fonts/Iosevka-Light.woff2') format('woff2'),
url('/fonts/Iosevka-Light.woff') format('woff');
font-weight: 300;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: 'Iosevka';
src: local('Iosevka Light Italic'), local('Iosevka-Light-Italic'),
url('/fonts/Iosevka-Light-Italic.woff2') format('woff2'),
url('/fonts/Iosevka-Light-Italic.woff') format('woff');
font-weight: 300;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: 'Iosevka';
src: local('Iosevka Oblique'), local('Iosevka-Oblique'),
url('/fonts/Iosevka-Oblique.woff2') format('woff2'),
url('/fonts/Iosevka-Oblique.woff') format('woff');
font-weight: normal;
font-style: italic;
font-display: swap;
}

View File

@ -2,6 +2,7 @@
@plugin "@tailwindcss/typography";
/* Add safelist for all color variations */
/* Wompum.js constructs class names dynamically and tailwind misses them */
@source inline("{bg,text,border}-{blue,clay,cyan,gold,moss,pine,pink,red,rust,sand}-{100,500,900}");
@theme {
@ -44,5 +45,6 @@ body {
}
@import "components/wompum.css";
@import "fonts.css";
@import "main.css";
@import "article.css";