Setting brand styling choices in css or module

We are building a dash app where the basic application will be reused between different parts of the organization with different branding styles and palettes. For the basic styling this should be easy enough to switch - we will just point to different custom css files for the various orgs.

My question is for colorscales - we have defined some custom colorscales to match the branding, and I’m not sure the best way to pull these out of the main app and into a separate file. Is there a way to do this via css? Or do I need both a brand.css and a brand.py?

Thanks!

It sounds like the best and easiest solution would be to use Dash Enterprise Design Kit.

For other strategies, you could check out this theme switching app It also has options for switching colorscales.