AppFlowy icon indicating copy to clipboard operation
AppFlowy copied to clipboard

fix: semi-transparent colors being forced to full opacity in FlowySvg

Open richardshiue opened this issue 5 months ago • 0 comments

As an example, hintColor on mobile is not a fully-opaque gray color, but black with its opacity toned down. When passed to FlowySvg, this color's opacity is cranked back up to 1.0. In the sort panel, both the "no active sorts" text and the sort icon specify this hint color but look completely different. In the second example, notice the plus sign next to the words "new row".

Before: Screenshot 2024-09-21 at 10 07 41 PM

Screenshot 2024-09-21 at 10 08 20 PM

After: Screenshot 2024-09-21 at 10 07 01 PM

Screenshot 2024-09-21 at 10 08 53 PM

Feature Preview


PR Checklist

  • [x] My code adheres to AppFlowy's Conventions
  • [ ] I've listed at least one issue that this PR fixes in the description above.
  • [ ] I've added a test(s) to validate changes in this PR, or this PR only contains semantic changes.
  • [ ] All existing tests are passing.

richardshiue avatar Sep 21 '24 14:09 richardshiue