1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-26 15:23:15 +00:00
TiddlyWiki5/core/ui
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
..
AboveStory Fix tw2-plugin-check warning so that more than one plugin is displayed 2016-09-30 18:27:45 +01:00
Actions add new-tiddler new-journal new-image keyboard shortcuts (#3512) 2018-11-07 12:59:21 +00:00
AdvancedSearch Autofocus advanced search text edit input 2019-02-06 17:53:00 +00:00
Components Display "contents" tab for plugins that lack any information tabs 2017-04-30 09:59:41 +01:00
ControlPanel Add/refactor PaletteManager (#3832) 2019-06-26 12:36:13 +01:00
EditorToolbar Fix typo in excise button 2018-07-03 11:12:12 +01:00
EditTemplate Tags edittemplate: replace &times; with svg (#3859) 2019-06-26 12:34:18 +01:00
EditToolbar days filter – docs and examples optimisations (#2972) 2017-09-16 15:29:44 +01:00
Filters Add advanced search canned filter for "tiddlers modified this session" 2019-02-08 11:07:06 +00:00
ImportPreviews Fix broken import previews 2018-05-16 17:40:15 +01:00
KeyboardShortcuts add new-tiddler new-journal new-image keyboard shortcuts (#3512) 2018-11-07 12:59:21 +00:00
Manager Fix usages of is[current] that can be changed to all[current] 2018-08-18 14:47:35 +01:00
MoreSideBar Create the new "tree" global macro (#2925) 2017-06-28 17:44:15 +01:00
PageControls Restore default filename when saving changes, and make it configurable 2018-12-15 15:55:19 +00:00
PageTemplate Experimental "persistent draft indicators" 2018-08-23 18:02:39 +01:00
SideBar Fix for "Open" tab placeholders in FireFox (#3806) 2019-03-02 14:54:23 +01:00
SideBarSegments Fix search result count 2018-09-26 16:20:13 +01:00
TiddlerInfo Show backlinks on rename (#3534) 2018-11-15 15:18:38 +00:00
TopRightBar Change button widget 'title' attribute to 'tooltip' 2014-09-10 10:25:50 +01:00
ViewTemplate Missing stateTitle attribute in unfold viewtemplate (#3617) 2018-12-04 09:13:49 +00:00
ViewToolbar Update view toolbar "new here" button 2019-04-23 17:54:49 +01:00
AdvancedSearch.tid Soften colour of system tiddler icons 2015-03-10 12:29:39 +00:00
AlertTemplate.tid Add localisable strings (#2438) 2016-05-12 08:44:28 -06:00
BinaryWarning.tid Rename more "tw-*" classes to "tc-*" 2014-08-28 19:08:31 +01:00
ControlPanel.tid Soften colour of system tiddler icons 2015-03-10 12:29:39 +00:00
DefaultSearchResultList.tid add localisable strings for search 2015-10-18 18:09:41 +09:00
EditTemplate.tid Dynaview: Add support for updating the address bar when scrolling 2018-03-13 14:07:29 +00:00
ImportListing.tid Use new state* attributes for reveal and button widgets (#3531) 2018-11-18 10:54:12 +00:00
ListItemTemplate.tid Yet more "tw-*" -> "tc-*" 2014-08-28 19:41:29 +01:00
Manager.tid Introduce tiddler manager 2016-11-29 08:36:07 +00:00
MissingTemplate.tid Yet more "tw-*" -> "tc-*" 2014-08-28 19:41:29 +01:00
PageControls.tid Use UI button tiddler titles as CSS classes 2017-08-08 18:25:45 +01:00
PageStylesheet.tid Typos missed from a9dd8c2 2018-09-28 18:18:07 +01:00
PageTemplate.tid Simplify PageTemplate 2019-04-05 09:11:54 +01:00
PaletteManager.tid Add/refactor PaletteManager (#3832) 2019-06-26 12:36:13 +01:00
PluginInfo.tid Refactor user interface for plugin tiddlers 2016-10-18 09:23:19 +01:00
PluginInfoDefaultContents.tid Refactor user interface for plugin tiddlers 2016-10-18 09:23:19 +01:00
PluginListItemTemplate.tid Refactor user interface for plugin tiddlers 2016-10-18 09:23:19 +01:00
SearchResults.tid Addresses #1066 by moving the search results into a dropdown. 2015-09-27 22:53:46 +01:00
SideBarLists.tid Modularize the sidebar 2018-08-02 13:22:21 +01:00
TagManager.tid TagManager: Remove extraneous caption field 2019-01-26 17:38:46 +00:00
TagTemplate.tid fix textnodes between tags in viewtemplate (#3587) 2018-11-29 09:49:29 +00:00
TiddlerFields.tid Yet more "tw-*" -> "tc-*" 2014-08-28 19:41:29 +01:00
TiddlerFieldTemplate.tid Yet more "tw-*" -> "tc-*" 2014-08-28 19:41:29 +01:00
TiddlerInfo.tid Add "sticky" mode for tiddler info panel 2016-11-23 18:17:54 +00:00
UntaggedTemplate.tid Yet more "tw-*" -> "tc-*" 2014-08-28 19:41:29 +01:00
ViewTemplate.tid Add data attributes to ViewTemplate (#3209) 2018-04-24 22:08:20 +01:00