This page is part of a static HTML representation of the TiddlyWiki at https://tiddlywiki.com/

Custom styles by user-class

 11th April 2018 at 5:39pm

Tiddler Field: class Introduced in v5.1.16

The tag manager allows us to set a tiddler color field, that is used to define the "tag-pill" colour. Since: Introduced in v5.1.16 we can define a class field, that is directly inserted into the ViewTemplate and it can be used for styling:

title: anyName
tags: $:/tags/Stylesheet
class: myClass

Every tiddler, that has a class field can be styled that way!

.myClass {
  border: 2px solid blue;
}

Learn more at: How to apply custom styles