1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-24 17:10:29 +00:00
TiddlyWiki5/core/ui/ControlPanel
Simon Huber 36c7e82cc0 Add/refactor PaletteManager (#3832)
* add PaletteManager

* add hint for "external" palette-names

* macro utility, for local \import only

this tiddler is never meant to be tagged $:/tags/Macro

contains only a colour macro which allows to call `<<colour "...">>` within a tiddler and get the parameter-name instead of the resolved color

used in the PaletteManager to reveal the original color below the color that just uses its color with the colour macrocall

example:

```
\define get-real-index(string)
\import $:/core/macros/utils
<$wikify $name="result" text="""$string$"""> <- does the "colour" macrocall, but the one that returns the parameter name
<<result>>
</$wikify>
\end
<$set name="color" value={{{ [{$:/palette}getindex[color-of-interest]] }}}>

-> <<colour primary>>

<$wikify name="real-color-index" text="""<$macrocall $name="get-real-index" string=<<color>>/>""">

<<real-color-index>> -> primary

...
```

* transclude PaletteManager in snippets/paletteeditor

* transclude PaletteManager in core/ui/ControlPanel/Palette

* Update ControlPanel.multids

* add style for color inputs in PaletteManager

* Update PaletteManager.tid

* Update PaletteManager.tid

* add tooltips & aria-labels

* Update ControlPanel.multids

* Update PaletteManager.tid

* Update PaletteManager.tid

* Update PaletteManager.tid
2019-06-26 12:36:13 +01:00
..
Modals Enhance plugin library search to all fields 2019-02-01 17:26:20 +00:00
Plugins Move "get more plugins" button into a transcludable tiddler 2016-01-07 23:00:29 +00:00
Saving GitHub Saver: Fix ServerURL name 2019-04-16 10:15:58 +01:00
Settings Extend permalink/permaview to optionally copy URL to the clipboard 2018-08-16 19:39:18 +01:00
Toolbars Allow drag and drop in toolbar layout in control panel 2017-03-20 22:29:03 +00:00
Advanced.tid Reorganise control panel tabs 2014-09-04 09:58:14 +01:00
Appearance.tid Remove "advanced" and "appearance" from control panel tab titles 2014-09-03 12:46:22 +01:00
Basics.tid Make new tiddler title editable in ControlPanel (#3149) 2018-03-05 11:24:29 +00:00
EditorTypes.tid Move control panel sub-tab tiddlers into same folder 2014-09-03 13:09:25 +01:00
Info.tid Reorganise control panel tabs 2014-09-04 09:58:14 +01:00
KeyboardShortcuts.tid Make the keyboard-shortcut input focus automatically (#3776) 2019-03-02 17:25:49 +01:00
LoadedModules.tid Move control panel sub-tab tiddlers into same folder 2014-09-03 13:09:25 +01:00
Palette.tid Add/refactor PaletteManager (#3832) 2019-06-26 12:36:13 +01:00
Parsing.tid Update wikiparserrules operator for no operand (#2193) 2016-10-08 13:04:11 +01:00
Plugins.tid Refactor user interface for plugin tiddlers 2016-10-18 09:23:19 +01:00
Saving.tid Adds support for autosave with the download saver 2017-01-30 18:19:28 +00:00
Settings.tid Reorganise control panel tabs 2014-09-04 09:58:14 +01:00
StoryView.tid Move control panel sub-tab tiddlers into same folder 2014-09-03 13:09:25 +01:00
Stylesheets.tid Introduce "Info/Advanced/Stylesheets" tab to Control Panel 2018-01-12 21:44:38 +00:00
Theme.tid Move control panel sub-tab tiddlers into same folder 2014-09-03 13:09:25 +01:00
TiddlerFields.tid Move control panel sub-tab tiddlers into same folder 2014-09-03 13:09:25 +01:00
Toolbars.tid Move control panel sub-tab tiddlers into same folder 2014-09-03 13:09:25 +01:00