Skip to content
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

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

Open
1 task
ImprovedTube opened this issue Dec 6, 2023 · 0 comments

Comments

@ImprovedTube
Copy link
Member

ImprovedTube commented Dec 6, 2023

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant