Skip to content

fix: use correct color for bar text#689

Merged
dannyhw merged 3 commits intostorybookjs:nextfrom
alcpereira:fix/bar-text-color
Feb 27, 2025
Merged

fix: use correct color for bar text#689
dannyhw merged 3 commits intostorybookjs:nextfrom
alcpereira:fix/bar-text-color

Conversation

@alcpereira
Copy link
Contributor

@alcpereira alcpereira commented Feb 15, 2025

Issue: part of #686 (I will do smaller and individual PR to avoid just shipping a bunch of changes at once)

What I did

Fixed the "Bar Text" font and use the already available theme.barTextColor instead.

How to test

Try with Expo sandboxes

Screenshots

Device + Theme Before After
iOS Light Simulator Screenshot - iPhone SE (3rd generation) - 2025-02-15 at 18 13 30 Simulator Screenshot - iPhone SE (3rd generation) - 2025-02-15 at 18 10 09
iOS Dark Simulator Screenshot - iPhone SE (3rd generation) - 2025-02-15 at 18 13 44 Simulator Screenshot - iPhone SE (3rd generation) - 2025-02-15 at 18 10 00
Android Light Screenshot_1739643158 Screenshot_1739643097
Android Dark Screenshot_1739643173 Screenshot_1739643072

@alcpereira alcpereira requested a review from dannyhw as a code owner February 15, 2025 18:15
@dannyhw
Copy link
Member

dannyhw commented Feb 15, 2025

the text seems quite muted specifically on the dark mode, it makes me wonder if the background colour might be also off slightly

@alcpereira
Copy link
Contributor Author

alcpereira commented Feb 15, 2025

Good catch, the background is the same, but there is a very slight difference in the text colour.

Before (my original commit) and after on iOS.

Before After
Simulator Screenshot - iPhone SE (3rd generation) - 2025-02-15 at 18 10 00 Simulator Screenshot - iPhone SE (3rd generation) - 2025-02-15 at 22 57 34

Copy link
Member

@dannyhw dannyhw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay, looks good to me!

Thanks for contributing 🙏

@dannyhw dannyhw merged commit 56bbc02 into storybookjs:next Feb 27, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants