-
-
Notifications
You must be signed in to change notification settings - Fork 260
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
Added new theme gruvbox light Fixes #1133 #1144
Conversation
@Dishti-Oberai your PR should only contain the changes that are required. Please read https://zulip.readthedocs.io/en/latest/contributing/index.html |
Thanks @amanagr , I'll take care from next time. |
@Dishti-Oberai I recently pushed a commit to Before I pushed, I rebased against You could fetch from the updated PR, or fetch main and rebase your local branch against that in future - the latter being a good idea in general. Before pushing, I couldn't test it directly since I had some trouble running it - an error regarding In terms of implementation, I think this would be clearer and simpler if you could split the change into two commits:
Let us know here or in the stream if you need any extra feedback! |
Thank you for the review @neiljp , I'll do the needful |
@neiljp |
3ed7d75
to
1512c70
Compare
Hello @Dishti-Oberai, it seems like you have referenced #1133 in your pull request description, but you have not referenced them in your commit message description(s). When you reference an issue in a commit message, it automatically closes the corresponding issue when the commit is merged. Please run An example of a correctly-formatted commit:
Thank you for your contributions to Zulip! |
84fc030
to
5726858
Compare
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.
@Dishti-Oberai This is clearer and definitely in the right direction, but note that it's clear the two commits were previously together, since they're not independent. If you're on this branch and checkout the commit above (eg. HEAD~
, or do an interactive rebase and step through commits), then you'll see you can't run ZT at that point, and tests also fail.
5726858
to
0ce1eff
Compare
206b949
to
46e8d16
Compare
fe4450c
to
9060f4e
Compare
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.
@Dishti-Oberai This is much cleaner, with a few outstanding issues.
Whether themes should aim to work in 16 colors is perhaps something we can discuss in the stream, but we can't just define new names.
I'd suggest you install gitlint and read the commit style section.
a416594
to
15a1e74
Compare
15a1e74
to
3440499
Compare
3440499
to
acca943
Compare
@Dishti-Oberai Thanks for getting this done; I did a final review before merging just now 🎉 we can look at the reordering and generally tidying the gruvbox styling further if you'd like, as we discussed. I removed the change to gruvbox_dark since it seems OK as it is for now, and also the THEME_ALIASES change, since they are old theme names that we're still keeping working (#648). Note that I also adjusted the commit text style to match the style we use, which is why I suggested installing gitlint previously. |
What does this PR do?
Fixes #1133
https://chat.zulip.org/#narrow/stream/206-zulip-terminal/topic/Gruvbox.20light.20.28Issue.20.23T1133.29
Tested?
Commit flow
Notes & Questions
The gruvbox_dark.py and gruvbox_light.py have been created and themes added. Also, colors_gruvbox.py stores common colors for both the themes (in themes directory). However, the gruvbox_light theme cant be seen in the themes list (have to still look into this). Everything is done as per discussion on CZO
Interactions
Visual changes
The gruvbox_dark theme looks like this (after the changes)
EDIT 1- Now gruvbox_light theme can be seen in the list of themes (Earlier it was being classified as an incomplete theme due to one missing element from styles but this has been resolved now)
EDIT 2- The visual representation of gruvbox_light and gruvbox_dark themes are as follows (since changes for this issue were made in files of these themes only)-
gruvbox_light
gruvbox_dark
PS: Both visuals (gruvbox_light and gruvbox_dark theme) are of hard version