Skip to content
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

Code block can't correctly display python variable color #166

Open
Wannabeasmartguy opened this issue Jun 19, 2024 · 0 comments
Open

Code block can't correctly display python variable color #166

Wannabeasmartguy opened this issue Jun 19, 2024 · 0 comments

Comments

@Wannabeasmartguy
Copy link

Hello! Things is the best theme I've ever used! However, during my usage, there's a problem(or feature?) border me a lot:

When I'm in edit mode, things correctly renders the corresponding colors of variables, entities, and functions in python.

image

But when in reading view, they all turn red.

image

I've located the code block below, but I'm not sure how I should modify it, as I only know a little bit about css, but am not familiar with it.

code[class*='language-'],
.token.selector,
.cm-tag,
.token.dom.variable,
.token.tag,
.cm-def,
.token.parameter,
.cm-property,
.cm-qualifier {
  color: var(--atom-red);
}

If you give me a suggestion, that could be of help!

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

No branches or pull requests

1 participant