-
br-m<redsh4de:matrix.org> now that the website is nearing completion, what do we think about the theme toggle?
-
br-m<basses:matrix.org> @redsh4de:matrix.org: js-less?
-
br-m<basses:matrix.org> and accessible
-
br-m<redsh4de:matrix.org> accessible, but does use javascript - 9 lines to be exact
-
br-m<redsh4de:matrix.org> mrelay.p2pool.observer/p/qdCK9OEKYkJDTUFa/1.txt (code snippet, 16 lines)
-
br-m<basses:matrix.org> does website use any js on client?
-
br-m<redsh4de:matrix.org> no - this would be the only client side javascript, and the toggle would be hidden if the user has javascript disabled (Tor, etc)
-
br-m<redsh4de:matrix.org> there is no pratical way to make it js-less without having to render double the pages - persistence required fetching a flag from the browsers local storage and responding to theme preference changes
-
br-m<redsh4de:matrix.org> s/required/requires
-
br-m<basses:matrix.org> nah, if we introduced any js elements, then we would also do so for more important UX parts like menus etc
-
br-m<redsh4de:matrix.org> this was already implemented btw as a preview, on a seperate fork - we had a discussion about it a few weeks back
-
br-m<basses:matrix.org> the theme toggle?
-
br-m<redsh4de:matrix.org> yep
-
br-m<basses:matrix.org> it is uselss imo comapred to menus
-
br-m<redsh4de:matrix.org> our menus work quite well even without JavaScript
-
br-m<basses:matrix.org> I literally never use theme toggle as it always detect it from prefers-color-scheme
-
br-m<basses:matrix.org> @redsh4de:matrix.org: the issues we dicussed before
-
br-m<redsh4de:matrix.org> right, the dropdown being the only one - but that is solved with anchor css. granted we can only implement it somewhere in July this year when ESR adds it
-
br-m<redsh4de:matrix.org> pinging @syntheticbird:monero.social
-
br-m<basses:matrix.org> @basses:matrix.org: the only usecase for it is for Mullvad browser and Tor browser (on safest) as prefers-color-scheme is blocked
-
br-m<basses:matrix.org> so they change theme manually by using the toggle
-
br-m<redsh4de:matrix.org> beginning of the topic if u wanna read up on the discussion > <@redsh4de:matrix.org> can def do that, just not sure how strict the "no JavaScript" requirement is
-
br-m<redsh4de:matrix.org> @basses:matrix.org: yea, but isn't it kinda useless even there due to NoScript?
-
br-m<redsh4de:matrix.org> at least on Tor
-
br-m<basses:matrix.org> @redsh4de:matrix.org: privacyguides.org/en/basics/why-privacy-matters toggle here works without triggering any Noscript warnings
-
br-m<basses:matrix.org> safest mode
-
br-m<basses:matrix.org> safer*
-
br-m<redsh4de:matrix.org> yea it would work on safer as it allows JS on HTTPs sites
-
br-m<redsh4de:matrix.org> safest blocks all JS
-
br-m<redsh4de:matrix.org> would be the same thing here
-
br-m<basses:matrix.org> yes ^ > <@basses:matrix.org> the only usecase for it is for Mullvad browser and Tor browser (on safest) as prefers-color-scheme is blocked
-
br-m<redsh4de:matrix.org> misread
-
br-m<basses:matrix.org> np
-
br-m<syntheticbird> wat > <@redsh4de:matrix.org> pinging @syntheticbird:monero.social
-
br-m<syntheticbird> whats going on
-
br-m<redsh4de:matrix.org> brought up le js toggle as im basically done with website
-
br-m<syntheticbird> huh no? > <@basses:matrix.org> nah, if we introduced any js elements, then we would also do so for more important UX parts like menus etc
-
br-m<syntheticbird> @redsh4de:matrix.org: mrelay.p2pool.observer/m/monero.social/YJVknTpWwpDePtXwzBnyJiyj.gif (luigi-chad.gif)
-
plowsof👍
28 minutes ago