-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.ts
72 lines (71 loc) · 2.36 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
import type { Config } from "tailwindcss";
import plugin from "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}"],
theme: {
extend: {
colors: {
persian: {
"50": "#fff0f3",
"100": "#ffdee4",
"200": "#ffc2cd",
"300": "#ff98aa",
"400": "#ff5c78",
"500": "#ff2a4f",
"600": "#f80a33",
DEFAULT: "#d90429",
"700": "#d90429",
"800": "#ac0824",
"900": "#8e0e24",
"950": "#4e010e",
},
caribbean: {
"50": "#effefa",
"100": "#c7fff0",
"200": "#90ffe3",
"300": "#50f8d3",
"400": "#1ce5be",
DEFAULT: "#04d9b4",
"500": "#04d9b4",
"600": "#00a189",
"700": "#05806f",
"800": "#09665a",
"900": "#0d544a",
"950": "#00332f",
},
},
fontSize: {
"6xl": "3.5rem",
"7xl": "4rem",
},
textShadow: {
sm: "1px 1px 0px var(--tw-shadow-color)",
DEFAULT: "2px 2px 0px var(--tw-shadow-color)",
lg: "4px 4px 0px var(--tw-shadow-color)",
},
fontFamily: {
title: ["var(--font-title)"],
body: ["var(--font-body)"],
},
animation: {
"spin-slow": "spin 5s linear infinite",
},
},
},
plugins: [
require("@tailwindcss/forms"),
require("@tailwindcss/typography"),
plugin(function ({ matchUtilities, theme }) {
matchUtilities(
{
"text-shadow": (value) => ({
textShadow: value,
}),
},
// @ts-expect-error - This seems to be a bug in the tailwindcss types.
{ values: theme("textShadow") },
);
}),
],
};
export default config;