Tokens for confirm dialog

pull/5756/head
Cagatay Civici 2024-05-09 14:44:02 +03:00
parent 46fb23b659
commit db56d3b3de
3 changed files with 23 additions and 4 deletions

View File

@ -4,11 +4,14 @@ const theme = ({ dt }) => `
.p-confirmdialog .p-dialog-content { .p-confirmdialog .p-dialog-content {
display: flex; display: flex;
align-items: center; align-items: center;
gap: 1rem; gap: ${dt('confirmdialog.content.gap')};
} }
.p-confirmdialog-icon { .p-confirmdialog-icon {
font-size: 2rem; color: ${dt('confirmdialog.icon.color')};
font-size: ${dt('confirmdialog.icon.size')};
width: ${dt('confirmdialog.icon.size')};
height: ${dt('confirmdialog.icon.size')};
} }
`; `;

View File

@ -1 +1,9 @@
export default {}; export default {
icon: {
size: '2rem',
color: '{overlay.modal.color}'
},
content: {
gap: '1rem'
}
};

View File

@ -1 +1,9 @@
export default {}; export default {
icon: {
size: '2rem',
color: '{overlay.modal.color}'
},
content: {
gap: '1rem'
}
};