Skip to content

Commit b4f4dff

Browse files
committed
feat(font): change website font
1 parent 0eb4cc7 commit b4f4dff

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/layouts/AppLayout.astro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
---
2+
import '@fontsource/ibm-plex-mono'
23
import '@/assets/scss/app.scss'
34
45
import AppFooter from '@/components/AppFooter.astro'

tailwind.config.cjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
const defaultTheme = require('tailwindcss/defaultTheme')
12
const tailwindCssTheme = require('tailwindcss-themer')
23
const themeConfig = require('./theme.config.cjs')
34
const typography = require('@tailwindcss/typography')
@@ -7,6 +8,9 @@ module.exports = {
78
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
89
theme: {
910
extend: {
11+
fontFamily: {
12+
sans: ['IBM Plex Mono', ...defaultTheme.fontFamily.sans],
13+
},
1014
colors: {
1115
transparent: 'transparent',
1216
},

0 commit comments

Comments
 (0)