mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-14 22:04:51 +00:00
15 lines
789 B
Plaintext
15 lines
789 B
Plaintext
title: $:/core/ui/ViewTemplate/title
|
|
tags: $:/tags/ViewTemplate
|
|
|
|
\define title-styles()
|
|
fill:$(foregroundColor)$;
|
|
\end
|
|
<div class="tw-tiddler-title"><div class="titlebar"><span class="tw-tiddler-controls"><$list filter="[is[shadow]!has[draft.of]tag[$:/tags/ViewToolbar]] [!is[shadow]!has[draft.of]tag[$:/tags/ViewToolbar]] +[tag[$:/tags/ViewToolbar]]" variable="listItem"><$transclude tiddler=<<listItem>>/></$list>
|
|
|
|
</span><$set name="foregroundColor" value={{!!color}}><span style=<<title-styles>>><$transclude tiddler={{!!icon}}/></span></$set> <span class="title"><$view field="title"/></span></div>
|
|
|
|
<$reveal type="nomatch" text="" default="" state=<<tiddlerInfoState>> class="tw-tiddler-info tw-popup" animate="yes">
|
|
|
|
<$transclude tiddler="$:/core/ui/TiddlerInfo"/>
|
|
|
|
</$reveal></div> |