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:
parent
6e4d7aa7f1
commit
f9e4dd8fd3
@ -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
|
||||
|
@ -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
|
||||
|
@ -1,4 +1,4 @@
|
||||
title: $:/palette-editors/AutoToggle
|
||||
title: $:/palettes/AutoToggle/Settings
|
||||
|
||||
\procedure set-imported-palette(field)
|
||||
<$select field=<<field>>>
|
@ -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
|
||||
|
@ -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>] }}}/>
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user