Skip to content

Conversation

@kube
Copy link
Collaborator

@kube kube commented Nov 26, 2025

🌟 What is the purpose of this PR?

  • Update existing components by using PandaCSS Recipes.
  • Extract inlined css() outside of components for better readability.
  • Update CONTRIBUTING.md to instruct LLMs to use PandaCSS LLMs.txt and use cva() when needed.

Pre-Merge Checklist 🚀

🚢 Has this modified a publishable library?

This PR:

  • does not modify any publishable blocks or libraries, or modifications do not need publishing

📜 Does this require a change to the docs?

The changes in this PR:

  • are internal and do not require a docs change

🕸️ Does this require a change to the Turbo Graph?

The changes in this PR:

  • do not affect the execution graph

@vercel
Copy link

vercel bot commented Nov 26, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Updated (UTC)
petrinaut Ready Ready Preview Nov 27, 2025 0:52am

@github-actions github-actions bot added area/infra Relates to version control, CI, CD or IaC (area) area/libs Relates to first-party libraries/crates/packages (area) type/eng > frontend Owned by the @frontend team area/apps > hash.design Affects the `hash.design` design site (app) labels Nov 26, 2025
@kube kube mentioned this pull request Nov 26, 2025
3 tasks
@kube kube changed the title Update CONTRIBUTING.md to use PandaCSS Recipes, and read PandaCSS LLMs.txt H-5705: Use PandaCSS Recipes and update LLMs instructions Nov 27, 2025
@kube kube changed the title H-5705: Use PandaCSS Recipes and update LLMs instructions H-5705: Design System: Use PandaCSS Recipes and update LLMs instructions Nov 27, 2025
@kube kube marked this pull request as ready for review November 27, 2025 00:44
Copy link
Member

@indietyp indietyp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

overall lgtm, just have some minor stylistic comments for the states, that may (or may not) be helpful. Might make sense to create our own _unchecked​ selector if we end up going that route.

},

// Disabled state
"&[data-disabled]": {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"&[data-disabled]": {
_disabled: {

},

// Invalid state
"&[data-invalid]": {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"&[data-invalid]": {
_invalid: {

flexShrink: "0",

// Hover state (unchecked)
"&[data-state='unchecked']:hover:not([data-disabled])": {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

data-state is already covered, so you can use: _checked​ and _indeterminate​.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not​ doesn't seem have a way to be expressed :/

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure of how to do composition with their "shortcut keys"?

Base automatically changed from FE-18-avatar to main November 28, 2025 13:07
@kube kube added this pull request to the merge queue Nov 28, 2025
Merged via the queue into main with commit 57a6b16 Nov 28, 2025
43 checks passed
@kube kube deleted the cf/h-5705-use-pandacss-recipescva-llm-instructions branch November 28, 2025 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/apps > hash.design Affects the `hash.design` design site (app) area/infra Relates to version control, CI, CD or IaC (area) area/libs Relates to first-party libraries/crates/packages (area) type/eng > frontend Owned by the @frontend team

Development

Successfully merging this pull request may close these issues.

3 participants