\u003C/mask>\u003Cg mask=\"url(#a)\">\u003Cpath fill=\"#EA9E44\" d=\"M116.94 88.1c-13.344 1.552-20.436-2.019-24.706 10.71 0 0 14.336 21.655 52.54 21.112-2.135 8.848-1.144 15.368-1.144 23.207 0 26.079-20.589 48.821-65.961 48.821-23.03 0-51.015 4.191-72.367 15.911-15.175 8.305-27.048 20.336-32.302 37.023l5.956 8.461 11.4.155v47.889l-13.91 21.966L-19.556 387h13.192l1.144-51.227c6.558-3.881 21.58-13.971 34.391-29.494 17.386-20.879 30.731-51.227 15.022-88.793l11.744-5.045c12.887 30.814 8.388 57.514-2.898 79.013 21.58-.698 40.11-2.095 55.819-4.734l-3.584-43.698 12.659-1.087L129.98 387h13.116l2.212-94.459c10.447-4.502 34.239-21.034 45.372-78.47 1.372-6.986 2.135-12.885 2.516-17.93 1.754-12.806 2.745-27.243 3.051-43.698l-18.683-5.976h57.42l5.567-12.807c-5.414.233-11.896-2.639-11.896-2.639l1.297-6.209H242l-65.199-34.384c-7.244 2.794-14.87 6.442-20.208 10.866-4.27-3.105-19.063-12.807-39.653-13.195Z\"/>\u003Cpath fill=\"#C16929\" d=\"M6.217 24.493 18.494 21c5.948 21.577 13.345 33.375 22.648 39.352 8.388 5.099 19.75 5.239 31.799 4.579-3.508-1.164-6.787-2.794-9.837-5.045-6.787-5.045-12.582-13.428-16.929-28.64l12.201-3.649c3.279 11.488 7.092 18.085 12.201 21.888 5.11 3.726 11.286 4.657 18.606 5.433 13.726 1.553 30.884 2.174 52.312 12.264 2.898 1.086 5.872 2.483 8.769 4.036-.381-.776-.762-1.553-1.296-2.406-3.66-5.822-10.828-11.953-24.097-16.92l4.27-12.109c21.581 7.917 30.121 19.171 33.553 28.097 3.965 10.168 1.525 18.124 1.525 18.124-3.05 1.009-6.1 2.406-9.608 3.492-6.634-4.579-12.887-8.033-18.835-10.75-21.962-8.304-43.466-2.638-62.53-.853-14.336 1.32-27.452.698-38.814-6.598-11.21-7.14-21.047-20.8-28.215-46.802Z\"/>\u003Cpath fill=\"#C16929\" d=\"M90.098 45.294c-2.516-5.744-4.041-12.807-3.355-21.5l12.659.932c-.763 10.555 2.897 17.696 7.015 22.353-5.338-.931-10.447-1.04-16.319-1.785ZM170.167 43.974l8.312-9.702c21.58 19.094 8.159 46.415 8.159 46.415l-11.819-1.32c-.382-6.24-1.144-17.836-6.635-24.371 3.584 1.84 6.635 3.865 9.99 6.908 0-5.666-1.754-12.341-8.007-17.93Z\"/>\u003C/g>\u003C/svg>';\r\n// Retrieve or set new colors based on current theme\r\nconst primaryColor = document.documentElement.style.getPropertyValue('--theme-color-name');\r\nconst secondaryColor = primaryColor;\r\n// Replace original colors with theme colors\r\nconst themedSvg = sourceSvg\r\n .replace(/#C16929/g, primaryColor)\r\n .replace(/#EA9E44/g, secondaryColor);\r\n// Clean SVG before encoding it\r\nconst cleanSvg = themedSvg\r\n .replace(/[\\t\\n\\r]/gim, '') // Strip newlines and tabs\r\n .replace(/\\s\\s+/g, ' ') // Condense multiple spaces\r\n .replace(/'/gim, '\\\\i'); // Normalize quotes\r\n// Encode the SVG for a data URI\r\nconst encodedSvg = encodeURIComponent(cleanSvg)\r\n .replace(/\\(/g, '%28') // Encode brackets\r\n .replace(/\\)/g, '%29');\r\n// Build the data URI\r\nconst dataUri = `data:image/svg+xml;charset=UTF-8,${encodedSvg}`;\r\n\r\nfunction updateFavicons() {\r\n const favicons = document.querySelectorAll('link[rel*=\"icon\"][type*=\"svg\"]');\r\n [...favicons].forEach((favicon) => {\r\n favicon.setAttribute('href', dataUri);\r\n });\r\n}\r\n\r\nupdateFavicons();\r\n\r\n// App loads multiple favicons for some reason, wait to try again\r\nsetTimeout(updateFavicons, 5 * 1000);\r\n```\r\n\r\n\u003C/p>\r\n\u003C/details>\r\n\r\nWhile I'm happy to have my favicon themed, it'd be even nicer to have this feature built in! (I also think it'd be nicer to keep the value of the antlers differentiated, I was just impatient. 🙂)",[2020],{"name":1985,"color":1986},1477,"Colorize favicon to match theme","2023-01-26T20:46:28Z","https://github.com/elk-zone/elk/issues/1477",0.7808146,{"description":2027,"labels":2028,"number":2031,"owner":1988,"repository":1989,"state":1990,"title":2032,"updated_at":2033,"url":2034,"score":2035},"When re-opening Chrome (115) and Elk(0.9.7), my Color Mode setting (Dark) and Theme Color are reverted to default. ",[2029,2030],{"name":1999,"color":2000},{"name":1985,"color":1986},2245,"Dark Color Mode and Theme Color not kept accross Chrome sessions","2023-07-31T07:38:57Z","https://github.com/elk-zone/elk/issues/2245",0.78234065,{"description":2037,"labels":2038,"number":2042,"owner":1988,"repository":1989,"state":1990,"title":2043,"updated_at":2044,"url":2045,"score":2046},"### Clear and concise description of the problem\n\nI personally prefer a true black dark mode, similar to Twitter's \"light's out\" mode.\n\n### Suggested solution\n\n#000 background color, either as a configurable option in the interface tab of settings, or just as the default dark mode.\n\n### Alternative\n\nI can use Stylus for desktop, but not when installed as a PWA on my phone.\n\n### Additional context\n\nElk looks great! I really appreciate that it's built as a PWA. :)",[2039],{"name":2040,"color":2041},"c: feature","2878FF",1085,"True black dark mode","2024-01-15T18:00:15Z","https://github.com/elk-zone/elk/issues/1085",0.7896384,{"description":2048,"labels":2049,"number":2054,"owner":1988,"repository":1989,"state":1990,"title":2055,"updated_at":2056,"url":2057,"score":2058},"I'm on Android 13, and randomly will get different behavior from the PWA when using left swipe. \r\n\r\n- When viewing an image, it will sometimes go \"back\" to the (presumably) default page, which is not my \"home\" (federated, maybe?). \r\n\r\n - This may be resolved a little bit as I've noticed some better behavior with just closing the image instead of triggering a \"back\" navigation to the parent nav endpoint (ie, back to Home feed, instead of back, back to default launch feed).\r\n- When left swiping, the app will randomly close/minimize. \r\n - There seems to be some difference in a \"long\" left swipe vs. a \"short\" one. The unexpected behavior on an accidental \"long\" swipe isn't as \"jarring\" since closing/minimizing seems to be consistent with \"long\" swipes across many applications\r\n - This seems to have gotten worse in the last day, as the incorrect navigation behavior associated with images seems to be better.",[2050,2051],{"name":1999,"color":2000},{"name":2052,"color":2053},"c: ui","8949BA",651,"Mobile (Android PWA): Random app closing/back behavior w/left swipe","2022-12-31T09:17:28Z","https://github.com/elk-zone/elk/issues/651",0.7935993,{"description":2060,"labels":2061,"number":2064,"owner":1988,"repository":1989,"state":1990,"title":2065,"updated_at":2066,"url":2067,"score":2068},"# What I expect to happen\r\nWhen writing a post, or responding to someone else's post, the text box is only populated with the users input.\r\n\r\n# What is happening\r\nWhen I write a post, or reply to someone else's post, after a few seconds of writing something the text box starts getting populated with new lines to the point of making the PWA unresponsive.\r\n\r\n# Platform details\r\nI am using elk as an \"installed\" PWA on Android 13 through MS Edge v110.0.1587.41 which should be the latest version.\r\n\r\n# Additional information\r\nHere I am attaching one screen recording of the issue happening after deleting the browser cookies. You will notice how the scroll bar appears and starts to reduce is size as if I it had lots of text, but the count of characters is still the same.\r\n\r\n~~I tried replicating this using Firefox but couldn't replicate it there.~~ This is also happening on Firefox.\r\n\r\nhttps://user-images.githubusercontent.com/11972724/219093635-45fdb61e-f229-4dfa-91aa-12c86dee5d9a.mp4\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n",[2062,2063],{"name":1999,"color":2000},{"name":1985,"color":1986},1755,"Post text box gets filled with new lines","2023-02-20T11:19:05Z","https://github.com/elk-zone/elk/issues/1755",0.79794276,{"description":2070,"labels":2071,"number":2074,"owner":1988,"repository":1989,"state":1990,"title":2075,"updated_at":2076,"url":2077,"score":2078},"I have installed Elk as a PWA (app) on my iPad. This, of course, means it renders in a browser window without any browser chrome or controls.\r\n\r\nThe problem I'm having is that (unlike on Windows or Android), there doesn't seem to be a way to cause a browser refresh.\r\n\r\nElk isn't reliable enough in discovering new updates from the server, plus various other bugs, and so it is important to be able to do a periodic refresh.\r\n\r\nI've tried pulling down like on other platforms, but apparently Safari doesn't treat that as a page refresh like on Android? Nor can I find any right-click alternative like one can find on Windows.",[2072,2073],{"name":1999,"color":2000},{"name":1985,"color":1986},2452,"Can't refresh UI on an iPad when installed as PWA","2023-12-28T08:55:16Z","https://github.com/elk-zone/elk/issues/2452",0.80498,{"description":2080,"labels":2081,"number":2083,"owner":1988,"repository":1989,"state":1990,"title":2084,"updated_at":2085,"url":2086,"score":2087},"### Clear and concise description of the problem\n\nColorful images and UI interfaces encourage interaction, leading to addiction-like behaviors. Some operating systems (e.g., iOS) support a system-wide grayscale option. This can lead to UI elements (or their states) being less clear/distinguishable though if not optimized for desaturated display.\n\n### Suggested solution\n\nDetect if the app/device/system is running in grayscale mode and switch to an optimized theme (tracked in #1332).\n\n### Alternative\n\nThe user may switch themselves. Alternatively, themes could be built in such a way as they always work if desaturated.\n\n### Additional context\n\nThis builds upon ideas initially mentioned in #1122 and discussions in the corresponding PR #1177. It depends on the optimized theme tracked as #1332.",[2082],{"name":1985,"color":1986},1333,"Detect system wide grayscale mode and switch theme accordingly ","2023-01-19T22:18:12Z","https://github.com/elk-zone/elk/issues/1333",0.80959904,["Reactive",2089],{},["Set"],["ShallowReactive",2092],{"TRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"rSrHsZf0-pRJrjqfX12hQcT9PW_bYU9MdJGrOa6HNCU":-1},"/elk-zone/elk/941"]