-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.mjs
94 lines (90 loc) · 2.36 KB
/
tailwind.config.mjs
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
const defaultTheme = require("tailwindcss/defaultTheme");
const plugin = require("tailwindcss/plugin");
/** @type {import('tailwindcss').Config} */
export default {
content: ["./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}"],
theme: {
extend: {
backgroundSize: {
"400%": "400%",
},
animation: {
"background-move": "background-move 5s linear infinite",
},
keyframes: {
"background-move": {
"0%,100%": { backgroundPosition: "0% 50%" },
"50%": { backgroundPosition: "100% 50%" },
},
},
rotate: {
210: "210deg",
},
fontFamily: {
sans: ["Inter var", "Inter", ...defaultTheme.fontFamily.sans],
},
colors: ({ colors }) => ({
background: "#0E0202",
foreground: "#D9D9D9",
gray: {
...colors.gray,
800: "#645F6E",
},
orange: "#E99E57",
purple: {
500: "#6665E9",
600: "#353496",
},
cardBackground: "#0C0C2F",
mammotab: "#df8849",
dropdownBackground: "#241928",
sectionBackground: "#0C0C2F",
tableTop: "#38384C",
tableBottom: "#1E1A26",
tableDark: "#19121C",
tableAlt: "#282332",
tableText: "#A5A0B5",
mantis: "#90bf31",
seellm: "#51DDF9",
llamapi: "#FBB2CC",
iconBackground: {
100: "#9E0974",
200: "#8E2294",
300: "#8236AE",
400: "#754CC9",
500: "#6665E9",
},
}),
},
},
plugins: [
require("flowbite/plugin"),
plugin(function ({ matchUtilities, theme }) {
matchUtilities(
{
"bg-gradient": (angle) => ({
"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",
}
),
}
);
}),
],
};