-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
83 lines (81 loc) · 2.25 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
/** @type {import('tailwindcss').Config} */
const plugin = require("tailwindcss/plugin");
export default {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
extend: {
colors: {
backgroundColor: "#fff4ea",
buttonColor: "#c96868",
accentColorLightCream: "#FFF7F0",
subtleSoftGrey: "#B0AFAF",
mutedOchre: "#FF8B42",
softOrange: "#FFA559",
pastelYellow: "#FDDBBB",
pastelOrange: "#FFB38E",
pastelWhite: "#f8edeb",
pastelRed: "#ffadad",
realRed: "#e15050",
pastelPink: "#ff9b9a",
pastelBlue: "#9eb3c2",
gray: {
darkest: "#1f2d3d",
dark: "#3c4858",
DEFAULT: "#c0ccda",
light: "#e0e6ed",
lightest: "#f9fafc",
},
},
dropShadow: {
glow: "0 0 20px rgba(255, 223, 0, 0.7)",
},
animation: {
spinSlow: "spin 1s ease-in-out",
breatheGlow: "breatheGlow 10s ease-in-out infinite",
scrollText: "scrollText 6s linear infinite",
},
keyframes: {
breatheGlow: {
"0%, 100%": { boxShadow: "0 0 5px 0 rgba(201, 104, 104, 0.3)" },
"50%": { boxShadow: "0 0 20px 10px rgba(201, 104, 104, 0.7)" },
},
scrollText: {
"0%": { transform: "translateX(10%)" },
"100%": { transform: "translateX(-100%)" },
},
},
fontFamily: {
SourGummy: ["Sour+Gummy", "sans-serif"],
},
textShadow: {
sm: "0 1px 2px var(--tw-shadow-color)",
DEFAULT: "0 2px 4px var(--tw-shadow-color)",
lg: "0 8px 16px var(--tw-shadow-color)",
},
},
},
plugins: [
plugin(function ({ matchUtilities, theme }) {
matchUtilities(
{
"text-shadow": (value) => ({
textShadow: value,
}),
},
{ values: theme("textShadow") }
);
}),
plugin(({ addUtilities }) => {
addUtilities({
/* Chrome, Safari and Opera */
".scrollbar-hidden::-webkit-scrollbar": {
display: "none",
},
".scrollbar-hidden": {
"scrollbar-width": "none" /* Firefox */,
"-ms-overflow-style": "none" /* IE and Edge */,
},
})
}),
],
};