Dynamically define colors
406
Views
5
Comments
New
Frontend (App Interfaces)

It would be fantastic to dynamically (using variables) to easily define parameters such as (primary and secondary) colours in the CSS.


For example where you might have a multi-tenant solution and want to provide different colour schemes to each tenant. There are work arounds but they seem to be cumbersome. 

+1

Changed the category to
Frontend

+1

Is it only limited to primary and secodary colours? In real case, tenants require lot more makeover. Only Theme CSS comes handy and serves the purpose. 

would be nice to see! Until now I've been using css variables for this. With each tenant having their own script/webblock that sets the root parameters.
It works but indeed is not ideal