1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-24 02:27:19 +00:00
TiddlyWiki5/core/modules/utils
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
..
dom Provisionally make tag pill foreground colour be responsive 2014-11-06 13:35:48 +00:00
crypto.js Fix support for upgrading encrypted wikis 2014-07-16 10:06:24 +01:00
fakedom.js Update to KaTeX v0.1.1 2014-10-17 20:10:38 +01:00
filesystem.js Obeisance to JSHint for core modules 2014-08-30 20:44:26 +01:00
logger.js Enhance alerting to coalesce repeated alerts with the same text 2014-02-14 10:29:26 +00:00
parsetree.js Obeisance to JSHint for core modules 2014-08-30 20:44:26 +01:00
performance.js Add performance measurement features 2014-04-01 08:33:36 +01:00
pluginmaker.js Missed corrections of tm-auto-save-wiki message 2014-09-02 11:16:06 +01:00
utils.js Coloured warnings and errors under Node.js 2014-10-21 19:30:27 +01:00