WCF icon indicating copy to clipboard operation
WCF copied to clipboard

Style: Color Schemes

Open dtdesign opened this issue 6 years ago • 2 comments

The style system already supports a huge customizable color palette, but each color variable can be assigned a single value only. This creates a situation where styles are sometimes offered in dozens of different variants that only differ by the color palette, but use the same overall CSS. "Color schemes" solve this by offering a switch between color variants that all belong to the same "physical" style.

  • [ ] A toggle allows the color palette to switch between color schemes.
  • [ ] Color schemes are read-only for protected styles.
    • [ ] The administrator may copy an existing scheme to customize it, thus preserving full update support.
    • [ ] Color schemes must be sortable and it should be possible to disable variants.
    • [ ] Pre-defined color schemes cannot be deleted, unless the style protection is removed.
    • [ ] One color scheme should be defined as the default variant.

dtdesign avatar May 11 '19 19:05 dtdesign

It would be nice to make color schemes only available to certain groups

TitusKirch avatar May 01 '20 12:05 TitusKirch

This issue would greatly benefit from CSS variables, especially since something like a "Dark Mode" is pretty much just a different set of colors for the same thing.

However, this can have a significant impact on static images, including but not limited to logos, so things may be much more complicated than they appear on the surface.

dtdesign avatar Nov 20 '21 13:11 dtdesign