-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
74 lines (72 loc) · 2.05 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
import { Config } from 'tailwindcss';
const config = {
content: ['./src/**/*.{ts,tsx}'],
theme: {
fontFamily: {
title: 'var(--font-title)',
body: 'var(--font-body)',
},
fontWeight: {
regular: '400',
medium: '500',
semiBold: '600',
bold: '700',
},
colors: {
black: '#1c1c1c',
white: '#fff',
primary: {
blue: '#e3f5ff',
purple: '#e5ecf6',
purple50: '#f2f6fb',
light: '#f7f9fb',
},
secondary: {
indigo: '#95a4fc',
purple: '#c6c7f8',
cyan: '#a8c5da',
blue: '#b1e3ff',
green: '#a1e3cb',
mint: '#baedbd',
yellow: '#ffe999',
orange: '#ffcb83',
red: '#ff4747',
},
transparent: 'transparent',
},
transitionDuration: {
slow: 'var(--transition-slow)',
normal: 'var(--transition-normal)',
fast: 'var(--transition-fast)',
},
zIndex: {
dropdown: '1000',
sticky: '1020',
fixed: '1030',
modalBackdrop: '1040',
offcanvas: '1050',
modal: '1060',
popover: '1070',
tooltip: '1080',
blockingFadeLoader: '100000',
},
keyframes: {
'fade-in': {
'0%': { opacity: '0', visibility: 'hidden' },
'1%': { visibility: 'visible' },
'100%': { opacity: '1' },
},
'fade-out': {
'0%': { opacity: '1', visibility: 'visible' },
'100%': { opacity: '0', visibility: 'hidden' },
},
},
animation: {
'fade-in': 'fade-in 3s forwards',
'fade-out': 'fade-out 3s forwards',
},
extend: {},
},
plugins: [],
} satisfies Config;
export default config;