Skip to content

Commit

Permalink
Adding style for error and warning notification messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicola Saglioni committed Oct 6, 2023
1 parent 22dd132 commit 5228451
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions style-sheets/primevue-components-overrides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -833,6 +833,27 @@ label {
border: solid 0.0625rem map.get(lightTheme.$light-theme, 'support-success') !important;
border-left: solid 0.3125rem
map.get(lightTheme.$light-theme, 'support-success') !important;
svg {
color: map.get(lightTheme.$light-theme, 'support-success') !important;
}
}

.#{variables.$primevue-prefix}-message-error {
border: solid 0.0625rem map.get(lightTheme.$light-theme, 'support-error') !important;
border-left: solid 0.3125rem
map.get(lightTheme.$light-theme, 'support-error') !important;
svg {
color: map.get(lightTheme.$light-theme, 'support-error') !important;
}
}

.#{variables.$primevue-prefix}-message-warn {
border: solid 0.0625rem map.get(lightTheme.$light-theme, 'support-warning') !important;
border-left: solid 0.3125rem
map.get(lightTheme.$light-theme, 'support-warning') !important;
svg {
color: map.get(lightTheme.$light-theme, 'support-warning') !important;
}
}

/* ------------------------------------ Sidebar --------------------------------- */
Expand Down

0 comments on commit 5228451

Please sign in to comment.