Ticket #717 (new enhancement)

Opened 5 years ago

Last modified 3 years ago

ColorPalette support for themes

Reported by: FND Owned by: JeremyRuston
Priority: minor Milestone: 2.7.1
Component: core Version:
Severity: medium Keywords: themes
Cc:

Description

Currently the theme-switching mechanism has only limited support for modifications to the color palettes. This is because StyleSheetColors? uses "hardcoded" references to the ColorPalette? shadow tiddler.

This could be fixed by introducing a hash map config.colorPalette, initialized from ColorPalette?. Color references could then be constructed using a special syntax (e.g. [color[PrimaryDark]]).

Change History

Changed 5 years ago by FND

  • keywords themes added

Changed 4 years ago by MartinBudden

  • milestone changed from 2.5.1 to 2.6

Changed 3 years ago by psd

I just hit this creating a theme and was surprised that something so fundamental for styling isn't supported by themes. Simplest thing I can think of is a patch to transclusion, hard coded for the ColorPalette?, but some more generic approach would be better.

Changed 3 years ago by MartinBudden

  • milestone changed from 2.6.2 to 2.7.1

Milestone 2.6.2 deleted

Note: See TracTickets for help on using tickets.