peyda font

This commit is contained in:
Parsa Nazer
2025-03-22 23:03:53 +03:30
parent bd90d4272c
commit 9380c99a93
10 changed files with 103 additions and 52 deletions
+2 -2
View File
@@ -32,7 +32,7 @@ UNFOLD = {
lambda request: static("rtl.css"),
],
"BORDER_RADIUS": "20px",
"BORDER_RADIUS": "8px",
"SHOW_HISTORY": True,
"SHOW_VIEW_ON_SITE": True,
"ENVIRONMENT": "core.settings.environment_callback",
@@ -47,7 +47,7 @@ UNFOLD = {
"500": "115 115 115",
"600": "82 82 82",
"700": "64 64 64",
"800": "38 38 38",
"800": "42 42 42",
"900": "23 23 23",
"950": "10 10 10"
},
+12 -49
View File
@@ -1,88 +1,51 @@
@layer base {
@font-face {
font-family: "IRANYekanXVF";
src: url("./fonts/IranYekanX/IRANYekanX-Thin.woff2");
font-weight: 100;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "IRANYekanXVF";
src: url("./fonts/IranYekanX/IRANYekanX-UltraLight.woff2");
font-weight: 200;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "IRANYekanXVF";
src: url("./fonts/IranYekanX/IRANYekanX-Light.woff2");
font-family: "Peyda";
src: url("./fonts/peyda/300-PeydaWeb-Light-fanum.woff2");
font-weight: 300;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "IRANYekanXVF";
src: url("./fonts/IranYekanX/IRANYekanX-Regular.woff2");
font-family: "Peyda";
src: url("./fonts/peyda/400-PeydaWeb-Regular-fanum.woff2");
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "IRANYekanXVF";
src: url("./fonts/IranYekanX/IRANYekanX-Medium.woff2");
font-family: "Peyda";
src: url("./fonts/peyda/500-PeydaWeb-Medium-fanum.woff2");
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "IRANYekanXVF";
src: url("./fonts/IranYekanX/IRANYekanX-DemiBold.woff2");
font-family: "Peyda";
src: url("./fonts/peyda/600-PeydaWeb-SemiBold-fanum.woff2");
font-weight: 600;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "IRANYekanXVF";
src: url("./fonts/IranYekanX/IRANYekanX-Bold.woff2");
font-family: "Peyda";
src: url("./fonts/peyda/700-PeydaWeb-Bold-fanum.woff2");
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "IRANYekanXVF";
src: url("./fonts/IranYekanX/IRANYekanX-ExtraBold.woff2");
font-weight: 800;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "IRANYekanXVF";
src: url("./fonts/IranYekanX/IRANYekanX-Black.woff2");
font-family: "Peyda";
src: url("./fonts/peyda/900-PeydaWeb-Black-fanum.woff2");
font-weight: 900;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "IRANYekanXVF";
src: url("./fonts/IranYekanX/IRANYekanX-ExtraBlack.woff2");
font-weight: 950;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "IRANYekanXVF";
src: url("./fonts/IranYekanX/IRANYekanX-Heavy.woff2");
font-weight: 1000;
font-style: normal;
font-display: swap;
}
}
@@ -0,0 +1,88 @@
@layer base {
@font-face {
font-family: "IRANYekanXVF";
src: url("./fonts/IranYekanX/IRANYekanX-Thin.woff2");
font-weight: 100;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "IRANYekanXVF";
src: url("./fonts/IranYekanX/IRANYekanX-UltraLight.woff2");
font-weight: 200;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "IRANYekanXVF";
src: url("./fonts/IranYekanX/IRANYekanX-Light.woff2");
font-weight: 300;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "IRANYekanXVF";
src: url("./fonts/IranYekanX/IRANYekanX-Regular.woff2");
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "IRANYekanXVF";
src: url("./fonts/IranYekanX/IRANYekanX-Medium.woff2");
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "IRANYekanXVF";
src: url("./fonts/IranYekanX/IRANYekanX-DemiBold.woff2");
font-weight: 600;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "IRANYekanXVF";
src: url("./fonts/IranYekanX/IRANYekanX-Bold.woff2");
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "IRANYekanXVF";
src: url("./fonts/IranYekanX/IRANYekanX-ExtraBold.woff2");
font-weight: 800;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "IRANYekanXVF";
src: url("./fonts/IranYekanX/IRANYekanX-Black.woff2");
font-weight: 900;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "IRANYekanXVF";
src: url("./fonts/IranYekanX/IRANYekanX-ExtraBlack.woff2");
font-weight: 950;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "IRANYekanXVF";
src: url("./fonts/IranYekanX/IRANYekanX-Heavy.woff2");
font-weight: 1000;
font-style: normal;
font-display: swap;
}
}
+1 -1
View File
@@ -1,3 +1,3 @@
*:not(span){
font-family: 'IRANYekanXVF' !important;
font-family: 'Peyda' !important;
}