Skip to content
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

Customization of ddefault Animation Player styles #950

Closed
nvborisenko opened this issue Feb 9, 2024 · 1 comment · Fixed by #956
Closed

Customization of ddefault Animation Player styles #950

nvborisenko opened this issue Feb 9, 2024 · 1 comment · Fixed by #956
Assignees
Labels
a-player Relates to the player package b-enhancement New feature or request c-accepted The issue is ready to be worked on

Comments

@nvborisenko
Copy link
Contributor

nvborisenko commented Feb 9, 2024

Description
I want to customize Animation Player while it is loading the animation. For now it looks the default values for background-color (at least) are hardcoded.

background-color: rgba(0, 0, 0, 0.54);

Animation Player manipulates HTML Elements in shadow root, what is challenging to override some CSS properties.

Proposed solution
Probably, if HTML elements in the shadow root have part attributes, then we can override the styles.

Considered alternatives
I am newbie, don't listen to me.

Additional context
I want to make Animation Player fully invisible while it is loading the scene.

@nvborisenko nvborisenko added the b-enhancement New feature or request label Feb 9, 2024
@nvborisenko
Copy link
Contributor Author

@aarthificial do you think of the proposed solution is viable? If yes, I can propose a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a-player Relates to the player package b-enhancement New feature or request c-accepted The issue is ready to be worked on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants