mirror of
https://github.com/home-assistant/frontend.git
synced 2026-04-27 04:52:56 +00:00
Add ESPHome logo (#51598)
This commit is contained in:
@@ -39,6 +39,8 @@ const CUSTOM_ICONS: Record<string, () => Promise<string>> = {
|
||||
import("../resources/music-assistant-logo-svg").then(
|
||||
(mod) => mod.mdiMusicAssistant
|
||||
),
|
||||
esphome: () =>
|
||||
import("../resources/esphome-logo-svg").then((mod) => mod.mdiEsphomeLogo),
|
||||
};
|
||||
|
||||
@customElement("ha-icon")
|
||||
|
||||
2
src/resources/esphome-logo-svg.ts
Normal file
2
src/resources/esphome-logo-svg.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
export const mdiEsphomeLogo =
|
||||
"M11.1162 2.38502C11.6029 1.89835 12.3981 1.89835 12.8848 2.38502L21.1162 10.6165C21.6029 11.1031 22 12.0636 22 12.7503V20.2503C21.9997 20.9367 21.4365 21.5003 20.75 21.5003H9.16699V9.55494H14.833V10.5549H10.667C10.3903 10.5549 10.167 10.7783 10.167 11.0549V13.0549C10.1671 13.3315 10.3904 13.5549 10.667 13.5549H14.833V14.5549H10.667C10.3903 14.5549 10.167 14.7783 10.167 15.0549V17.0549C10.1671 17.3315 10.3904 17.5549 10.667 17.5549H14.833V18.5549H10.667C10.3903 18.5549 10.167 18.7783 10.167 19.0549C10.1671 19.3315 10.3904 19.5549 10.667 19.5549H15.333C15.6096 19.5549 15.8329 19.3315 15.833 19.0549V17.0549C15.833 16.7783 15.6097 16.5549 15.333 16.5549H11.167V15.5549H15.333C15.6096 15.5549 15.8329 15.3315 15.833 15.0549V13.0549C15.833 12.7783 15.6097 12.5549 15.333 12.5549H11.167V11.5549H15.333C15.6096 11.5549 15.8329 11.3315 15.833 11.0549V9.05494C15.833 8.77827 15.6097 8.55494 15.333 8.55494H8.66699C8.39033 8.55494 8.16699 8.77827 8.16699 9.05494V21.5003H3.25C2.56349 21.5003 2.00027 20.9367 2 20.2503V12.7503C2 12.0636 2.39879 11.1015 2.88379 10.6165L11.1162 2.38502Z";
|
||||
@@ -1,2 +1,2 @@
|
||||
export const mdiMusicAssistant =
|
||||
"M11.1162 2.61512C11.6035 2.12829 12.399 2.12829 12.8838 2.61512L21.1162 10.8558C21.6035 11.3426 22 12.3036 22 12.9923V20.5014L21.9996 20.5311C21.9824 21.2049 21.4262 21.7501 20.75 21.7501H3.25C2.56313 21.7501 2 21.185 2 20.4989V12.9897C2.00001 12.3011 2.39903 11.3401 2.88387 10.8533L11.1162 2.61512ZM5 12.2501C4.63181 12.2501 4.33333 12.5485 4.33333 12.9168V19.4168H5.66667V12.9168C5.66667 12.5485 5.36819 12.2501 5 12.2501ZM7.66667 12.2501C7.29848 12.2501 7 12.5485 7 12.9168V19.4168H8.33333V12.9168C8.33333 12.5485 8.03486 12.2501 7.66667 12.2501ZM10.3333 12.2501C9.96514 12.2501 9.66667 12.5485 9.66667 12.9168V19.4168H11V12.9168C11 12.5485 10.7015 12.2501 10.3333 12.2501ZM15.1994 12.2856C14.85 12.1693 14.4726 12.3583 14.3562 12.7077L12.1233 19.4168H13.5285L15.6213 13.1287C15.7376 12.7793 15.5487 12.4019 15.1994 12.2856ZM17.7257 12.7077C17.6094 12.3583 17.2319 12.1693 16.8826 12.2856C16.5333 12.4019 16.3443 12.7793 16.4605 13.1287L18.5535 19.4168H19.9587L17.7257 12.7077Z";
|
||||
"M11.1161 2.36512C11.6035 1.87829 12.399 1.87829 12.8839 2.36512L21.1161 10.6058C21.6035 11.0926 22 12.0536 22 12.7422V20.2514L21.9996 20.2811C21.9824 20.9549 21.4261 21.5 20.75 21.5H3.25C2.56313 21.5 2 20.935 2 20.2489V12.7397C2.00001 12.0511 2.39903 11.0901 2.88387 10.6032L11.1161 2.36512ZM5 12C4.63181 12 4.33333 12.2985 4.33333 12.6667V19.1667H5.66667V12.6667C5.66667 12.2985 5.36819 12 5 12ZM7.66667 12C7.29848 12 7 12.2985 7 12.6667V19.1667H8.33333V12.6667C8.33333 12.2985 8.03486 12 7.66667 12ZM10.3333 12C9.96514 12 9.66667 12.2985 9.66667 12.6667V19.1667H11V12.6667C11 12.2985 10.7015 12 10.3333 12ZM15.1994 12.0356C14.85 11.9193 14.4726 12.1083 14.3563 12.4576L12.1232 19.1667H13.5285L15.6213 12.8787C15.7376 12.5294 15.5487 12.1519 15.1994 12.0356ZM17.7257 12.4576C17.6094 12.1083 17.2319 11.9193 16.8826 12.0356C16.5332 12.1519 16.3443 12.5294 16.4605 12.8787L18.5535 19.1667H19.9587L17.7257 12.4576Z";
|
||||
|
||||
Reference in New Issue
Block a user