Skip to content

Update the toggleDarkMode function to cycle through 3 of them

5445a18
Select commit
Loading
Failed to load commit list.
Merged

Add a theme toggle to the home page and follow the system theme by default #5800

Update the toggleDarkMode function to cycle through 3 of them
5445a18
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project failed Feb 4, 2026 in 0s

85.56% (-0.09%) compared to 89082f8

View this Pull Request on Codecov

85.56% (-0.09%) compared to 89082f8

Details

Codecov Report

❌ Patch coverage is 51.00000% with 49 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.56%. Comparing base (89082f8) to head (5445a18).
⚠️ Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
src/utils/dark-mode.ts 64.58% 17 Missing ⚠️
src/utils/window-console.ts 0.00% 11 Missing ⚠️
src/components/app/ThemeToggle.tsx 66.66% 10 Missing ⚠️
src/test/custom-environment.js 0.00% 8 Missing ⚠️
src/index.tsx 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5800      +/-   ##
==========================================
- Coverage   85.65%   85.56%   -0.09%     
==========================================
  Files         319      320       +1     
  Lines       31343    31419      +76     
  Branches     8546     8649     +103     
==========================================
+ Hits        26846    26884      +38     
- Misses       4066     4104      +38     
  Partials      431      431              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.