-
Notifications
You must be signed in to change notification settings - Fork 3
/
tailwind.config.ts
90 lines (88 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
import type { Config } from 'tailwindcss';
export default {
content: [
'./styles/globals.css',
'./pages/**/*.{js,ts,jsx,tsx}',
'./app/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
'./services/**/*.{js,ts,jsx,tsx}',
'./utils/**/*.{js,ts,jsx,tsx}',
],
mode: 'jit',
theme: {
fontFamily: {
'atyp-display': ['var(--font-atyp-display)'],
'atyp-text': ['var(--font-atyp-text)'],
'monument-extended': ['var(--font-monument-extended)'],
},
screens: {
container: '1441px', // beyond the container's max width
sm: '375px',
md: '768px',
lg: '1024px',
xl: '1280px',
'2xl': '1536px',
'3xl': '1920px',
},
extend: {
animation: {
push: 'push 0.3s linear 1',
},
blur: {
xs: '2px',
},
borderWidth: {
3: '3px',
6: '6px',
},
colors: {
background: 'var(--background)',
foreground: 'var(--foreground)',
disabled: 'var(--disabled)',
text: {
DEFAULT: 'var(--text)',
gradient: 'var(--text-gradient)',
caption: 'var(--text-caption)',
},
primary: {
DEFAULT: 'var(--primary-DEFAULT)',
},
gray: {
lightest: 'var(--gray-lightest)',
lighter: 'var(--gray-lighter)',
light: 'var(--gray-light)',
DEFAULT: 'var(--gray-DEFAULT)',
dark: 'var(--gray-dark)',
},
},
height: {
120: '30rem', // for larger images
},
keyframes: {
push: {
'50%': { transform: 'scale(0.8)' },
},
},
outline: {
primary: '2px dotted var(--primary-DEFAULT)',
},
transitionProperty: {
height: 'height',
},
},
},
variants: {
extend: {
animation: ['hover'],
backgroundColor: ['selection'],
blur: ['hover'],
borderWidth: ['first'],
borderRadius: ['last'],
display: ['group-hover', 'hover'],
filter: ['hover'],
transitionDuration: ['group-hover'],
},
},
/* eslint-disable-next-line global-require */
plugins: [require('tailwindcss-selection-variant')],
} satisfies Config;