0

It's clear that the selection is for readability, but it seems too glaring to me.

A set of themes for Jupyter

How can I edit the configuration and change the transparency or the color of the selected area (blue) or invert the selection to the bracket, or completely remove it? In css syntax I do not understand at all.

enter image description here

1 Answer 1

2

The CSS selector for matching brackets is div.CodeMirror span.CodeMirror-matchingbracket

So, you can change the colour of the bracket itself and the background colour of the bracket by putting the following code into your custom.css file (~/.jupyter/custom/custom.css)

div.CodeMirror span.CodeMirror-matchingbracket {
    color: #INSERT-YOUR-DESIRED-BRACKET-COLOUR-HERE ;
    background-color: #INSERT-YOUR-DESIRED-BRACKET-BACKGROUND-COLOUR-HERE ;
}
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.