Conversation
|
There was a problem hiding this comment.
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.
|
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! :) |
Adds seperate input fields with color selectors for colors parameter.