hacking-tutorial icon indicating copy to clipboard operation
hacking-tutorial copied to clipboard

Issue: Implement Light/Dark Theme Toggle

Open Vaibhav0527 opened this issue 1 year ago • 5 comments

Description Currently, the website does not support switching between light and dark themes. This limits user accessibility and personalization options, especially for users who prefer darker interfaces during nighttime use or lighter ones during daytime.

Proposed Solution We propose implementing a theme toggle feature that allows users to seamlessly switch between light and dark modes. This can be achieved using CSS variables or Tailwind’s theme configuration, combined with a toggle button stored in local storage or user preferences to remember the selected mode.

Acceptance Criteria

Users can toggle between light and dark themes.

The selected theme persists across page reloads and sessions.

All UI components (navbar, sidebar, buttons, cards, text, etc.) adjust accordingly to the selected theme.

The transition between themes is smooth and visually appealing.

Additional Notes

Ensure accessibility standards (e.g., sufficient color contrast) are maintained in both themes.

Consider offering a “System Default” mode that automatically matches the user’s OS theme preference. @amandewatnitrr please assign this issue to me

Vaibhav0527 avatar Oct 13 '25 19:10 Vaibhav0527

@Vaibhav0527 communicate with @HarzhMehta who's the feature owner so far, and you guys can come to a conclusion,

amandewatnitrr avatar Oct 13 '25 19:10 amandewatnitrr

@HarzhMehta Currently, the website does not support switching between light and dark themes. This limits user accessibility and personalization options, especially for users who prefer lighter ones during daytime.

Vaibhav0527 avatar Oct 13 '25 20:10 Vaibhav0527

@amandewatnitrr hence the issue is reopened, can i work on this issue?

Vaibhav0527 avatar Oct 13 '25 20:10 Vaibhav0527

@amandewatnitrr hence the issue is reopened, can i work on this issue?

@Vaibhav0527 Sure, but I would like to see a new UI. I don't want to keep this one.

amandewatnitrr avatar Oct 13 '25 20:10 amandewatnitrr

@amandewatnitrr hence the issue is reopened, can i work on this issue?

@Vaibhav0527 Sure, but I would like to see a new UI. I don't want to keep this one.

ok

Vaibhav0527 avatar Oct 13 '25 20:10 Vaibhav0527