question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Default and hover-state colors for audio-playing icons are reversed in dark mode

See original GitHub issue

Description

Default and hover-state colors for audio-playing icons are reversed in dark mode; found while testing https://github.com/brave/brave-browser/issues/16860.

Steps to Reproduce

  1. new profile
  2. launch Brave
  3. open brave://settings/appearance and from Brave colors choose Dark
  4. open a tab with audio (like https://www.youtube.com/watch?v=rA56B4JyTgI)
  5. open a blank new tab
  6. without selecting it, hover over the audio icon in the YouTube tab
  7. note the default and hovered colors

Actual result:

The default color for the audio-playing icon is dark grey; on hover, it turns to a lighter shade of grey.

default hovered
Screen Shot 2021-07-21 at 4 25 06 PM Screen Shot 2021-07-21 at 4 25 13 PM

Expected result:

The audio-playing icon should be the lighter grey color by default, and become the darker shade of grey on hover.

124976022-94af0380-dfe3-11eb-9a44-b3a5529140f7

Reproduces how often:

100%

Brave version (brave://version info)

Brave 1.29.16 Chromium: 92.0.4515.101 (Official Build) nightly (x86_64)
Revision edb73f4fb624e2ea0cb6f5cc39c9e317ecd3535b-refs/branch-heads/4515@{#1536}
OS macOS Version 11.4 (Build 20F71)

/cc @karenkliu

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
karenkliucommented, Sep 2, 2021

The expected result that @stephendonner posted is what’s intended! We intentionally left the mute contrast higher contrast for great visibility when not clicked, and a subtle decrease in contrast when hovered.

0reactions
ygoecommented, Sep 3, 2021

There is indeed a very high contrast of the icon and its circle background – against the tab background. There is almost no contrast between the icon and its circle background. How is this supposed to be recognisable? It’s only good if the browser window is inactive altogether.

I’ve attached my theme so you can see for yourself, not sure if you can use that file. BraveThemeWindowsDesktop.zip

Update: I’ve also noticed that the inverse circle background disappears immediately when the playback has stopped, while the foreground icon is slowly fading out before it also disappears and releases its width. The colours during this fadeout look okay. So I think the background circle should simply be removed altogether. It only makes things worse.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Turn on Dark theme & color inversion - Google Support
You can change your display to a dark background using a dark theme or color inversion. Dark theme applies to the Android system...
Read more >
How to Create Dark Mode Compatible Emails That Still Look ...
Dark Mode refers to a color inversion that displays light-colored fonts, icons, and visual elements on a dark background.
Read more >
Inverted colours in Dark Mode? What causes it? : r/androiddev
Hello I am currently developing an Android app, that deals with colours to some extent. I also keep Dark Mode permanently on in...
Read more >
Safari Technology Preview Release Notes - Apple Developer
Fixed additive and accumulative color blending to yield intermediary out-of-bounds values ... Dialog element now adapts to dark mode by default (r292029) ...
Read more >
Default Archives - On The Border
START EARNING! Sign up to get great rewards. Join Rewards Now Link opens in new tab. © 2022 OTB Acquisition LLC. All Rights...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found