fix: dirty fix fonts

This commit is contained in:
DecDuck
2025-04-20 23:57:17 +10:00
parent e762f4dac3
commit 49d5e0b748
2 changed files with 15 additions and 2 deletions

View File

@@ -40,6 +40,7 @@ export default defineNuxtConfig({
fonts: {
families: [
/*
{
name: "Helvetica",
src: "/fonts/helvetica/helvetica-300-light.woff2",
@@ -60,6 +61,7 @@ export default defineNuxtConfig({
name: "Helvetica",
src: "/fonts/helvetica/Helvetica-600-bold.woff",
},
*/
{
name: "Inter",
src: "/fonts/inter/Inter-variable-400.ttf",
@@ -68,34 +70,45 @@ export default defineNuxtConfig({
name: "Inter",
src: "/fonts/inter/Inter-variable-400-italic.ttf",
},
/*
{
name: "Motiva Sans",
src: "/fonts/motiva/motiva-sans-100-thin.ttf",
weight: 100,
},
{
name: "Motiva Sans",
src: "/fonts/motiva/motiva-sans-300-light.woff.ttf",
weight: 300,
},
{
name: "Motiva Sans",
src: "/fonts/motiva/motiva-sans-400-regular.woff.ttf",
weight: 400,
},
{
name: "Motiva Sans",
src: "/fonts/motiva/motiva-sans-500-medium.woff.ttf",
weight: 500
},
*/
{
name: "Motiva Sans",
src: "/fonts/motiva/motiva-sans-600-bold.woff.ttf",
weight: 600,
},
/*
{
name: "Motiva Sans",
src: "/fonts/motiva/motiva-sans-700-extra-bold.ttf",
weight: 700
},
{
name: "Motiva Sans",
src: "/fonts/motiva/motiva-sans-900-black.woff.ttf",
weight: 900
},
*/
],
},

View File

@@ -11,8 +11,8 @@ export default {
theme: {
extend: {
fontFamily: {
sans: ["Inter"], //"San Francisco", "sans-serif"
display: ["Motiva Sans"], //"Arial","sans-serif"
sans: ["Inter", "San Francisco", "sans-serif"],
display: ["Motiva Sans", "Arial", "sans-serif"],
},
colors: {
zinc: {