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;
|
2024-05-09 11:44:02 +00:00
|
|
|
gap: ${dt('confirmdialog.content.gap')};
|
2024-05-01 08:26:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.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')};
|
2024-05-01 08:26:48 +00:00
|
|
|
}
|
|
|
|
`;
|
|
|
|
|
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',
|
2024-05-06 15:23:01 +00:00
|
|
|
pcRejectButton: 'p-confirmdialog-reject-button',
|
|
|
|
pcAcceptButton: '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
|
|
|
});
|