feat: local fonts
This commit is contained in:
parent
ca92a37bed
commit
b52911cb51
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,7 +1,37 @@
|
||||||
@import "./mixins.scss";
|
@import "./mixins.scss";
|
||||||
@import "./vars.scss";
|
@import "./vars.scss";
|
||||||
|
|
||||||
@import url("https://fonts.googleapis.com/css?family=Jaldi:400|JetBrains+Mono:400,700|IBM+Plex+Sans+Devanagari:400");
|
@font-face {
|
||||||
|
font-family: 'Jaldi';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("/fonts/Jaldi-Regular.woff2") format('woff2');
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'JetBrains Mono';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("/fonts/JetBrainsMono-Regular.woff2") format('woff2');
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'JetBrains Mono';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 700;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("/fonts/JetBrainsMono-Bold.woff2") format('woff2');
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'IBM Plex Sans Devanagari';
|
||||||
|
font-style: normal;
|
||||||
|
font-weight: 400;
|
||||||
|
font-display: swap;
|
||||||
|
src: url("/fonts/ibm-plex-sans-devanagari.woff2") format('woff2');
|
||||||
|
}
|
||||||
|
|
||||||
@tailwind base;
|
@tailwind base;
|
||||||
@tailwind components;
|
@tailwind components;
|
||||||
|
|
|
@ -8,6 +8,6 @@ $color-alto: #d9d9d9;
|
||||||
|
|
||||||
$font-family-ibm-plex-sans-devanagari: "IBM Plex Sans Devanagari", sans-serif;
|
$font-family-ibm-plex-sans-devanagari: "IBM Plex Sans Devanagari", sans-serif;
|
||||||
$font-family-jaldi: "Jaldi", sans-serif;
|
$font-family-jaldi: "Jaldi", sans-serif;
|
||||||
$font-family-jetbrains-mono: "JetBrains Mono", sans-serif;
|
$font-family-jetbrains-mono: "JetBrains Mono", monospace;
|
||||||
|
|
||||||
$transition-duration: 250ms;
|
$transition-duration: 250ms;
|
||||||
|
|
Loading…
Reference in New Issue