Padding token for empty message

pull/5701/head
Cagatay Civici 2024-05-08 13:04:04 +03:00
parent 3866d9faea
commit a0224a99fc
12 changed files with 32 additions and 6 deletions

View File

@ -214,6 +214,10 @@ const theme = ({ dt }) => `
color: ${dt('autocomplete.placeholder.color')}; color: ${dt('autocomplete.placeholder.color')};
} }
.p-autocomplete-empty-message {
padding: ${dt('autocomplete.empty.message.padding')};
}
.p-fluid .p-autocomplete { .p-fluid .p-autocomplete {
display: flex; display: flex;
} }

View File

@ -94,7 +94,7 @@ const theme = ({ dt }) => `
} }
.p-listbox-empty-message { .p-listbox-empty-message {
padding: ${dt('listbox.option.padding')}; padding: ${dt('listbox.empty.message.padding')};
} }
`; `;

View File

@ -174,8 +174,7 @@ const theme = ({ dt }) => `
} }
.p-multiselect-empty-message { .p-multiselect-empty-message {
padding: ${dt('multiselect.option.padding')}; padding: ${dt('multiselect.empty.message.padding')};
background: transparent;
} }
.p-multiselect-label .p-chip { .p-multiselect-label .p-chip {

View File

@ -183,8 +183,7 @@ input.p-select-label {
} }
.p-select-empty-message { .p-select-empty-message {
padding: ${dt('select.option.padding')}; padding: ${dt('select.empty.message.padding')};
background: transparent;
} }
.p-fluid .p-select { .p-fluid .p-select {

View File

@ -65,5 +65,8 @@ export default {
}, },
chip: { chip: {
borderRadius: '{border.radius.sm}' borderRadius: '{border.radius.sm}'
},
emptyMessage: {
padding: '{list.option.padding}'
} }
}; };

View File

@ -41,5 +41,8 @@ export default {
color: '{list.option.group.color}', color: '{list.option.group.color}',
fontWeight: '{list.option.group.font.weight}', fontWeight: '{list.option.group.font.weight}',
padding: '{list.option.group.padding}' padding: '{list.option.group.padding}'
},
emptyMessage: {
padding: '{list.option.padding}'
} }
}; };

View File

@ -61,5 +61,8 @@ export default {
}, },
chip: { chip: {
borderRadius: '{border.radius.sm}' borderRadius: '{border.radius.sm}'
},
emptyMessage: {
padding: '{list.option.padding}'
} }
}; };

View File

@ -63,5 +63,8 @@ export default {
}, },
checkmark: { checkmark: {
color: '{list.option.color}' color: '{list.option.color}'
},
emptyMessage: {
padding: '{list.option.padding}'
} }
}; };

View File

@ -28,7 +28,7 @@ export default {
borderColor: '{overlay.select.border.color}', borderColor: '{overlay.select.border.color}',
borderRadius: '{overlay.select.border.radius}', borderRadius: '{overlay.select.border.radius}',
color: '{overlay.select.color}', color: '{overlay.select.color}',
shadow: '{overlay.select.shadow}', shadow: '{overlay.select.shadow}'
}, },
list: { list: {
padding: '{list.padding}', padding: '{list.padding}',
@ -65,5 +65,8 @@ export default {
}, },
chip: { chip: {
borderRadius: '{border.radius.xs}' borderRadius: '{border.radius.xs}'
},
emptyMessage: {
padding: '{list.option.padding}'
} }
}; };

View File

@ -41,5 +41,8 @@ export default {
color: '{list.option.group.color}', color: '{list.option.group.color}',
fontWeight: '{list.option.group.font.weight}', fontWeight: '{list.option.group.font.weight}',
padding: '{list.option.group.padding}' padding: '{list.option.group.padding}'
},
emptyMessage: {
padding: '{list.option.padding}'
} }
}; };

View File

@ -63,5 +63,8 @@ export default {
}, },
chip: { chip: {
borderRadius: '{border.radius.xs}' borderRadius: '{border.radius.xs}'
},
emptyMessage: {
padding: '{list.option.padding}'
} }
}; };

View File

@ -60,5 +60,8 @@ export default {
}, },
checkmark: { checkmark: {
color: '{list.option.color}' color: '{list.option.color}'
},
emptyMessage: {
padding: '{list.option.padding}'
} }
}; };