primevue-mirror/components/lib/confirmdialog/style/ConfirmDialogStyle.js

31 lines
738 B
JavaScript
Raw Normal View History

import BaseStyle from 'primevue/base/style';
const theme = ({ dt }) => `
.p-confirmdialog .p-dialog-content {
display: flex;
align-items: center;
2024-05-09 11:44:02 +00:00
gap: ${dt('confirmdialog.content.gap')};
}
.p-confirmdialog-icon {
2024-05-09 11:44:02 +00:00
color: ${dt('confirmdialog.icon.color')};
font-size: ${dt('confirmdialog.icon.size')};
width: ${dt('confirmdialog.icon.size')};
height: ${dt('confirmdialog.icon.size')};
}
`;
const classes = {
root: 'p-confirmdialog',
icon: 'p-confirmdialog-icon',
message: 'p-confirmdialog-message',
2024-05-06 15:23:01 +00:00
pcRejectButton: 'p-confirmdialog-reject-button',
pcAcceptButton: 'p-confirmdialog-accept-button'
};
export default BaseStyle.extend({
name: 'confirmdialog',
theme,
2023-10-04 09:20:15 +00:00
classes
});