generated from Anthony-Jhoiro/template-next
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
126 lines (126 loc) · 4.19 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
module.exports = {
purge: [
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
'./.storybook/**/*.{js,ts,jsx,tsx}',
],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
colors: {
'logo-background': '#BDD3EF',
'background': '#ebe6e6',
'secondary': {
DEFAULT: '#EBA783',
'50': '#FFFFFF',
'100': '#FFFFFF',
'200': '#FCF2EC',
'300': '#F6D9C9',
'400': '#F1C0A6',
'500': '#EBA783',
'600': '#E38553',
'700': '#DB6323',
'800': '#AA4D1B',
'900': '#7A3714'
},
'primary': {
DEFAULT: '#6CADEB',
'50': '#FFFFFF',
'100': '#FCFDFF',
'200': '#D8E9FA',
'300': '#B4D5F5',
'400': '#90C1F0',
'500': '#6CADEB',
'600': '#3B91E4',
'700': '#1C75CB',
'800': '#15599A',
'900': '#0E3C68'
},
'tertiary': {
DEFAULT: '#AF7AEB',
'50': '#FFFFFF',
'100': '#FFFFFF',
'200': '#EFE4FB',
'300': '#DAC1F6',
'400': '#C49DF0',
'500': '#AF7AEB',
'600': '#9249E4',
'700': '#7520D5',
'800': '#5A19A4',
'900': '#3F1173'
},
'success': {
DEFAULT: '#94AD40',
'50': '#DDE7BE',
'100': '#D6E1AF',
'200': '#C6D691',
'300': '#B7CB73',
'400': '#A8C056',
'500': '#94AD40',
'600': '#718431',
'700': '#4E5B22',
'800': '#2B3213',
'900': '#080903'
},
'error': {
DEFAULT: '#C21913',
'50': '#F59B98',
'100': '#F38985',
'200': '#EF6560',
'300': '#EC413B',
'400': '#E71E17',
'500': '#C21913',
'600': '#8F120E',
'700': '#5C0C09',
'800': '#290504',
'900': '#000000'
},
'warning': {
DEFAULT: '#F49928',
'50': '#FDECD7',
'100': '#FCE3C3',
'200': '#FAD09C',
'300': '#F8BE76',
'400': '#F6AB4F',
'500': '#F49928',
'600': '#D97D0B',
'700': '#A35E08',
'800': '#6E3F06',
'900': '#392103'
},
'text-default': '#03141a',
'text-light': '#B4C4CCFF'
},
animation: {
'bounce-horizontal': 'bounce-horizontal 1s infinite',
'underline': '500ms cubic-bezier(0.27, 0.22, 0.44, 1.03) 250ms 1 normal both running underline',
},
keyframes: {
'bounce-horizontal': {
'0%, 100%': {
transform: 'translateX(-25%)',
animationTimingFunction: 'cubic-bezier(0.8,0,1,1)',
},
'50%': {
transform: 'none',
animationTimingFunction: 'cubic-bezier(0,0,0.2,1)',
},
},
underline: {
'100%': {strokeDashoffset: 0}
}
}
},
},
variants: {
extend: {
animation: ['hover', 'group-hover']
},
},
plugins: [
require("@tailwindcss/forms")({
strategy: 'class'
}),
require('tw-elements/dist/plugin')
],
}