-
Notifications
You must be signed in to change notification settings - Fork 9
/
tailwind.config.js
91 lines (90 loc) · 2.86 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
84
85
86
87
88
89
90
91
/** @type {import('tailwindcss').Config} */
const plugin = require("tailwindcss/plugin");
module.exports = {
content: [
"./pages/**/*.{js,ts,jsx,tsx}",
"./components/**/*.{js,ts,jsx,tsx}",
],
future: {
hoverOnlyWhenSupported: true,
},
theme: {
extend: {
spacing: {
100: "6.25rem",
},
colors: {
light: "#fffef1",
gray: "#c1c0b4",
black: "#222326",
"black-400": "#343333",
"black-500": "#1c1d22",
"black-600": "#232021",
"black-700": "#262321",
slate: "#17181d",
zinc: "#232323",
amber: "#ffac64",
"amber-400": "#FFB677",
"amber-600": "#c18d35",
"amber-700": "#A07731",
yellow: "#f2b132",
"yellow-400": "#F4C15F",
},
fontFamily: {
display: ["var(--font-sf)", "system-ui", "sans-serif"],
default: ["var(--font-inter)", "system-ui", "sans-serif"],
},
animation: {
"slide-up-fade": "slide-up-fade 0.3s cubic-bezier(0.16, 1, 0.3, 1)",
"slide-down-fade": "slide-down-fade 0.3s cubic-bezier(0.16, 1, 0.3, 1)",
},
keyframes: {
"fade-in": {
from: { opacity: 0, transform: "translateY(-10px)" },
to: { opacity: 1, transform: "none" },
},
"slide-up-fade": {
"0%": { opacity: 0, transform: "translateY(6px)" },
"100%": { opacity: 1, transform: "translateY(0)" },
},
"slide-down-fade": {
"0%": { opacity: 0, transform: "translateY(-6px)" },
"100%": { opacity: 1, transform: "translateY(0)" },
},
tiles: {
"0%": {
transform: "translateX(0)",
},
"100%": {
transform: "translateX(-4em)",
},
},
},
backgroundImage: {
"hero-pattern": "url('/bg-pattern.svg')",
"terminal-pattern":
"linear-gradient(91.57deg, rgba(250, 190, 101, 0.5) -15.63%, rgba(190, 127, 107, 0.5) 16.07%, rgba(131, 155, 251, 0.5) 108.52%)",
"radial-gradient":
"radial-gradient(202.04% 202.04% at 50% 111.22%, rgba(255, 254, 241, 0.2) 0%, rgba(120, 120, 120, 0.2) 23.95%)",
"feature-pattern":
"linear-gradient(91.57deg, rgba(250, 190, 101, 0.7) -15.63%, rgba(190, 127, 107, 0.7) 35.95%, rgba(131, 155, 251, 0.7) 108.52%)",
},
boxShadow: {
"3xl": "0 0 60px 3px rgb(0 0 0 / 40%)",
},
animation: {
"fade-in": "fade-in 1000ms var(--animation-delay, 0ms) ease forwards",
tiles: "tiles 600ms steps(4) infinite",
},
},
},
plugins: [
require("@tailwindcss/forms"),
require("@tailwindcss/typography"),
require("@tailwindcss/line-clamp"),
plugin(({ addVariant }) => {
addVariant("radix-side-top", '&[data-side="top"]');
addVariant("radix-side-bottom", '&[data-side="bottom"]');
}),
],
};