freeCodeCamp / news

freeCodeCamp's JAMstack Developer News publication. Built with 11ty, Ghost, and help from kind contributors like you.
https://freecodecamp.org/news
BSD 3-Clause "New" or "Revised" License
57 stars 40 forks source link

freecodecamp.org/news/ dark mode theme #828

Open fatihcaliss opened 8 months ago

fatihcaliss commented 8 months ago

I currently use a Google extension to enable dark mode for articles on /news in freeCodeCamp => freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More. However, I would prefer not to rely on an extension for this feature. Could you consider implementing a native dark mode theme for freeCodeCamp news?

Describe the solution you'd like

I would like to use the theme mode selected in my freeCodeCamp account settings for the /news extension.

Describe alternatives you've considered

If feasible, these pages could default to the system theme color (dark or light) for the user's operating system.

Additional context

No response

ahmaxed commented 3 months ago

The toggle feature needs to satisfy the following requirements.

a2937 commented 3 months ago

What else should be visible in the menu or is the dark theme toggle the only menu item?

ahmaxed commented 3 months ago

Initially the theme switcher should be sufficient for this pr. Adding the search functionality in mobile would be next. Then we could experiment with adding the forum and curriculum buttons in the menu as well.

ghost commented 2 weeks ago

This is a big omission, I hope it will be included as soon as possible. Also, why not use a demo link in PRs?