theme: Fix bgMessageRegular to match Figma specification #1880
+1
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
theme: Fix bgMessageRegular to match Figma specification
The dark mode
bgMessageRegular
color was defined asHSLColor.fromAHSL(1, 0, 0, 0.11)
, intended to match theFigma design specification
of
#1D1D1D
. However, the implementation was slightly darkerthan 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 preciselymatch the Figma design, ensuring visual consistency with the
design system.
Fixes #1685.