\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. 🙂)",[2913],{"name":2868,"color":2869},1477,"Colorize favicon to match theme","2023-01-26T20:46:28Z","https://github.com/elk-zone/elk/issues/1477",0.7854412,{"description":2920,"labels":2921,"number":2926,"owner":2871,"repository":2872,"state":2873,"title":2927,"updated_at":2928,"url":2929,"score":2930},"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.",[2922,2923],{"name":2882,"color":2883},{"name":2924,"color":2925},"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.78568983,{"description":2932,"labels":2933,"number":2937,"owner":2871,"repository":2872,"state":2873,"title":2938,"updated_at":2939,"url":2940,"score":2941},"### 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. :)",[2934],{"name":2935,"color":2936},"c: feature","2878FF",1085,"True black dark mode","2024-01-15T18:00:15Z","https://github.com/elk-zone/elk/issues/1085",0.7875429,{"description":2943,"labels":2944,"number":2947,"owner":2871,"repository":2872,"state":2873,"title":2948,"updated_at":2949,"url":2950,"score":2951},"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.",[2945,2946],{"name":2882,"color":2883},{"name":2868,"color":2869},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.7915071,{"description":2953,"labels":2954,"number":2957,"owner":2871,"repository":2872,"state":2873,"title":2958,"updated_at":2959,"url":2960,"score":2961},"# 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",[2955,2956],{"name":2882,"color":2883},{"name":2868,"color":2869},1755,"Post text box gets filled with new lines","2023-02-20T11:19:05Z","https://github.com/elk-zone/elk/issues/1755",0.80133796,{"description":2963,"labels":2964,"number":2967,"owner":2871,"repository":2872,"state":2873,"title":2968,"updated_at":2969,"url":2970,"score":2971},"### Pre-Checks\n\n- [X] Check that there isn't [already an issue](https://github.com/elk-zone/elk/issues) that reports the same bug to avoid creating a duplicate.\n- [X] Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/elk-zone/elk/discussions) or join our [Discord Chat Server](https://chat.elk.zone).\n- [X] Providing a screenshot or video to reproduce the issue or show visually what was meant.\n- [ ] I am willing to provide a PR.\n\n### Describe the bug\n\nI (too often) end up trying to scroll up on a thread (or want to \"pull to refresh\" on the thread) and end up triggering the default Chrome (I'm on Android 13) pull-to-refresh on the thread. This breaks any backward navigation and context (timeline position, etc).\r\n\r\nIt would be great if there was an \"app\" implemented pull-to-refresh that wouldn't break the above or something. Related, because there are no spinners or other progress indicators when opening a thread, I end up triggering the above more often, because I think I should be able to scroll to get to the root thread, but it hasn't loaded yet.\n\n### Reproduction video or screenshot\n\n_No response_\n\n### Additional Context\n\n_No response_",[2965,2966],{"name":2882,"color":2883},{"name":2868,"color":2869},1187,"PWA: Refreshing when on a thread breaks back nav and loses timeline position","2023-01-17T00:48:39Z","https://github.com/elk-zone/elk/issues/1187",0.8024357,["Reactive",2973],{},["Set"],["ShallowReactive",2976],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$frSrHsZf0-pRJrjqfX12hQcT9PW_bYU9MdJGrOa6HNCU":-1},"/elk-zone/elk/941"]