diff options
author | Kristóf Marussy <kristof@marussy.com> | 2021-05-29 21:09:41 +0200 |
---|---|---|
committer | Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com> | 2021-05-30 04:56:58 +0530 |
commit | 38e90556cd8c5d51dc2af74cf69ddc8386a98730 (patch) | |
tree | 789e3c7b6359b885eaa9dc02bf90648eff727a28 /src/features/quickSwitch/Component.js | |
parent | Bump ws from 6.2.1 to 7.4.6 (#1463) (diff) | |
download | ferdium-app-38e90556cd8c5d51dc2af74cf69ddc8386a98730.tar.gz ferdium-app-38e90556cd8c5d51dc2af74cf69ddc8386a98730.tar.zst ferdium-app-38e90556cd8c5d51dc2af74cf69ddc8386a98730.zip |
Fix color adjustment confusion
SCSS functions apply absolute change to the color lightness values, but
the 'color' npm package does relative changes. This lead to inconsistent
behavior between the default and custom accent colors.
See also https://github.com/Qix-/color/issues/53#issuecomment-656590710
We use relative adjustment for buttons. For the service switcher in
light mode, we use relative adjustment instead, because absolute
adjustment made the buttons too hard to see (#235).
Diffstat (limited to 'src/features/quickSwitch/Component.js')
0 files changed, 0 insertions, 0 deletions