From 50c8b510650636c2597f1dd30960b1ebfeb1b4f9 Mon Sep 17 00:00:00 2001 From: Andrew Allsopp Date: Thu, 15 Jul 2021 19:42:24 +0100 Subject: [PATCH] added econic wall lantern. Fixes #4 --- README.md | 9 +++++---- dist/hass-hue-icons.js | 5 ++++- docs/custom_svgs/wall-econic-lantern.svg | 8 ++++++++ 3 files changed, 17 insertions(+), 5 deletions(-) create mode 100644 docs/custom_svgs/wall-econic-lantern.svg diff --git a/README.md b/README.md index 814e62e..1f6bf3a 100644 --- a/README.md +++ b/README.md @@ -93,10 +93,11 @@ Icons designed by author for specific hue fixtures. | ![hue:amaze](https://raw.githubusercontent.com/arallsopp/hass-hue-icons/main/docs/custom_svgs/amaze.svg)| hue:amaze | ![hue:bulb-filament-alt](https://raw.githubusercontent.com/arallsopp/hass-hue-icons/main/docs/custom_svgs/bulb-filament-alt.svg)| hue:bulb-filament-alt | | ![hue:lily-xl](https://raw.githubusercontent.com/arallsopp/hass-hue-icons/main/docs/custom_svgs/lily-xl.svg)| hue:lily-xl | ![hue:pendant-long-up](https://raw.githubusercontent.com/arallsopp/hass-hue-icons/main/docs/custom_svgs/pendant-long-up.svg)| hue:pendant-long-up | | ![hue:pillar-nyro](https://raw.githubusercontent.com/arallsopp/hass-hue-icons/main/docs/custom_svgs/pillar-nyro.svg)| hue:pillar-nyro | ![hue:wall-appear](https://raw.githubusercontent.com/arallsopp/hass-hue-icons/main/docs/custom_svgs/wall-appear.svg)| hue:wall-appear | -| ![hue:wall-econic](https://raw.githubusercontent.com/arallsopp/hass-hue-icons/main/docs/custom_svgs/wall-econic.svg)| hue:wall-econic | ![hue:wall-flood](https://raw.githubusercontent.com/arallsopp/hass-hue-icons/main/docs/custom_svgs/wall-flood.svg)| hue:wall-flood | -| ![hue:wall-fuzo-h](https://raw.githubusercontent.com/arallsopp/hass-hue-icons/main/docs/custom_svgs/wall-fuzo-h.svg)| hue:wall-fuzo-h | ![hue:wall-fuzo](https://raw.githubusercontent.com/arallsopp/hass-hue-icons/main/docs/custom_svgs/wall-fuzo.svg)| hue:wall-fuzo | -| ![hue:wall-impress-narrow](https://raw.githubusercontent.com/arallsopp/hass-hue-icons/main/docs/custom_svgs/wall-impress-narrow.svg)| hue:wall-impress-narrow | ![hue:wall-impress](https://raw.githubusercontent.com/arallsopp/hass-hue-icons/main/docs/custom_svgs/wall-impress.svg)| hue:wall-impress | -| ![hue:wall-nyro](https://raw.githubusercontent.com/arallsopp/hass-hue-icons/main/docs/custom_svgs/wall-nyro.svg)| hue:wall-nyro | ![hue:wall-turaco](https://raw.githubusercontent.com/arallsopp/hass-hue-icons/main/docs/custom_svgs/wall-turaco.svg)| hue:wall-turaco | +| ![hue:wall-econic-lantern](https://raw.githubusercontent.com/arallsopp/hass-hue-icons/main/docs/custom_svgs/wall-econic-lantern.svg)| hue:wall-econic-lantern | ![hue:wall-econic](https://raw.githubusercontent.com/arallsopp/hass-hue-icons/main/docs/custom_svgs/wall-econic.svg)| hue:wall-econic | +| ![hue:wall-flood](https://raw.githubusercontent.com/arallsopp/hass-hue-icons/main/docs/custom_svgs/wall-flood.svg)| hue:wall-flood | ![hue:wall-fuzo-h](https://raw.githubusercontent.com/arallsopp/hass-hue-icons/main/docs/custom_svgs/wall-fuzo-h.svg)| hue:wall-fuzo-h | +| ![hue:wall-fuzo](https://raw.githubusercontent.com/arallsopp/hass-hue-icons/main/docs/custom_svgs/wall-fuzo.svg)| hue:wall-fuzo | ![hue:wall-impress-narrow](https://raw.githubusercontent.com/arallsopp/hass-hue-icons/main/docs/custom_svgs/wall-impress-narrow.svg)| hue:wall-impress-narrow | +| ![hue:wall-impress](https://raw.githubusercontent.com/arallsopp/hass-hue-icons/main/docs/custom_svgs/wall-impress.svg)| hue:wall-impress | ![hue:wall-nyro](https://raw.githubusercontent.com/arallsopp/hass-hue-icons/main/docs/custom_svgs/wall-nyro.svg)| hue:wall-nyro | +| ![hue:wall-turaco](https://raw.githubusercontent.com/arallsopp/hass-hue-icons/main/docs/custom_svgs/wall-turaco.svg)| hue:wall-turaco || | [//]: # (End Custom Icons) diff --git a/dist/hass-hue-icons.js b/dist/hass-hue-icons.js index 20f6d61..2b4f089 100644 --- a/dist/hass-hue-icons.js +++ b/dist/hass-hue-icons.js @@ -219,6 +219,9 @@ const HUE_ICONS_MAP = { "wall-appear": "M12.49415,23.24612c3.41024-0.01647,3.44977-1.05393,3.44977-1.05393V1.8529c0,0-0.39258-1.09921-3.57244-1.09921 c-3.3369,0-3.57244,1.33476-3.57244,1.33476v5.77087L8.09239,8.36966c0,0-0.03553,10.22997-0.03629,10.32558 c-0.00117,0.14727,0.1178,0.22605,0.19332,0.23472c0.21174,0.02433,0.5198,0.03465,0.5198,0.03465l-0.00945,3.24993 C8.75977,22.21455,9.08391,23.2626,12.49415,23.24612z M12.36874,22.62666c-1.66857,0-3.02122-0.4052-3.02122-0.90504 c0-0.49984,1.35265-0.90505,3.02122-0.90505s3.02122,0.4052,3.02122,0.90505C15.38996,22.22146,14.03731,22.62666,12.36874,22.62666 z", + "wall-econic-lantern": + "M20.68082,4.61589S15.244,1.83943,11.955,1.36817c-3.02637.89111-7.30016,4.01492-7.30016,4.01492l-.15251.512s1.73213,8.37745,2.01372,9.95084a3.35723,3.35723,0,0,0-1.8782,3.639c.44011,2.673,2.26949,2.8173,3.05207,2.77817a2.80668,2.80668,0,0,0,2.69948-2.50427c.61528-.06642,1.74061-.12812,1.74061-.12812a1.92817,1.92817,0,0,0,.25541.47625,3.49527,3.49527,0,0,0,.63526.004,4.10224,4.10224,0,0,0,.69513-1.65263,27.34945,27.34945,0,0,0,4.89278-.69368c.47027-2.16166,2.307-12.601,2.307-12.601ZM5.96435,7.21284l1.34976.31392-.14072-.62451L5.87024,6.58083,11.67229,3.7664l.19485,7.36069-4.817,1.11925Zm4.42508,11.36177v-.20567l1.18544.10825.07577.22732ZM9.29085,16.62617l-.08659-.40052a1.64346,1.64346,0,0,0-.60463-.40871,2.09812,2.09812,0,0,0-.78094-.15417l-.50876-2.284,1.30647.15155-.11907-.59536L7.76457,12.87l4.1284-.9201.08241,4.42731Zm8.10772.04329-4.3322-.36618.09935-4.35339,4.31945.73608-.70361.0866-.0866.58453,1.36392-.1732Zm1.916-9.99121L18.3012,12.04731l-5.061-.98428L13.3644,3.7664l6.03674,2.284-1.33144.48711-.14072.58453Z", + "wall-econic": "M 10.228516 1.3710938 L 3.9121094 2.3828125 L 3.8886719 21.894531 L 10.183594 22.882812 L 21.265625 20.074219 L 21.265625 4.1816406 L 10.228516 1.3710938 z M 19.791016 5.65625 L 19.880859 18.626953 L 17.003906 18.357422 L 16.980469 16.849609 L 11.541016 17.525391 L 11.113281 17.501953 L 11.091797 6.7792969 L 11.517578 6.7578125 L 17.003906 7.4316406 L 17.003906 5.9492188 L 19.791016 5.65625 z M 10.035156 6.8242188 L 10.035156 17.480469 L 8.3945312 17.367188 L 8.3496094 6.9140625 L 10.035156 6.8242188 z ", @@ -273,7 +276,7 @@ if (!window.frontendVersion || window.frontendVersion < 20200519.0) { } console.info( - `%c HASS-HUE-ICONS \n%c Version 1.0.19 `, + `%c HASS-HUE-ICONS \n%c Version 1.0.20 `, "color: orange; font-weight: bold; background: black", "color: white; font-weight: bold; background: dimgray", ); diff --git a/docs/custom_svgs/wall-econic-lantern.svg b/docs/custom_svgs/wall-econic-lantern.svg new file mode 100644 index 0000000..9a39f9f --- /dev/null +++ b/docs/custom_svgs/wall-econic-lantern.svg @@ -0,0 +1,8 @@ + + + +