hellofaizan/xprofile

[FEAT] Add theme toogle

Closed this issue · 2 comments

As a user, If you want to be able to switch between light and dark themes on the website/app, so that you can choose the one that is easier on my eyes or fits your preferences.

To implement this feature, we will need to add a button or switch somewhere on the page that the user can click or tap to toggle the theme. When the user switches the theme, we will need to update the CSS styles accordingly to apply the appropriate colors, fonts, and other design elements.

In addition, we should consider storing the user's preference for the theme in a cookie or local storage, so that it persists across page reloads and sessions.

By adding this functionality, we can improve the user experience and make the website/app more accessible and customizable for our users.

It's Tailwind CSS btw

Are you familiar with Shadcn-ui. Try that