mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-03-13 06:58:09 +00:00
Fix some old-style palette references
This commit is contained in:
parent
2cbd1080fa
commit
bd4b3e4107
@ -34,9 +34,9 @@ color:$(foregroundColor)$;
|
|||||||
tag=<<__tag__>>
|
tag=<<__tag__>>
|
||||||
icon=<<__icon__>>
|
icon=<<__icon__>>
|
||||||
colour=<<__colour__>>
|
colour=<<__colour__>>
|
||||||
fallbackTarget={{$palette$##tag-background}}
|
fallbackTarget=<<colour tag-background>>
|
||||||
colourA={{$palette$##foreground}}
|
colourA=<<colour foreground>>
|
||||||
colourB={{$palette$##background}}
|
colourB=<<colour background>>
|
||||||
element-tag=<<__element-tag__>>
|
element-tag=<<__element-tag__>>
|
||||||
element-attributes=<<__element-attributes__>>
|
element-attributes=<<__element-attributes__>>
|
||||||
actions=<<__actions__>>
|
actions=<<__actions__>>
|
||||||
|
@ -10,7 +10,7 @@ name: tiddlywiki
|
|||||||
</$set>
|
</$set>
|
||||||
\end
|
\end
|
||||||
\define set-fat-cursor-background-colours(palette)
|
\define set-fat-cursor-background-colours(palette)
|
||||||
<$macrocall $name="set-fat-cursor-background-css" colour={{$palette$##foreground}} colourA="#77ee77" colourB="#586e75"/>
|
<$macrocall $name="set-fat-cursor-background-css" colour=<<colour foreground>> colourA="#77ee77" colourB="#586e75"/>
|
||||||
\end
|
\end
|
||||||
\define set-fat-cursor-background()
|
\define set-fat-cursor-background()
|
||||||
<$macrocall $name="set-fat-cursor-background-colours" palette={{$:/palette}}/>
|
<$macrocall $name="set-fat-cursor-background-colours" palette={{$:/palette}}/>
|
||||||
@ -28,7 +28,7 @@ name: tiddlywiki
|
|||||||
</$wikify>
|
</$wikify>
|
||||||
\end
|
\end
|
||||||
\define set-selection-background-colours(palette)
|
\define set-selection-background-colours(palette)
|
||||||
<$macrocall $name="set-selection-background-css" colour={{$palette$##foreground}} colourA={{{ [{$palette$##selection-background}!match[]!prefix[<<]!suffix[>>]] ~#073642 }}} colourB={{{ [{$palette$##selection-background}!match[]!prefix[<<]!suffix[>>]] ~#eee8d5 }}} tiddlerEditorBackground={{$palette$##tiddler-editor-background}}/>
|
<$macrocall $name="set-selection-background-css" colour=<<colour foreground>> colourA=<<colour selection-background>> colourB=<<colour selection-background>> tiddlerEditorBackground=<<colour tiddler-editor-background>>/>
|
||||||
\end
|
\end
|
||||||
\define set-selection-background()
|
\define set-selection-background()
|
||||||
<$macrocall $name="set-selection-background-colours" palette={{$:/palette}}/>
|
<$macrocall $name="set-selection-background-colours" palette={{$:/palette}}/>
|
||||||
|
@ -45,9 +45,9 @@ color:$(foregroundColor)$;
|
|||||||
tag=<<__tag__>>
|
tag=<<__tag__>>
|
||||||
icon=<<__icon__>>
|
icon=<<__icon__>>
|
||||||
colour=<<__colour__>>
|
colour=<<__colour__>>
|
||||||
fallbackTarget={{$palette$##tag-background}}
|
fallbackTarget=<<colour tag-background>>
|
||||||
colourA={{$palette$##foreground}}
|
colourA=<<colour foreground>>
|
||||||
colourB={{$palette$##background}}
|
colourB=<<colour background>>
|
||||||
element-tag=<<__element-tag__>>
|
element-tag=<<__element-tag__>>
|
||||||
element-attributes=<<__element-attributes__>>
|
element-attributes=<<__element-attributes__>>
|
||||||
actions=<<__actions__>>
|
actions=<<__actions__>>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user