-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
59 lines (59 loc) · 2.02 KB
/
tailwind.config.js
File metadata and controls
59 lines (59 loc) · 2.02 KB
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
// tailwind.config.js — updated version without DaisyUI since kept breakin, with custom InkSpiration color palette preserved
// make sure this matches actual view file paths
module.exports = {
content: [
"./views/**/*.ejs", // reading for all ejs view templates
"./views/**/*.html", // if any static HTMLs later
"./public/**/*.js", // client-side JS
"./public/**/*.css" // option to add man written css
],
theme: {
extend: {
fontFamily: {
sans: ['Barlow', 'sans-serif'],
},
colors: {
primary: "#7B2CBF",
secondary: "#9D4EDD",
accent: "#FFD166",
neutral: "#2A2E37",
"base-100": "#F3F4F6",
info: "#3ABFF8",
success: "#36D399",
warning: "#FBBF24",
error: "#F87171",
logo: "#5FC4B6" // from InkSpiration palette n logo colors
},
animation: { //added animations for text on index.ejs, cool backflips, lasts like 1 sec
'fade-down': 'fadeDown 1.3s ease-out',
'fade-up': 'fadeUp 1.3s ease-out',
'slide-in': 'slideIn 1.3s ease-out',
'slide-in-left': 'slideInLeft 1s ease-out',
'slide-in-right': 'slideInRight 1s ease-out',
},
keyframes: {
fadeDown: {
'0%': { opacity: 0, transform: 'translateY(-20px)' },
'100%': { opacity: 1, transform: 'translateY(0)' },
},
fadeUp: {
'0%': { opacity: 0, transform: 'translateY(20px)' },
'100%': { opacity: 1, transform: 'translateY(0)' },
},
slideIn: {
'0%': { opacity: 0, transform: 'translateX(-30px)' },
'100%': { opacity: 1, transform: 'translateX(0)' },
},
slideInLeft: {
'0%': { opacity: 0, transform: 'translateX(-50%)' },
'100%': { opacity: 1, transform: 'translateX(0)' },
},
slideInRight: {
'0%': { opacity: 0, transform: 'translateX(50%)' },
'100%': { opacity: 1, transform: 'translateX(0)' },
},
}
},
},
plugins: []
}