You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/lib
ThibG 0ebc8d8626
Fix thumbnail color extraction (#14464)
* Fix contrast calculation for thumbnail color extraction

Luminance calculation was using 0-255 RGB values instead of 0-1 sRGB values,
leading to incorrectly-computed contrast values.

Since we use ColorDiff already, just use its XYZ colorspace conversion code
to get the value.

* Require at least 3:1 contrast for both accent and foreground colors

* Lower required contrast for the accent color
5 years ago
..
assets Add emoji autosuggest (#5053) 7 years ago
chewy/strategy Fix records not being indexed sometimes (#12024) 5 years ago
devise Fix authentication before 2FA challenge (#11943) 5 years ago
generators Add post-deployment migration system (#8182) 7 years ago
json_ld Fix preloaded JSON-LD context for identity not being used (#12138) 5 years ago
mastodon Bump version to 3.2.0 (#14395) 5 years ago
paperclip Fix thumbnail color extraction (#14464) 5 years ago
redis Change Redis#exists calls to Redis#exists? to avoid deprecation warning (#14191) 5 years ago
tasks Add emojis:generate_borders Rake task (#13773) 5 years ago
templates Add post-deployment migration system (#8182) 7 years ago
cli.rb Fix help text around `tootctl email_domain_blocks` (#14147) 5 years ago