mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-15 01:03:03 +08:00
feat(badge): add hue property for the ionic theme (#30307)
Issue number: internal --------- ## What is the current behavior? The badge component does not support the `hue` property. ## What is the new behavior? Adds support for the `subtle` hue for the badge. Defaults to `subtle` when the badge contains icon or text. Defaults to `bold` when the badge is empty or when it is inside of a button or tab button. ## Does this introduce a breaking change? - [ ] Yes - [x] No
This commit is contained in:
@ -130,6 +130,7 @@ export const IonBackdrop: StencilVueComponent<JSX.IonBackdrop> = /*@__PURE__*/ d
|
||||
|
||||
export const IonBadge: StencilVueComponent<JSX.IonBadge> = /*@__PURE__*/ defineContainer<JSX.IonBadge>('ion-badge', defineIonBadge, [
|
||||
'color',
|
||||
'hue',
|
||||
'shape',
|
||||
'size',
|
||||
'vertical'
|
||||
|
Reference in New Issue
Block a user