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

Theme problem: Focused selection always ends up with background #d7d4f0 #14737

Closed
jans-code opened this issue Jun 22, 2023 · 2 comments · Fixed by #14841
Closed

Theme problem: Focused selection always ends up with background #d7d4f0 #14737

jans-code opened this issue Jun 22, 2023 · 2 comments · Fixed by #14841
Labels
bug tag:CSS For general CSS related issues and pecadilloes

Comments

@jans-code
Copy link
Contributor

Description

No matter what theme I chose (even the official dark theme), when I select an area of text inside a notebook or the editor of the lab the selected text always ends up being #d7d4f0. I tried all sorts of css classes i could grasp but I am not able to change the background color of selected text that is focused. Is it only me experiencing this?

Reproduce

Open a notebook or txt-file in jupyterlab, select some text.

Expected behavior

Color changes to whatever is set in theme css variable --jp-editor-selected-focused-background

@jans-code jans-code added the bug label Jun 22, 2023
@jupyterlab-probot jupyterlab-probot bot added the status:Needs Triage Applied to new issues that need triage label Jun 22, 2023
@welcome
Copy link

welcome bot commented Jun 22, 2023

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@jans-code
Copy link
Contributor Author

So apparently this selector works:

.ͼ2.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug tag:CSS For general CSS related issues and pecadilloes
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants