-
Notifications
You must be signed in to change notification settings - Fork 3.3k
fix: OPTIC-2145: Audio tracker line is not visible in dark mode #7514
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: OPTIC-2145: Audio tracker line is not visible in dark mode #7514
Conversation
✅ Deploy Preview for label-studio-docs-new-theme canceled.
|
✅ Deploy Preview for label-studio-storybook ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for heartex-docs canceled.
|
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.
Pull Request Overview
This PR fixes an issue where the audio tracker line was not visible in Dark Mode by switching from a hardcoded RGBA value to a theme-aware CSS variable.
- Updated the color assignment for the audio tracker line in Cursor.ts
- Ensured compatibility with both Light and Dark Mode themes by using the CSS variable "var(--color-neutral-border)"
Comments suppressed due to low confidence (1)
web/libs/editor/src/lib/AudioUltra/Cursor/Cursor.ts:61
- Ensure that the CSS variable 'var(--color-neutral-border)' delivers sufficient contrast in both Light and Dark Mode themes by cross-checking with the current design tokens or accessibility guidelines.
color = "var(--color-neutral-border)";
Reason for change
The audio tracker line in the Quick View is not visible when Dark Mode is enabled, making it difficult for users to navigate the audio data. This change updates the color of the tracker line to use a theme-aware variable, ensuring it is visible in both Light and Dark Modes.
Screenshots
Before:


After:


Rollout strategy
This is a small visual change and does not require a specific rollout strategy.
Testing
Risks
There are no anticipated risks associated with this minor visual correction.
Reviewer notes
Please verify that the color variable
var(--color-neutral-border)ensures sufficient contrast for the audio tracker line to be visible in both Light and Dark Mode themes.General notes
The fix involves changing a hardcoded color value to a CSS variable that adapts to the current theme.