From 522845126c7030420246f89f1add593a9e67e656 Mon Sep 17 00:00:00 2001 From: Nicola Saglioni Date: Fri, 6 Oct 2023 16:53:19 -0300 Subject: [PATCH] Adding style for error and warning notification messages --- .../primevue-components-overrides.scss | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/style-sheets/primevue-components-overrides.scss b/style-sheets/primevue-components-overrides.scss index 478a9ce..10193c4 100644 --- a/style-sheets/primevue-components-overrides.scss +++ b/style-sheets/primevue-components-overrides.scss @@ -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 --------------------------------- */