From be9cc2e91b0ca5e6975bc037a3facdceefd855cc Mon Sep 17 00:00:00 2001 From: Denis Zharkov Date: Wed, 27 May 2015 14:40:49 +0300 Subject: [PATCH] Change color scheme for annotations Use same color as for modifiers, but with plain font type --- .../kotlin/idea/highlighter/JetHighlightingColors.java | 2 +- idea/resources/colorScheme/Darcula_Kotlin.xml | 6 ++++++ idea/resources/colorScheme/Default_Kotlin.xml | 6 ++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/idea/idea-analysis/src/org/jetbrains/kotlin/idea/highlighter/JetHighlightingColors.java b/idea/idea-analysis/src/org/jetbrains/kotlin/idea/highlighter/JetHighlightingColors.java index 4709e8e514e..62b237cf779 100644 --- a/idea/idea-analysis/src/org/jetbrains/kotlin/idea/highlighter/JetHighlightingColors.java +++ b/idea/idea-analysis/src/org/jetbrains/kotlin/idea/highlighter/JetHighlightingColors.java @@ -53,7 +53,7 @@ public class JetHighlightingColors { public static final TextAttributesKey TYPE_PARAMETER = createTextAttributesKey("KOTLIN_TYPE_PARAMETER", CodeInsightColors.TYPE_PARAMETER_NAME_ATTRIBUTES); public static final TextAttributesKey ABSTRACT_CLASS = createTextAttributesKey("KOTLIN_ABSTRACT_CLASS", CodeInsightColors.ABSTRACT_CLASS_NAME_ATTRIBUTES); public static final TextAttributesKey TRAIT = createTextAttributesKey("KOTLIN_TRAIT", CodeInsightColors.INTERFACE_NAME_ATTRIBUTES); - public static final TextAttributesKey ANNOTATION = createTextAttributesKey("KOTLIN_ANNOTATION", CodeInsightColors.ANNOTATION_NAME_ATTRIBUTES); + public static final TextAttributesKey ANNOTATION = createTextAttributesKey("KOTLIN_ANNOTATION"); public static final TextAttributesKey OBJECT = createTextAttributesKey("KOTLIN_OBJECT", CLASS); // variable kinds diff --git a/idea/resources/colorScheme/Darcula_Kotlin.xml b/idea/resources/colorScheme/Darcula_Kotlin.xml index 79741151794..48aac225395 100644 --- a/idea/resources/colorScheme/Darcula_Kotlin.xml +++ b/idea/resources/colorScheme/Darcula_Kotlin.xml @@ -56,4 +56,10 @@ + diff --git a/idea/resources/colorScheme/Default_Kotlin.xml b/idea/resources/colorScheme/Default_Kotlin.xml index db7419810d2..704b32e569b 100644 --- a/idea/resources/colorScheme/Default_Kotlin.xml +++ b/idea/resources/colorScheme/Default_Kotlin.xml @@ -56,4 +56,10 @@ +