fix: Cleanup poppins.css and file import after switching to Astro fonts
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
<style is:global>
|
||||
@import url("../styles/poppins.css");
|
||||
|
||||
:root {
|
||||
--clr-light-400: oklch(100% 0.00011 271.152);
|
||||
--clr-light-500: oklch(from var(--clr-light-400) calc(l - 0.1) c h);
|
||||
@@ -95,7 +93,8 @@
|
||||
border: 2px solid var(--clr-ts-red-400);
|
||||
}
|
||||
|
||||
.char, .line {
|
||||
.char,
|
||||
.line {
|
||||
will-change: transform, opacity;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -1,64 +0,0 @@
|
||||
@font-face {
|
||||
font-family: "Poppins";
|
||||
src: url("../assets/fonts/poppins/Poppins-Regular.eot");
|
||||
src:
|
||||
url("../assets/fonts/poppins/Poppins-Regular.eot?#iefix")
|
||||
format("embedded-opentype"),
|
||||
url("../assets/fonts/poppins/Poppins-Regular.woff2") format("woff2"),
|
||||
url("../assets/fonts/poppins/Poppins-Regular.woff") format("woff");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Poppins";
|
||||
src: url("../assets/fonts/poppins/Poppins-Italic.eot");
|
||||
src:
|
||||
url("../assets/fonts/poppins/Poppins-Italic.eot?#iefix")
|
||||
format("embedded-opentype"),
|
||||
url("../assets/fonts/poppins/Poppins-Italic.woff2") format("woff2"),
|
||||
url("../assets/fonts/poppins/Poppins-Italic.woff") format("woff");
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Poppins";
|
||||
src: url("../assets/fonts/poppins/Poppins-SemiBold.eot");
|
||||
src:
|
||||
url("../assets/fonts/poppins/Poppins-SemiBold.eot?#iefix")
|
||||
format("embedded-opentype"),
|
||||
url("../assets/fonts/poppins/Poppins-SemiBold.woff2") format("woff2"),
|
||||
url("../assets/fonts/poppins/Poppins-SemiBold.woff") format("woff");
|
||||
font-weight: 600;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Poppins";
|
||||
src: url("../assets/fonts/poppins/Poppins-SemiBoldItalic.eot");
|
||||
src:
|
||||
url("../assets/fonts/poppins/Poppins-SemiBoldItalic.eot?#iefix")
|
||||
format("embedded-opentype"),
|
||||
url("../assets/fonts/poppins/Poppins-SemiBoldItalic.woff2") format("woff2"),
|
||||
url("../assets/fonts/poppins/Poppins-SemiBoldItalic.woff") format("woff");
|
||||
font-weight: 600;
|
||||
font-style: italic;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Poppins";
|
||||
src: url("../assets/fonts/poppins/Poppins-Bold.eot");
|
||||
src:
|
||||
url("../assets/fonts/poppins/Poppins-Bold.eot?#iefix")
|
||||
format("embedded-opentype"),
|
||||
url("../assets/fonts/poppins/Poppins-Bold.woff2") format("woff2"),
|
||||
url("../assets/fonts/poppins/Poppins-Bold.woff") format("woff");
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
Reference in New Issue
Block a user