Skip to content

fix: pre > code font color - #163

Merged
satnaing merged 2 commits into
satnaing:mainfrom
nomango:main
Dec 12, 2023
Merged

fix: pre > code font color#163
satnaing merged 2 commits into
satnaing:mainfrom
nomango:main

Conversation

@nomango

@nomango nomango commented Oct 27, 2023

Copy link
Copy Markdown
Contributor

fix #162

Seems like the style has been fixed and there is no breaking change.

Co-authored-by: Nomango <nomango@qq.com>
Co-authored-by: shuaixr <1025sxr@gmail.com>
@shuaixr

shuaixr commented Oct 27, 2023

Copy link
Copy Markdown
Contributor

The changes in this PR don't seem to have solved the problem... In my tests, the background colors for all characters in the code blocks have turned gray.

@nomango

nomango commented Oct 27, 2023

Copy link
Copy Markdown
Contributor Author

@shuaixr I haven't tested it completely. But it works fine on my blog.

image
image

Update theme extend to include other properties like textColor etc, to clarify confusion.
@satnaing
satnaing merged commit 64b3a28 into satnaing:main Dec 12, 2023
@satnaing

Copy link
Copy Markdown
Owner

Thanks for your PR.

qwaxgo pushed a commit to qwaxgo/qwaxgo-astro-template that referenced this pull request Apr 29, 2025
* fix: pre > code font color

Co-authored-by: Nomango <nomango@qq.com>
Co-authored-by: shuaixr <1025sxr@gmail.com>

* refactor: extend other css properties besides typography

Update theme extend to include other properties like textColor etc, to clarify confusion.

---------

Co-authored-by: shuaixr <1025sxr@gmail.com>
Co-authored-by: Sat Naing <satnaingdev@gmail.com>
saga pushed a commit to devweekly/devweekly.github.io that referenced this pull request Jul 24, 2026
* fix: pre > code font color

Co-authored-by: Nomango <nomango@qq.com>
Co-authored-by: shuaixr <1025sxr@gmail.com>

* refactor: extend other css properties besides typography

Update theme extend to include other properties like textColor etc, to clarify confusion.

---------

Co-authored-by: shuaixr <1025sxr@gmail.com>
Co-authored-by: Sat Naing <satnaingdev@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect font color in code blocks without specified language

3 participants