|
1 | 1 | export default defineAppConfig({
|
2 | 2 | ui: {
|
3 |
| - primary: 'green', |
4 |
| - gray: 'slate', |
5 |
| - avatar: { |
6 |
| - default: { |
7 |
| - icon: 'i-ph-image' |
8 |
| - } |
9 |
| - }, |
10 |
| - button: { |
11 |
| - default: { |
12 |
| - loadingIcon: 'i-ph-spinner' |
13 |
| - } |
14 |
| - }, |
15 |
| - input: { |
16 |
| - default: { |
17 |
| - loadingIcon: 'i-ph-spinner' |
18 |
| - } |
19 |
| - }, |
20 |
| - select: { |
21 |
| - default: { |
22 |
| - loadingIcon: 'i-ph-spinner', |
23 |
| - trailingIcon: 'i-ph-caret-down' |
24 |
| - } |
25 |
| - }, |
26 |
| - selectMenu: { |
27 |
| - default: { |
28 |
| - selectedIcon: 'i-ph-check' |
29 |
| - } |
30 |
| - }, |
31 |
| - notification: { |
32 |
| - default: { |
33 |
| - closeButton: { |
34 |
| - icon: 'i-ph-x' |
35 |
| - } |
36 |
| - } |
37 |
| - }, |
38 |
| - commandPalette: { |
39 |
| - default: { |
40 |
| - icon: 'i-ph-magnifying-glass', |
41 |
| - loadingIcon: 'i-ph-spinner', |
42 |
| - selectedIcon: 'i-ph-check', |
43 |
| - emptyState: { |
44 |
| - icon: 'i-ph-magnifying-glass' |
45 |
| - }, |
46 |
| - closeButton: { |
47 |
| - icon: 'i-ph-x' |
48 |
| - } |
49 |
| - } |
50 |
| - }, |
51 |
| - table: { |
52 |
| - default: { |
53 |
| - sortAscIcon: 'i-ph-sort-ascending', |
54 |
| - sortDescIcon: 'i-ph-sort-descending', |
55 |
| - sortButton: { |
56 |
| - icon: 'i-ph-list' |
57 |
| - }, |
58 |
| - loadingState: { |
59 |
| - icon: 'i-ph-spinner' |
60 |
| - }, |
61 |
| - emptyState: { |
62 |
| - icon: 'i-ph-database' |
63 |
| - } |
64 |
| - } |
65 |
| - }, |
66 |
| - pagination: { |
67 |
| - default: { |
68 |
| - prevButton: { |
69 |
| - icon: 'i-ph-arrow-left' |
70 |
| - }, |
71 |
| - nextButton: { |
72 |
| - icon: 'i-ph-arrow-right' |
73 |
| - } |
74 |
| - } |
75 |
| - }, |
76 |
| - card: { |
77 |
| - rounded: 'rounded-xl' |
78 |
| - }, |
79 |
| - tooltip: { |
80 |
| - background: '!bg-background', |
81 |
| - popper: { |
82 |
| - strategy: 'absolute' |
83 |
| - } |
84 |
| - }, |
85 |
| - breadcrumb: { |
86 |
| - divider: { |
87 |
| - base: 'w-4 h-4' |
88 |
| - }, |
89 |
| - default: { |
90 |
| - divider: 'i-ph-caret-right' |
91 |
| - } |
92 |
| - }, |
93 |
| - // `@nuxt/ui-pro` specific |
94 |
| - variables: { |
95 |
| - dark: { |
96 |
| - background: 'var(--color-gray-950)' |
97 |
| - } |
98 |
| - }, |
99 |
| - icons: { |
100 |
| - dark: 'i-ph-moon', |
101 |
| - light: 'i-ph-sun', |
102 |
| - search: 'i-ph-magnifying-glass', |
103 |
| - external: 'i-ph-arrow-up-right', |
104 |
| - chevron: 'i-ph-caret-down', |
105 |
| - hash: 'i-ph-hash' |
106 |
| - }, |
107 |
| - header: { |
108 |
| - wrapper: 'lg:mb-0 lg:border-0', |
109 |
| - links: { |
110 |
| - trailingIcon: { |
111 |
| - base: 'w-4 h-4' |
112 |
| - }, |
113 |
| - popover: { |
114 |
| - popper: { |
115 |
| - strategy: 'absolute' |
116 |
| - }, |
117 |
| - ui: { |
118 |
| - width: 'w-[16rem]' |
119 |
| - } |
120 |
| - } |
121 |
| - }, |
122 |
| - popover: { |
123 |
| - links: { |
124 |
| - active: 'dark:bg-gray-950/50', |
125 |
| - inactive: 'dark:hover:bg-gray-950/50' |
126 |
| - } |
127 |
| - }, |
128 |
| - button: { |
129 |
| - icon: { |
130 |
| - open: 'i-ph-list', |
131 |
| - close: 'i-ph-x' |
132 |
| - } |
133 |
| - } |
134 |
| - }, |
135 |
| - navigation: { |
136 |
| - accordion: { |
137 |
| - button: { |
138 |
| - trailingIcon: { |
139 |
| - base: 'w-4 h-4' |
140 |
| - } |
141 |
| - } |
142 |
| - } |
143 |
| - }, |
144 |
| - page: { |
145 |
| - card: { |
146 |
| - to: 'dark:hover:bg-gray-900/50' |
| 3 | + colors: { |
| 4 | + primary: 'green', |
| 5 | + neutral: 'slate', |
| 6 | + important: 'violet' |
| 7 | + } |
| 8 | + }, |
| 9 | + uiPro: { |
| 10 | + pageHero: { |
| 11 | + slots: { |
| 12 | + container: 'py-10 sm:py-20 lg:py-20', |
| 13 | + title: 'sm:text-5xl' |
147 | 14 | }
|
148 | 15 | },
|
149 |
| - content: { |
150 |
| - search: { |
151 |
| - fileIcon: { |
152 |
| - name: 'i-ph-file-text' |
153 |
| - } |
154 |
| - }, |
155 |
| - toc: { |
156 |
| - button: { |
157 |
| - trailingIcon: { |
158 |
| - base: 'w-4 h-4' |
159 |
| - } |
160 |
| - } |
161 |
| - }, |
162 |
| - surround: { |
163 |
| - icon: { |
164 |
| - prev: 'i-ph-arrow-left', |
165 |
| - next: 'i-ph-arrow-right' |
166 |
| - } |
167 |
| - }, |
168 |
| - collapsible: { |
169 |
| - button: { |
170 |
| - icon: { |
171 |
| - base: 'w-3 h-3' |
172 |
| - } |
173 |
| - } |
| 16 | + prose: { |
| 17 | + img: { |
| 18 | + base: 'w-full' |
174 | 19 | },
|
175 |
| - prose: { |
176 |
| - code: { |
177 |
| - button: { |
178 |
| - icon: { |
179 |
| - copy: 'i-ph-copy', |
180 |
| - copied: 'i-ph-check-square' |
181 |
| - } |
182 |
| - }, |
183 |
| - icon: { |
184 |
| - terminal: 'i-ph-terminal-window' |
185 |
| - } |
| 20 | + codeTree: { |
| 21 | + slots: { |
| 22 | + root: 'bg-default m-0', |
| 23 | + content: '[&>div>pre]:rounded-r-none' |
186 | 24 | }
|
187 | 25 | }
|
188 | 26 | }
|
|
0 commit comments