-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
55 lines (55 loc) · 1.76 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
import { stacklokTailwindPreset } from "@stacklok/ui-kit";
import type { Config } from "tailwindcss";
import typographyPlugin from "@tailwindcss/typography";
export default {
content: [
"./src/**/*.{js,ts,jsx,tsx,mdx}",
"./node_modules/@stacklok/ui-kit/dist/**/*.js",
],
presets: [stacklokTailwindPreset],
theme: {
...stacklokTailwindPreset.theme,
extend: {
animation: {
"spin-once": "spin-once 0.5s ease-in-out",
},
keyframes: {
"spin-once": {
"0%": {
transform: "rotate(0deg)",
},
"100%": {
transform: "rotate(180deg)",
},
},
},
typography: () => ({
DEFAULT: {
css: {
"--tw-prose-body": "var(--gray-950)",
"--tw-prose-headings": "var(--gray-950)",
"--tw-prose-lead": "var(--gray-600)",
"--tw-prose-links": "var(--gray-950)",
"--tw-prose-bold": "var(--gray-950)",
"--tw-prose-counters": "var(--gray-500)",
"--tw-prose-bullets": "var(--gray-300)",
"--tw-prose-hr": "var(--gray-200)",
"--tw-prose-quotes": "var(--gray-950)",
"--tw-prose-quote-borders": "var(--gray-200)",
"--tw-prose-captions": "var(--gray-500)",
"--tw-prose-code": "var(--gray-950)",
"--tw-prose-pre-code": "var(--gray-200)",
"--tw-prose-pre-bg": "var(--gray-800)",
"--tw-prose-th-borders": "var(--gray-300)",
"--tw-prose-td-borders": "var(--gray-200)",
"h1, h2, h3, h4, h5, h6": {
fontFamily: "var(--font-title)",
fontWeight: "600",
},
},
},
}),
},
},
plugins: [typographyPlugin],
} satisfies Config;