-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
44 lines (43 loc) · 1.24 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
39
40
41
42
43
44
import type { Config } from 'tailwindcss'
import form from '@tailwindcss/forms'
import typography from '@tailwindcss/typography'
import animation from 'tailwindcss-animate'
export default {
content: ['./src/**/*.{js,ts,jsx,tsx,mdx,json}'],
darkMode: ['selector'],
theme: {
fontFamily: {
sans: ['var(--font-inter)'],
},
screens: {
tablet: '640px',
laptop: '1024px',
desktop: '1280px',
},
extend: {
fontSize: {
base: '.935rem',
},
colors: {
background: 'hsl(var(--color-background))',
foreground: 'hsl(var(--color-foreground))',
surface: 'hsl(var(--color-surface))',
border: 'hsl(var(--color-border))',
input: 'hsl(var(--color-input))',
primary: {
DEFAULT: 'hsl(var(--color-primary))',
foreground: 'hsl(var(--color-primary-foreground))',
},
secondary: {
DEFAULT: 'hsl(var(--color-secondary))',
foreground: 'hsl(var(--color-secondary-foreground))',
},
destructive: {
DEFAULT: 'hsl(var(--color-destructive))',
foreground: 'hsl(var(--color-destructive-foreground))',
},
},
},
},
plugins: [form, typography, animation],
} satisfies Config