-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
74 lines (72 loc) · 1.78 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
import type { Config } from "tailwindcss";
const colors = {
// Catppuccin Macchiato palette
macchiato: {
rosewater: "#f4dbd6",
flamingo: "#f0c6c6",
pink: "#f5bde6",
mauve: "#c6a0f6",
red: "#ed8796",
maroon: "#ee99a0",
peach: "#f5a97f",
yellow: "#eed49f",
green: "#a6da95",
teal: "#8bd5ca",
sky: "#91d7e3",
sapphire: "#7dc4e4",
blue: "#8aadf4",
lavender: "#b7bdf8",
text: "#cad3f5",
subtext1: "#b8c0e0",
subtext0: "#a5adcb",
overlay2: "#939ab7",
overlay1: "#8087a2",
overlay0: "#6e738d",
surface2: "#5b6078",
surface1: "#494d64",
surface0: "#363a4f",
base: "#24273a",
mantle: "#1e2030",
crust: "#181926",
}
};
export default {
content: [
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
fontFamily: {
sans: ['var(--font-inter)', 'system-ui', 'sans-serif'],
display: ['var(--font-bricolage)', 'system-ui', 'sans-serif'],
},
colors: {
// Add Catppuccin colors
...colors,
// Map semantic colors to Catppuccin
background: colors.macchiato.base,
foreground: colors.macchiato.text,
primary: colors.macchiato.mauve,
secondary: colors.macchiato.surface0,
accent: colors.macchiato.pink,
muted: colors.macchiato.overlay0,
border: colors.macchiato.surface2,
},
scrollbar: {
width: '2px',
track: 'transparent',
thumb: {
backgroundColor: 'rgb(55, 65, 81)',
hover: {
backgroundColor: 'rgb(75, 85, 99)',
},
},
},
},
},
plugins: [
require('tailwind-scrollbar'),
],
} satisfies Config;