Skip to content

Change colors/theme runtime #1232

@subpublic

Description

@subpublic

Summary

Maybe this is possible, but I cant figure out.
I want to be able to change the primary colors using a config at load/runtime.

Basic example

theme.colors.override = {
  backgroundColor: '#ffdddd',
  primary: '#cccccc'
}

Motivation

I'm developing a SaaS service, where my customers want to white label and customize the look and feel of their page.
They can use custom domains or customer.mysaas.com, and set their own colors, font, etc.

Could be done something like Material UI createTheme
https://mui.com/material-ui/customization/theming/

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions