1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-04-14 06:43:15 +00:00

Rename custom palette editor to custom palette settings

To avoid confusion with existing usage of "palette editor"
This commit is contained in:
Jeremy Ruston 2025-02-04 21:08:02 +00:00
parent 6e4d7aa7f1
commit f9e4dd8fd3
6 changed files with 9 additions and 9 deletions

View File

@ -57,7 +57,7 @@ LayoutSwitcher/Caption: Layout
LoadedModules/Caption: Loaded Modules
LoadedModules/Hint: These are the currently loaded tiddler modules linked to their source tiddlers. Any italicised modules lack a source tiddler, typically because they were setup during the boot process.
Palette/Caption: Palette
Palette/CustomEditor/Prompt: Custom editor for current palette: <<palette-link>>
Palette/CustomSettings/Prompt: Custom settings for current palette: <<palette-link>>
Palette/Editor/Clone/Caption: clone
Palette/Editor/Clone/Prompt: It is recommended that you clone this shadow palette before editing it
Palette/Editor/Delete/Hint: delete this entry from the current palette

View File

@ -5,6 +5,6 @@ tags: $:/tags/Palette
type: application/x-tiddler-dictionary
color-scheme: [{$:/info/browser/darkmode}match[no]then[light]else[dark]]
palette-type: classic
editor: $:/palette-editors/AutoToggle
settings: $:/palettes/AutoToggle/Settings
palette-import@light: $:/palettes/FlexokiLight
palette-import@dark: $:/palettes/FlexokiDark

View File

@ -1,4 +1,4 @@
title: $:/palette-editors/AutoToggle
title: $:/palettes/AutoToggle/Settings
\procedure set-imported-palette(field)
<$select field=<<field>>>

View File

@ -5,7 +5,7 @@ tags: $:/tags/Palette
type: application/x-tiddler-dictionary
color-scheme: light
palette-type: modern
editor: $:/palette-editors/TwentyTwenties
settings: $:/palettes/TwentyTwenties/Settings
# Background and foreground colours, which are interpolated as required
base-paper: #FFFCF0

View File

@ -1,4 +1,4 @@
title: $:/palette-editors/TwentyTwenties
title: $:/palettes/TwentyTwenties/Settings
\procedure entry(name,description)
<$text text=<<description>>/>: <$edit-text tiddler={{$:/palette}} index=<<name>> type="color" tag="input" default={{{ [function[colour],<name>] }}}/>

View File

@ -17,12 +17,12 @@ title: $:/PaletteManager
{{$:/snippets/palettetests}}
<$let
paletteEditor={{{ [{$:/palette}get[editor]] :else[{$:/palette}get[palette-import]!match[]get[editor]] }}}
paletteSettings={{{ [{$:/palette}get[settings]] :else[{$:/palette}get[palette-import]!match[]get[settings]] }}}
>
<%if [<paletteEditor>!match[]] %>
<%if [<paletteSettings>!match[]] %>
<div>
<<lingo CustomEditor/Prompt>>
<$transclude $tiddler=<<paletteEditor>> $mode="block"/>
<<lingo CustomSettings/Prompt>>
<$transclude $tiddler=<<paletteSettings>> $mode="block"/>
</div>
<%endif%>
</$let>