Annotation-System/cinera
Matt Mascarenhas 213bb2f882 cinera.c: Fix colouring of topic dots
The colour computed for topic dots and put into cinera_topics.css in HSL
format has its lightness value modified depending on whether it's on a
dark or light background. Web browsers do not tell us an element's
computed colour in HSL format, but in RGB, so we would need to convert
it from RGB to HSL when setting the lightness. Previously, this
conversion was busted, calculating too small a value for the saturation.

This commit obviates the need for any RGB→HSL conversion by writing the
hue and saturation values as attributes to the elements, which the
function responsible for setting the lightness may use directly.
2024-02-21 20:52:34 +00:00
..
examples cinera: Fix theatre and add GUI clickable for it 2018-01-17 20:15:00 +00:00
cinera.c cinera.c: Fix colouring of topic dots 2024-02-21 20:52:34 +00:00
cinera.css cinera: Improve keyboard controls and scrolling 2023-03-18 01:27:05 +00:00
cinera_clear.js cinera_clear.js: Fix the placement of the clear 2021-06-11 17:39:48 +01:00
cinera_config.c cinera: Resolve output location clashes 2023-02-10 23:12:21 +00:00
cinera_icon_filter.png cinera.c: Add support for alternative URL prefixes 2017-12-07 21:07:36 +00:00
cinera_player_post.js cinera_player_post.js: Fix fullscreen handling 2024-01-30 15:41:30 +00:00
cinera_player_pre.js cinera_player_pre.js: Unset focused menu 2023-03-25 01:51:40 +00:00
cinera_post.js cinera.c: Config 2020-05-09 18:33:25 +01:00
cinera_pre.js cinera.c: Fix colouring of topic dots 2024-02-21 20:52:34 +00:00
cinera_search_post.js cinera_clear.js: Fix the placement of the clear 2021-06-11 17:39:48 +01:00
cinera_search_pre.js cinera: Increase precision to milliseconds 2023-03-25 00:04:34 +00:00
cinera_sprite_donorbox.png cinera.c: Add Donorbox as default support platform 2022-12-06 18:22:06 +00:00
cinera_sprite_github.png cinera: Add IRC unfurl tags and GitHub sponsors 2022-08-23 22:36:20 +01:00
cinera_sprite_kofi.png cinera.c: Add Ko-fi as a default support platform 2022-10-13 20:21:48 +01:00
cinera_sprite_patreon.png cinera.c: Config 2020-05-09 18:33:25 +01:00
cinera_sprite_sendowl.png cinera.c: Config 2020-05-09 18:33:25 +01:00
stb_image.h cinera.c: Config 2020-05-09 18:33:25 +01:00