\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. 🙂)",[2873],{"name":2860,"color":2861},1477,"Colorize favicon to match theme","2023-01-26T20:46:28Z","https://github.com/elk-zone/elk/issues/1477",0.73096615,{"description":2880,"labels":2881,"number":2884,"owner":2863,"repository":2864,"state":2865,"title":2885,"updated_at":2886,"url":2887,"score":2888},"1. Use Elk PWA in Android environment\n2. Add HTML Emoji from directly from the keyboard suggestion, not from the selector (Android 14 / gBoard tested...)\n3. More new line breaks / multiple emoji inserts happen",[2882,2883],{"name":2857,"color":2858},{"name":2860,"color":2861},3202,"Emoji post inserts","2025-02-23T11:25:04Z","https://github.com/elk-zone/elk/issues/3202",0.73207986,{"description":2890,"labels":2891,"number":2895,"owner":2863,"repository":2864,"state":2865,"title":2896,"updated_at":2897,"url":2898,"score":2899},"### 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. :)",[2892],{"name":2893,"color":2894},"c: feature","2878FF",1085,"True black dark mode","2024-01-15T18:00:15Z","https://github.com/elk-zone/elk/issues/1085",0.73793507,{"description":2901,"labels":2902,"number":2905,"owner":2863,"repository":2864,"state":2865,"title":2906,"updated_at":2907,"url":2908,"score":2909},"Although #1584 was closed and I do not have permissions to re-open it, the problem persists.\r\n\r\nWhen I move between wifi and data, Elk (whether in a browser tab or as a PWA) stops refreshing, and rotating the phone to landscape and clicking the Elk logo also doesn't refresh. I have to use the browser refresh menu option. The browser refresh menu option is unavailable in a PWA, so Elk is still unusable as a PWA. I've had to revert to using it only in a browser tab where I have access to the browser refresh feature.\r\n\r\nThis has been consistent since https://github.com/elk-zone/elk/pull/1658 was resolved, so that was not the only problem here.\r\n\r\nI still have to run Elk in a browser tab, and when I change from WiFi to cell networks, or vice-versa, I have to refresh the tab from the browser menu in order to start seeing new content again.\r\n\r\nAll of this experience is on main.elk.zone, so this is not from me being still on an old version.",[2903,2904],{"name":2857,"color":2858},{"name":2860,"color":2861},1791,"Elk does not refresh on Firefox on Android across network changes","2023-02-25T12:59:50Z","https://github.com/elk-zone/elk/issues/1791",0.758628,{"description":2911,"labels":2912,"number":2916,"owner":2863,"repository":2864,"state":2865,"title":2917,"updated_at":2918,"url":2919,"score":2920},"### Clear and concise description of the problem\r\n\r\n*Partially copied from Discord*\r\n\r\nBack in the days Twitter has removed most of the borders or made them really faded, and it became really hard for neurodivergent folks like me, because it essentially made the app a mishmash of incoherent elements, creating a condition where my eyes are all over the place and I can't just comprehend any information on the page. Gladly they have a high contrast mode that introduced most of the borders back or made them more prominent, it also made all primary colours darker.\r\n\r\nUnfortunately, Elk suffers from the same issue, perhaps to a worse degree, even. For folks like me Elk is simply unusable: it's hard to keep my attention at any particular part of the site — I cannot focus on anything and constantly feeling lost. This is not my experience on Mastodon — with or without a custom theme.\r\n\r\n| | |\r\n|:--:|:--:|\r\n|  |  |\r\n| Regular Mastodon | Mastodon with [Modern](https://userstyles.world/style/4773/mastodon-modern) theme by Freeplay |\r\n\r\nThe reason is simple: lack of contrast and visual boundaries (via borders or backgrounds) to clearly separate the elements into their own ‘baskets’.\r\n\r\n### Suggested solution\r\n\r\nI think one of the solutions will be having a high contrast preference, which would to add borders or make them more prominent, as well as make the colours more contrast-y (darker in light mode, brighter in dark mode).\r\n\r\nHere's what Elk looks like for me after playing with CSS in DevTools for a bit (hover state locked for buttons for demonstration reasons):\r\n\r\n\r\n\r\nHere's what I did:\r\n- Changed font to Inter (Roboto also works). It already made a huge difference making text ever so slightly bolder.\r\n- The primary colours are now much darker (or lighter, where needed, like search) and prominent on slightly grey background that Elk uses.\r\n- Borders introduced to a main (feed) column. Unfortunately I wasn't able to figure out why there's a border at the top.\r\n- Borders themselves now use much darker colours.\r\n- Added on-hover backgrounds to posts and embed cards.\r\n- Added borders to embed cards and removed their default grey background.\r\n\r\nAnd here's video of me doing various stuff on the page:\r\n\r\nhttps://user-images.githubusercontent.com/10401817/213188712-949e4a50-8526-48d1-b393-671902534b71.mp4\r\n\r\n### Alternative\r\n\r\n- Total change of design? Seems too radical.\r\n- Manually fixing styles with UserStyles? This would only work for me then, while others like me have to face the same issues.\r\n- Not using Elk. This what I kinda do already... Sadly. I want to test it like all other cool kids do.\r\n\r\n### Additional context\r\n\r\nImportant note must be made that high contrast mode would not be aimed strictly at the neurodivergent folks *like me*, but primarily at the people with vision issues. Twitter does more stuff for high contrast mode, like adding underlines to every link on the site, but this would not be useful for me (maybe it can be its own toggle like in Discord).",[2913],{"name":2914,"color":2915},"c: a11y","553F0B",1295,"High contrast mode","2023-02-03T03:16:51Z","https://github.com/elk-zone/elk/issues/1295",0.76966846,{"description":2922,"labels":2923,"number":2926,"owner":2863,"repository":2864,"state":2865,"title":2927,"updated_at":2928,"url":2929,"score":2930},"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.",[2924,2925],{"name":2857,"color":2858},{"name":2860,"color":2861},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.77181715,{"description":2932,"labels":2933,"number":2936,"owner":2863,"repository":2864,"state":2937,"title":2938,"updated_at":2939,"url":2940,"score":2941},"After the latest update it have no padding / separation from the edge. It's a bit frustrating on home screen looking. Thank you for review it! 👍",[2934,2935],{"name":2857,"color":2858},{"name":2860,"color":2861},2451,"closed","Elk PWA Android icon","2023-11-01T00:27:26Z","https://github.com/elk-zone/elk/issues/2451",0.6665804,{"description":2943,"labels":2944,"number":2945,"owner":2863,"repository":2864,"state":2937,"title":2946,"updated_at":2947,"url":2948,"score":2949},"the theme color doesn't get updated to match the selected theme in the Android PWA (see color of status bar at top vs app theme)\r\n\r\n\r\n\r\n---\r\n\r\nProposed solution: based on https://w3c.github.io/manifest/#theme_color-member, adding/updating the appropriate meta tag (with `name=\"theme-color\"`) when the theme is selected potentially works. Not sure if that behavior is respected by all OS's and browsers, but worth attempting 😄 \r\n\r\n---\r\n\r\nDetails:\r\n- Android 13\r\n- Pixel 6\r\n- Firefox Nightly\r\n- Elk v0.3.1 (although has existed in previous versions)",[],941,"theme color should match selected app theme in Firefox PWA","2023-01-10T20:35:36Z","https://github.com/elk-zone/elk/issues/941",0.7249411,{"description":2951,"labels":2952,"number":2955,"owner":2863,"repository":2864,"state":2937,"title":2956,"updated_at":2957,"url":2958,"score":2959},"I have installed main.elk.zone as a PWA on Firefox on my Android device running Android 13.\r\n\r\nWithin the last few days, it has almost entirely stopped refreshing. Tapping the Elk icon (only visible in landscape mode) does not refresh, and it only refreshes a few times per day. I don't know exactly what triggers it to be able to update. The only thing I can do to refresh it is to stop the entire Firefox app and then start it again. Otherwise, it has picked up newer content only a few times; I'm seeing only hours-old content even though the web view and Tusky both see current content.",[2953,2954],{"name":2857,"color":2858},{"name":2860,"color":2861},1584,"Elk PWA on main.elk.zone does not refresh on Firefox on Android","2023-02-15T19:12:43Z","https://github.com/elk-zone/elk/issues/1584",0.73362565,["Reactive",2961],{},["Set"],["ShallowReactive",2964],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fUoQuNOWdInsOCxikZ82kXyitD9DC9zz77GtYa-eSoUg":-1},"/elk-zone/elk/2901"]