Allow "<<color>>" as a synonym for the "<<colour>>" macro

Entente cordiale!
print-window-tiddler
Jermolene 2014-02-20 17:14:27 +00:00
rodzic 5bc408fa75
commit f4c7a269bd
2 zmienionych plików z 6 dodań i 0 usunięć

Wyświetl plik

@ -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>

Wyświetl plik

@ -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$;