Replace native color input with custom ColorPicker component - #32
Merged
Andreas-Froyland merged 3 commits intoFeb 16, 2026
Merged
Conversation
Redesigns the accent color picker in ProductSettingsAppearance to show a grid of 12 preset color swatches with active-state indicator, plus a custom color trigger (pipette icon) backed by a hidden native picker. Adds a live color preview swatch next to the hex input for fine-tuning. https://claude.ai/code/session_011Kb1RWHLQDakpkWvByGaBZ
Replaces the preset swatches and native browser picker with a proper HSL gradient color picker (vanilla-colorful) wrapped in a reka-ui Popover. Clicking the color swatch opens a popover with a full saturation/lightness gradient area, hue slider, and hex input for fine-tuning — all matching the shadcn design system styling. https://claude.ai/code/session_011Kb1RWHLQDakpkWvByGaBZ
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Andreas-Froyland
deleted the
claude/add-email-verification-nudge-nuVJ5
branch
February 16, 2026 14:42
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.
Summary
Replaced the native HTML color input with a new custom
ColorPickercomponent that provides a better user experience with a popover-based interface, hex color picker widget, and real-time validation.Key Changes
New ColorPicker component (
components/ColorPicker.vue): A reusable color picker component featuring:vanilla-colorfulhex color picker widget#3b82f6)Updated ProductSettingsAppearance: Replaced the native color input and manual text input with the new
ColorPickercomponent, simplifying the UI codeNuxt configuration: Added Vue compiler option to recognize
hex-color-pickeras a custom element (from vanilla-colorful library)Dependencies: Added
vanilla-colorfulpackage for the color picker widgetDocumentation: Removed completed TODO item about updating the color picker design
Implementation Details
ClientOnlywrapper for the hex-color-picker to handle SSR compatibilityhttps://claude.ai/code/session_011Kb1RWHLQDakpkWvByGaBZ