2
5 Comments

I built a light theme extension for IndieHackers

Hi Everyone!

I built a light theme extension (Chrome for now) for indiehackers, for the few people like me who prefer a light background :)

I really enjoy reading people's stories here, and actually find the current look quite pleasing. My problem though is I prefer to code with a light background in my IDE, and if spend enough time on this site my eyes adjust, and then switching back its like staring into the sun.

This extension adds a very basic light theme, and you can quickly toggle back for a session by clicking the extension icon. (it will toggle back to dark for the current tab)

Hope someone finds it useful: https://blog.pagewatch.dev/project/indiehackers-light-theme

(I'l add a link to FireFox once I get it working)

on June 9, 2020
  1. 1

    Thank you!

  2. 1

    Interesting. The extension basically modifies the CSS stylesheets when it detects it's on IH site, right?

    1. 1

      Pretty much, it injects new CSS at the start of the document, then removes if if you toggle it off.
      The full source is available at https://github.com/lpellis/IndieHackers-Light-Theme

  3. 1

    Thanks for sharing. That's interesting.

    Once I am getting use to dark UI, I actually don't want to go back to light UI :D
    I use dark ui almost everywhere, so I'm kinda on other side.

    I am interested what other will say.

    I believe it can be useful, tough.

    1. 1

      Yup most people are on the dark ui train these days, I just like my light background for coding :)