zulip-flutter
zulip-flutter copied to clipboard
theme: Fix bgMessageRegular to match Figma specification
theme: Fix bgMessageRegular to match Figma specification
The dark mode bgMessageRegular color was defined as
HSLColor.fromAHSL(1, 0, 0, 0.11), intended to match the
Figma design specification
of #1D1D1D. However, the implementation was slightly darker
than the design.
The HSL lightness value of 0.11 corresponds to RGB 28 (0.11 × 255), while the target hex value 0x1D corresponds to RGB 29. This one-value difference is subtle but visible when comparing code blocks side by side as seen on the image
This pr updates the color to const Color(0xff1d1d1d) to precisely
match the Figma design, ensuring visual consistency with the
design system.
| Before | After |
|---|---|
Fixes #1685.