Hi, fellow newbies,

i discovered something nice:

1. The goal: to develop an attrachtive color scheme for a Tw
2. The issues:
a. the css color coldes like /#f7f7f9/ confuse me
aa. Solution: there are names for css colors, which are easier to understand and do memorize, like /"Peru"/
ab. you find them here: http://www.w3schools.com/cssref/css_colornames.asp
ac. in this case we are fascinated by the clolor with the name "Peru"

b.We want to color several things in the same color, like: the *Site title foreground *and maybe other things, like the *Sidebar tab divider *bc.**and maybe later we want to change the color of all these things from a central switch. (in the course of further developing the TW)(or when moving tiddlers betweent different tiddlywikis)

Well here is what I found:*
*
1. I create a tiddler named like "$:/MyMain2016/admin/themecolor"
2. into the text i write the css name of the color , like in this case "Peru" 3. Then i go to the "cog wheel" thingy called /appearence and palette/, and put the following code into the color field {{$:/MyMain2016/admin/themecolor}} The scary curly brackets do something called "transclusion", which means the the contents of the themecolor - tiddler (in this case "Peru") is used. And tiddlywiki understands it.

See the screenshot below, where I changed the *Site title foreground to the brownish color *"Peru" by transcluding the tiddler by using curly brackets

If a now use this method on other color places, like *Tab border*, all these things will have the same color.

Now - if I change the contents (the text field) of the tiddler *$:/MyMain2016/admin/themecolor *from "Peru2 to "green" - all places (instances) in the palette menu will react accordingly.

---

What is the added value over the colour macro (it looks like this in the palette thingy: <<colour tab-border-selected>>)
1.  I can remember things like "Peru" or "Azure", but not #fff34545
2. The colour macro values are tied to the tiddlywiki-file ->
2.It gives me a second system of color coding. I use a lot of TWs with different color themes, some on node.s, many as standalone. Now: if I move tiddlers around between them, I can move the colors together with the contents tiddlers, just by moving the tiddlers which contain the colors. This idea is (I think) based on the discussion about "tiddler swarms" in this group. (I think I still do not have a comprehensive solution for color coded swarms....)

---

*Lesson learned:*
TW offers a lot of possibilities and solutions, which are neither documented nor obvious to us newbies. trying and testing is worth the effort.

I appreciate the sacrifice of your time reading this.

Pit



--
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/567743A7.8060405%40eclipso.ch.
For more options, visit https://groups.google.com/d/optout.

Reply via email to