-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
94 lines (92 loc) · 2.8 KB
/
tailwind.config.js
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
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'class',
content: [
"./src/**/*.{js,ts,jsx,tsx}",
"./node_modules/flowbite-react/**/*.js"
],
theme: {
extend: {
boxShadow: {
'offset': '20px 20px 0px 0px #38B2AC',
'offset-hover': '50px 50px 0px 0px #38B2AC',
'offset-email': '10px 10px 0px 0px #38B2AC',
'offset-hover-email': '25px 25px 0px 0px #38B2AC',
},
animation: {
fadeIn: 'fadeIn 2s ease-in-out',
dropIn: 'dropIn 1s ease-in-out',
dropIn2: 'dropIn 1.5s ease-in-out',
dropIn3: 'dropIn 2s ease-in-out',
dropIn4: 'dropIn 2.5s ease-in-out',
appearFromBottom1: 'appearFromBottom 1s ease-in-out',
appearFromBottom2: 'appearFromBottom 1.3s ease-in-out',
appearFromBottom3: 'appearFromBottom 1.8s ease-in-out',
appearFromBottom4: 'appearFromBottom 2.1s ease-in-out',
},
animationDelay: {
'1': '0.1s',
'2': '0.2s',
'3': '0.3s',
'4': '0.4s',
},
keyframes: {
fadeIn: {
'0%': { opacity: 0 },
'100%': { opacity: 1 },
},
dropIn: {
'0%': { transform: 'translateY(-100%)' },
'100%': { transform: 'translateY(0)' },
},
appearFromBottom: {
'0%': { transform: 'translateY(40%)', opacity: 0 },
'100%': { transform: 'translateY(0)', opacity: 1 },
}
},
colors: {
'dark-blue': '#0a192f',
'bright-green': '#64ffda',
'dark-green' : '#005541',
'light-gray': '#ccd6f6',
'slate': '#8892b0',
'navy': '#112240',
'light-slate': '#a8b2d1'
},
},
fontSize: {
xxs: '0.45rem',
labels: '0.6rem',
xs: '0.8rem',
sm: '1rem',
sm2: '1.08rem',
base: '1.15rem',
base2: '1.2rem',
xl: '1.25rem',
'2xl': '1.563rem',
'3xl': '1.73rem',
'4xl': '2.441rem',
'5xl': '3.052rem',
'6xl': '4.815rem',
},
screens: {
'sm': { 'min': '0px', 'max': '639px' }, // Phones (portrait)
'md': { 'min': '640px', 'max': '767px' }, // Phones (landscape) / Tablets (portrait)
'lg': { 'min': '768px', 'max': '1023px' }, // Tablets (landscape) / Laptops
'xl': { 'min': '1024px', 'max': '1279px' }, // Desktops (sm)
'2xl': { 'min': '1280px', 'max': '1535px' }, // Desktops (md)
'3xl': { 'min': '1536px', 'max': '10000px' }, // Desktops (lg)
'nv': { 'min': '640', 'max': '1536' } // Wide Boi (lg)
},
fontFamily: {
roboto: ['"Roboto"', 'sans-serif'],
sans: ['"Sans"', 'sans-serif'],
},
},
variants: {
extend: {
boxShadow: ['hover'],
animationDelay: ['responsive', 'hover', 'focus', 'active', 'group-hover'],
}
},
}