style: add new font
All checks were successful
/ Build (push) Successful in 58s

This commit is contained in:
log101 2024-08-12 23:32:18 +03:00
parent cee9374b63
commit 0ae7d8dac4
3 changed files with 7 additions and 8 deletions

Binary file not shown.

View File

@ -2,7 +2,7 @@
@tailwind utilities; @tailwind utilities;
:root { :root {
font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif; font-family: "Inter", Calibri, "Trebuchet MS", sans-serif;
font-size: 18px; font-size: 18px;
@media (min-width: 768px) { @media (min-width: 768px) {
@ -23,6 +23,11 @@ body {
src: url(/fonts/SourceCodePro-Regular.otf.woff2) format("woff2"); src: url(/fonts/SourceCodePro-Regular.otf.woff2) format("woff2");
} }
@font-face {
font-family: "Inter";
src: url(/fonts/Inter-Regular.otf.woff2) format("woff2");
}
@layer components { @layer components {
.posts { .posts {
@apply flex flex-col gap-10 md:gap-8; @apply flex flex-col gap-10 md:gap-8;

View File

@ -3,13 +3,7 @@ export default {
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"], content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
theme: { theme: {
fontFamily: { fontFamily: {
sans: [ sans: ["Inter", "Calibri", "Trebuchet MS", "sans-serif"],
"Gill Sans",
"Gill Sans MT",
"Calibri",
"Trebuchet MS",
"sans-serif",
],
mono: ["Courier New", "Courier", "monospace"], mono: ["Courier New", "Courier", "monospace"],
}, },
extend: {}, extend: {},