generated from acm-ucr/acm-ucr-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
56 lines (55 loc) · 1.4 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
/** @type {import('tailwindcss').Config} */
import plugin from "tailwindcss/plugin";
import flattenColorPalette from "tailwindcss/lib/util/flattenColorPalette";
module.exports = {
content: ["./src/**/*.{ts,tsx}"],
theme: {
extend: {
colors: {
aviatr: {
"blue-600": "#0077BB",
"blue-500": "#728BC3",
"blue-400": "#72A8D1",
"blue-300": "#7E95C9",
"blue-200": "#AEBDE2",
"blue-100": "#9DB7D2",
"pink-200": "#EBB2F9",
"pink-100": "#E4AEF6",
"purple-100": "#AC9BDE",
},
},
fontFamily: {
jost: ["var(--font-jost)"],
metrophobic: ["var(--font-metrophobic)"],
"bungee-hairline": ["var(--font-bungee-hairline)"],
},
},
},
plugins: [
plugin(function ({ matchUtilities, theme }) {
matchUtilities(
{
"text-stroke": (value) => {
return {
"-webkit-text-stroke": `var(--tw-stroke-weight) ${value}`,
};
},
},
{
values: flattenColorPalette(theme("colors")),
type: ["color", "any"],
},
);
}),
plugin(function ({ matchUtilities, theme }) {
matchUtilities(
{
"stroke-weight": (value) => {
return { "--tw-stroke-weight": value };
},
},
{ values: theme("spacing") },
);
}),
],
};