mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-09 03:19:56 +00:00
0bb8e08edc
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. |
||
---|---|---|
.. | ||
commands | ||
filters | ||
info | ||
macros | ||
parsers | ||
savers | ||
startup | ||
storyviews | ||
upgraders | ||
utils | ||
widgets | ||
commander.js | ||
config.js | ||
deserializers.js | ||
filters.js | ||
language.js | ||
pluginswitcher.js | ||
saver-handler.js | ||
syncer.js | ||
tiddler.js | ||
wiki.js |