GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    Stef Walter (stephaniewalter@front-end.social)'s status on Tuesday, 02-Jul-2024 22:31:39 JSTStef WalterStef Walter

    Brandur wrote a really nice tutorial on how to implement a dark mode, that uses prefers-reduced-motion and some local storage, plus some JavaScript to make a tri-state toggle to keep user preferences between always light, always dark, and follow device theme. Here you go: https://brandur.org/fragments/dark-mode-notes

    Love it, especially since some of you asked for one, when I wrote Dark mode & accessibility myth (https://stephaniewalter.design/blog/dark-mode-accessibility-myth-debunked/) and explained it’s good practice to let user chose between dark and light mode.

    In conversationabout a year ago from front-end.socialpermalink

    Attachments


    1. https://cdn.masto.host/frontendsocial/media_attachments/files/112/717/020/490/933/618/original/763030471a7c1bb7.png

    2. Domain not in remote thumbnail source whitelist: stephaniewalter.design
      Dark mode & accessibility myth by Stéphanie Walter - UX Researcher & Designer.
      from Stéphanie Walter
      Dark mode isn't always better for accessibility, you need to let users chose. And if you build a dark theme, make it accessible!
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.