-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
92 lines (91 loc) · 2.88 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
/** @type {import('tailwindcss').Config} */
module.exports = {
darkMode: 'class',
content: [
"./components/**/*.{js,vue,ts}",
"./layouts/**/*.vue",
"./pages/**/*.vue",
"./plugins/**/*.{js,ts}",
"./nuxt.config.{js,ts}",
"./node_modules/flowbite/**/*.{js,ts}"
],
theme: {
extend: {
dropShadow: {
'soft': '0 10px 12px rgba(0, 0, 0, 0.1)'
},
colors: {
primary: {
50: "#F5BA8A",
100: "#F4AF76",
200: "#F2A363",
300: "#F2A363",
400: "#F1984F",
500: "#EF8C3C",
600: "#EE8128",
700: "#EC7514",
800: "#DA6C12",
900: "#C46210",
},
info: {
50: "#0acbff",
100: "#00bcef",
200: "#00a8d6",
300: "#00a3d0",
400: "#0094bd",
500: "#0094bc",
600: "#0094bd",
700: "#0080a3",
800: "#006c89",
900: "#005870",
},
font1: {
500: "#6E6666"
}
},
transitionProperty: {
'width': 'width'
},
animation: {
'spin-once': 'spin 0.35s ease-in-out 1',
'fade-in': 'fade-in 0.35s ease-in-out 1',
'fade-out': 'fade-out 0.35s ease-in-out 1',
'slide-in': 'slide-in 0.35s ease-in-out 1',
'slide-out': 'slide-out 0.35s ease-in-out 1'
},
keyframes: {
'spin-once': {
'0%': {transform: 'rotate(0deg)'},
'100%': {transform: 'rotate(360deg)'},
},
'fade-in': {
'0%': {opacity: 0},
'100%': {opacity: 1},
},
'fade-out': {
'0%': {opacity: 1},
'100%': {opacity: 0},
},
'slide-in': {
'0%': {transform: 'translateY(100%)'},
'100%': {transform: 'translateY(0%)'},
},
'slide-out': {
'0%': {transform: 'translateY(0%)'},
'100%': {transform: 'translateY(100%)'},
}
},
variants: {
animation: ['responsive', 'motion-safe', 'motion-reduce'],
},
},
fontFamily: {
sans: ["Poppins", "sans-serif"],
serif: ["Poppins", "serif"],
body: ["Poppins", "sans-serif"],
},
},
plugins: [
require('flowbite/plugin')
],
}