mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-01-23 04:51:55 -08:00
Fix Codemirror colour palette fallbacks
This commit is contained in:
parent
d2204ae72e
commit
92b7819259
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ name: tiddlywiki
|
|||
</$wikify>
|
||||
\end
|
||||
\define set-selection-background-colours(palette)
|
||||
<$macrocall $name="set-selection-background-css" colour=<<colour foreground>> colourA=<<colour selection-background>> colourB=<<colour selection-background>> tiddlerEditorBackground=<<colour tiddler-editor-background>>/>
|
||||
<$macrocall $name="set-selection-background-css" colour=<<colour foreground>> colourA={{{ [function[colour],[selection-background]!match[]else[#073642]] }}} colourB={{{ [function[colour],[selection-background]!match[]else[#eee8d5]] }}} tiddlerEditorBackground=<<colour tiddler-editor-background>>/>
|
||||
\end
|
||||
\define set-selection-background()
|
||||
<$macrocall $name="set-selection-background-colours" palette={{$:/palette}}/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue