Skip to content

Conversation

@kh-ub-ayb
Copy link
Contributor

Added a new blog post detailing the process of implementing Dark Mode for the Sugar Labs website.
The post covers the motivation, challenges faced during development, debugging steps, and the final solution providing valuable insights for contributors who want to work on theming and accessibility features.

fixes: #440

@github-actions
Copy link

github-actions bot commented Oct 5, 2025

🎉 All Checks Passed!

Status: ✅ Ready to merge

✅ Completed Workflows

Workflow Status Details
🔨 Continuous Integration ✅ Passed Build completed successfully
📝 Code Linting ✅ Passed All formatting and style checks passed

🚀 This PR is ready for review and can be safely merged to main branch!

Great work! Your code meets all quality standards. 👏

@kh-ub-ayb
Copy link
Contributor Author

@sa-fw-an plz review

Copy link
Contributor

@pikurasa pikurasa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This all needs to be on a clean branch. Please submit a new PR.

Please also address comments to your writing.

# Adding Dark Mode to a Sugar Labs Website

## Introduction
Sugar Labs builds open-source tools that make learning playful and accessible. I recently contributed dark mode to a Sugar Labs web project. This post outlines the problem I encountered, how I debugged and fixed it, and the key lessons I learned so others can ship accessible theming with confidence.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

open-source --> free/libre/open (FLO)

For Sugar Labs web project, perhaps link to the repository.

Sugar Labs builds open-source tools that make learning playful and accessible. I recently contributed dark mode to a Sugar Labs web project. This post outlines the problem I encountered, how I debugged and fixed it, and the key lessons I learned so others can ship accessible theming with confidence.

## The Problem
The Sugar Labs website originally lacked a Dark Mode option, which made browsing less comfortable in low-light conditions. This was particularly noticeable for developers and users who preferred darker themes.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Were there other requests for Dark Mode other than yours? If so, please reference.

If there are any articles that document the benefits of Dark Mode, please reference.

## The Problem
The Sugar Labs website originally lacked a Dark Mode option, which made browsing less comfortable in low-light conditions. This was particularly noticeable for developers and users who preferred darker themes.

Without dark mode, the bright interface could cause eye strain and reduce accessibility for users with light sensitivity.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please be consistent with capitalization. "Dark Mode" or "dark mode". Don't switch between the two.

The Sugar Labs website originally lacked a Dark Mode option, which made browsing less comfortable in low-light conditions. This was particularly noticeable for developers and users who preferred darker themes.

Without dark mode, the bright interface could cause eye strain and reduce accessibility for users with light sensitivity.
- **Goal:** Deliver a robust dark mode that respects system preference, includes a manual toggle with persistence, and maintains accessible contrast across the interface.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe reference how it "respects system preference". That's interesting.

@kh-ub-ayb
Copy link
Contributor Author

Thanks for the review! I’ll start fresh on a clean branch and make sure all comments are addressed before submitting the new PR.

@kh-ub-ayb kh-ub-ayb closed this Oct 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

My Experience with Sugar Labs: Create a Blog Post

2 participants