Refactored Badge Style
parent
254ffecec3
commit
4f0e836d2f
|
@ -11,7 +11,7 @@ const classes = {
|
|||
'p-badge-xl': props.size === 'xlarge',
|
||||
'p-badge-info': props.severity === 'info',
|
||||
'p-badge-success': props.severity === 'success',
|
||||
'p-badge-warning': props.severity === 'warning',
|
||||
'p-badge-warn': props.severity === 'warn',
|
||||
'p-badge-danger': props.severity === 'danger',
|
||||
'p-badge-secondary': props.severity === 'secondary',
|
||||
'p-badge-contrast': props.severity === 'contrast'
|
||||
|
|
|
@ -55,7 +55,7 @@ export default {
|
|||
color: ${dt('badge.info.color')};
|
||||
}
|
||||
|
||||
.p-badge-warning {
|
||||
.p-badge-warn {
|
||||
background: ${dt('badge.warn.background')};
|
||||
color: ${dt('badge.warn.color')};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue