-
Notifications
You must be signed in to change notification settings - Fork 416
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow users to customize Hero Video Dialog Play Button #317
Comments
The play button currently uses a default gray color. However, popular platforms like YouTube, Twitch, and Dailymotion use their brand colors for this button, enhancing visual appeal and aligning with their branding. Solution:To address this, I suggest exposing a new prop that allows users to customize the play button’s color. You can find the relevant code in the Installation Steps:
To customize the play button’s color, you can modify the from-primary/30 and to-primary gradient classes with your desired colors. |
Do you explicitly need a prop for this colour customization, otherwise solution of @sanjay-mali can easily work. Let me know. Thank you. |
@itsarghyadas can i make PR for it. pass start and end color using props. |
please go ahead and also think about what will be the best way - explicit props or somehow I can pass to the tailwind merge. Thank you. |
Any update? |
I hope you're doing well. It's been [16 days] since I raised the pull request regarding #317 , and I haven't received any feedback yet. If there's no interest in reviewing or merging the PR, please let me know. I can close it and focus on contributing to other repositories. |
Is your feature request related to a problem? Please describe.
The play button has a standard gray color. However, most brands (YouTube, Twitch, Dailymotion... ) use their brand color in this button.
Describe the solution you'd like
I would see a new exposed prop to customize the color of this button.
The text was updated successfully, but these errors were encountered: