Skip to content

Conversation

@LauraAllObe
Copy link
Contributor

Adds seperate input fields with color selectors for colors parameter.

colorsDemoUpdate

@changeset-bot
Copy link

changeset-bot bot commented Nov 28, 2025

⚠️ No Changeset found

Latest commit: 4c33720

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR enhances the colors demo interface by replacing a single text input field with eight individual color picker inputs, providing a more user-friendly way to customize the color palette for LeetCode stats cards.

Key Changes:

  • Replaced single text input for colors with 8 individual HTML5 color pickers (bg0, bg1, text0, text1, color0-color3)
  • Added responsive grid layout with 8 columns on desktop and 2 columns on mobile devices
  • Implemented getColors() function to aggregate individual color values into a comma-separated string for the API

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

@JacobLinCool
Copy link
Owner

@LauraAllObe

Thanks for your contribution! Maybe we could add a switch to toggle custom colors? That way it won't always override the preset ones.

@LauraAllObe
Copy link
Contributor Author

@LauraAllObe

Thanks for your contribution! Maybe we could add a switch to toggle custom colors? That way it won't always override the preset ones.

That's a great idea, I just added the toggle let me know what you think, thank you again for the help and letting me contribute to this project! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants