CSS Themes as white label

Recently, I had to add white-label support for the project.

This means, that some elements on screen had to be able to get theme-specific styling. Usually this mainly means theme-specific colors, but this can easily be extended to SVGs, graphics, Logos etc.

So, I came up with a neat CSS trick I’ll go over today.

Continue reading

Local storage Cache service

We all need access to the local storage every once in a while.
Usually it’s for locally storing state variables or data retrieved from the server that does not change throughout the life of the application.
It can save up some loading time on subsequent executions as well as reduce server load.

Continue reading