Skip to content

Commit

Permalink
fix(tailwind): custom themes go in theme.font-family
Browse files Browse the repository at this point in the history
  • Loading branch information
BayanBennett committed Apr 9, 2023
1 parent 8fa678f commit 054fd1a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ const config: Config = {
content: ["./src/**/*.tsx"],
darkMode: ["class", '[data-mode="dark"]'],
theme: {
fontFamily: {
coradion: ["var(--font-coradion)"],
},
extend: {
fontFamily: {
sans: ["var(--font-main)", "sans-serif"],
coradion: ["var(--font-coradion)"],
},
},
},
Expand Down

0 comments on commit 054fd1a

Please sign in to comment.