hackalog-frontend icon indicating copy to clipboard operation
hackalog-frontend copied to clipboard

Giving a dark mode to the website

Open aayushsrivastava9760 opened this issue 3 years ago • 8 comments

I want to work on this one. Kindly assign it to me.

aayushsrivastava9760 avatar Oct 14 '21 01:10 aayushsrivastava9760

Can you elaborate how are you planning to accomplish this task?

shubhanshu02 avatar Oct 14 '21 15:10 shubhanshu02

I was thinking of adding a toggle button at the top and then adding some classes based on dark-mode for buttons, texts, and background . Based on the toggle selection, classes should be changed.

aayushsrivastava9760 avatar Oct 14 '21 17:10 aayushsrivastava9760

I guess this part seems too big. But you are welcome if you want to try it out.

shubhanshu02 avatar Oct 15 '21 16:10 shubhanshu02

Yes, @shubhanshu02 bhaiya, I would like to try this one out.

aayushsrivastava9760 avatar Oct 15 '21 16:10 aayushsrivastava9760

@shubhanshu02 bhaiya , can we use 'atomize' for the theme toggling as it has ThemeProvider or will I have to go with a different library .

aayushsrivastava9760 avatar Dec 17 '21 19:12 aayushsrivastava9760

Not sure about that. I can see the ThemeProvider from atomize is already used in the _app.tsx. https://github.com/COPS-IITBHU/hackalog-frontend/blob/62cada631f4f4027c96fc27c80bf686999cd4d55/pages/_app.tsx#L38-L51

Maybe someone from the Hackalog team can say better?? @COPS-IITBHU/2020

shubhanshu02 avatar Dec 23 '21 11:12 shubhanshu02

so may i go with some other package for the same .

aayushsrivastava9760 avatar Dec 27 '21 18:12 aayushsrivastava9760

whichever seems more feasible.

shubhanshu02 avatar Jan 05 '22 16:01 shubhanshu02