-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
38 lines (36 loc) · 1.04 KB
/
tailwind.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import type { Config } from 'tailwindcss';
const config: Config = {
content: ['./src/components/**/*.{ts,tsx}', './src/app/**/*.{ts,tsx}'],
theme: {
fontFamily: {
sans: ['var(--font-pretendard)', 'sans-serif'],
mono: ['var(--font-jetbrains)', 'consolas'],
},
extend: {
colors: {
DEFAULT: 'var(--color-primary)',
secondary: 'var(--color-secondary)',
background: 'var(--color-background)',
muted: 'var(--color-muted)',
surface: 'var(--color-surface)',
line: 'var(--color-line)',
accent: 'var(--color-accent)',
mark: 'var(--color-mark)',
info: 'rgb(var(--color-info))',
warn: 'rgb(var(--color-warn))',
},
animation: {
flip: 'flip 1s linear infinite',
},
keyframes: {
flip: {
'0%': { transform: 'rotateY(0)' },
'100%': { transform: 'rotateY(360deg)' },
},
},
},
},
darkMode: ['selector', '[data-theme="dark"]'],
plugins: [],
} satisfies Config;
export default config;