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

coloring % in cell magics #17

Open
ianhi opened this issue Aug 5, 2020 · 2 comments
Open

coloring % in cell magics #17

ianhi opened this issue Aug 5, 2020 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@ianhi
Copy link
Contributor

ianhi commented Aug 5, 2020

The % symbols used in cell magics are not colored in this theme:
image
vs in the default dark mode:
image

I'm not sure if this is a missing style or more of an aesthetic choice so feel free to close

@telamonian
Copy link
Owner

eh. I guess it would be nicer to have some contrast on the percent signs. Do you happen to know which css variable in a theme controls the percent sign color?

@telamonian telamonian added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Jan 31, 2021
@adhadse
Copy link

adhadse commented Mar 14, 2022

Well the thing is that will require changing the color of all operators:

.cm-s-jupyter span.cm-operator {
    color: var(--jp-mirror-editor-operator-color);
    font-weight: bold;
}

Darcula doesn't uses any operator-color by-the-way so unless you just want color for magic function call operator (unreasonable) we shouldn't color it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants