\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. 🙂)",[2001],{"name":1988,"color":1989},1477,"Colorize favicon to match theme","2023-01-26T20:46:28Z","https://github.com/elk-zone/elk/issues/1477",0.80112857,{"description":2008,"labels":2009,"number":2013,"owner":1991,"repository":1992,"state":1993,"title":2014,"updated_at":2015,"url":2016,"score":2017},"### 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).",[2010],{"name":2011,"color":2012},"c: a11y","553F0B",1295,"High contrast mode","2023-02-03T03:16:51Z","https://github.com/elk-zone/elk/issues/1295",0.8067494,{"description":2019,"labels":2020,"number":2021,"owner":1991,"repository":1992,"state":1993,"title":2022,"updated_at":2023,"url":2024,"score":2025},"You're currently reusing the same color (border base) for all of the following:\r\n\r\n1. vertical lines connecting posts / replies (+ threads)\r\n2. horizontal separator lines between unrelated posts\r\n3. other UX elements\r\n\r\nThat super-subtle hue is probably appropriate for the latter two, but not the former. (Honestly, I can barely see it.) There should be a clear visual hierarchy which conveys that the connection threading posts together is stronger than those other UX elements. \r\n\r\nIf I'm reading https://github.com/elk-zone/elk/blob/main/components/status/StatusCard.vue correctly, then the simplest such fix would be to just `s/x base/x dark/` there. \r\n\r\n\r\n",[],1104,"Connected reply color is too subtle","2023-01-13T23:46:16Z","https://github.com/elk-zone/elk/issues/1104",0.8075369,{"description":2027,"labels":2028,"number":2031,"owner":1991,"repository":1992,"state":1993,"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":1985,"color":1986},{"name":1988,"color":1989},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.8099204,{"description":2037,"labels":2038,"number":2041,"owner":1991,"repository":1992,"state":1993,"title":2042,"updated_at":2043,"url":2044,"score":2045},"Maybe a brighter outline - or if it's all done with opacities (sorry not checked the code), maybe a more opaque value on the background. \r\n\r\nAnything to help it show up more - to see the difference currently I have to turn my phone's brightness way up.",[2039,2040],{"name":1985,"color":1986},{"name":2011,"color":2012},859,"Make DMs easier to differentiate from normal feed posts in dark mode","2023-01-14T16:39:00Z","https://github.com/elk-zone/elk/issues/859",0.810226,{"description":2047,"labels":2048,"number":2050,"owner":1991,"repository":1992,"state":1993,"title":2051,"updated_at":2052,"url":2053,"score":2054},"### 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.",[2049],{"name":1988,"color":1989},1333,"Detect system wide grayscale mode and switch theme accordingly ","2023-01-19T22:18:12Z","https://github.com/elk-zone/elk/issues/1333",0.81290585,{"description":2056,"labels":2057,"number":2060,"owner":1991,"repository":1992,"state":1993,"title":2061,"updated_at":2062,"url":2063,"score":2064},"\u003Cimg width=\"169\" alt=\"image\" src=\"https://user-images.githubusercontent.com/1246495/222408239-010514c1-cb2c-46ad-93b8-56a4f09879a2.png\">\r\nThe smaller user image at the bottom right is slightly off color, greyish.",[2058,2059],{"name":1985,"color":1986},{"name":1988,"color":1989},1841,"User Thumbnail seems to have a filter","2023-03-02T10:52:52Z","https://github.com/elk-zone/elk/issues/1841",0.8140451,{"description":2066,"labels":2067,"number":2069,"owner":1991,"repository":1992,"state":2070,"title":2071,"updated_at":2072,"url":2073,"score":2074},"Didn't see it as an option in UI and also in issues. Perhaps it's already implemented or has been asked for. \r\n\r\nI change OS color theme often if I work outside/inside so it would be very useful for me.",[2068],{"name":1988,"color":1989},1703,"closed","Automatic theme switch based of OS theme","2023-02-10T17:19:07Z","https://github.com/elk-zone/elk/issues/1703",0.7638879,{"description":2076,"labels":2077,"number":2078,"owner":1991,"repository":1992,"state":2070,"title":2079,"updated_at":2080,"url":2081,"score":2082},"1. The `Sign in` button has orange background and black text, looks a bit strange.\r\n2. There is no clear border between the sidebar and Main and there are not enough margins, I think add a `border-inline` will be better.\r\n3. When user hover on `Status Card`, there's so feedback, maybe change the background to `gray-100` will be better.\r\n\r\nHere's my modified preview:\r\n\r\n\u003Cimg width=\"1221\" alt=\"image\" src=\"https://user-images.githubusercontent.com/85140972/211735721-f92f8f20-0d03-4968-be5c-81955cef0c15.png\">\r\n\r\nIf this change is OK, I will open a PR.\r\n",[],959,"Some UI opinions","2023-01-12T10:11:41Z","https://github.com/elk-zone/elk/issues/959",0.7839498,["Reactive",2084],{},["Set"],["ShallowReactive",2087],{"TRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"bkgrhHbOpxaEBseTzdX5-lceBJ6ty0lBOnJmFzsk1xo":-1},"/elk-zone/elk/2270"]