Skip to content

feat(ui): add color picker popover to color input - #962

Merged
aarthificial merged 4 commits into
motion-canvas:mainfrom
jmaen:color-picker
Mar 21, 2024
Merged

aarthificial merged 4 commits into
motion-canvas:mainfrom
jmaen:color-picker

Conversation

@jmaen

@jmaen jmaen commented Feb 21, 2024

Copy link
Copy Markdown
Contributor

Add a color picker popover to the color input component. It can be opened by clicking the color preview.

grafik

@jmaen
jmaen requested a review from aarthificial as a code owner February 21, 2024 16:55
@jmaen

jmaen commented Mar 19, 2024

Copy link
Copy Markdown
Contributor Author

Is there something that you want me to change @aarthificial ?

@aarthificial

Copy link
Copy Markdown
Contributor

Apologies, I got distracted by the next release.
I pushed a tiny commit with some style adjustments to make the color input consistent with the input select (the color box is now a separate button):
image

Other than that the only problem left is the fact that the width of scrollbars is different on Chrome than on Firefox which makes the picker misaligned on Chrome:
image

@jmaen

jmaen commented Mar 20, 2024

Copy link
Copy Markdown
Contributor Author

No worries :) The alignment shoult be fixed now.

@aarthificial
aarthificial merged commit 5ed7669 into motion-canvas:main Mar 21, 2024
@aarthificial

Copy link
Copy Markdown
Contributor

Awesome, thanks!

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