Skip to content
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

chore(Cross): [IOAPPX-442] Fix dark mode text on light backgrounds + Fix overflow text on cards + Extend dark mode support #6473

Merged
merged 97 commits into from
Dec 16, 2024

Conversation

dmnplb
Copy link
Contributor

@dmnplb dmnplb commented Nov 28, 2024

Short description

This PR disables the dark mode appearance of text placed on light backgrounds, such as wallet cards. It also extends dark mode support to other DS components.

List of changes proposed in this pull request

  • Update io-app-design-system to 4.2.0
  • Extend dark mode support to Alert, Banner and FeatureInfo
  • Fix CgnCard and PaymentCard dark mode appearance
  • Force light mode on Tag in the ItwCredentialCard component
  • Enable larger and bolder text on the ItwCredentialCard component by replacing the native Text with properly configured IOText (cc @mastro993)
  • Remove preview version of ItwCredentialCard
  • Fix CgnCard and PaymentCard expired tag overflow when larger text is set
  • Remove unused PaymentCardBig component to reduce the likelihood of misunderstandings

Preview

A look at an unlikely edge case

Dark mode support extended to the Banner component

How to test

Increase the text size to extreme levels and check all the cards in the DS section

Copy link
Contributor

@mastro993 mastro993 left a comment

Choose a reason for hiding this comment

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

LGTM

@dmnplb dmnplb merged commit a5f2871 into master Dec 16, 2024
12 checks passed
@dmnplb dmnplb deleted the IOAPPX-442-fix-dark-mode-text-on-light-backgrounds branch December 16, 2024 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Cross Dark mode 🌝 Design System New visual language and reduction of previous UI clutter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants