1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-16 23:04:50 +00:00
TiddlyWiki5/core/modules/macros
Jermolene 0bb8e08edc Provisionally make tag pill foreground colour be responsive
With this commit tag pills will now choose for the foreground colour
either the current palette “foreground” or “background” colours,
according to which has the higher contrast. It’s something @gernert has
expressed an interest in in the past, and I’ve tended to agree that it
is a nice piece of polish. It opens up the possibility of paler colours
for tag pills than are currently possible.

The trouble is that in order to implement it I’ve had to bring in a
third party library for parsing CSS colours. It weighs in just over
9KB, making quite a lot of weight for such a small feature. I don’t see
any other immediate uses for the colour parsing library either.

So, I’m undecided at the moment whether this should stay in the core.
2014-11-06 13:35:48 +00:00
..
changecount.js Rename tiddlerTitle variable to currentTiddler 2013-10-28 23:40:45 +00:00
contrastcolour.js Provisionally make tag pill foreground colour be responsive 2014-11-06 13:35:48 +00:00
dumpvariables.js Add dumpvariables macro 2014-09-08 15:06:49 +01:00
makedatauri.js Add support for macro modules 2013-10-17 16:57:07 +01:00
now.js Add a new journal page toolbar button 2014-10-08 17:46:34 +01:00
qualify.js Get rid of the qualifyTiddlerTitles hack 2013-11-02 15:42:24 +00:00
version.js Add support for macro modules 2013-10-17 16:57:07 +01:00