From 7bb9489bb3b0e6f66e6e8493ca5b9b657f82d715 Mon Sep 17 00:00:00 2001
From: Julian Leucker <leuckerj@gmail.com>
Date: Sun, 13 Feb 2022 14:48:15 +0100
Subject: [PATCH] Change icon set of material forms

---
 .../core/templates/material/fields/colorfield_colorwidget.html  | 2 +-
 aleksis/core/templates/material/non_field_errors.html           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/aleksis/core/templates/material/fields/colorfield_colorwidget.html b/aleksis/core/templates/material/fields/colorfield_colorwidget.html
index ab8bc7f95..5fff8c00a 100644
--- a/aleksis/core/templates/material/fields/colorfield_colorwidget.html
+++ b/aleksis/core/templates/material/fields/colorfield_colorwidget.html
@@ -2,7 +2,7 @@
 {% part bound_field.field %}
   <div class="row">
     <div class="input-field col s12{% if widget.attrs.required %} required{% endif %}">
-    <i class="material-icons prefix" id="{{ bound_field.html_name }}_preview" style="color: {% firstof bound_field.value field.widget.attrs.default '' %};">color_lens</i>
+    <i class="material-icons iconify prefix" id="{{ bound_field.html_name }}_preview" style="color: {% firstof bound_field.value field.widget.attrs.default '' %};" data-icon="mdi:palette-outline"></i>
       {% part field prefix %}{% endpart %}{% part field control %}
         <input
           type="text"
diff --git a/aleksis/core/templates/material/non_field_errors.html b/aleksis/core/templates/material/non_field_errors.html
index c8a92eb7e..b64aa8798 100644
--- a/aleksis/core/templates/material/non_field_errors.html
+++ b/aleksis/core/templates/material/non_field_errors.html
@@ -1,7 +1,7 @@
 {% if form.non_field_errors %}
   <div class="alert error">
     {% for error in form.non_field_errors %}
-      <div><i class="material-icons left">error</i> {{ error }}</div>
+      <div><i class="material-icons iconify left" data-icon="mdi:alert-octagon-outline"></i> {{ error }}</div>
     {% endfor %}
   </div>
 {% endif %}
-- 
GitLab