forked from wdmc-nitj/nitj-website-deploy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
99 lines (96 loc) · 2.44 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
module.exports = {
content: [
"./public/*.html",
"./public/**/*.html",
"./public/js/*.js",
"./public/template/*.js",
"./public/*.js",
],
theme: {
container: {
// you can configure the container to be centered
center: true,
// or have default horizontal padding
padding: "1rem",
// default breakpoints but with 40px removed
screens: {
sm: "576px",
md: "768px",
lg: "992px",
xl: "1200px",
"2xl": "1300px",
},
},
extend: {
keyframes: {
images: {
"0%": {
"background-image": "url('/public/assets/images/IMG_0195.JPG')",
},
"33.33%": {
"background-image": "url('/public/assets/images/IMG_0196.JPG')",
},
"66.66%": {
"background-image": "url('/public/assets/images/IMG_0198.JPG')",
},
"100%": {
"background-image": "url('/public/assets/images/IMG_0195.JPG')",
},
},
shake: {
"0%, 100%": {
transform: "rotate(0deg)",
},
"25%": {
transform: "rotate(-10deg)",
},
"75%": {
transform: "rotate(10deg)",
},
},
slideUp: {
"0%": {
transformOrigin: "0 0",
transform: "translateY(0%)",
},
"100%": {
transformOrigin: "0 0",
transform: "translateY(-100%)",
},
},
slideUpReturn: {
"0%": {
transformOrigin: "0 0",
transform: "translateY(-100%)",
},
"100%": {
transformOrigin: " 0 0",
transform: "translateY(0%)",
},
},
},
animation: {
shake: "shake 300ms ease-in-out",
"image-slider": "images 10s ease-in-out infinite",
},
fontFamily: {
sans: ["Barlow", "ui-sans-serif", "system-ui"],
body: ["Barlow"],
},
colors: {
"dark-purple": "hsla(242, 83%, 7%)",
accent: "hsla(201, 96%, 32%)",
"light-purple": "hsla(242, 83%, 98%)",
"accent-orange": "hsla(12, 87%, 56%, 1)",
},
backgroundImage: {
"gradient-radial":
"radial-gradient(ellipse at top, var(--tw-gradient-stops))",
},
},
},
plugins: [
require("@tailwindcss/line-clamp"),
require("tailwind-scrollbar-hide"),
],
};