-
Notifications
You must be signed in to change notification settings - Fork 95
/
Copy pathtailwind.config.js
35 lines (34 loc) · 1.27 KB
/
tailwind.config.js
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
import { createPreset } from "fumadocs-ui/tailwind-plugin";
/** @type {import('tailwindcss').Config} */
export default {
darkMode: ["class"],
presets: [createPreset()],
content: [
"./node_modules/fumadocs-ui/dist/**/*.js",
// "./src/components/**/*.{ts,tsx}",
"./src/app/**/*.{ts,tsx}",
// "./src/**/*.{js,ts,jsx,tsx,mdx}",
// "./src/content/**/*.mdx",
],
blocklist: ["collapse"], // Block the collapse class from being generated
theme: {
extend: {
colors: {
"ch-background": "var(--ch-16)", // editor.background
"ch-border": "hsl(var(--fd-border))", // editorGroup.border
"ch-selection": "var(--ch-20)", // editor.selectionBackground
"ch-tab-active-foreground": "var(--ch-4)", // tab.activeForeground
"ch-tab-inactive-foreground": "var(--ch-15)", // tab.inactiveForeground
"ch-line-number": "var(--ch-24)", // editorLineNumber.foreground
"ch-tabs-background": "hsl(var(--fd-muted))", // editorGroupHeader.tabsBackground
"ch-active-border": "var(--ch-3)", // tab.activeBorderTop
},
borderRadius: {
lg: "var(--radius)",
md: "calc(var(--radius) - 2px)",
sm: "calc(var(--radius) - 4px)",
},
},
},
plugins: [require("tailwindcss-animate")],
};