The border-radius of the ios and md card now defaults to 14px and 12px instead of 8px and 4px, respectively, in accordance with the iOS and Material Design 3 guidelines. To revert to the previous appearance, set the shape to "soft", or override the --border-radius CSS variable to specify a different value.
Issue number: internal
What is the current behavior?
The
shape
property defaults toundefined
which evaluates to the "Soft" shape for all themes.ionic
)ios
)md
)undefined
4px
8px
4px
"round"
16px
"rectangular"
0px
What is the new behavior?
ionic
)ios
)md
)"soft"
4px
8px
4px
"round"
16px
14px
12px
"rectangular"
0px
0px
0px
"soft"
shape using the existing values forundefined
shape
property to"round"
for all themes and updates theborder-radius
to apply to the shape classes instead of:host
"round"
and"rectangular"
shapes inios
andmd
ios
theme to use14px
for"round"
as this is taken from the card in the iOS App Storemd
theme to use12px
for"round"
as this is taken from the Material Design 3 guidelinesDoes this introduce a breaking change?
BREAKING CHANGE:
The
border-radius
of theios
andmd
card now defaults to14px
and12px
instead of8px
and4px
, respectively, in accordance with the iOS and Material Design 3 guidelines. To revert to the previous appearance, set theshape
to"soft"
, or override the--border-radius
CSS variable to specify a different value.