This repository was archived by the owner on Oct 13, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathtailwind.config.ts
More file actions
62 lines (61 loc) · 1.4 KB
/
tailwind.config.ts
File metadata and controls
62 lines (61 loc) · 1.4 KB
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
import type { Config } from 'tailwindcss'
export default {
mode: 'jit',
content: ['./app/**/*.{js,jsx,ts,tsx}'],
darkMode: 'class', // or 'media' or 'class'
theme: {
screens: {
xs: '400px',
sm: '640px',
md: '768px',
lg: '1024px',
xl: '1280px',
'2xl': '1536px',
},
extend: {
colors: {
gray: {
750: '#141d2e',
},
},
width: {
'card-toggle': 'calc(100% - 3rem)',
},
animation: {
'ping-slow': 'ping-op 3s cubic-bezier(0, 0, 0.2, 1) infinite',
appear: 'appear 0.5s cubic-bezier(0, 0, 0.2, 1) 1',
},
keyframes: {
'ping-op': {
'0%': {
opacity: '0.75',
},
'75%, 100%': {
transform: 'scale(2)',
opacity: '0',
},
},
appear: {
'0%': {
transform: 'scale(0)',
opacity: '0',
},
'75%, 100%': {
transform: 'scale(1)',
opacity: '1',
},
},
},
},
minHeight: {
72: '18rem',
page: 'calc(100vh - 74px)', // header height -> 74px
'min-footer': 'calc(100vh - 148px)',
},
},
variants: {
extend: {},
scrollBehavior: ['motion-safe', 'motion-reduce', 'responsive'],
},
plugins: [require('@tailwindcss/forms'), require('@tailwindcss/typography')],
} satisfies Config