Add cascadia code font

This commit is contained in:
2024-03-13 23:04:00 +00:00
parent 87b6d80a44
commit 2dbbec275d
3 changed files with 10 additions and 1 deletions

View File

@@ -2,7 +2,11 @@
module.exports = { module.exports = {
content: ["./**/*.{razor,html,cshtml}"], content: ["./**/*.{razor,html,cshtml}"],
theme: { theme: {
extend: {}, extend: {
fontFamily: {
cascadia: ["Cascadia Code", "mono-space"]
}
},
}, },
plugins: [], plugins: [],
} }

View File

@@ -2,6 +2,11 @@
@tailwind components; @tailwind components;
@tailwind utilities; @tailwind utilities;
@font-face {
font-family: "Cascadia Code";
src: url("../fonts/CascadiaCode.woff2");
}
@keyframes blink { @keyframes blink {
from, to { opacity: 1 } from, to { opacity: 1 }
50% { opacity: 0 } 50% { opacity: 0 }