kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Allow "<<color>>" as a synonym for the "<<colour>>" macro
Entente cordiale!print-window-tiddler
rodzic
5bc408fa75
commit
f4c7a269bd
|
@ -3,6 +3,9 @@ title: $:/core/ui/PageMacros
|
|||
\define colour(name)
|
||||
<$transclude tiddler={{$:/palette}} index="$name$"/>
|
||||
\end
|
||||
\define color(name)
|
||||
<<color $name$>>
|
||||
\end
|
||||
\define tabs(tabsList,default,state:"$:/state/tab")
|
||||
<div class="tw-tab-buttons"><$list filter="$tabsList$" variable="currentTab"><$button set=<<qualify "$state$">> setTo=<<currentTab>> default="$default$" selectedClass="tw-tab-selected"><$transclude tiddler=<<currentTab>> field="caption"><$macrocall $name="currentTab" $type="text/plain" $output="text/plain"/></$transclude> </$button>
|
||||
</$list>
|
||||
|
|
|
@ -3,6 +3,9 @@ title: $:/core/ui/PageStylesheet
|
|||
\define colour(name)
|
||||
<$transclude tiddler={{$:/palette}} index="$name$"/>
|
||||
\end
|
||||
\define color(name)
|
||||
<<colour $name$>>
|
||||
\end
|
||||
\define border-radius(radius)
|
||||
```
|
||||
-webkit-border-radius: $radius$;
|
||||
|
|
Ładowanie…
Reference in New Issue