forked from ytmdesktop/ytmdesktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathicons_for_shiny_tray.js
31 lines (27 loc) · 10.5 KB
/
icons_for_shiny_tray.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
const icons = new Image() // icons for YTMD
icons.src =
'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEACAYAAABccqhmAAAapElEQVR42uzdb2iVZRjH8fNnSzMmgVlRYMr6o2SlYGX5xhdFWYkIUYaamYlhFGFBoFNn9UoKozcWFKiggkK9iF5NXWZgzVkRSkiFkPbGmHOabp0/z9WXoexw8ey0s7OzPed5fjd8lOlQp/td93Xd93NcSmv0lg1NGhk0IIMUwHLvhwm4A3OxGGuwCZ9gP9pwDKdwFl24hD786/ThErpwFqdwDG3Yh+3YiDVYjIcxBROQDv0zwn0saaTK09JKVujTyAKhP5/BZDyCZWjFLnyD33EBvSjCEMBqJIChiF5cwG9ox05sxlLMxeSSAuZlr0qrGGjFa1UX+DRuxeN4CztxDN1hAXdvByhclUcBxauCYSoa3K+Jgd+zTIE4jw7swDo8hluQLlcQVAy04hz6dMju3owX8BGOoNuF0Ac85wIejCVXIHK+QDjd+BbbsATTQrqEtIqBVpxDfxMW4UP8gMswF/Yi8kDVIbcqBVXwH4f/OC/je3yAhZikYqAV7TW80N+F1/Al/g4JQsHtnkNhERMMhftY/d/DOXyBtbhzsL9bFQKtqO322ZBWdjreRjuu+Bm5wsBbPaqwIPgzjis4hHW4J2R0yqor0IrCbp8qcTvW4iB6XQjyQPmgJ8EQR4bAFYM2vIrbkLpGXYHWaAc/43b7cXgGe9EdEvqCAj/sglAIKQbnsRtPYZz/d1Eh0KpV8P1OMxUb8KtCP2bF4CTWY4rvzFQItGoR/DTmYRd6Sq/n1N6P3vmBux0x9GAHHlUh0KpF8BuxGIfc6XUeRQW+9obQFRgKOIBFaFQh0Ko2+OOxAj/C3EFVAFPox7wY2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8FTOEzUiTaGvRX8B3v20dMYr2W+yoBy94JNuACls0FFSJJoVVBT0gyhCb4n3AeRXjwFXyNqwjypgjO4QNSJIhVBD0b/BgJUlRwFkW7z1f4Na0WgddQwAQWEGdddCqELoc+u4xjlDGOgoKvWesi8HEID7Cq7UHPLPNXUcJB+Aq+prNbA2AE1/AFqb04tSpYw8Bnl2yKZVzFdngKvqYbRWD/elzECTxCoDLoeOgDPMRxFO37ouBrOlsE7jvNNszgBf7aMmhIVAjOcxBmhL6G57iIrVkrMwVf090icF+EPvZhFouoITUPp9QRI4HTgAXdilFHZM5RFQu4jL3m/OaQh6fga3pxVWDLYA8u4Ql+Of77TISkFX0UdiuygW9I8ROPMYPd9jzqbq/pjyJw/zFqE8ZxC0uoOj6fDrtKaD1sXQm2+7XZ47DH+QdvcRMnsbHZ6kp3e80glIG9kHPYhUncwWsEjmBFqCNE3JC0y4S8XTEihKgjchRVgFe4jdPYiZw9Vwq9ZvDLAE1+NowjmEUJ7xEgRmqCa4MWme2EoyRae9DGBNz5uQizggnwDiVcwWEMNwl2XqHXDOSk7RWCDccWjGEKN3Afi1jBb9Ra/qZkG160+bs1BFjBS5RwHWcwis3mmJoGXqHXqAxgPqyyziyPrRyGMIIxTGAac7iHeZRRwTf8QIAqQiRGiCoCfMdXVFDGPO5iDtM4hVHswJDrdZpj8eEp9L0z/wDbF4gFMpq8/gAAAABJRU5ErkJggg=='
const pause = new Image() // Pause icon for dark mode
pause.src =
'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNNiAxOWg0VjVINnYxNHptOC0xNHYxNGg0VjVoLTR6IiBmaWxsPSJ3aGl0ZSIgLz48cGF0aCBkPSJNMCAwaDI0djI0SDB6IiBmaWxsPSJub25lIi8+PC9zdmc+'
const play = new Image() // Play icon for dark mode
play.src =
'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNOCA1djE0bDExLTd6IiBmaWxsPSJ3aGl0ZSIvPjxwYXRoIGQ9Ik0wIDBoMjR2MjRIMHoiIGZpbGw9Im5vbmUiLz48L3N2Zz4='
const pause_w = new Image() // Pause icon for bright mode
pause_w.src =
'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNNiAxOWg0VjVINnYxNHptOC0xNHYxNGg0VjVoLTR6IiBmaWxsPSJibGFjayIgLz48cGF0aCBkPSJNMCAwaDI0djI0SDB6IiBmaWxsPSJub25lIi8+PC9zdmc+'
const play_w = new Image() // Play icon for bright mode
play_w.src =
'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBkPSJNOCA1djE0bDExLTd6IiBmaWxsPSJibGFjayIvPjxwYXRoIGQ9Ik0wIDBoMjR2MjRIMHoiIGZpbGw9Im5vbmUiLz48L3N2Zz4='
const dark = {
pause: pause,
play: play,
icons: icons,
}
const bright = {
pause: pause_w,
play: play_w,
icons: icons,
}
exports.dark = dark
exports.bright = bright