50 shades of green - One contribution to the Django world
summary
Adds a toggleable dark theme to djangoproject.com using existing Sass and jQuery, implements CSS variables and prefers-color-scheme plus a data-theme attribute, and uses a cookie to persist user choice. Consolidates scattered palette (from 36 colors to 42, 16 green shades noted) into a single color file, removes near-duplicates, and reverses values for dark mode. Runs contrast audits with axe DevTools, fixes ~60 contrast issues, lands as a merged PR in October 2022 and is now live.
AI-written summary · about
chapters (12)
- 0:00Introduction to talk
- 1:10About the speaker
- 3:50Dark mode idea origins
- 7:13Starting the contribution
- 10:13Planning the design changes
- 13:57Managing 60 shades of green
- 16:35Improving accessibility
- 19:33Testing and community feedback
- 21:23Outcomes and impact
- 23:14Community involvement growth
- 27:00How to start contributing
- 28:52Q&A session
