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

Bad contrast with highlighted or selected text in Kotlin #82

Open
bomgar opened this issue Jun 5, 2023 · 2 comments
Open

Bad contrast with highlighted or selected text in Kotlin #82

bomgar opened this issue Jun 5, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@bomgar
Copy link

bomgar commented Jun 5, 2023

Text selection affects named arguments, unused functions and comments.
2023-06-05-173331_629x523_scrot

Highlight under cursor affects unused things.
2023-06-05-173526_295x100_scrot

@bomgar bomgar changed the title Bad contrast with highlighted unused funtions in Kotlin Bad contrast with highlighted or selected unused funtions in Kotlin Jun 5, 2023
@bomgar
Copy link
Author

bomgar commented Jun 5, 2023

data class Test(
    val x: Long,
    val y: Long,
)

fun main(args: List<String>) {

    // TEST
    used()
    Test(
        x =1,
        y =2,

    )
}


fun unused() {
}

fun used() {
}

@bomgar bomgar changed the title Bad contrast with highlighted or selected unused funtions in Kotlin Bad contrast with highlighted or selected text in Kotlin Jun 5, 2023
@bomgar
Copy link
Author

bomgar commented Jun 5, 2023

I guess this is because the recommended selection color by the dracula palette is already used by the current line. But the brighter color for selection does not work well with the rest.

@WhiteVermouth WhiteVermouth added the bug Something isn't working label Jul 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants