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 -->
<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()}
</head>
<body ${helmet.bodyAttributes.toString()}>

View file

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