Use ubuntu font.

This commit is contained in:
Dessalines 2023-10-14 22:54:32 -04:00
parent 92d9964be5
commit 92a5cf1812
2 changed files with 7 additions and 0 deletions

View file

@ -87,6 +87,8 @@ server.get("/*", async (req, res) => {
<!-- Styles --> <!-- Styles -->
<link rel="stylesheet" type="text/css" href="/static/styles/styles.css" /> <link rel="stylesheet" type="text/css" href="/static/styles/styles.css" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Ubuntu">
${helmet.link.toString()} ${helmet.link.toString()}
</head> </head>
<body ${helmet.bodyAttributes.toString()}> <body ${helmet.bodyAttributes.toString()}>

View file

@ -1,4 +1,6 @@
/** @type {import('tailwindcss').Config} */ /** @type {import('tailwindcss').Config} */
const defaultTheme = require("tailwindcss/defaultTheme");
module.exports = { module.exports = {
daisyui: { daisyui: {
themes: [ themes: [
@ -14,6 +16,9 @@ module.exports = {
}, },
content: ["./src/**/*.{js,jsx,ts,tsx}"], content: ["./src/**/*.{js,jsx,ts,tsx}"],
theme: { theme: {
fontFamily: {
sans: ["Ubuntu", ...defaultTheme.fontFamily.sans],
},
extend: {}, extend: {},
}, },
plugins: [require("@tailwindcss/typography"), require("daisyui")], plugins: [require("@tailwindcss/typography"), require("daisyui")],