From b61aa33e99bc5535088b87e2a045e0e51c78dbf2 Mon Sep 17 00:00:00 2001 From: Nad Chishtie Date: Thu, 20 Dec 2018 11:33:53 +0000 Subject: [PATCH] Tint input icon. --- res/img/feather-icons/search-input.svg | 11 +++++++++++ res/themes/dharma/css/_dharma.scss | 4 +++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 res/img/feather-icons/search-input.svg diff --git a/res/img/feather-icons/search-input.svg b/res/img/feather-icons/search-input.svg new file mode 100644 index 0000000000..3be5acb32e --- /dev/null +++ b/res/img/feather-icons/search-input.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/res/themes/dharma/css/_dharma.scss b/res/themes/dharma/css/_dharma.scss index 2cc27f3be0..805e13b579 100644 --- a/res/themes/dharma/css/_dharma.scss +++ b/res/themes/dharma/css/_dharma.scss @@ -262,9 +262,11 @@ input[type=search].mx_textinput_icon { background-position: 10px center; } + +// FIXME THEME - Tint by CSS rather than referencing a duplicate asset input[type=text].mx_textinput_icon.mx_textinput_search, input[type=search].mx_textinput_icon.mx_textinput_search { - background-image: url('../../img/feather-icons/search.svg'); + background-image: url('../../img/feather-icons/search-input.svg'); } // dont search UI as not all browsers support it,