theme-darcula icon indicating copy to clipboard operation
theme-darcula copied to clipboard

coloring `%` in cell magics

Open ianhi opened this issue 5 years ago • 2 comments

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

ianhi avatar Aug 05 '20 20:08 ianhi

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 avatar Jan 31 '21 01:01 telamonian

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.

adhadse avatar Mar 14 '22 00:03 adhadse