-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.ts
69 lines (68 loc) · 2.19 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
import { type Config } from 'tailwindcss'
import defaultTheme from 'tailwindcss/defaultTheme'
module.exports = {
darkMode: 'selector',
content: ['./src/**/*.{js,ts,jsx,tsx,mdx}'],
theme: {
fontFamily: {
sans: ['var(--font-poppins)', ...defaultTheme.fontFamily.sans],
mono: ['var(--font-ibm-plex)', ...defaultTheme.fontFamily.mono],
},
extend: {
colors: {
transparent: 'transparent',
current: 'currentColor',
white: {
DEFAULT: '#ffffff',
},
primary: 'oklch(var(--color-primary) / <alpha-value>)',
secondary: 'oklch(var(--color-secondary) / <alpha-value>)',
success: 'oklch(var(--color-success) / <alpha-value>)',
error: 'oklch(var(--color-error) / <alpha-value>)',
},
borderWidth: {
DEFAULT: '1px',
0: '0',
1: '1px',
2: '2px',
3: '3px',
4: '4px',
6: '6px',
8: '8px',
},
boxShadow: {
lg: '12px 12px 0px oklch(var(--color-primary), 0.5)',
},
spacing: {
100: '25rem',
104: '26rem',
108: '27rem',
112: '28rem',
116: '29rem',
120: '30rem',
124: '31rem',
128: '32rem',
132: '33rem',
136: '34rem',
140: '35rem',
},
maxWidth: {
page: '65ch',
},
screens: {
sm: '540px',
},
animation: {
'spin-every-once-in-a-while':
'spin-every-once-in-a-while 7s ease-in-out infinite',
},
keyframes: {
'spin-every-once-in-a-while': {
'0%': { transform: 'rotate(0deg)' },
'100%': { transform: 'rotate(90deg)' },
},
},
},
},
plugins: [require('@tailwindcss/typography')],
} satisfies Config