[FEAT] Add keyboard shortcut (e.g., Cmd/Ctrl + K) to toggle Dark/Light theme globally
Problem Statement
Summary
Improve dashboard accessibility and UX by adding a global keyboard listener that allows users to toggle between Light and Dark mode seamlessly using the Ctrl + Shift + T or Cmd + Shift + T key combination.
Proposed Solution
Proposed Changes
- Create a custom hook
useThemeShortcut.tsor add auseEffectglobal event listener to the main layout layout wrappers. - Detect the specific modifier key press event and trigger the existing Redux action/theme state dispatcher toggling dark/light modes.
- Add a tiny tool-tip hint next to the visual theme toggle button to inform users about the shortcut availability.
@Priyanshu-byte-coder could you please assign this task to me?
Feature Area
Dashboard
Alternatives Considered
No response
Acceptance Criteria
Acceptance Criteria
- Toggling works seamlessly across all pages when input fields are not focused (ensure typing in input fields doesn't trigger it accidentally).
- Clean event handler cleanup to prevent any memory leaks.
Additional Context
No response
hi i would like to work on it under gssoc'26
/assign i would like to work on this issue under gssoc 2026
Assigned to @Doremon-tech-svg! You have 7 days to open a PR. No PR after 7 days = auto-unassigned so others can pick it up. Good luck!
Hey @Doremon-tech-svg — this issue was assigned 7 days ago with no PR opened. Unassigning so others can pick it up.
Still working on it? Drop a comment and request re-assignment.
Hi @Priyanshu-byte-coder Please assign me this issue.
Assigned to @Bhavy12-cell! You have 7 days to open a PR. No PR after 7 days = auto-unassigned so others can pick it up. Good luck!
Hey @Bhavy12-cell — this issue was assigned 7 days ago with no PR opened. Unassigning so others can pick it up.
Still working on it? Drop a comment and request re-assignment.
Hey @Hiral-Barot, @Bhavy12-cell, @Doremon-tech-svg, @yachikadev — this issue was assigned a while back with no recent activity. Unassigning so it's available for Hacktoberfest contributors. Still working on it? Comment and we'll reassign you.
@Priyanshu-byte-coder This issue is already taken by @Hiral-Barot, @Bhavy12-cell, @Doremon-tech-svg, @yachikadev. Check other open issues!
This issue has been inactive for 21 days. If you are still working on it or it is still relevant, please leave a comment — otherwise it will be closed in 7 days.
Closing due to inactivity. Feel free to reopen if this is still relevant.