dark-mode icon indicating copy to clipboard operation
dark-mode copied to clipboard

starts to load any page from dark backgroung - even when off - relaxing but should be more specific

Open ImprovedTube opened this issue 2 years ago • 0 comments

generally loading any website causes an annoying flash of color in the whole tab.

  • so our extension was meant to reduce this effect as soon as possible while loading. even if it is not sure what the exact color will be after loading completely

  • [ ] bug: however this is yet invasively always showing black while loading and with grey font - even when the extension is off for the site or completely off. (this only fits people yet who use very few white/bright pages - not those who use our extension only for a few pages.)


The goal is to reduce both:

  • unnecessary/unwanted light
    • flashing changes in brightness / Transition from the previous sites (or else from the color given by the system's color and the current default by our extension (on or off)
      • examples: if we went from:
        • ...black to white, then we can help to transition the rise. (just one color in between, or a quick, smooth css transition even?)
          • (this the extension could easily include a list of dark by default sizes, like darkreader has)
        • ...white to dark ( just 20% brightness or so), then we could immediately turn off the lights while loading (#000), even if we dont change anything on both sites.
        • ..white to white, then the most we want to do is reduce brightness a little bit while loading (like 20% reduction to relax)
    • the color while loading should generally be between equal and ~35% or so less bright than the completed page (if we had to guess, ideally maybe ~20% less brightness)

ImprovedTube avatar Dec 06 '23 22:12 ImprovedTube