Skip to content

Conversation

@tsi
Copy link
Collaborator

@tsi tsi commented Feb 12, 2025

This PR fixes an issue with the volume slider track color-contrast

Before:
image

After:
image

@tsi tsi self-assigned this Feb 12, 2025
@tsi tsi requested a review from a team as a code owner February 12, 2025 14:08
@netlify
Copy link

netlify bot commented Feb 12, 2025

Deploy Preview for cld-video-player ready!

Name Link
🔨 Latest commit 9940034
🔍 Latest deploy log https://app.netlify.com/sites/cld-video-player/deploys/67b1b954bff8b80008f18496
😎 Deploy Preview https://deploy-preview-816--cld-video-player.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@tsi tsi force-pushed the ME-19011-a11y-non-text-contrast branch from 782e062 to e3612db Compare February 12, 2025 14:08
@netlify
Copy link

netlify bot commented Feb 12, 2025

Deploy Preview for cld-vp-esm-pages ready!

Name Link
🔨 Latest commit 9940034
🔍 Latest deploy log https://app.netlify.com/sites/cld-vp-esm-pages/deploys/67b1b954cc6950000855c87c
😎 Deploy Preview https://deploy-preview-816--cld-vp-esm-pages.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

}

.vjs-slider {
background-color: color-mix(in srgb, var(--color-text) 10%, transparent);
Copy link
Contributor

Choose a reason for hiding this comment

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

we have both --text-color and --color-text ? what is the diff?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Missed this, we actually have two system of color variables, an old one in JS we implemented before css-vars was a thing, then when css started supporting variable we started using that.
I would be very happy to move everything to CSS vars, it would improve the flow and reduce JS bundle size

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

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.

3 participants