Skip to content

web-storage example: use input type color instead of custom color picker#376

Open
ArnaudBienner wants to merge 1 commit intomdn:mainfrom
ArnaudBienner:web-storage-input-type-color
Open

web-storage example: use input type color instead of custom color picker#376
ArnaudBienner wants to merge 1 commit intomdn:mainfrom
ArnaudBienner:web-storage-input-type-color

Conversation

@ArnaudBienner
Copy link

<input type=color> is now widely implemented, thus I think it makes sense to use it as it is natively supported by browsers, instead a custom color picker.

What do you think?

Note: because the format saved is slightly different, if someone tried this example a while ago, the value will not be restored when loading this new version. But IMHO this is fine because this is an example page.

@ArnaudBienner ArnaudBienner requested a review from a team as a code owner February 1, 2026 18:51
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.

1 participant

Comments