Skip to content

feat(ui): add automatic dark mode from system preference - #174

Merged
vaind merged 4 commits into
masterfrom
feat/automatic-dark-mode
Aug 26, 2026
Merged

feat(ui): add automatic dark mode from system preference#174
vaind merged 4 commits into
masterfrom
feat/automatic-dark-mode

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

The Hackweek UI was light-only, so dark OS settings still blasted a bright page.

This change follows prefers-color-scheme automatically:

  • expand the design tokens for surfaces, borders, status colors, and chrome
  • flip those tokens in dark mode across the existing stylesheet
  • keep brand accents readable and leave the video player chrome intentionally dark
  • inline the Sentry wordmark as an SVG so it tracks ink color on both themes
  • set light/dark theme-color meta values for browser chrome

No manual theme toggle is included; the site matches the system setting.

Requested by Ivan Dlugos.

--

View Junior Session [Sentry]

sentry-junior Bot and others added 2 commits August 25, 2026 20:25
Follow prefers-color-scheme so the app switches to a dark palette
without a manual toggle, and keep the wordmark readable on both themes.

Co-Authored-By: Ivan Dlugos <ivan.dlugos@sentry.io>
Use on-accent fills for hero and segmented active chips so purple
surfaces keep readable white controls under prefers-color-scheme dark.

Co-Authored-By: Ivan Dlugos <ivan.dlugos@sentry.io>
@vaind
vaind marked this pull request as ready for review August 25, 2026 20:37
Comment thread src/app/styles.css Outdated
@vaind
vaind requested a review from HazAT August 25, 2026 20:39
Replace the broken surface-raised 9df leftover with warning-bg so the
award banner keeps its yellow gradient background.
Comment thread src/app/styles.css
Replace remaining hardcoded white card fills with surface-raised mixes
so project voting rows and award chips follow dark mode.
@vaind
vaind merged commit d31cf42 into master Aug 26, 2026
13 checks passed
@vaind
vaind deleted the feat/automatic-dark-mode branch August 26, 2026 08:30
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.

2 participants