File tree Expand file tree Collapse file tree 2 files changed +38
-4
lines changed
core/src/components/badge Expand file tree Collapse file tree 2 files changed +38
-4
lines changed Original file line number Diff line number Diff line change 5151
5252/* Soft Badge */
5353:host (.badge-soft ) {
54- @include globals .border-radius (globals .$ion-border-radius-200 );
54+ @include globals .border-radius (globals .$ion-soft-xs );
5555}
5656
5757:host (.badge-small.badge-soft ) {
58- @include globals .border-radius (globals .$ion-border-radius-100 );
58+ @include globals .border-radius (globals .$ion-soft-2xs );
5959}
6060
6161/* Round Badge */
6262:host (.badge-round ) {
63- @include globals .border-radius (globals .$ion-border-radius-full );
63+ @include globals .border-radius (globals .$ion-round-sm );
6464}
6565
6666/* Rectangular Badge */
6767:host (.badge-rectangular ) {
68- @include globals .border-radius (globals .$ion-border-radius-0 );
68+ @include globals .border-radius (globals .$ion-rectangular-sm );
6969}
7070
7171// Badge Sizes
Original file line number Diff line number Diff line change 5757 </ ion-badge >
5858 </ ion-item >
5959 </ ion-list >
60+ < ion-list >
61+ < ion-item >
62+ < ion-label > Medium Default</ ion-label >
63+ < ion-badge size ="medium " slot ="end "> 1</ ion-badge >
64+ < ion-badge size ="medium " slot ="end "> 99+</ ion-badge >
65+ < ion-badge size ="medium " slot ="end ">
66+ < ion-icon name ="logo-ionic "> </ ion-icon >
67+ </ ion-badge >
68+ </ ion-item >
69+ < ion-item >
70+ < ion-label > Medium Soft</ ion-label >
71+ < ion-badge size ="medium " slot ="end " shape ="soft "> 1</ ion-badge >
72+ < ion-badge size ="medium " slot ="end " shape ="soft "> 99+</ ion-badge >
73+ < ion-badge size ="medium " slot ="end " shape ="soft ">
74+ < ion-icon name ="logo-ionic "> </ ion-icon >
75+ </ ion-badge >
76+ </ ion-item >
77+ < ion-item >
78+ < ion-label > Medium Round</ ion-label >
79+ < ion-badge size ="medium " slot ="end " shape ="round "> 1</ ion-badge >
80+ < ion-badge size ="medium " slot ="end " shape ="round "> 99+</ ion-badge >
81+ < ion-badge size ="medium " slot ="end " shape ="round ">
82+ < ion-icon name ="logo-ionic "> </ ion-icon >
83+ </ ion-badge >
84+ </ ion-item >
85+ < ion-item >
86+ < ion-label > Medium Rectangular</ ion-label >
87+ < ion-badge size ="medium " slot ="end " shape ="rectangular "> 1</ ion-badge >
88+ < ion-badge size ="medium " slot ="end " shape ="rectangular "> 99+</ ion-badge >
89+ < ion-badge size ="medium " slot ="end " shape ="rectangular ">
90+ < ion-icon name ="logo-ionic "> </ ion-icon >
91+ </ ion-badge >
92+ </ ion-item >
93+ </ ion-list >
6094 </ ion-content >
6195 </ ion-app >
6296 </ body >
You can’t perform that action at this time.
0 commit comments