Refactored Badge Style

pull/5677/head
Cagatay Civici 2024-04-08 00:44:30 +03:00
parent 254ffecec3
commit 4f0e836d2f
2 changed files with 2 additions and 2 deletions

View File

@ -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'

View File

@ -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')};
}