1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-09-30 16:00:46 +00:00
TiddlyWiki5/core/modules/utils/dom
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
..
animations Restored animations for the reveal widget 2013-11-01 17:23:08 +00:00
animator.js Fix animation behaviour of reveal widget 2013-11-02 09:21:11 +00:00
browser.js Fix full screen button not supported 2014-08-03 12:35:53 +01:00
csscolorparser.js Provisionally make tag pill foreground colour be responsive 2014-11-06 13:35:48 +00:00
csscolorparser.js.meta Provisionally make tag pill foreground colour be responsive 2014-11-06 13:35:48 +00:00
dom.js More defensive dom utility hasClass() 2014-07-28 14:19:52 +01:00
http.js Treat HTTP 201 response code as success 2014-09-24 16:19:23 +02:00
keyboard.js Fix tiddler keyboard shortcuts 2014-09-02 22:09:28 +01:00
modal.js Obeisance to JSHint for core modules 2014-08-30 20:44:26 +01:00
notifier.js Change more "tw-*" classes to "tc-*" 2014-08-28 18:21:08 +01:00
popup.js Change more "tw-*" classes to "tc-*" 2014-08-28 18:21:08 +01:00
scroller.js Rename "tw-*" messages to "tm-*" 2014-08-28 21:43:44 +01:00