framework/extensions
ornanovitch 4d292263b5
fix(tags): tag text color contrast (#3653)
* add yiq calculator util
* use the new contast util to differentiate light/dark tags
* fix: invert logic
* feat: add tag-dark and tag-light less config
* fix: convert 3 chars hex to 6 chars hex
* fix: rename import
* fix: clarify util name
* fix: rename function
* fix: invert less variables when dark mode is enabled
* fix: TagTiles contrast
* refactor: simplify logic with a unique variable
* refactor: simplify logic with a unique variable
* feat: add text color variables not depending on the dark/light mode
* refactor: use isDark rather than getContrast
* refactor: change getContrast to isDark with for a more direct approach
* fix: adjust snippet description
* refactor: change getContrast to isDark with for a more direct approach
* fix: adjust snippet description
* fix: TagHero contrast
* fix: DiscussionHero contrast
* fix: newDiscussion contrast
* fix(newDiscussion): restore less rule when tag is not colored
* fix: TagTiles description
* fix: TagTiles last posted
* chore: change `var` to `let`
* refactor: keep it for backwards compatibility
* refactor: keep it for backwards compatibility
* Apply suggestions from code review
* fix: missed this when I was resolving
* fix: remove dist files from pull request
* Revert "Resolved merge conflict"
This reverts commit c7f0d14aa8, reversing
changes made to 6753dfc2af.
* fix: missed this when I was resolving
* fix
* Update isDark.ts
* chore: flexible contrast color fixing
* refactor(isDark): clarify the doc block
* fix(isDark): increase the yiq threshold
* typo
* fix: preserve design coloring through light and dark modes

Co-authored-by: David Wheatley <david@davwheat.dev>
Co-authored-by: Sami Mazouz <sychocouldy@gmail.com>
2023-01-17 20:45:03 +01:00
..
akismet Bundled output for commit 64fa35f2f3 2022-11-25 17:25:24 +00:00
approval Bundled output for commit 64fa35f2f3 2022-11-25 17:25:24 +00:00
bbcode chore: dependency on core updated for extensions 2022-11-10 13:48:00 +01:00
embed Bundled output for commit 64fa35f2f3 2022-11-25 17:25:24 +00:00
emoji Bundled output for commit a53a0db2b7 2022-12-12 09:48:42 +00:00
flags Bundled output for commit d7f4975330 2023-01-17 18:15:45 +00:00
lang-english chore: dependency on core updated for extensions 2022-11-10 13:48:00 +01:00
likes Bundled output for commit d7f4975330 2023-01-17 18:15:45 +00:00
lock Bundled output for commit d7f4975330 2023-01-17 18:15:45 +00:00
markdown Bundled output for commit 64fa35f2f3 2022-11-25 17:25:24 +00:00
mentions Bundled output for commit d7f4975330 2023-01-17 18:15:45 +00:00
nicknames Bundled output for commit 64fa35f2f3 2022-11-25 17:25:24 +00:00
package-manager Bundled output for commit 64fa35f2f3 2022-11-25 17:25:24 +00:00
pusher Bundled output for commit 64fa35f2f3 2022-11-25 17:25:24 +00:00
statistics Bundled output for commit 64fa35f2f3 2022-11-25 17:25:24 +00:00
sticky Bundled output for commit d7f4975330 2023-01-17 18:15:45 +00:00
subscriptions Bundled output for commit d7f4975330 2023-01-17 18:15:45 +00:00
suspend Bundled output for commit 64fa35f2f3 2022-11-25 17:25:24 +00:00
tags fix(tags): tag text color contrast (#3653) 2023-01-17 20:45:03 +01:00