-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
45 lines (44 loc) · 1.04 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
const { darken } = require("polished");
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{js,jsx,ts,tsx}"],
theme: {
extend: {
fontFamily: {
sans: ["'Lato'", "sans-serif"],
display: ["'Black Ops One'", "sans-serif"],
voice: ["'Vollkorn'", "serif"],
},
colors: {
primary: "#FFD400",
secondary: "#3482B9",
positive: "#49C04A",
negative: "#D03930",
neutral: "#AAA",
light: "#ABE0F9",
muted: "#EAEAEA",
hotpink: "#FC8BA4",
black: "#333",
white: "#FFF",
gray: "#CCC",
dark: "#666",
shadow: "rgba(0, 0, 0, 0.4)",
},
spacing: {
board: "1072.16px",
appbar: "3.8rem",
},
animation: {
glow: "glow 4s infinite ease",
},
keyframes: (theme) => ({
glow: {
"70%": {
opacity: 1,
backgroundColor: darken(0.2, theme("colors.negative")),
},
},
}),
},
},
};