bylickilabs / bylickilabs/Advanced-Vulnerability-Scanner

Bug: Dark Mode toggle not persisting correctly

Open
#3 0 comments 0 reactions 1 assignee Claimed by @bylickilabs View on GitHub
bug UI
Dominant language
PHP
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

The Dark Mode toggle does not persist across sessions or page reloads. When the user selects Dark or Light mode, the setting should be saved (via localStorage) and re-applied automatically. Currently, the setting resets to System default on reload.

> Expected behavior:
- The chosen theme should remain active after refreshing the page or reopening the application.

---

> Steps to reproduce:
- Open the application.
- Switch from System to Dark mode.
- Refresh the page.

```yarn
Observe that the mode is reset to System.
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.