mattermost / mattermost-developer-documentation

Mattermost developer documentation.
https://developers.mattermost.com
BSD 3-Clause "New" or "Revised" License
80 stars 401 forks source link

add dark mode #1409

Open nidhi752 opened 1 month ago

nidhi752 commented 1 month ago

Adding dark mode will enhance the user interface. Please assign this to me under hackoctoberfest'24

cwarnermm commented 1 month ago

Hi @nidhi752 - Curious to know more about how you'd implement dark mode for the Mattermost Developer Documentation.

nidhi752 commented 1 month ago

@cwarnermm

Dark Mode Implementation

Description

This issue introduces a dark mode feature to the website. The dark mode allows users to switch between light and dark themes easily, with the preference saved using localStorage to ensure it persists across sessions.

Changes Made

cwarnermm commented 1 month ago

@nidhi752 - Given that the developer documentation site is generated using Hugo, are there Hugo-supported options available already that could be used rather than developing dark mode support from scratch?