Adaptive-Tab-Bar-Colour icon indicating copy to clipboard operation
Adaptive-Tab-Bar-Colour copied to clipboard

Add control over prefers-color-scheme

Open Neikon opened this issue 1 year ago • 2 comments

Vidaldifox changes this preference when you visit a dark/light website to configure it according to the website.

Would a similar behavior be possible with this add-on?

So we could configure features like this in our css themes:

@media (prefers-color-scheme: dark){ :root{
   --auto-accent-color: color-mix(in srgb, var(--lwt-accent-color) 80%, white);
}}
@media (prefers-color-scheme: light){ :root{
   --auto-accent-color: color-mix(in srgb, var(--lwt-accent-color) 80%, black);
}}

look at, this borde color is set with this css but I can not do it with this add-on only with VivaldiFox img (1) img (2)

VidaldiFox repo

Neikon avatar Aug 29 '23 15:08 Neikon

Thanks for the suggestion! I think #56 may be fixed with this.

easonwong-de avatar Aug 31 '23 18:08 easonwong-de

Unless I misunderstand what you're asking, you can do that with this app https://github.com/rugk/website-dark-mode-switcher/

Gooberpatrol66 avatar Oct 10 '23 03:10 Gooberpatrol66