I've taken some of the stuff on this thread and put it here: http://tiddlywiki.org/wiki/Color
I've edited some of your words FND... hope you don't mind. Morris i put your link as an external link. alex 2009/2/22 Morris Gray <[email protected]>: > > Here is a link that might help in deciphering the ColorPalette if you > are just beginning. > > http://twhelp.tiddlyspot.com/#TiddlyWikiColors > > It even contains a link to help you memorize how it affects the > various elements in a TiddlyWiki, if you have more time than sense:-) > > Morris Gray > http://twhelp.tiddlyspot.com > A TiddlyWiki help file for beginners > > > > On Feb 23, 8:23 am, FND <[email protected]> wrote: >> > What I am trying to work out is which tiddler takes precedence and why >> > colours need to be defined in both [ColourPalette and StyleSheet] >> >> The ColorPalette is merely an auxiliary tool - that is, it doesn't have >> any significance in itself, but is only relevant insofar as its slices* >> are referenced from within the StyleSheet. >> >> For example, your StyleSheet might have an entry like this: >> body { >> background-color: [[ColorPalette::Background]]; >> } >> This fetches the Background slice's value (e.g. "#FFF") from the >> ColorPalette tiddler and inserts it in place. >> Alternatively, you could define the respective color directly, right >> there in the StyleSheet: >> body { >> background-color: #FFF; >> } >> >> With the ColorPalette users can change the look of their documents >> without having to dig into CSS. >> >> Some people (primarily programmers?) like the ColorPalette indirection >> to ensure consistency - although there are quite a few people who don't >> like the ColorPalette at all. >> >> In short: If you're adding custom styles or creating a new theme, you >> can choose whether you want to use the ColorPalette or prefer to define >> colors directly in the StyleSheet. >> >> HTH. >> >> -- F. >> >> *http://tiddlywiki.org/wiki/Tiddler_Slices > > > -- t: 0161 442 2202 m: 0781 372 50 17 skype: alexhough delicious: alexhough --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/TiddlyWiki?hl=en -~----------~----~----~----~------~----~------~--~---

