mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-08-07 22:33:50 +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/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.
|
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/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/Caption: clone
|
||||||
Palette/Editor/Clone/Prompt: It is recommended that you clone this shadow palette before editing it
|
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
|
Palette/Editor/Delete/Hint: delete this entry from the current palette
|
||||||
|
@ -5,6 +5,6 @@ tags: $:/tags/Palette
|
|||||||
type: application/x-tiddler-dictionary
|
type: application/x-tiddler-dictionary
|
||||||
color-scheme: [{$:/info/browser/darkmode}match[no]then[light]else[dark]]
|
color-scheme: [{$:/info/browser/darkmode}match[no]then[light]else[dark]]
|
||||||
palette-type: classic
|
palette-type: classic
|
||||||
editor: $:/palette-editors/AutoToggle
|
settings: $:/palettes/AutoToggle/Settings
|
||||||
palette-import@light: $:/palettes/FlexokiLight
|
palette-import@light: $:/palettes/FlexokiLight
|
||||||
palette-import@dark: $:/palettes/FlexokiDark
|
palette-import@dark: $:/palettes/FlexokiDark
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
title: $:/palette-editors/AutoToggle
|
title: $:/palettes/AutoToggle/Settings
|
||||||
|
|
||||||
\procedure set-imported-palette(field)
|
\procedure set-imported-palette(field)
|
||||||
<$select field=<<field>>>
|
<$select field=<<field>>>
|
@ -5,7 +5,7 @@ tags: $:/tags/Palette
|
|||||||
type: application/x-tiddler-dictionary
|
type: application/x-tiddler-dictionary
|
||||||
color-scheme: light
|
color-scheme: light
|
||||||
palette-type: modern
|
palette-type: modern
|
||||||
editor: $:/palette-editors/TwentyTwenties
|
settings: $:/palettes/TwentyTwenties/Settings
|
||||||
|
|
||||||
# Background and foreground colours, which are interpolated as required
|
# Background and foreground colours, which are interpolated as required
|
||||||
base-paper: #FFFCF0
|
base-paper: #FFFCF0
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
title: $:/palette-editors/TwentyTwenties
|
title: $:/palettes/TwentyTwenties/Settings
|
||||||
|
|
||||||
\procedure entry(name,description)
|
\procedure entry(name,description)
|
||||||
<$text text=<<description>>/>: <$edit-text tiddler={{$:/palette}} index=<<name>> type="color" tag="input" default={{{ [function[colour],<name>] }}}/>
|
<$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}}
|
{{$:/snippets/palettetests}}
|
||||||
|
|
||||||
<$let
|
<$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>
|
<div>
|
||||||
<<lingo CustomEditor/Prompt>>
|
<<lingo CustomSettings/Prompt>>
|
||||||
<$transclude $tiddler=<<paletteEditor>> $mode="block"/>
|
<$transclude $tiddler=<<paletteSettings>> $mode="block"/>
|
||||||
</div>
|
</div>
|
||||||
<%endif%>
|
<%endif%>
|
||||||
</$let>
|
</$let>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user