Skip to content

Conversation

@eddie-knight
Copy link
Collaborator

@eddie-knight eddie-knight commented Dec 30, 2025

Description

This adds a dark mode feature to the site.

Debatably, it currently infers the user's preference from their system and loads that first. If we add this dark mode option, we may want to make it match other project websites... so we'll need to remove that logic to have it default to light mode until the user presses a button.

Screenshot 2025-12-30 at 12 25 38 PM

Schema Changes

Schema Changes Made

  • No schema changes
  • Layer 1 schema (schemas/layer-1.cue) changes
  • Layer 2 schema (schemas/layer-2.cue) changes
  • Layer 3 schema (schemas/layer-3.cue) changes
  • Layer 4 schema (schemas/layer-4.cue) changes

Schema Change Details

<!-- If applicable, provide a brief summary or example of schema changes -->

Testing

  • Unit tests added/updated
  • Manual testing performed
  • Test data updated (if applicable)

Related Issues

Reviewer Hints

Signed-off-by: Eddie Knight <knight@linux.com>
@eddie-knight eddie-knight requested a review from a team as a code owner December 30, 2025 18:28
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Dec 30, 2025
Copy link
Contributor

@jpower432 jpower432 left a comment

Choose a reason for hiding this comment

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

Nice! Tried this on a few different browsers and the auto-detection works and the toggling works. I do like the auto-detection from a UX perspective.

@eddie-knight eddie-knight merged commit 81cddd3 into ossf:main Jan 5, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants