Colers - theme selector

Project URL: https://colers-demo.glitch.me

An awesome project where you can change the look and feel of your site.

You can test it on that site, or link it to your site (refreshing activates the theme)

<!-- choose one of these, and copy the code they give -->
    <script src="https://colers-demo.glitch.me/apisave.js"></script> <!-- for saving a new color -->
    <script src="https://colers-demo.glitch.me/runapi.js"></script> <!-- use this for applying the theme -->
    <script src="https:/colers-demo.glitch.me/apiget.js"></script>  <!-- for getting the color - use this along with the run api code -->

A bookmarklet is also coming (its WIP) for anywhere.

1 Like

Is “colers” a typo or is it intentional?

Also, it looks like it just sets and saves colors in localstorsge which isn’t gonna change colors on every user’s browser as it’s localstorsge (stored locally) and people can easily disable javascript.

Edit: so it looks like this is on the user to change the theme which is kind of a bad idea and can kind of make your website look bad

Hey, doesn’t seem to be working for me, the background is stuck on white.

1 Like

Yeah me too, I had to refresh the page a couple of times for it to work.

it’s not a typo…

and it works every time I refresh

The point was to make your own color schema, but I guess I’ll make it so that you can have preset themes