-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
79 lines (78 loc) · 2.65 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
import TailwindScrollbarPlugin from "tailwind-scrollbar";
import type { Config } from "tailwindcss";
const THEMATIC_GRADIENT = "linear-gradient(-45deg, #e81cff 0%, #40c9ff 100% )";
const config: Config = {
content: [
"./src/**/*.{js,ts,jsx,tsx,mdx}",
"./stories/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
animation: {
fadein: "fadein 1s linear forwards",
},
gridTemplateAreas: {
"profile-layout": ["left right", "bottom bottom"],
},
gridTemplateColumns: {
"profile-layout": "1fr 1fr",
},
gridTemplateRows: {
"home-layout": "1fr 6rem",
"main-layout": "4rem 1fr 6rem",
"profile-layout": "3fr 2fr",
},
keyframes: {
fadein: {
"0%": {
filter: "blur(100px)",
},
"100%": {
filter: "blur(0px)",
},
},
},
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
"gradient-conic":
"conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
"thematic-gradient": THEMATIC_GRADIENT,
},
colors: {
"card-overlay": "rgba(0, 0, 0, 0.80)",
"card-overlay-active": "rgba(255, 255, 255, 0.20)",
"theme-primary": "rgb(140, 154, 255)",
"theme-faded": "rgb(110, 110, 235)",
"theme-accent": "rgb(200, 200, 255)",
"theme-active": "rgb(225, 186, 255)",
"text-faded": "rgba(255, 255, 255, 0.4)",
"text-active": "rgb(200, 200, 200)",
twitter: "rgb(8, 160, 233)",
},
transitionTimingFunction: {
overshoot: "cubic-bezier(0.175, 0.885, 0.32, 1.333);",
},
scale: {
"card-hover-x": "1.2666",
"card-hover-y": "0.7895",
},
borderColor: {
"thematic-gradient": THEMATIC_GRADIENT,
},
},
screens: {
lg: { max: "1280px" },
md: { max: "1024px" },
sm: { max: "768px" },
},
},
plugins: [
require("daisyui"),
TailwindScrollbarPlugin({ nocompatible: true }),
require("@savvywombat/tailwindcss-grid-areas"),
],
daisyui: {
themes: ["light", "corporate", "dracula"],
},
};
export default config;