Support » Theme: Hamilton » Dark Mode Toggle

  • tcoderre

    (@tcoderre)


    @anlino I was looking into this theme for a project I like the fact you can toggle on/off dark mode in the customizer to show different looks.

    With the customizer open I am able to check the dark mode box on and off and navigate to different pages and it retains the light or dark mode from the check box.

    I was looking to implement this style checkbox on the front-end of the site so users would be able to view the site in light or dark based on their preferences but my attempts so far haven’t worked and I was wondering if you could help me out.

    It might be a nice feature to include in a future theme update or a future project entirely.

Viewing 1 replies (of 1 total)
  • ElectricFeet

    (@electricfeet)

    I agree. arstechnica.com do this, and I’ve always loved it. Great for browsing at night.

Viewing 1 replies (of 1 total)
  • The topic ‘Dark Mode Toggle’ is closed to new replies.