-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
101 lines (99 loc) · 3.29 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
91
92
93
94
95
96
97
98
99
100
101
import type { Config } from 'tailwindcss'
const config = {
darkMode: ['class'],
content: ['./pages/**/*.{ts,tsx}', './components/**/*.{ts,tsx}', './app/**/*.{ts,tsx}', './src/**/*.{ts,tsx}'],
prefix: '',
theme: {
/* https://drive.google.com/drive/folders/19bB4pKolAMLZXp2lQSfvys5W3QaJYBOa */
colors: {
white: '#FFFFFF',
black: '#2D1B17',
bone: '#F0F0EF',
'dark-gray': '#464242',
'light-gray': '#979697',
'black-green': '#1B2722',
brown1: '#664B30',
terracotta: '#924E41',
blue: '#19507E',
pink: '#005850',
'bubblegum-pink': '#005850',
'mint-green': '#6E9483',
'olive-green': '#1E4730',
},
container: {
center: true,
padding: '2rem',
screens: {
'2xl': '1400px',
},
},
extend: {
screens: {
xs: '375px',
},
fontFamily: {
'editorial-new': ['var(--editorial-new)'],
'tt-norms': ['var(--tt-norms)'],
},
gridTemplateColumns: {
'auto-fit-100': 'repeat(auto-fit, minmax(100px, 1fr))',
'auto-fit-150': 'repeat(auto-fit, minmax(150px, 1fr))',
'auto-fill-200': 'repeat(auto-fill, minmax(200px, 1fr))',
'auto-fill-300': 'repeat(auto-fill, minmax(300px, 1fr))',
},
keyframes: {
'accordion-down': {
from: { height: '0' },
to: { height: 'var(--radix-accordion-content-height)' },
},
'accordion-up': {
from: { height: 'var(--radix-accordion-content-height)' },
to: { height: '0' },
},
'navbar-fade-in': {
from: { top: '-100%' },
to: { top: '0' },
},
'slide-up': {
from: { transform: 'translateY(50px)', opacity: '0' },
'50%': { opacity: '0' },
to: { transform: 'translateY(0px)', opacity: '1' },
},
'transform-translate': {
to: { transform: 'translateY(3.5px) rotate(45deg)' },
},
'transform-translate-negative': {
to: { transform: 'translateY(-3.5px) rotate(-45deg)' },
},
'transform-translate-mini': {
to: { transform: 'translateY(2.8px) rotate(45deg)' },
},
'transform-translate-negative-mini': {
to: { transform: 'translateY(-2.8px) rotate(-45deg)' },
},
'puntito-outer': {
from: { transform: 'scale(.5)', opacity: '1' },
to: { transform: 'scale(1.5)', opacity: '0' },
},
'fade-in': {
from: { opacity: '0' },
to: { opacity: '1' },
},
},
animation: {
'accordion-down': 'accordion-down 0.2s ease-out',
'accordion-up': 'accordion-up 0.2s ease-out',
'navbar-fade-in': 'navbar-fade-in 2.5s ease-in-out',
'slide-up': 'slide-up 1.25s ease-out',
'transform-translate': 'transform-translate 1s both',
'transform-translate-negative': 'transform-translate-negative 1s both',
'transform-translate-mini': 'transform-translate-mini 1s both',
'transform-translate-negative-mini': 'transform-translate-negative-mini 1s both',
'puntito-outer': 'puntito-outer 1.5s ease-in-out infinite',
'fade-in': 'fade-in 1.5s ease-in-out both',
},
},
},
plugins: [require('tailwindcss-animate')],
} satisfies Config
export default config