-
Notifications
You must be signed in to change notification settings - Fork 349
theme: Fix bgMessageRegular to match Figma specification #1880
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
|
Also please format your commit message according to the project style: https://github.com/zulip/zulip-mobile/blob/main/docs/style.md#git-commits-commit-messages |
also a review on this please i think i recently solved some conflicts as well which occurred #1759. thanks |
It takes up a lot of vertical space, so it's annoying to scroll past. Instead of posting new messages, please update the pair of screenshots in the issue description, making them identical except for the change you're asking us to review. We've asked you multiple times already and suggested an easy way to do this, with Flutter's "hot reload" feature. It's important in this case where the change is so subtle and easy to miss in the noise. Currently there are irrelevant differences:
|
9a5d843 to
9531863
Compare
|
Copying to this GitHub thread some feedback from #mobile-dev-help > DesignVariables.bgMessageRegular is slightly wrong in dark m @ 💬 last week:
|
|
@loveucifer Do you think you'll find time soon to return to this and address the feedback above? It looks like the changes needed are pretty small — it'd be great to get this completed. |
|
The background color for messageRegular was mismatched with the Figma design spec. Updated it with the correct specifications Fixes zulip#1685.
9531863 to
7628af1
Compare
theme: Fix bgMessageRegular to match Figma specification
The dark mode
bgMessageRegularcolor 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.