mirror of
https://github.com/flarum/framework.git
synced 2024-11-23 14:38:22 +08:00
4d292263b5
* 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 |
||
---|---|---|
.. | ||
akismet | ||
approval | ||
bbcode | ||
embed | ||
emoji | ||
flags | ||
lang-english | ||
likes | ||
lock | ||
markdown | ||
mentions | ||
nicknames | ||
package-manager | ||
pusher | ||
statistics | ||
sticky | ||
subscriptions | ||
suspend | ||
tags |