1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-02-17 03:20:02 +00:00

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

Entente cordiale!
This commit is contained in:
Jermolene 2014-02-20 17:14:27 +00:00
parent 5bc408fa75
commit f4c7a269bd
2 changed files with 6 additions and 0 deletions

View File

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

View File

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