🐛 Fixes fonts
This commit is contained in:
@@ -1,26 +1,6 @@
|
||||
@import "tailwindcss";
|
||||
@import "@nuxt/ui";
|
||||
|
||||
@font-face {
|
||||
font-family: "JetBrains Mono";
|
||||
src: url(fonts/JetBrainsMono-Regular.ttf) format("truetype");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "JetBrains Mono";
|
||||
src: url(fonts/JetBrainsMono-Bold.ttf) format("truetype");
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "JetBrains Mono";
|
||||
src: url(fonts/JetBrainsMono-Italic.ttf) format("truetype");
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
html {
|
||||
font-family: "JetBrains Mono", monospace;
|
||||
@theme {
|
||||
--font-mono: "JetBrains Mono", monospace;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="w-screen h-full flex items-center justify-start flex-col">
|
||||
<div class="w-screen h-full flex items-center justify-start flex-col font-mono">
|
||||
<div class="w-1 h-10 shrink-10" />
|
||||
|
||||
<div
|
||||
|
||||
@@ -18,6 +18,11 @@ export default defineNuxtConfig({
|
||||
routeRules: {
|
||||
"/": { prerender: true },
|
||||
},
|
||||
fonts: {
|
||||
families: [
|
||||
{ name: "JetBrains Mono", provider: "local" }
|
||||
]
|
||||
},
|
||||
compatibilityDate: "2025-07-15",
|
||||
devtools: { enabled: true },
|
||||
});
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
module.exports = {
|
||||
purge: [],
|
||||
darkMode: false, // or 'media' or 'class'
|
||||
theme: {
|
||||
extend: {},
|
||||
},
|
||||
variants: {
|
||||
extend: {},
|
||||
},
|
||||
plugins: [],
|
||||
purge: [],
|
||||
darkMode: true, // or 'media' or 'class'
|
||||
theme: {
|
||||
extend: {},
|
||||
},
|
||||
variants: {
|
||||
extend: {},
|
||||
},
|
||||
plugins: [],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user