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

fix: Update official themes to use lowercase attrs consistently. #623

Merged
merged 1 commit into from May 15, 2023

Conversation

cjpillsbury
Copy link
Collaborator

@cjpillsbury cjpillsbury commented May 15, 2023

  • Fixes lingering kebab-case attrs in theme definitions.
  • Renames theme-specific attributes as lowercase instead of kebab0case for consistency (e.g. seek-forward-offset is now seekforwardoffset)

@cjpillsbury cjpillsbury requested review from a team and heff as code owners May 15, 2023 19:36
@vercel
Copy link

vercel bot commented May 15, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
media-chrome ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2023 7:37pm
media-chrome-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2023 7:37pm

@@ -31,7 +31,7 @@ template.innerHTML = /*html*/`
color: var(--_primary-color);
}

[disabled] {
[disabled]:not(media-live-button) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOTE: media-live-button is disabled whenever not playing at the live edge and will automatically update its default cursor to not-allowed, so excluding it from this styling so it doesn't have partial opacity under these conditions.

@@ -70,7 +70,7 @@ template.innerHTML = /*html*/`
color: inherit;
}

[disabled] {
[disabled]:not(media-live-button) {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOTE: media-live-button is disabled whenever not playing at the live edge and will automatically update its default cursor to not-allowed, so excluding it from this styling so it doesn't have partial opacity under these conditions.

Copy link
Contributor

@luwes luwes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice finds!

@cjpillsbury cjpillsbury merged commit 5d62f93 into muxinc:main May 15, 2023
4 checks passed
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.

None yet

2 participants