-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
86 lines (85 loc) · 2.14 KB
/
tailwind.config.ts
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
import type { Config } from "tailwindcss";
const config: Config = {
content: [
"./pages/**/*.{js,ts,jsx,tsx,mdx}",
"./components/**/*.{js,ts,jsx,tsx,mdx}",
"./sections/**/*.{js,ts,jsx,tsx,mdx}",
"./app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
fontFamily: {
oswald: ["var(--font-oswald)"],
pixel1: ["var(--font-pixel-1)"],
},
screens: { xs: "520px", "2xl": "1400px" },
colors: {
primary: {
background: "rgba(255, 255, 255, .05)",
foreground: "#fff",
},
secondary: {
background: "rgba(255, 255, 255, .03)",
foreground: "rgba(255,255,255,0.4)",
},
blue: {
joust: "#56acff",
cosmos: "#003049",
hera: "#7179ef",
},
green: {
benzol: "#00d372",
},
pink: {
ice: "#d87cac",
},
border: "rgb(255 255 255 / 0.05)",
},
backgroundImage: {
grain: "url(/assets/images/background/noisy-background.png)",
},
animation: {
"noisy-bg": "noise 1s steps(2) infinite",
},
keyframes: {
noise: {
"0%": {
transform: "translate3d(0, 9rem, 0)",
},
"10%": {
transform: "translate3d(-1rem, -4rem, 0)",
},
"20%": {
transform: "translate3d(-8rem, 2rem, 0)",
},
"30%": {
transform: "translate3d(9rem, -9rem, 0)",
},
"40%": {
transform: "translate3d(-2rem, 7rem, 0)",
},
"50%": {
transform: "translate3d(-9rem, -4rem, 0)",
},
"60%": {
transform: "translate3d(2rem, 6rem, 0)",
},
"70%": {
transform: "translate3d(7rem, -8rem, 0)",
},
"80%": {
transform: "translate3d(-9rem, 1rem, 0)",
},
"90%": {
transform: "translate3d(6rem, -5rem, 0)",
},
to: {
transform: "translate3d(-7rem, 0, 0)",
},
},
},
},
},
plugins: [],
};
export default config;