Custom styles by data tags: Is this a bug?

39 views
Skip to first unread message

Mohammad

unread,
Jul 23, 2019, 4:43:46 AM7/23/19
to TiddlyWiki
Loo at Custom styles by data-tags here at tiddlywiki.com

By instruction there create a tiddler as below

  • tag: $:/tags/Stylesheet
  • text
[data-tags *="mytest"] .tc-title { color:crimson; }


Now create a tiddler and tag it mytest and title it as  $:/mytitle

The title will be colored in crimson except $:/ why?

--Mohammad


title-colorified.png



Birthe C

unread,
Jul 23, 2019, 6:12:20 AM7/23/19
to TiddlyWiki
Hi Mohammad,

.tc-system-title-prefix is why.

You might not have noticed it before, but it is obvious with coloured titles.


Birthe


Mohammad

unread,
Jul 23, 2019, 7:00:15 AM7/23/19
to TiddlyWiki
Hi Birthe,
 Many thanks!  It works!

--Mohammad
Reply all
Reply to author
Forward
0 new messages