Skip to content

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

Description

@Wannabeasmartguy

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions