-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Support Dark theme based on the web browser's theme #62
fix: Support Dark theme based on the web browser's theme #62
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Sir number of div. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the dark theme support @SankalpHaritash21 it would really help our project. Kindly address the review comments, we are almost good to merge
@krishnaacharyaa I have check in my system it is updated I thought I forget to upload components folder. I uploaded all the files. Plz check preview. |
Hi, @krishnaacharyaa, @chinmaykunkikar plz review the code now it is working fine. |
@SankalpHaritash21 Thanks for the update. Looks good to me, if you observe carefully the shimmer cards don't support the dark theme, Can you kindly raise a bugfix ticket, post that we will merge this :) |
Ok |
@krishnaacharyaa are we keeping the dark theme by default or are we giving users an option to toggle? |
@chinmaykunkikar, just a confirmation, how does it causes trouble to the devs? I meant when someone tries to commit which doesn't obey the predefined regex we give some friendly error message saying "Use this regex for the commit message". If we can get this done using the husky, then I think we are good. Happy to consider your recommendations :) |
@krishnaacharyaa do we need any other changes or it look good |
@SankalpHaritash21 |
@krishnaacharyaa I will update it |
@krishnaacharyaa what to add in screenshot |
|
|
@krishnaacharyaa @SankalpHaritash21 I have fixed the dark mode skeleton shimmer colors locally. I have 2 versions, one without background to individual cards, and another with the background. What do you think? Should I add these changes to this this PR, and eliminate the need for #64? |
@chinmaykunkikar, thank you for the quick fix, just a small observation, v1 looks good to me as the color looks subtle and doesn't pop off, but the blog post card's colour seems mismatching the featured and latest cards, can you kindly confirm on that, because sometimes images are different than actual colours, And I'm fine with your final call, this was my preference and observation ;) Can we do it in seperate PR, helps us to keep it seperate commit, I'll squash the present PRs commit because of the commit messages... P.S: I guess it's the shimmer which is giving the different colours 😂, my bad, V2's padding looks cool to me, feel free to take your call 😊 |
@chinmaykunkikar plz let me first complete this task then you can do these changes plz |
@SankalpHaritash21, I guess it @chinmaykunkikar already has fix for #64 , So i guess you can pick up some other story :) |
@krishnaacharyaa I am saying that @chinmaykunkikar can push changes after completing this issue |
Okay. I'll make those changes on a separate branch and push it to #64 once this is merged. @SankalpHaritash21 For the color, use Also, @SankalpHaritash21, don't work on anything related to skeletons/shimmer. |
Correct 😆 |
@krishnaacharyaa @SankalpHaritash21 The only thing that's pending for this PR is the color variable names, right? What else? I'll be taking up the skeleton ui task. |
Yes @chinmaykunkikar, you are right |
@SankalpHaritash21, please follow the above comment and finish this, lets merge this PR, it's been really long |
@krishnaacharyaa I will try to complete it by today. |
@chinmaykunkikar @krishnaacharyaa I used this approach /** @type {import('tailwindcss').Config} */ export default { and removed code from index.css. |
@krishnaacharyaa @chinmaykunkikar check then I will push the code. if this approach is ok or not #62 (comment) |
@SankalpHaritash21 Looks good to me, but I see the tw-classes are commented out, if the image is of the commented classes then fine |
@krishnaacharyaa I tryed to use tw-classes names but it is breaking the code and I also read tw docs but I found this way is effective that's why I use hex code of slate-900 and slate-800. This is @krishnaacharyaa @chinmaykunkikar your decision. If both of you seems this method to useful let me know I will push the code. |
No the whole purpose gets defeated if you use the hex code, you need to directly use the tw classes that's the task, let us know if you find it challenging, I'll do it no issues ... |
const colors = require('tailwindcss/colors') module.exports = { @krishnaacharyaa I tryed this approach also. but it I am not able to complete and plz abhi muje unassign maat karna I also want to see the approach you are using. |
@SankalpHaritash21 no worries, we got this, Thank you for the PR , I'll merge this PR don't worry, I'll create new PR and tag you there so that you can see the change .... |
@krishnaacharyaa can i take home page issue if u like |
@SankalpHaritash21 don't worry. You came a long way. Kudos! :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Merging it now :)
Summary
Adding Dark Theme feature in add blog, home page.
Description
In this project adding dark theme feature according to the browser theme.
Images
Add blog page
Home page
Details page
Issue(s) Addressed
Prerequisites