-
Notifications
You must be signed in to change notification settings - Fork 56
/
tailwind.template.cjs
62 lines (60 loc) · 2.41 KB
/
tailwind.template.cjs
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
const colors = require("tailwindcss/colors");
/** @type {import('tailwindcss').Config} */
module.exports = {
theme: {
extend: {
colors: {
lindy: colors.yellow[300], // == #facc15
lindyDark: colors.yellow[600],
lindyShadow: "rgba(250 204 21 / 60%)",
chrome: "#f1f3f4",
chromeDark: "#292a2d",
background: colors.stone[50],
backgroundDark: colors.stone[900],
},
keyframes: {
wiggle: {
"0%, 100%": { transform: "rotate(0deg)" },
"30%": { transform: "rotate(2deg)" },
"60%": { transform: "rotate(-1deg)" },
},
slidein: {
"0%": { transform: "translateY(150px)", opacity: "0" },
"100%": { transform: "translate(0)", opacity: "1" },
},
fadein: {
"0%": { opacity: "0" },
"100%": { opacity: "1" },
},
bouncein: {
"0%": { opacity: "0", transform: "scale(0.8)" },
"100%": { opacity: "1", transform: "scale(1.0)" },
},
},
animation: {
wiggle: "wiggle 0.5s ease-in-out",
slidein: "slidein 0.5s cubic-bezier(0.16, 1, 0.3, 1) backwards",
fadein: "fadein 0.2s ease-out backwards",
bouncein: "bouncein 0.2s cubic-bezier(0.34, 1.56, 0.64, 1) backwards",
},
boxShadow: {
article: "0 1px 2px 1px rgb(0 0 0 / 0.15), 0 4px 6px -1px rgb(0 0 0 / 0.1)",
articleHover: "0 1px 2px 1px rgb(0 0 0 / 0.15), 0 20px 25px -5px rgb(0 0 0 / 0.1)",
articleSmall: "0 0px 2px 0px rgb(0 0 0 / 0.15), 0 4px 6px -1px rgb(0 0 0 / 0.1)",
articleSmallHover:
"0 0px 2px 0px rgb(0 0 0 / 0.15), 0 20px 25px -5px rgb(0 0 0 / 0.1)",
},
screens: {
desktop: { raw: "(hover: hover)" },
},
},
fontFamily: {
title: ["Poppins", "sans-serif"],
text: ["Work Sans", "sans-serif"],
chrome: ["Roboto", "system-ui", "sans-serif"],
vollkorn: ["Vollkorn", "serif"],
vollkornSC: ["Vollkorn SC", "serif"],
},
},
plugins: [],
};