gruvbox-intellij-theme icon indicating copy to clipboard operation
gruvbox-intellij-theme copied to clipboard

Color scheme in Kotlin is botched

Open RomeuG opened this issue 3 years ago • 10 comments

This plugin is pretty great, since it provides the gruvbox color scheme to the whole IDE. But unfortunately, when using Kotlin, the color scheme seems botched, not conveying the beauty of the theme.

  1. Common keywords referring to function declaration (fun, override, suspend, etc) are in orange when, IMO, they should be in gruvbox red.

  2. When defining the value of function parameters, the color is a blue that is not even part of gruvbox: image

What do you think?

RomeuG avatar Oct 19 '20 21:10 RomeuG

Hello, Keywords should be red, maybe you have conflicts with other themes? Blue should be Gruvbox blue indeed.

Vincent-P avatar Nov 18 '20 11:11 Vincent-P

Hey!

Well, about the blue, it is not gruvbox blue, correct me if I am wrong. The blue in that image is #467CDA' which does not exist in the color scheme.

image

The keywords weren't red because they were inherited from Java Keyword color, which is Orange "#CC7832".

But you are correct, these values don't even exist in this repository. How can I detect conflicts with other themes? Because I am not using anything else, nor I installed any other themes.

RomeuG avatar Nov 18 '20 12:11 RomeuG

The keywords should be red, do you have other themes installed or enabled? image

I fixed the blue color this morning in https://github.com/Vincent-P/gruvbox-intellij-theme/commit/1ad416308a62826c95f615c373841422e334dcc0, the update will be released soon in the marketplace.

Vincent-P avatar Nov 18 '20 13:11 Vincent-P

Hey, thanks for the update!

Well, I have these installed:

image

Only 1 theme.

This seems to be some conflict here, because uninstalling and installing does not fix anything.. After reinstalling this is what appears in the Kotlin color Scheme:

image

RomeuG avatar Nov 18 '20 13:11 RomeuG

Maybe you have local changes, can you click on the gear icon and "Reset Defaults"?

Vincent-P avatar Nov 18 '20 13:11 Vincent-P

Yeah, just did that, unfortunately colors are still messed up :-S I'll just change them myself. I'll try to deal with this later.

Thanks!

RomeuG avatar Nov 18 '20 14:11 RomeuG

I had the same issue. For some reason the Java keyword color wasn't inherited from language defaults, so all I had to do was check that checkbox. Not sure why it was unchecked.

sid-6581 avatar Dec 01 '20 16:12 sid-6581

I came here to report this, but it only happens in Android Studio for me, not in IntelliJ Ultimate. It might be related to Android Studio in that case.

GabCM avatar Feb 24 '21 15:02 GabCM

I had the same issue. For some reason the Java keyword color wasn't inherited from language defaults, so all I had to do was check that checkbox. Not sure why it was unchecked.

Doing that for each inheritable color values was what fixed it for me, in both Java and Kotlin. Thanks!

GabCM avatar Feb 24 '21 16:02 GabCM

The problem also applies to the Go language in Goland, and the same fix can be applies on there as well.

GabCM avatar May 15 '21 17:05 GabCM