fumadocs-ui 14.7.6 → 15.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css/animations.css +199 -0
- package/css/black.css +37 -0
- package/css/catppuccin.css +47 -0
- package/css/dusk.css +45 -0
- package/css/neutral.css +43 -0
- package/css/ocean.css +46 -0
- package/css/preset.css +37 -0
- package/css/purple.css +37 -0
- package/css/shiki.css +65 -0
- package/css/style.css +13 -0
- package/css/vitepress.css +78 -0
- package/dist/components/dialog/search.d.ts +6 -10
- package/dist/components/dialog/search.d.ts.map +1 -1
- package/dist/components/dialog/search.js +20 -26
- package/dist/components/layout/toc.js +1 -1
- package/dist/components/ui/button.d.ts +1 -1
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/components/ui/button.js +1 -0
- package/dist/components/ui/popover.js +1 -1
- package/dist/layouts/docs/shared.d.ts +1 -0
- package/dist/layouts/docs/shared.d.ts.map +1 -1
- package/dist/layouts/docs/sidebar.d.ts.map +1 -1
- package/dist/layouts/docs/sidebar.js +56 -29
- package/dist/layouts/docs.js +1 -1
- package/dist/page.client.js +1 -1
- package/dist/page.d.ts.map +1 -1
- package/dist/page.js +33 -24
- package/dist/style.css +2734 -2482
- package/dist/theme/docs-ui.d.ts +23 -0
- package/dist/theme/docs-ui.d.ts.map +1 -0
- package/dist/theme/docs-ui.js +58 -0
- package/dist/theme/typography/index.d.ts +2 -7
- package/dist/theme/typography/index.d.ts.map +1 -1
- package/dist/theme/typography/index.js +6 -10
- package/dist/theme/typography/styles.d.ts +12 -6
- package/dist/theme/typography/styles.d.ts.map +1 -1
- package/dist/theme/typography/styles.js +31 -25
- package/package.json +20 -21
- package/dist/tailwind-plugin.d.ts +0 -58
- package/dist/tailwind-plugin.d.ts.map +0 -1
- package/dist/tailwind-plugin.js +0 -199
- package/dist/theme/animations.d.ts +0 -170
- package/dist/theme/animations.d.ts.map +0 -1
- package/dist/theme/animations.js +0 -95
- package/dist/theme/colors.d.ts +0 -12
- package/dist/theme/colors.d.ts.map +0 -1
- package/dist/theme/colors.js +0 -323
|
@@ -1,170 +0,0 @@
|
|
|
1
|
-
export declare const animations: {
|
|
2
|
-
keyframes: {
|
|
3
|
-
'fd-collapsible-down': {
|
|
4
|
-
from: {
|
|
5
|
-
height: string;
|
|
6
|
-
opacity: string;
|
|
7
|
-
};
|
|
8
|
-
to: {
|
|
9
|
-
height: string;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
'fd-collapsible-up': {
|
|
13
|
-
from: {
|
|
14
|
-
height: string;
|
|
15
|
-
};
|
|
16
|
-
to: {
|
|
17
|
-
height: string;
|
|
18
|
-
opacity: string;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
'fd-accordion-down': {
|
|
22
|
-
from: {
|
|
23
|
-
height: string;
|
|
24
|
-
opacity: string;
|
|
25
|
-
};
|
|
26
|
-
to: {
|
|
27
|
-
height: string;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
'fd-accordion-up': {
|
|
31
|
-
from: {
|
|
32
|
-
height: string;
|
|
33
|
-
};
|
|
34
|
-
to: {
|
|
35
|
-
height: string;
|
|
36
|
-
opacity: string;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
'fd-dialog-in': {
|
|
40
|
-
from: {
|
|
41
|
-
transform: string;
|
|
42
|
-
opacity: string;
|
|
43
|
-
};
|
|
44
|
-
to: {
|
|
45
|
-
transform: string;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
'fd-dialog-out': {
|
|
49
|
-
from: {
|
|
50
|
-
transform: string;
|
|
51
|
-
};
|
|
52
|
-
to: {
|
|
53
|
-
transform: string;
|
|
54
|
-
opacity: string;
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
'fd-popover-in': {
|
|
58
|
-
from: {
|
|
59
|
-
opacity: string;
|
|
60
|
-
transform: string;
|
|
61
|
-
};
|
|
62
|
-
to: {
|
|
63
|
-
opacity: string;
|
|
64
|
-
transform: string;
|
|
65
|
-
};
|
|
66
|
-
};
|
|
67
|
-
'fd-popover-out': {
|
|
68
|
-
from: {
|
|
69
|
-
opacity: string;
|
|
70
|
-
transform: string;
|
|
71
|
-
};
|
|
72
|
-
to: {
|
|
73
|
-
opacity: string;
|
|
74
|
-
transform: string;
|
|
75
|
-
};
|
|
76
|
-
};
|
|
77
|
-
'fd-fade-in': {
|
|
78
|
-
from: {
|
|
79
|
-
opacity: string;
|
|
80
|
-
};
|
|
81
|
-
to: {
|
|
82
|
-
opacity: string;
|
|
83
|
-
};
|
|
84
|
-
};
|
|
85
|
-
'fd-fade-out': {
|
|
86
|
-
to: {
|
|
87
|
-
opacity: string;
|
|
88
|
-
};
|
|
89
|
-
};
|
|
90
|
-
'fd-enterFromRight': {
|
|
91
|
-
from: {
|
|
92
|
-
opacity: string;
|
|
93
|
-
transform: string;
|
|
94
|
-
};
|
|
95
|
-
to: {
|
|
96
|
-
opacity: string;
|
|
97
|
-
transform: string;
|
|
98
|
-
};
|
|
99
|
-
};
|
|
100
|
-
'fd-enterFromLeft': {
|
|
101
|
-
from: {
|
|
102
|
-
opacity: string;
|
|
103
|
-
transform: string;
|
|
104
|
-
};
|
|
105
|
-
to: {
|
|
106
|
-
opacity: string;
|
|
107
|
-
transform: string;
|
|
108
|
-
};
|
|
109
|
-
};
|
|
110
|
-
'fd-exitToRight': {
|
|
111
|
-
from: {
|
|
112
|
-
opacity: string;
|
|
113
|
-
transform: string;
|
|
114
|
-
};
|
|
115
|
-
to: {
|
|
116
|
-
opacity: string;
|
|
117
|
-
transform: string;
|
|
118
|
-
};
|
|
119
|
-
};
|
|
120
|
-
'fd-exitToLeft': {
|
|
121
|
-
from: {
|
|
122
|
-
opacity: string;
|
|
123
|
-
transform: string;
|
|
124
|
-
};
|
|
125
|
-
to: {
|
|
126
|
-
opacity: string;
|
|
127
|
-
transform: string;
|
|
128
|
-
};
|
|
129
|
-
};
|
|
130
|
-
'fd-nav-menu-in': {
|
|
131
|
-
from: {
|
|
132
|
-
opacity: string;
|
|
133
|
-
height: string;
|
|
134
|
-
};
|
|
135
|
-
to: {
|
|
136
|
-
opacity: string;
|
|
137
|
-
height: string;
|
|
138
|
-
};
|
|
139
|
-
};
|
|
140
|
-
'fd-nav-menu-out': {
|
|
141
|
-
from: {
|
|
142
|
-
opacity: string;
|
|
143
|
-
height: string;
|
|
144
|
-
};
|
|
145
|
-
to: {
|
|
146
|
-
opacity: string;
|
|
147
|
-
height: string;
|
|
148
|
-
};
|
|
149
|
-
};
|
|
150
|
-
};
|
|
151
|
-
animation: {
|
|
152
|
-
'fd-fade-in': string;
|
|
153
|
-
'fd-fade-out': string;
|
|
154
|
-
'fd-dialog-in': string;
|
|
155
|
-
'fd-dialog-out': string;
|
|
156
|
-
'fd-popover-in': string;
|
|
157
|
-
'fd-popover-out': string;
|
|
158
|
-
'fd-collapsible-down': string;
|
|
159
|
-
'fd-collapsible-up': string;
|
|
160
|
-
'fd-accordion-down': string;
|
|
161
|
-
'fd-accordion-up': string;
|
|
162
|
-
'fd-nav-menu-in': string;
|
|
163
|
-
'fd-nav-menu-out': string;
|
|
164
|
-
'fd-enterFromLeft': string;
|
|
165
|
-
'fd-enterFromRight': string;
|
|
166
|
-
'fd-exitToLeft': string;
|
|
167
|
-
'fd-exitToRight': string;
|
|
168
|
-
};
|
|
169
|
-
};
|
|
170
|
-
//# sourceMappingURL=animations.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"animations.d.ts","sourceRoot":"","sources":["../../src/theme/animations.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiGtB,CAAC"}
|
package/dist/theme/animations.js
DELETED
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
export const animations = {
|
|
2
|
-
keyframes: {
|
|
3
|
-
'fd-collapsible-down': {
|
|
4
|
-
from: { height: '0', opacity: '0' },
|
|
5
|
-
to: {
|
|
6
|
-
height: 'var(--radix-collapsible-content-height)',
|
|
7
|
-
},
|
|
8
|
-
},
|
|
9
|
-
'fd-collapsible-up': {
|
|
10
|
-
from: {
|
|
11
|
-
height: 'var(--radix-collapsible-content-height)',
|
|
12
|
-
},
|
|
13
|
-
to: { height: '0', opacity: '0' },
|
|
14
|
-
},
|
|
15
|
-
'fd-accordion-down': {
|
|
16
|
-
from: { height: '0', opacity: '0.5' },
|
|
17
|
-
to: { height: 'var(--radix-accordion-content-height)' },
|
|
18
|
-
},
|
|
19
|
-
'fd-accordion-up': {
|
|
20
|
-
from: { height: 'var(--radix-accordion-content-height)' },
|
|
21
|
-
to: { height: '0', opacity: '0.5' },
|
|
22
|
-
},
|
|
23
|
-
'fd-dialog-in': {
|
|
24
|
-
from: { transform: 'scale(0.95) translate(-50%, 0)', opacity: '0' },
|
|
25
|
-
to: { transform: 'scale(1) translate(-50%, 0)' },
|
|
26
|
-
},
|
|
27
|
-
'fd-dialog-out': {
|
|
28
|
-
from: { transform: 'scale(1) translate(-50%, 0)' },
|
|
29
|
-
to: { transform: 'scale(0.95) translateY(-50%, 0)', opacity: '0' },
|
|
30
|
-
},
|
|
31
|
-
'fd-popover-in': {
|
|
32
|
-
from: { opacity: '0', transform: 'scale(0.98) translateY(-4px)' },
|
|
33
|
-
to: { opacity: '1', transform: 'scale(1) translateY(0)' },
|
|
34
|
-
},
|
|
35
|
-
'fd-popover-out': {
|
|
36
|
-
from: { opacity: '1', transform: 'translateY(0)' },
|
|
37
|
-
to: { opacity: '0', transform: 'translateY(-4px)' },
|
|
38
|
-
},
|
|
39
|
-
'fd-fade-in': {
|
|
40
|
-
from: { opacity: '0' },
|
|
41
|
-
to: { opacity: '1' },
|
|
42
|
-
},
|
|
43
|
-
'fd-fade-out': {
|
|
44
|
-
to: { opacity: '0' },
|
|
45
|
-
},
|
|
46
|
-
'fd-enterFromRight': {
|
|
47
|
-
from: { opacity: '0', transform: 'translateX(200px)' },
|
|
48
|
-
to: { opacity: '1', transform: 'translateX(0)' },
|
|
49
|
-
},
|
|
50
|
-
'fd-enterFromLeft': {
|
|
51
|
-
from: { opacity: '0', transform: 'translateX(-200px)' },
|
|
52
|
-
to: { opacity: '1', transform: 'translateX(0)' },
|
|
53
|
-
},
|
|
54
|
-
'fd-exitToRight': {
|
|
55
|
-
from: { opacity: '1', transform: 'translateX(0)' },
|
|
56
|
-
to: { opacity: '0', transform: 'translateX(200px)' },
|
|
57
|
-
},
|
|
58
|
-
'fd-exitToLeft': {
|
|
59
|
-
from: { opacity: '1', transform: 'translateX(0)' },
|
|
60
|
-
to: { opacity: '0', transform: 'translateX(-200px)' },
|
|
61
|
-
},
|
|
62
|
-
'fd-nav-menu-in': {
|
|
63
|
-
from: { opacity: '0', height: '0px' },
|
|
64
|
-
to: {
|
|
65
|
-
opacity: '1',
|
|
66
|
-
height: 'var(--radix-navigation-menu-viewport-height)',
|
|
67
|
-
},
|
|
68
|
-
},
|
|
69
|
-
'fd-nav-menu-out': {
|
|
70
|
-
from: {
|
|
71
|
-
opacity: '1',
|
|
72
|
-
height: 'var(--radix-navigation-menu-viewport-height)',
|
|
73
|
-
},
|
|
74
|
-
to: { opacity: '0', height: '0px' },
|
|
75
|
-
},
|
|
76
|
-
},
|
|
77
|
-
animation: {
|
|
78
|
-
'fd-fade-in': 'fd-fade-in 300ms ease',
|
|
79
|
-
'fd-fade-out': 'fd-fade-out 300ms ease',
|
|
80
|
-
'fd-dialog-in': 'fd-dialog-in 200ms cubic-bezier(0.32, 0.72, 0, 1)',
|
|
81
|
-
'fd-dialog-out': 'fd-dialog-out 300ms cubic-bezier(0.32, 0.72, 0, 1)',
|
|
82
|
-
'fd-popover-in': 'fd-popover-in 150ms ease',
|
|
83
|
-
'fd-popover-out': 'fd-popover-out 150ms ease',
|
|
84
|
-
'fd-collapsible-down': 'fd-collapsible-down 150ms ease-out',
|
|
85
|
-
'fd-collapsible-up': 'fd-collapsible-up 150ms ease-out',
|
|
86
|
-
'fd-accordion-down': 'fd-accordion-down 200ms ease-out',
|
|
87
|
-
'fd-accordion-up': 'fd-accordion-up 200ms ease-out',
|
|
88
|
-
'fd-nav-menu-in': 'fd-nav-menu-in 200ms ease',
|
|
89
|
-
'fd-nav-menu-out': 'fd-nav-menu-out 200ms ease',
|
|
90
|
-
'fd-enterFromLeft': 'fd-enterFromLeft 250ms ease',
|
|
91
|
-
'fd-enterFromRight': 'fd-enterFromRight 250ms ease',
|
|
92
|
-
'fd-exitToLeft': 'fd-exitToLeft 250ms ease',
|
|
93
|
-
'fd-exitToRight': 'fd-exitToRight 250ms ease',
|
|
94
|
-
},
|
|
95
|
-
};
|
package/dist/theme/colors.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { Preset } from '../tailwind-plugin';
|
|
2
|
-
export declare const presets: {
|
|
3
|
-
vitepress: Preset;
|
|
4
|
-
purple: Preset;
|
|
5
|
-
black: Preset;
|
|
6
|
-
default: Preset;
|
|
7
|
-
ocean: Preset;
|
|
8
|
-
catppuccin: Preset;
|
|
9
|
-
neutral: Preset;
|
|
10
|
-
dusk: Preset;
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=colors.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../src/theme/colors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAoUhD,eAAO,MAAM,OAAO;;;;;;;;;CASnB,CAAC"}
|
package/dist/theme/colors.js
DELETED
|
@@ -1,323 +0,0 @@
|
|
|
1
|
-
const black = {
|
|
2
|
-
light: {
|
|
3
|
-
background: '0 0% 98%',
|
|
4
|
-
foreground: '0 0% 3.9%',
|
|
5
|
-
muted: '0 0% 96.1%',
|
|
6
|
-
'muted-foreground': '0 0% 45.1%',
|
|
7
|
-
popover: '0 0% 100%',
|
|
8
|
-
'popover-foreground': '0 0% 15.1%',
|
|
9
|
-
card: '0 0% 99.7%',
|
|
10
|
-
'card-foreground': '0 0% 3.9%',
|
|
11
|
-
border: '0 0% 89.8%',
|
|
12
|
-
primary: '0 0% 9%',
|
|
13
|
-
'primary-foreground': '0 0% 98%',
|
|
14
|
-
secondary: '0 0% 96.1%',
|
|
15
|
-
'secondary-foreground': '0 0% 9%',
|
|
16
|
-
accent: '0 0% 94.1%',
|
|
17
|
-
'accent-foreground': '0 0% 9%',
|
|
18
|
-
ring: '0 0% 63.9%',
|
|
19
|
-
},
|
|
20
|
-
dark: {
|
|
21
|
-
'popover-foreground': '0 0% 88%',
|
|
22
|
-
'card-foreground': '0 0% 98%',
|
|
23
|
-
primary: '0 0% 98%',
|
|
24
|
-
'primary-foreground': '0 0% 9%',
|
|
25
|
-
secondary: '0 0% 12.9%',
|
|
26
|
-
'secondary-foreground': '0 0% 98%',
|
|
27
|
-
ring: '0 0% 14.9%',
|
|
28
|
-
background: '0 0% 2%',
|
|
29
|
-
foreground: '0 0% 98%',
|
|
30
|
-
popover: '0 0% 4%',
|
|
31
|
-
card: '0 0% 4%',
|
|
32
|
-
muted: '0 0% 8%',
|
|
33
|
-
border: '0 0% 14%',
|
|
34
|
-
accent: '0 0% 15%',
|
|
35
|
-
'accent-foreground': '0 0% 100%',
|
|
36
|
-
'muted-foreground': '0 0% 60%',
|
|
37
|
-
},
|
|
38
|
-
};
|
|
39
|
-
const ocean = {
|
|
40
|
-
light: {
|
|
41
|
-
background: '0 0% 98%',
|
|
42
|
-
foreground: '0 0% 3.9%',
|
|
43
|
-
muted: '220 90% 96.1%',
|
|
44
|
-
'muted-foreground': '0 0% 45.1%',
|
|
45
|
-
popover: '0 0% 98%',
|
|
46
|
-
'popover-foreground': '0 0% 15.1%',
|
|
47
|
-
card: '220 50% 98%',
|
|
48
|
-
'card-foreground': '0 0% 3.9%',
|
|
49
|
-
border: '220 50% 89.8%',
|
|
50
|
-
primary: '210 80% 20.2%',
|
|
51
|
-
'primary-foreground': '0 0% 98%',
|
|
52
|
-
secondary: '220 90% 96.1%',
|
|
53
|
-
'secondary-foreground': '0 0% 9%',
|
|
54
|
-
accent: '220 50% 94.1%',
|
|
55
|
-
'accent-foreground': '0 0% 9%',
|
|
56
|
-
ring: '220 100% 63.9%',
|
|
57
|
-
},
|
|
58
|
-
dark: {
|
|
59
|
-
'card-foreground': '220 60% 94.5%',
|
|
60
|
-
'primary-foreground': '0 0% 9%',
|
|
61
|
-
'secondary-foreground': '220 80% 90%',
|
|
62
|
-
ring: '205 100% 85%',
|
|
63
|
-
card: '220 50% 10%',
|
|
64
|
-
muted: '220 50% 10%',
|
|
65
|
-
'muted-foreground': '220 30% 65%',
|
|
66
|
-
'accent-foreground': '220 80% 90%',
|
|
67
|
-
popover: '220 50% 10%',
|
|
68
|
-
'popover-foreground': '220 30% 65%',
|
|
69
|
-
accent: '220 40% 20%',
|
|
70
|
-
secondary: '220 50% 20%',
|
|
71
|
-
background: '220 60% 6%',
|
|
72
|
-
foreground: '220 60% 94.5%',
|
|
73
|
-
primary: '205 100% 85%',
|
|
74
|
-
border: '220 50% 20%',
|
|
75
|
-
},
|
|
76
|
-
css: {
|
|
77
|
-
'.dark body': {
|
|
78
|
-
'background-image': 'linear-gradient(rgba(5, 105, 255, 0.15), transparent 20rem, transparent)',
|
|
79
|
-
'background-repeat': 'no-repeat',
|
|
80
|
-
},
|
|
81
|
-
},
|
|
82
|
-
};
|
|
83
|
-
const neutral = {
|
|
84
|
-
light: {
|
|
85
|
-
background: '0 0% 96%',
|
|
86
|
-
foreground: '0 0% 3.9%',
|
|
87
|
-
muted: '0 0% 96.1%',
|
|
88
|
-
'muted-foreground': '0 0% 45.1%',
|
|
89
|
-
popover: '0 0% 98%',
|
|
90
|
-
'popover-foreground': '0 0% 15.1%',
|
|
91
|
-
card: '0 0% 94.7%',
|
|
92
|
-
'card-foreground': '0 0% 3.9%',
|
|
93
|
-
border: '0 0% 89.8%',
|
|
94
|
-
primary: '0 0% 9%',
|
|
95
|
-
'primary-foreground': '0 0% 98%',
|
|
96
|
-
secondary: '0 0% 93.1%',
|
|
97
|
-
'secondary-foreground': '0 0% 9%',
|
|
98
|
-
accent: '0 0% 90.1%',
|
|
99
|
-
'accent-foreground': '0 0% 9%',
|
|
100
|
-
ring: '0 0% 63.9%',
|
|
101
|
-
},
|
|
102
|
-
dark: {
|
|
103
|
-
background: '0 0% 8.04%',
|
|
104
|
-
foreground: '0 0% 92%',
|
|
105
|
-
muted: '0 0% 12.9%',
|
|
106
|
-
'muted-foreground': '0 0% 60.9%',
|
|
107
|
-
popover: '0 0% 9.8%',
|
|
108
|
-
'popover-foreground': '0 0% 88%',
|
|
109
|
-
card: '0 0% 9.8%',
|
|
110
|
-
'card-foreground': '0 0% 98%',
|
|
111
|
-
border: '0 0% 14%',
|
|
112
|
-
primary: '0 0% 98%',
|
|
113
|
-
'primary-foreground': '0 0% 9%',
|
|
114
|
-
secondary: '0 0% 12.9%',
|
|
115
|
-
'secondary-foreground': '0 0% 98%',
|
|
116
|
-
accent: '0 0% 16.9%',
|
|
117
|
-
'accent-foreground': '0 0% 90%',
|
|
118
|
-
ring: '0 0% 14.9%',
|
|
119
|
-
},
|
|
120
|
-
css: {
|
|
121
|
-
'.dark #nd-sidebar': {
|
|
122
|
-
'--muted': '0deg 0% 16%',
|
|
123
|
-
'--secondary': '0deg 0% 18%',
|
|
124
|
-
'--muted-foreground': '0 0% 72%',
|
|
125
|
-
},
|
|
126
|
-
},
|
|
127
|
-
};
|
|
128
|
-
const catppuccin = {
|
|
129
|
-
light: {
|
|
130
|
-
popover: '220deg 22% 92%',
|
|
131
|
-
'popover-foreground': '234deg 16% 35%',
|
|
132
|
-
'secondary-foreground': '234deg 16% 35%',
|
|
133
|
-
border: '223deg 16% 83%',
|
|
134
|
-
primary: '266deg 85% 58%',
|
|
135
|
-
'primary-foreground': '234deg 16% 35%',
|
|
136
|
-
muted: '220deg 22% 92%',
|
|
137
|
-
card: '220deg 22% 92%',
|
|
138
|
-
accent: '223deg 16% 83%',
|
|
139
|
-
'accent-foreground': '234deg 16% 35%',
|
|
140
|
-
'card-foreground': '234deg 16% 35%',
|
|
141
|
-
'muted-foreground': '233deg 10% 47%',
|
|
142
|
-
foreground: '234deg 16% 35%',
|
|
143
|
-
secondary: '220deg 22% 92%',
|
|
144
|
-
background: '220deg 23% 95%',
|
|
145
|
-
ring: '267deg 84% 81%',
|
|
146
|
-
},
|
|
147
|
-
dark: {
|
|
148
|
-
ring: '267deg 84% 81%',
|
|
149
|
-
primary: '267deg 84% 81%',
|
|
150
|
-
background: '240deg 21% 15%',
|
|
151
|
-
foreground: '226deg 64% 88%',
|
|
152
|
-
popover: '240deg 23% 9%',
|
|
153
|
-
card: '240deg 21% 12%',
|
|
154
|
-
muted: '240deg 21% 12%',
|
|
155
|
-
border: '237deg 16% 23%',
|
|
156
|
-
accent: '237deg 16% 23%',
|
|
157
|
-
secondary: '240deg 21% 12%',
|
|
158
|
-
'primary-foreground': '240deg 23% 9%',
|
|
159
|
-
'card-foreground': '226deg 64% 88%',
|
|
160
|
-
'secondary-foreground': '226deg 64% 88%',
|
|
161
|
-
'popover-foreground': '226deg 64% 88%',
|
|
162
|
-
'accent-foreground': '226deg 64% 88%',
|
|
163
|
-
'muted-foreground': '228deg 24% 72%',
|
|
164
|
-
},
|
|
165
|
-
css: {
|
|
166
|
-
'#nd-sidebar': {
|
|
167
|
-
'--secondary': '223deg 16% 83%',
|
|
168
|
-
'--muted': '223deg 16% 83%',
|
|
169
|
-
},
|
|
170
|
-
'.dark #nd-sidebar': {
|
|
171
|
-
'--secondary': '237deg 16% 23%',
|
|
172
|
-
'--muted': '237deg 16% 23%',
|
|
173
|
-
},
|
|
174
|
-
},
|
|
175
|
-
};
|
|
176
|
-
const purple = {
|
|
177
|
-
light: {
|
|
178
|
-
background: '256 100% 96%',
|
|
179
|
-
primary: '270 100% 52%',
|
|
180
|
-
border: '270 40% 80%',
|
|
181
|
-
accent: '270 60% 86%',
|
|
182
|
-
'accent-foreground': '270 100% 20%',
|
|
183
|
-
muted: '256 60% 94%',
|
|
184
|
-
'muted-foreground': '256 50% 50%',
|
|
185
|
-
foreground: '256 60% 26%',
|
|
186
|
-
secondary: '270 60% 90%',
|
|
187
|
-
'secondary-foreground': '256 60% 10%',
|
|
188
|
-
card: '256 60% 92%',
|
|
189
|
-
'card-foreground': '256 100% 20%',
|
|
190
|
-
'popover-foreground': '256 100% 20%',
|
|
191
|
-
popover: '256 60% 96%',
|
|
192
|
-
'primary-foreground': '270 100% 20%',
|
|
193
|
-
ring: '270 100% 52%',
|
|
194
|
-
},
|
|
195
|
-
dark: {
|
|
196
|
-
background: '256 60% 6%',
|
|
197
|
-
primary: '270 100% 86%',
|
|
198
|
-
border: '270 100% 20%',
|
|
199
|
-
accent: '256 60% 26%',
|
|
200
|
-
'accent-foreground': '270 100% 86%',
|
|
201
|
-
muted: '256 60% 10%',
|
|
202
|
-
foreground: '256 60% 90%',
|
|
203
|
-
'muted-foreground': '256 50% 75%',
|
|
204
|
-
secondary: '270 100% 20%',
|
|
205
|
-
'secondary-foreground': '256 60% 90%',
|
|
206
|
-
card: '256 60% 10%',
|
|
207
|
-
'card-foreground': '256 60% 90%',
|
|
208
|
-
'popover-foreground': '256 60% 90%',
|
|
209
|
-
popover: '256 60% 6%',
|
|
210
|
-
'primary-foreground': '256 60% 6%',
|
|
211
|
-
ring: '270 100% 86%',
|
|
212
|
-
},
|
|
213
|
-
};
|
|
214
|
-
const dusk = {
|
|
215
|
-
light: {
|
|
216
|
-
background: '250 20% 92%',
|
|
217
|
-
primary: '340 40% 48%',
|
|
218
|
-
border: '240 40% 90%',
|
|
219
|
-
accent: '250 30% 90%',
|
|
220
|
-
'accent-foreground': '250 20% 20%',
|
|
221
|
-
muted: '240 30% 94%',
|
|
222
|
-
'muted-foreground': '240 10% 50%',
|
|
223
|
-
foreground: '220 20% 30%',
|
|
224
|
-
secondary: '250 40% 94%',
|
|
225
|
-
'secondary-foreground': '240 40% 10%',
|
|
226
|
-
card: '250 20% 92%',
|
|
227
|
-
'card-foreground': '250 20% 20%',
|
|
228
|
-
'popover-foreground': '250 40% 20%',
|
|
229
|
-
popover: '250 40% 96%',
|
|
230
|
-
'primary-foreground': '240 80% 20%',
|
|
231
|
-
ring: '340 40% 48%',
|
|
232
|
-
},
|
|
233
|
-
dark: {
|
|
234
|
-
ring: '340 100% 90%',
|
|
235
|
-
'primary-foreground': '240 40% 4%',
|
|
236
|
-
popover: '240 20% 5%',
|
|
237
|
-
'popover-foreground': '250 20% 90%',
|
|
238
|
-
primary: '340 100% 90%',
|
|
239
|
-
border: '220 15% 15%',
|
|
240
|
-
background: '220 15% 6%',
|
|
241
|
-
foreground: '220 15% 87%',
|
|
242
|
-
muted: '220 20% 15%',
|
|
243
|
-
'muted-foreground': '220 15% 60%',
|
|
244
|
-
accent: '250 20% 15%',
|
|
245
|
-
secondary: '240 20% 15%',
|
|
246
|
-
'card-foreground': '240 15% 87%',
|
|
247
|
-
card: '240 20% 5%',
|
|
248
|
-
'secondary-foreground': '250 20% 90%',
|
|
249
|
-
'accent-foreground': '340 5% 90%',
|
|
250
|
-
},
|
|
251
|
-
css: {
|
|
252
|
-
'#nd-sidebar': {
|
|
253
|
-
backgroundColor: 'hsl(250 20% 90%)',
|
|
254
|
-
},
|
|
255
|
-
'.dark #nd-sidebar': {
|
|
256
|
-
backgroundColor: 'hsl(240 20% 5%)',
|
|
257
|
-
},
|
|
258
|
-
},
|
|
259
|
-
};
|
|
260
|
-
const vitepress = {
|
|
261
|
-
light: {
|
|
262
|
-
...black.light,
|
|
263
|
-
background: '0 0% 100%',
|
|
264
|
-
card: '0 0% 100%',
|
|
265
|
-
foreground: '240 6% 25%',
|
|
266
|
-
'muted-foreground': '240 6% 50%',
|
|
267
|
-
secondary: '240 6% 97%',
|
|
268
|
-
'accent-foreground': '240 6% 25%',
|
|
269
|
-
primary: '226 55% 45%',
|
|
270
|
-
},
|
|
271
|
-
dark: {
|
|
272
|
-
ring: '234 100% 83%',
|
|
273
|
-
primary: '234 100% 83%',
|
|
274
|
-
'secondary-foreground': '60 100% 98%',
|
|
275
|
-
'card-foreground': '60 100% 98%',
|
|
276
|
-
background: '240 7% 11%',
|
|
277
|
-
foreground: '60 100% 98%',
|
|
278
|
-
popover: '240 7% 11%',
|
|
279
|
-
'popover-foreground': '60 100% 98%',
|
|
280
|
-
'primary-foreground': '240 7% 11%',
|
|
281
|
-
card: '240 7% 11%',
|
|
282
|
-
muted: '0 0% 13%',
|
|
283
|
-
border: '240 4% 19%',
|
|
284
|
-
accent: '0 0% 15%',
|
|
285
|
-
secondary: '240 4% 9%',
|
|
286
|
-
'accent-foreground': '0 0% 100%',
|
|
287
|
-
'muted-foreground': '240 4% 65%',
|
|
288
|
-
},
|
|
289
|
-
css: {
|
|
290
|
-
'.prose': {
|
|
291
|
-
'--tw-prose-body': 'theme(colors.fd-foreground / 85%)',
|
|
292
|
-
'--tw-prose-headings': 'theme(colors.fd-foreground / 85%)',
|
|
293
|
-
'--tw-prose-links': 'theme(colors.fd-primary.DEFAULT)',
|
|
294
|
-
'--tw-prose-code': 'theme(colors.fd-primary.DEFAULT)',
|
|
295
|
-
},
|
|
296
|
-
'.prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))': {
|
|
297
|
-
border: 'none',
|
|
298
|
-
backgroundColor: 'theme(colors.fd-primary.DEFAULT / 10%)',
|
|
299
|
-
},
|
|
300
|
-
'#nd-sidebar': {
|
|
301
|
-
backgroundColor: 'hsl(240 6% 97%)',
|
|
302
|
-
},
|
|
303
|
-
'.dark #nd-sidebar': {
|
|
304
|
-
backgroundColor: 'hsl(240 4% 9%)',
|
|
305
|
-
},
|
|
306
|
-
'#nd-sidebar > div': {
|
|
307
|
-
borderColor: 'transparent',
|
|
308
|
-
},
|
|
309
|
-
'button[data-search-full]': {
|
|
310
|
-
backgroundColor: 'theme(colors.fd-background)',
|
|
311
|
-
},
|
|
312
|
-
},
|
|
313
|
-
};
|
|
314
|
-
export const presets = {
|
|
315
|
-
vitepress,
|
|
316
|
-
purple,
|
|
317
|
-
black,
|
|
318
|
-
default: neutral,
|
|
319
|
-
ocean,
|
|
320
|
-
catppuccin,
|
|
321
|
-
neutral,
|
|
322
|
-
dusk,
|
|
323
|
-
};
|