mirror of
https://github.com/misskey-dev/misskey
synced 2025-10-23 18:30:27 +02:00
When syncDeviceDarkMode is enabled and the device's dark mode preference changes between sessions, the theme would not be reapplied on page load if there was a cached theme. This caused a visual mismatch where the data-color-scheme attribute was correct but the actual theme CSS variables were from the wrong theme. The fix checks if the cached color scheme matches the current dark mode state and forces immediate theme application if they differ. Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com> |
||
---|---|---|
.. | ||
backend | ||
frontend | ||
frontend-builder | ||
frontend-embed | ||
frontend-shared | ||
icons-subsetter | ||
misskey-bubble-game | ||
misskey-js | ||
misskey-reversi | ||
shared | ||
sw | ||
meta.json |