[Feature] support macOS highlight color
Opened this issue · 3 comments
Currently e.g. in the login selection dropdown, the highlight color of the selected login is green.
Expected Behavior
It would be nice, if KeePassXC-Browser used the Highlight color set in macOS System Settings > Appearance > Highlight color.
Debug info
KeePassXC 2.7.6
KeePassXC-Browser 1.8.12
Operating system: macOS 13.6.4
Browser: Firefox 123.0
Is there a browser API that can achieve this?
FYI: This is restricted to checkbox, radio, range and progress elements: https://developer.mozilla.org/en-US/docs/Web/CSS/accent-color
Also this is restricted to Firefox: https://developer.mozilla.org/en-US/docs/Web/CSS/system-color
Returning accentColor
from getComputedStyle()
will not work either, because the value is restricted to auto
for fingerprint resistance.
The only way to do this would be using a custom checkbox element that behaves like a normal div.