1
0
mirror of https://github.com/flarum/core.git synced 2025-07-19 15:51:16 +02:00
Files
php-flarum/framework/core/less/common
ornanovitch fccc3e2188 feat: contrast util with yiq calculator (#3652)
* add yiq calculator util

* fix: convert 3 chars hex to 6 chars hex

* fix: clarify util name

* feat: add text color variables not depending on the dark/light mode

* refactor: change getContrast to isDark with for a more direct approach

* fix: adjust snippet description

* chore: change `var` to `let`

Co-authored-by: David Wheatley <david@davwheat.dev>
2022-11-07 11:20:02 +00:00
..
2021-08-21 19:34:07 +01:00
2021-08-12 17:46:08 +02:00
2018-06-20 13:20:31 +09:30