-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.cjs
100 lines (99 loc) · 2.46 KB
/
tailwind.config.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
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
100
/** @type {import('tailwindcss').Config} */
const defaultTheme = require("tailwindcss/defaultTheme")
const plugin = require("tailwindcss/plugin")
module.exports = {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
colors: {
blue: {
royal: "#190CA6",
imperial: "#071162",
button: "#1795EB",
chinese: "#3A65D7",
},
turquoise: "#13E4CA",
gold: "#F9D318",
orange: "#F9A318",
"yellow-red": "#ECBC50",
pink: "#E558F4",
purple: {
DEFAULT: "#8924F1",
han: "#5B1FED",
},
white: "#D3DAF4",
black: "#000000",
gray: "#F0F0F0",
darkgray: "#5F5F5F",
success: "#10B981",
error: "#de3535",
transparent: "transparent",
},
fontFamily: {
title: ["StretchPro"],
body: ["Montserrat", ...defaultTheme.fontFamily.sans],
sans: ["Montserrat", ...defaultTheme.fontFamily.sans],
subtext: ["Roboto Mono", ...defaultTheme.fontFamily.mono],
},
extend: {
animation: {
"bounce-slow": "bounce-sideways 8s infinite ease-in-out",
twinkle: "wiggle 2s infinite ease-in-out",
"twinkle-slow": "wiggle-slow 2s infinite ease-in-out",
},
backgroundImage: {
"milestones-gradient":
"radial-gradient(60.38% 60.38% at 50% 50%, #04106C 39.06%, #080B94 100%)",
},
keyframes: {
"bounce-sideways": {
"0%, 100%": {
transform: "translateX(0)",
},
"50%": {
transform: "translateX(-10%)",
},
},
wiggle: {
"0%, 100%": {
transform: "rotate(-8deg)",
},
"50%": {
transform: "rotate(8deg)",
},
},
"wiggle-slow": {
"0%, 100%": {
transform: "rotate(0deg)",
},
"33%": {
transform: "rotate(8deg)",
},
"66%": {
transform: "rotate(-8deg)",
},
},
},
screens: {
"3xl": "140rem",
},
textShadow: {
sm: "0 1px 2px #000",
DEFAULT: "0 2px 4px #000",
lg: "0 8px 16px #000",
},
},
},
plugins: [
require("@tailwindcss/forms"),
plugin(function ({ matchUtilities, theme }) {
matchUtilities(
{
"text-shadow": value => ({
textShadow: value,
}),
},
{ values: theme("textShadow") }
)
}),
],
}