-
Notifications
You must be signed in to change notification settings - Fork 29
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
Add primaryColor prop 🎨 #41
Conversation
dbaa673
to
bc9292f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One question, otherwise LGTM.
src/types.ts
Outdated
@@ -64,6 +64,10 @@ export interface StreamPlayerApi { | |||
* The <video> element does not force the browser to follow the value of this attribute; it is a mere hint. Even though the preload="none" option is a valid HTML5 attribute, Stream player will always load some metadata to initialize the player. The amount of data loaded in this case is negligable. | |||
*/ | |||
preload: Preload; | |||
/** | |||
* Any valid CSS color provided will be applied to certain elements of the player's UI. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May be useful to include some examples; folks reading this may assume this limits to named css colors rather than being able to use rgba/hsl/etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about Any valid CSS color value
(based on this MDN page: https://developer.mozilla.org/en-US/docs/Web/CSS/color_value)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good to me 👍
Removing tsdx lint since it's currently broken, and adding a clean script to clear files that prettier shouldn't be concerned with.
bc9292f
to
b4e2c20
Compare
Removing tsdx lint since it's currently broken, and adding a clean
script to clear files that prettier shouldn't be concerned with.