-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Use separate color for primary selection in jetbrains_dark
#12606
base: master
Are you sure you want to change the base?
Use separate color for primary selection in jetbrains_dark
#12606
Conversation
jetbrains_dark
\cc @ynuwenhof what do you think? |
runtime/themes/jetbrains_dark.toml
Outdated
"ui.selection" = { bg = "blue131" } | ||
"ui.selection.primary" = { bg = "blue173" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"ui.selection" = { bg = "blue131" } | |
"ui.selection.primary" = { bg = "blue173" } | |
"ui.selection" = { fg = "black", bg = "blue214" } | |
"ui.selection.primary" = { bg = "blue131" } |
I would probably set ui.selection.primary
to the previous color of ui.selection
and fix the cursor color to align with the original.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
blue214 = "#ced0d6"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ynuwenhof I just tried your suggestion, but that doesn't work out. This way the cursor is not visible at all if there is no selection.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have you added blue214 = "#ced0d6"
to the palette section? I forgot to include that in my code suggestion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, that's why you've added that other comment, I wasn't aware 🙈 Adjusted it accordingly.
Co-authored-by: Yannic Nuwenhof <ynuwenhof@pm.me>
This reverts commit 72d5dc5.
I have tried to use the
jetbrains_dark
theme, and realized that there was no primary selection color set. That caused some issues, e.g. it is not visible which selection is the primary one.