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:
parent
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$;
|
||||
|
Loading…
x
Reference in New Issue
Block a user