use new color slot for badges

This commit is contained in:
Henry Jameson 2022-10-17 21:50:49 +03:00
parent 1435b65e36
commit 373fb077a8
2 changed files with 9 additions and 1 deletions

View File

@ -10,7 +10,7 @@
top: calc(50% - 4px);
margin-left: 6px;
margin-top: -6px;
background-color: var(--cGreen);
background-color: var(--badgeNeutral);
}
.loadmore-button {

View File

@ -709,6 +709,14 @@ export const SLOT_INHERITANCE = {
textColor: 'bw'
},
badgeNeutral: '--cGreen',
badgeNeutralText: {
depends: ['text', 'badgeNeutral'],
layer: 'badge',
variant: 'badgeNeutral',
textColor: 'bw'
},
chatBg: {
depends: ['bg']
},