-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtailwind.config.ts
80 lines (79 loc) · 2.43 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
import type { Config } from "tailwindcss";
const plugin = require("tailwindcss/plugin");
export default {
content: ["./app/**/*.{js,jsx,ts,tsx}"],
theme: {
extend: {
colors: {
"uns-gray-1": "#00000026",
"uns-blue": "#131a2a",
"uns-light-blue": "#98a1c0",
"uns-blue-gray": "#99a1bd14",
"uns-blue-3": "#080a1800",
"uns-blue-4": "#080a18",
"uns-blue-5": "#a697ff00",
"uns-blue-6": "#5d6785",
"uns-blue-7": "#050026",
"uns-blue-8": "#3335480a",
"uns-blue-9": "#293249",
"uns-blue-10": "#0d111c",
"uns-blue-11": "#2B3249",
"uns-blue-12": "#4c82fb3d",
"uns-blue-13": "#98a1c014",
"uns-blue-14": "#98a1c03d",
"uns-blue-15": "#adbcff3d",
"uns-blue-16": "#0d111ccc",
"uns-sky": "#4c82fb",
"uns-pink-1": "#ff37eb",
"uns-pink-2": "rgb(255, 87, 218)",
"uns-pink-3": "#ff00c7",
"uns-pink-4": "#ff9ffb",
"uns-pink-5": "#ff79c9",
"uns-pink-6": "#ffb8e2",
"uns-yellow-1": "rgb(255, 244, 207)",
},
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
cta: "url('/assets/img/ctabg.png'), radial-gradient(101.8% 4091.31% at 0% 0%, #4673fa 0%, #9646fa 100%)",
},
boxShadow: {
glow: "0 0 16px 0 var(--tw-shadow-color)",
features: "0 10px 24px 0 var(--tw-shadow-color)",
cta: "0 10px 24px var(--tw-shadow-color)",
dropdown: "0 4px 12px 0 var(--tw-shadow-color)",
},
backgroundSize: {
"auto-hundred": "auto 100%",
},
},
},
plugins: [
plugin(function ({ matchUtilities, theme }: any) {
matchUtilities(
{
"bg-gradient": (angle: any) => ({
"background-image": `linear-gradient(${angle}, var(--tw-gradient-stops))`,
}),
},
{
// values from config and defaults you wish to use most
values: Object.assign(
theme("bgGradientDeg", {}), // name of config key. Must be unique
{
10: "10deg", // bg-gradient-10
15: "15deg",
20: "20deg",
25: "25deg",
30: "30deg",
45: "45deg",
60: "60deg",
90: "90deg",
120: "120deg",
135: "135deg",
}
),
}
);
}),
],
} satisfies Config;