-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
82 lines (80 loc) · 2.61 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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./src/**/*.{js,jsx,ts,tsx}",
],
// The theme is where we can declare breakpoints, define fonts, add custom values, and create custom animations
theme: {
screens: {
desktop: { 'min': '720px' },
mobile: { 'max': '720px' },
},
extend: {
fontFamily: {
// Define your fonts here.
climate: ['Climate Crisis', 'serif'],
poppins: ['Poppins', 'sans-serif'],
},
animation: {
// Define your animations here.
shake: 'shake 1s ease-in-out infinite alternate',
spin: 'spin 0.5s ease-in-out alternate',
fade: 'fade 1s cubic-bezier( 0.175, 0.885, 0.32, 1.5 ) forwards',
simpleFade: 'simpleFade 0.5s ease-in forwards',
},
keyframes: {
// Create keyframe animations here.
shake: {
'0%': { transform: 'rotateZ( 10deg )' },
'50%': { transform: 'rotateZ( -10deg )' },
'100%': { transform: 'rotateZ( 10deg )' },
},
spin: {
'0%': { transform: 'rotateY( 0deg )' },
'50%': { transform: 'rotateY( 90deg )' },
'100%': { transform: 'rotateY( 0deg )' },
},
fade: {
'0%': { transform: 'translateY( 100px )', opacity: '0' },
'100%': { transform: 'translateY( 0 )', opacity: '100%' },
},
},
},
colors: {
transparent: 'transparent',
white: '#ffffff',
black: '#000000',
background: '#FFFDF5',
white30: 'rgba(255, 255, 255, 0.30)',
pink: {
100: '#F9D7E7',
500: '#D31A74',
900: '#8F124E',
},
yellow: {
100: '#FFF1BE',
500: '#F4B13E',
900: '#CC8100',
},
green: {
100: '#F2F8E0',
500: '#B8D94C',
900: '#769A00',
},
blue: {
100: '#D2D2ED',
500: '#312FAA',
900: '#313083',
},
grey: {
100: '#FFFDF5',
500: '#635D55',
900: '#403931',
},
},
},
plugins: [
// Animation Delay
require("tailwindcss-animation-delay"),
],
}