Skip to content

Commit

Permalink
feat: define fontFamily tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
nix6839 committed Sep 14, 2023
1 parent d7615e9 commit 3b5f15e
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions apps/portfolio/tailwind.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import tailwindColors from 'tailwindcss/colors.js';
import defaultTheme from 'tailwindcss/defaultTheme.js';

import type { Config } from 'tailwindcss';

Expand All @@ -14,6 +15,27 @@ const config = {
},

theme: {
fontFamily: {
default: [
'"Pretendard Variable"',
'Pretendard',
'-apple-system',
'BlinkMacSystemFont',
'system-ui',
'Roboto',
'"Helvetica Neue"',
'"Segoe UI"',
'"Apple SD Gothic Neo"',
'"Noto Sans KR"',
'"Malgun Gothic"',
'"Apple Color Emoji"',
'"Segoe UI Emoji"',
'"Segoe UI Symbol"',
'sans-serif',
],
mono: ['"JetBrains Mono"', ...defaultTheme.fontFamily.mono],
},

backgroundColor: {
primary: {
DEFAULT: COLORS.zinc['900'],
Expand Down

0 comments on commit 3b5f15e

Please sign in to comment.