2023-10-02 10:46:09 +00:00
|
|
|
import BaseStyle from 'primevue/base/style';
|
|
|
|
|
2024-05-01 08:26:48 +00:00
|
|
|
const theme = ({ dt }) => `
|
|
|
|
.p-confirmdialog .p-dialog-content {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
gap: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.p-confirmdialog-icon {
|
|
|
|
font-size: 2rem;
|
|
|
|
}
|
|
|
|
`;
|
|
|
|
|
2023-10-02 10:46:09 +00:00
|
|
|
const classes = {
|
2024-04-08 12:21:41 +00:00
|
|
|
root: 'p-confirmdialog',
|
|
|
|
icon: 'p-confirmdialog-icon',
|
|
|
|
message: 'p-confirmdialog-message',
|
|
|
|
rejectButton: 'p-confirmdialog-reject-button',
|
|
|
|
acceptButton: 'p-confirmdialog-accept-button'
|
2023-10-02 10:46:09 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export default BaseStyle.extend({
|
|
|
|
name: 'confirmdialog',
|
2024-05-01 08:26:48 +00:00
|
|
|
theme,
|
2023-10-04 09:20:15 +00:00
|
|
|
classes
|
2023-10-02 10:46:09 +00:00
|
|
|
});
|