mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-11 01:42:34 +00:00
Improved headless toasts
This commit is contained in:
parent
def22fcc9f
commit
c974cab367
3 changed files with 64 additions and 60 deletions
|
@ -8,11 +8,7 @@ const theme = ({ dt }) => `
|
|||
}
|
||||
|
||||
.p-toast-message {
|
||||
backdrop-filter: blur(${dt('toast.blur')});
|
||||
margin: 0 0 1rem 0;
|
||||
border-radius: ${dt('toast.border.radius')};
|
||||
border-width: ${dt('toast.border.width')};
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
.p-toast-message-icon {
|
||||
|
@ -67,6 +63,18 @@ const theme = ({ dt }) => `
|
|||
user-select: none;
|
||||
}
|
||||
|
||||
.p-toast-message-info,
|
||||
.p-toast-message-success,
|
||||
.p-toast-message-warn,
|
||||
.p-toast-message-error,
|
||||
.p-toast-message-secondary,
|
||||
.p-toast-message-contrast {
|
||||
border-width: ${dt('toast.border.width')};
|
||||
border-style: solid;
|
||||
backdrop-filter: blur(${dt('toast.blur')});
|
||||
border-radius: ${dt('toast.border.radius')};
|
||||
}
|
||||
|
||||
.p-toast-close-icon {
|
||||
font-size: ${dt('toast.close.icon.size')};
|
||||
width: ${dt('toast.close.icon.size')};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue