-
Notifications
You must be signed in to change notification settings - Fork 133
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
Use a more noticeable color for highlight words in fenced code (#2051) #2394
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2394 +/- ##
=======================================
Coverage 48.87% 48.87%
=======================================
Files 124 124
Lines 5238 5238
Branches 1109 1109
=======================================
Hits 2560 2560
Misses 2371 2371
Partials 307 307 ☔ View full report in Codecov by Sentry. |
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.
Thanks for the work @Tim-Siu!
Could you also update the css file for the docs and the templates as well? Otherwise, it is not reflected in these files.
Also, I'm looking at the code block right now and it doesn't look very nice.
What I actually meant with my comment was to change it a darker color like #000000.
Could we change it to use #000000 instead?
Hi Yucheng, I apologize for any confusion regarding your earlier request. I have now revised the highlight color in the code block to pure black (#000000), as per your specification. Regarding the update of the CSS files for the documentation and templates, I would like to clarify the process. My understanding is that the CSS files within the |
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.
Hi @Tim-Siu sorry for my previous comment! Yes you are right, there should be no change needed anymore. Thanks for the work on the PR!
LGTM
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.
Sorry for the oversight and thank you for pointing it out! As there is no local control for the code theme in Markbind, I updated the screenshot used in the UG. I updated the PR description as well. |
Pinging @damithc for opinions on the visual change. |
I'm OK with it 👍 |
What is the purpose of this pull request?
Overview of changes:
Resolves #2051
The highlighting color for fenced code block in dark theme is changed to from grey 474949 to complete dark 000000.
Citing @yucheng11122017
Anything you'd like to highlight/discuss:
Testing instructions:
Proposed commit message: (wrap lines at 72 characters)
Use a more noticeable color for highlight words in fenced code under dark theme
Checklist: ☑️
Reviewer checklist:
Indicate the SEMVER impact of the PR:
At the end of the review, please label the PR with the appropriate label:
r.Major
,r.Minor
,r.Patch
.Breaking change release note preparation (if applicable):