Browse Source

Add theme entries and icons for the message types

CURA-7278
Konstantinos Karmas 3 years ago
parent
commit
59fe2eafd7

+ 3 - 0
resources/themes/cura-light/icons/low/Cancel.svg

@@ -0,0 +1,3 @@
+<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path fill-rule="evenodd" clip-rule="evenodd" d="M12 10.5106L8.48936 7L7 8.48936L10.5106 12L7 15.5106L8.48936 17L12 13.4894L15.5106 17L17 15.5106L13.4894 12L17 8.48936L15.5106 7L12 10.5106Z" fill="#000E1A"/>
+</svg>

+ 3 - 0
resources/themes/cura-light/icons/low/Check.svg

@@ -0,0 +1,3 @@
+<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path fill-rule="evenodd" clip-rule="evenodd" d="M10.7 13.3L7.4 10L6 11.4L10.7 16.1L17.4 9.4L16 8L10.7 13.3Z" fill="#000E1A"/>
+</svg>

+ 3 - 0
resources/themes/cura-light/icons/low/Warning.svg

@@ -0,0 +1,3 @@
+<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path fill-rule="evenodd" clip-rule="evenodd" d="M13 6H11V13H13V6ZM13 15H11V17H13V15Z" fill="#000E1A"/>
+</svg>

+ 9 - 1
resources/themes/cura-light/theme.json

@@ -467,7 +467,15 @@
         "monitor_carousel_dot_current": [119, 119, 119, 255],
 
         "cloud_unavailable": [153, 153, 153, 255],
-        "connection_badge_background": [255, 255, 255, 255]
+        "connection_badge_background": [255, 255, 255, 255],
+
+
+        "message_success_background": [36, 162, 73, 255],
+        "message_success_icon": [255, 255, 255, 255],
+        "message_warning_background": [253, 209, 58, 255],
+        "message_warning_icon": [0, 0, 0, 255],
+        "message_error_background": [218, 30, 40, 255],
+        "message_error_icon": [255, 255, 255, 255]
     },
 
     "sizes": {