-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
53 lines (51 loc) · 1.31 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
45
46
47
48
49
50
51
52
53
import type { Config } from 'tailwindcss'
import form from '@tailwindcss/forms'
import typography from '@tailwindcss/typography'
import animation from 'tailwindcss-animate'
const config: Config = {
content: [
'./src/**/*.{js,ts,jsx,tsx,mdx,json}',
'./data/**/*.{js,ts,jsx,tsx,mdx,json}',
],
darkMode: ['selector'],
theme: {
fontFamily: {
sans: ['var(--font-inter)'],
},
screens: {
tablet: '640px',
laptop: '1024px',
desktop: '1280px',
},
extend: {
fontSize: {
sm: '.84375rem',
base: '.9350rem',
lg: '1.0625rem',
xl: '1.1875rem',
},
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))',
},
},
typography: {
DEFAULT: {
css: {},
},
},
},
},
plugins: [typography, form, animation],
}
export default config