Tokens for label icon

pull/5756/head
Cagatay Civici 2024-05-09 22:45:50 +03:00
parent cbf9ceb15d
commit 4dec38079a
3 changed files with 10 additions and 2 deletions

View File

@ -34,8 +34,9 @@ const theme = ({ dt }) => `
}
.p-metergroup-label-icon {
width: 1rem;
height: 1rem;
font-size: ${dt('metergroup.label.icon.size')};
width: ${dt('metergroup.label.icon.size')};
height: ${dt('metergroup.label.icon.size')};
}
.p-metergroup-horizontal {
@ -54,6 +55,7 @@ const theme = ({ dt }) => `
border-top-left-radius: ${dt('metergroup.border.radius')};
border-bottom-left-radius: ${dt('metergroup.border.radius')};
}
.p-metergroup-horizontal .p-metergroup-meter:last-of-type {
border-top-right-radius: ${dt('metergroup.border.radius')};
border-bottom-right-radius: ${dt('metergroup.border.radius')};

View File

@ -13,6 +13,9 @@ export default {
labelMarker: {
size: '0.5rem'
},
labelIcon: {
size: '1rem'
},
labelList: {
verticalGap: '0.5rem',
horizontalGap: '1rem'

View File

@ -13,6 +13,9 @@ export default {
labelMarker: {
size: '0.5rem'
},
labelIcon: {
size: '1rem'
},
labelList: {
verticalGap: '0.5rem',
horizontalGap: '1rem'