Skip to content

Commit 7478725

Browse files
authored
feat: shadcn build (#1147)
* docs: add registry info * feat: add build command * chore: cleanup * docs: update * chore: fix warning * feat: updater, include changes * chore: remove export of apis * fix: duplicated function * fix: custom css, cssvars
1 parent 77c5438 commit 7478725

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+2776
-146
lines changed
Lines changed: 22 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,27 @@
11
{
2-
"tailwind": {
3-
"config": {
4-
"theme": {
5-
"extend": {
6-
"keyframes": {
7-
"accordion-down": {
8-
"from": {
9-
"height": "0"
10-
},
11-
"to": {
12-
"height": "var(--reka-accordion-content-height)"
13-
}
14-
},
15-
"accordion-up": {
16-
"from": {
17-
"height": "var(--reka-accordion-content-height)"
18-
},
19-
"to": {
20-
"height": "0"
21-
}
22-
}
23-
},
24-
"animation": {
25-
"accordion-down": "accordion-down 0.2s ease-out",
26-
"accordion-up": "accordion-up 0.2s ease-out"
27-
}
28-
}
2+
"css": {
3+
"@keyframes accordion-down": {
4+
"from": {
5+
"height": "0"
6+
},
7+
"to": {
8+
"height": "var(--reka-accordion-content-height)"
299
}
10+
},
11+
"@keyframes accordion-up": {
12+
"from": {
13+
"height": "0"
14+
},
15+
"to": {
16+
"height": "var(--reka-accordion-content-height)"
17+
}
18+
}
19+
},
20+
"cssVars": {
21+
"theme": {
22+
"--animate-accordion-down": "accordion-down 0.2s ease-out",
23+
"--animate-accordion-up": "accordion-up 0.2s ease-out"
3024
}
25+
3126
}
3227
}

apps/www/.vitepress/theme/config/docs.ts

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,6 +369,42 @@ export const docsConfig: DocsConfig = {
369369
},
370370
],
371371
},
372+
{
373+
title: 'Registry',
374+
label: 'New',
375+
items: [
376+
{
377+
title: 'Introduction',
378+
href: '/docs/registry',
379+
items: [],
380+
},
381+
{
382+
title: 'Getting Started',
383+
href: '/docs/registry/getting-started',
384+
items: [],
385+
},
386+
{
387+
title: 'Examples',
388+
href: '/docs/registry/examples',
389+
items: [],
390+
},
391+
{
392+
title: 'FAQ',
393+
href: '/docs/registry/faq',
394+
items: [],
395+
},
396+
{
397+
title: 'registry.json',
398+
href: '/docs/registry/registry-json',
399+
items: [],
400+
},
401+
{
402+
title: 'registry-item.json',
403+
href: '/docs/registry/registry-item-json',
404+
items: [],
405+
},
406+
],
407+
},
372408
],
373409
}
374410

0 commit comments

Comments
 (0)