forked from dumpus-app/dumpus-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
63 lines (61 loc) · 1.58 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
import { type Config } from "tailwindcss";
import { type ThemeConfig } from "tailwindcss/types/config";
import twColors from "tailwindcss/colors";
import plugin from "tailwindcss/plugin";
export const colors = {
brand: twColors.sky,
gray: twColors.slate,
danger: twColors.rose,
success: twColors.emerald,
white: "#fff",
transparent: "transparent",
inherit: "inherit",
currentColor: "currentColor",
yellow: twColors.yellow,
gold: {
50: "#fcf2e5",
100: "#e5dbca",
200: "#d2c3ad",
300: "#beab8d",
400: "#aa936e",
500: "#927955",
600: "#725e41",
700: "#51432d",
800: "#322819",
900: "#241a0d",
950: "#150c00",
},
} satisfies ThemeConfig["colors"];
export default {
content: ["./src/**/*.{js,ts,jsx,tsx,mdx}"],
theme: {
colors,
extend: {
animation: {
"spin-slow": "spin 3s linear infinite",
},
fontFamily: {
mono: ["var(--font-mono)"],
},
spacing: {
"safe-area-top-inset": "var(--safe-area-top-inset)",
"safe-area-right-inset": "var(--safe-area-right-inset)",
"safe-area-bottom-inset": "var(--safe-area-bottom-inset)",
"safe-area-left-inset": "var(--safe-area-left-inset)",
},
},
},
plugins: [
plugin(function ({ addVariant, addUtilities, theme }) {
addVariant("no-hover", "@media (hover: none)");
addUtilities({
".desktop-container": {
marginInline: "auto",
width: "100%",
maxWidth: theme("screens.lg"),
},
});
}),
require("@tailwindcss/typography"),
],
} satisfies Config;