-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
90 lines (88 loc) · 2.17 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
module.exports = {
// twin. macro does not need anything more than darkMode, prefix, theme and plugins in this config. See https://github.com/ben-rogerson/twin.macro/blob/master/docs/customizing-config.md
theme: {
container: {
center: true,
},
screens: {
'sm': '640px',
'md': '768px',
'lg': '1024px',
'xl': '1280px',
'2xl': '1536px',
'3xl': '2000px',
},
extend: {
colors: {
transparent: 'transparent',
current: 'currentColor',
fogra: {
DEFAULT: "#001524",
light: "#003052",
lightest: "#0077CC",
},
ming: {
DEFAULT: "#15616D",
light: "#43C7DB",
lightest: "#A9E5EF",
},
almond: {
DEFAULT: "#FFECD1",
light: "#FFF4EB",
dark: "#663C00",
},
amber: {
DEFAULT: "#FF7D00",
dark: "#FFC370",
darkest: "#8F4500",
},
kobe: {
DEFAULT: "#78290F",
light: "#E45525",
lightest: "#ffe9d6",
},
productbg: {
DEFAULT: "#EBF7FF",
},
},
spacing: {
"128": "32rem",
"144": "36 rem"
},
zIndex: {
'-10': '-10',
'-20': '-20',
},
animation: {
bounce: 'bounce 2s infinite'
},
keyframes: {
bounce: {
'0%, 100%': {
transform: 'translateY(-2%)',
animationTimingFunction: 'cubic-bezier(0.8, 0, 1, 1)',
},
'50%': {
transform: 'translateY(0)',
animationTimingFunction: 'cubic-bezier(0, 0, 0.2, 1)',
},
},
},
},
fontFamily: {
sans: ["Montserrat", "system-ui", "sans-serif"],
serif: ["Inria Serif", "ui-serif", "Georgia"],
},
variants: {
extend: {
animation: ['hover', 'focus'],
}
}
},
plugins: [
require('@tailwindcss/forms'),
require('@tailwindcss/typography'),
require('@tailwindcss/aspect-ratio'),
],
}
// See a supported list of Tailwind plugins compatible with twin.macro here: https://twin-docs.netlify.app/plugin-support