-
Notifications
You must be signed in to change notification settings - Fork 2
/
tailwind.config.ts
102 lines (99 loc) · 2.5 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
import type { Config } from "tailwindcss";
import { PluginAPI } from "tailwindcss/types/config";
const plugin = require("tailwindcss/plugin");
const config: Config = {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
"./src/containers/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
"gradient-conic":
"conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))",
"main-image": "url('/images/main_background.jpg')",
},
boxShadow: {
login: "0 0 10px 5px rgba(203, 203, 203, 0.25)",
chatbot: "0 8px 30px 0 rgba(0, 0, 0, 0.4)",
},
dropShadow: {
fab: "0 0 20px rgba(24, 37, 76, 0.5)",
},
colors: {
navy: {
50: "#E6E9EF",
100: "#C0C8D9",
200: "#98A5BF",
300: "#7282A5",
400: "#546894",
500: "#364F84",
600: "#30487C",
700: "#283E70",
800: "#213564",
900: "#18254C",
},
blue: {
50: "#E1F5FD",
100: "#B2E6FA",
200: "#80D5F7",
300: "#4CC5F4",
400: "#1CB8F3",
500: "#00ACF2",
600: "#009EE3",
700: "#008BD0",
800: "#0079BC",
900: "#005A9B",
},
grayscale: {
100: "#F5F5F5",
200: "#E9E9E9",
300: "#C5C5C5",
400: "#9F9F9F",
500: "#7D7D7D",
600: "#575757",
700: "#454545",
800: "#282828",
900: "#121212",
},
warning: {
100: "#FF294F",
},
success: {
100: "#1FCE65",
},
},
animation: {
"spin-slow": "spin 1.8s linear infinite",
},
},
},
plugins: [
require("tailwind-scrollbar-hide"),
plugin(function ({
matchUtilities,
}: {
matchUtilities: PluginAPI["matchUtilities"];
}) {
matchUtilities(
{
truncate: (value: string) => ({
"text-overflow": "ellipsis",
overflow: "hidden",
"word-break": "break-word",
display: "-webkit-box",
"-webkit-line-clamp": value,
"-webkit-box-orient": "vertical",
}),
},
{
values: { 2: "2", 4: "4" },
},
);
}),
],
};
export default config;