-
Notifications
You must be signed in to change notification settings - Fork 105
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-435] Improve overall UI typography + Update io-app-design-system
to 4.0.1
#6422
Conversation
Affected stories
|
@dmnplb Can we add in this PR description some Android screenshots too? And what about a11y? Do you think that this typographic changes could impact a11y too or they won't impact it? |
ts/features/itwallet/common/components/ItwSkeumorphicCard/ClaimLabel.tsx
Show resolved
Hide resolved
@shadowsheep1 As you can see from the difference between the actual and proposed DS release, there's no specific change to the layout logic that would justify an in-depth accessibility analysis. So I'm not against a test on a11y, but I think it's a waste of time. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For A&I Tested both onboarding and first onboarding and all the settings pages on both Android and iOS physical devices. Identification Modal an Block Modal too. All looks good!
@dmnplb Okay for the a11y. For the Android part instead, I always suggest to add examples of "old" and "new" of the two platforms (Android and iOS). |
@shadowsheep1 Just added a bunch of before/after screenshots for documentation purposes (iOS only for this time) |
…Fix overflow text on cards + Extend dark mode support (#6473) > [!caution] > This PR depends on: > * #6422 > * pagopa/io-app-design-system#364 ## 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 <img width="300" src="https://github.com/user-attachments/assets/a3a8d013-5fe6-4fde-ad10-886a7b419ee8" /> Dark mode support extended to the `Banner` component <img width="300" src="https://github.com/user-attachments/assets/5f528249-9045-4d2f-8183-aa0b4a4deab5" /> ## How to test Increase the text size to extreme levels and check all the cards in the DS section --------- Co-authored-by: Emanuele Dall'Ara <71103219+LeleDallas@users.noreply.github.com> Co-authored-by: Federico Mastrini <federicomastrini93@gmail.com>
Short description
This PR improves overall UI typography.
List of changes proposed in this pull request
io-app-design-system
to the new major4.0.1
versionHeaderFirstLevel
to make the title bolderBold
with theSemibold
styleServicesHeader
componentMessageListItem
Chip
typographic style withLabelMini
Label
typographic style withBody
LabelSmall
typographic style with the newBodySmall
CIEIdWizard
)Note
For the reviewers: the default weight of
LabelSmall
wasSemibold
, while the default weight forBodySmall
isRegular
. That's whyLabelSmall
set without theweight
prop was replaced byBodySmall
with theweight
prop set toSemibold
. The same should happen to theLabel
typographic stylePreview
Old vs New
Messages Home
Payments Home
Related PRs
IOText
to accept any numeric value assize
io-app-design-system#361How to test
Check each DS component and navigate through the app to check if everything is OK