Page theme color picker

Page theme color picker

See the Code
See it Full Page
See Details

With this little colorpicker you can choose your favourite page theme. The sites background changes to that color and every text with class `darker` gets a darker color and class `lighter` a lighter color. Yet, this only works for the CSS `color` tag, but you can adjust it to apply to `background-color`, `border-color`, … aswell.
Thanks to caching, your chosen color gets saved and when you re-open the site, you can enjoy the site in your favourite color.

This Pen uses: HTML, SCSS, JavaScript, and

Source: codepen

Добавить комментарий

Ваш e-mail не будет опубликован. Обязательные поля помечены *