Background color of individual tiddler

is there a plugin that lets you set the background color of individual tiddlers?

if not, what would be the easiest way to do this?

The ability to apply CSS styles according to a tiddler’s title or tags is already built into the TWCore.
Just create a tiddler, tagged with $:/tags/Stylesheet containing a CSS rule like this:

[data-tiddler-title="HelloThere"] { background:red; }

for more info, see:
https://tiddlywiki.com/#Custom%20styles%20by%20data-tiddler-title
https://tiddlywiki.com/#Custom%20styles%20by%20data-tags

enjoy,
-e

You can also put this in a tiddler tagged $:/tags/Stylesheet
.redb { background:red; }

Then on any tiddler you want a red background add the class field with the value redb.

1 Like