-
Notifications
You must be signed in to change notification settings - Fork 376
/
tailwind.config.js
63 lines (62 loc) · 1.62 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
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
// @ts-check
import { createPreset, presets } from 'fumadocs-ui/tailwind-plugin';
/** @type {import('tailwindcss').Config} */
export default {
content: [
'./components/**/*.{ts,tsx}',
'./app/**/*.{ts,tsx}',
'./content/**/*.mdx',
'./mdx-components.tsx',
'./node_modules/fumadocs-ui/dist/**/*.js',
'./node_modules/fumadocs-openapi/dist/**/*.js',
],
presets: [
createPreset({
preset: {
...presets.default,
dark: {
...presets.default.dark,
background: '0 0% 2%',
foreground: '0 0% 98%',
popover: '0 0% 4%',
card: '0 0% 4%',
muted: '0 0% 8%',
border: '0 0% 14%',
accent: '0 0% 15%',
'accent-foreground': '0 0% 100%',
'muted-foreground': '0 0% 60%',
},
},
}),
],
theme: {
extend: {
fontFamily: {
sans: ['var(--font-geist-sans)'],
mono: ['var(--font-geist-mono)'],
},
backgroundImage: {
'gradient-radial': 'radial-gradient(circle, var(--tw-gradient-stops))',
'repeat-gradient-to-r':
'repeating-linear-gradient(to right, var(--tw-gradient-stops))',
'repeat-gradient-to-br':
'repeating-linear-gradient(to bottom right, var(--tw-gradient-stops))',
},
keyframes: {
stroke: {
from: {
'stroke-dasharray': '1000',
},
to: {
'stroke-dasharray': '1000',
'stroke-dashoffset': '2000',
},
},
},
animation: {
stroke: 'stroke 5s linear infinite',
},
},
},
preset: [createPreset()],
};