Draft
Conversation
Add theme files fetched from chakra-ui/park-ui preset package: - src/theme/animation-styles.ts - src/theme/conditions.ts - src/theme/global-css.ts - src/theme/keyframes.ts - src/theme/layer-styles.ts - src/theme/text-styles.ts - src/theme/tokens/colors.ts, durations.ts, shadows.ts, z-index.ts - src/theme/colors/ (amber, blue, crimson, green, neutral, red, violet, yellow) - src/theme/recipes/ (58 recipe files + index.ts) The recipes/index.ts exports 'recipes' and 'slotRecipes' objects containing all recipes available in this project (excluding park-ui extras like angleSlider, breadcrumb, floatingPanel, listbox, passwordInput, steps, timer, toggle, tour). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: tien <19813755+tien@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Migrate project from park-ui v0 to v1
Migrate park-ui v0 to v1
Mar 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Migrates the project from
@park-ui/panda-preset(v0) to the park-ui v1 architecture, where recipes and theme tokens are user-owned files rather than provided by an external preset.Key changes
Architecture
@park-ui/panda-presetdependency; addedlucide-react(required by v1 components)park-ui.jsonwithcomponents.json(new v1 CLI schema)Theme (
src/theme/)animation-styles,conditions,global-css,keyframes,layer-styles,text-styles, token files (colors,durations,shadows,z-index), and color palettes (crimson, neutral, amber, blue, green, red, violet, yellow)src/theme/recipes/withindex.tsexportingrecipes(simple) andslotRecipes(slot-based)panda.config.tscreatePreset()call; now imports theme files directly and registersrecipes/slotRecipesintheme.extendComponents (
src/components/ui/)styled/subdirectory entirelycreateStyleContextfromstyled-system/jsxinstead of a local utilityclose-button,group,loader,radio-card-groupradio-button-group.tsxkept as a re-export alias pointing toradio-card-groupfor backward compatibilityform-label.tsxrebuilt as a standalone styled label (no recipe dependency) sinceFormLabelwas removed from the v1 component registrytree-view,qr-code,signature-padrebuilt in v1 style usingcreateStyleContextApp-wide variant renames
variant="ghost"→variant="plain"across 14 files (v1 button recipe replacedghostwithplain)variant="link"→variant="plain"(no direct equivalent in v1)Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
ofcncog2cu-dsn.algolia.net/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/_temp/ghcca-node/node/bin/yarn add lucide-react esul�� 7ca01a688c774191e24d9aea:src/the1 0/x64/bin/node de/node/bin/git ts(dns block)park-ui.com/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(dns block)/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/.npm/_npx/84c9095ad57a3fae/node_modules/.bin/park-ui init(dns block)/usr/bin/curl curl -s REDACTED(dns block)www.npmjs.com/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(dns block)If you need me to access, download, or install something from one of these locations, you can either:
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.