mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-22 23:16:53 +00:00
Fix broken macro in "Release 5.1.9"
This local `<<colour-picker>>` macro was overwritten by the new core macro of the same name Fixes #2573
This commit is contained in:
parent
975bc30079
commit
fc898ae64a
@ -6,6 +6,10 @@ title: Release 5.1.9
|
||||
type: text/vnd.tiddlywiki
|
||||
released: 20150703153725652
|
||||
|
||||
\define custom-colour-picker(tiddler,colour)
|
||||
<$edit-text tiddler="""$tiddler$""" index="""$colour$""" type="color" tag="input"/>
|
||||
\end
|
||||
|
||||
//[[See GitHub for detailed change history of this release|https://github.com/Jermolene/TiddlyWiki5/compare/v5.1.8...v5.1.9]]//
|
||||
|
||||
! Major Improvements
|
||||
@ -52,12 +56,12 @@ An experimental new tiddler toolbar button opens a single tiddler in a separate
|
||||
<$action-setfield $tiddler="$:/theme" text="$:/themes/tiddlywiki/vanilla"/>
|
||||
<$action-setfield $tiddler="$:/palette" text="$:/palettes/ContrastDark"/>
|
||||
Dark palette
|
||||
</$button>. Foreground: <<colour-picker "$:/palettes/ContrastDark" "foreground">>, Background: <<colour-picker "$:/palettes/ContrastDark" "background">>
|
||||
</$button>. Foreground: <<custom-colour-picker "$:/palettes/ContrastDark" "foreground">>, Background: <<custom-colour-picker "$:/palettes/ContrastDark" "background">>
|
||||
** <$button>
|
||||
<$action-setfield $tiddler="$:/theme" text="$:/themes/tiddlywiki/vanilla"/>
|
||||
<$action-setfield $tiddler="$:/palette" text="$:/palettes/ContrastLight"/>
|
||||
Light palette
|
||||
</$button>. Foreground: <<colour-picker "$:/palettes/ContrastLight" "foreground">>, Background: <<colour-picker "$:/palettes/ContrastLight" "background">>
|
||||
</$button>. Foreground: <<custom-colour-picker "$:/palettes/ContrastLight" "foreground">>, Background: <<custom-colour-picker "$:/palettes/ContrastLight" "background">>
|
||||
** <$button>
|
||||
<$action-setfield $tiddler="$:/theme" text="$:/themes/tiddlywiki/snowwhite"/>
|
||||
<$action-setfield $tiddler="$:/palette" text="$:/palettes/Vanilla"/>
|
||||
|
Loading…
Reference in New Issue
Block a user