colours of headings

34 views
Skip to first unread message

stuartt...@gmail.com

unread,
Mar 10, 2025, 6:08:51 AMMar 10
to TiddlyWikiClassic


hi folks

I am wanting to change the colours of tiddler header and subheadings. I assume I would alter the stylesheet: could anyone suggest the syntax please?

Yakov

unread,
Mar 11, 2025, 6:35:04 AMMar 11
to TiddlyWikiClassic
Hi Stuart,

first, you can play with the ColorPalette (SecondaryDark color is used in the tiddler titles and section headers). You can use any color picker out there (example), pick the color, copy the Hex code, and paste it instead of the current #841 value (it's short for #884411, so don't worry about a different length).

If you'd like to style those separately (use different colors), than you'll need to add to StyleSheet something like:

/* tiddler titles */
.title {
    color: red;
}

/* heading created with !heading syntax */
h1 {
    color: #123456;
}

/* heading created with !!heading syntax */
h2 {
    color: #654321;
}

/* ... */

Best regards,
Yakov

понедельник, 10 марта 2025 г. в 13:08:51 UTC+3, stuartt...@gmail.com:

stuartt...@gmail.com

unread,
Apr 12, 2025, 8:29:08 AMApr 12
to TiddlyWikiClassic
works great, Thank you. 
Reply all
Reply to author
Forward
0 new messages