diff --git a/platform/platform-resources/src/themes/metadata/IntelliJPlatform.themeMetadata.json b/platform/platform-resources/src/themes/metadata/IntelliJPlatform.themeMetadata.json index 6b973cac9140..d4c6eec1480d 100644 --- a/platform/platform-resources/src/themes/metadata/IntelliJPlatform.themeMetadata.json +++ b/platform/platform-resources/src/themes/metadata/IntelliJPlatform.themeMetadata.json @@ -76,6 +76,27 @@ { "key": "DebuggerTabs.underlinedTabBackground" }, + { + "key": "Debugger.Variables.collectingDataForeground" + }, + { + "key": "Debugger.Variables.evaluatingExpressionForeground" + }, + { + "key": "Debugger.Variables.modifyingValueForeground" + }, + { + "key": "Debugger.Variables.changedValueForeground" + }, + { + "key": "Debugger.Variables.exceptionForeground" + }, + { + "key": "Debugger.Variables.valueForeground" + }, + { + "key": "Debugger.Variables.errorMessageForeground" + }, { "key": "DefaultTabs.background" }, diff --git a/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/ui/XDebuggerUIConstants.java b/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/ui/XDebuggerUIConstants.java index b3529767f873..1ca52a2a7a76 100644 --- a/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/ui/XDebuggerUIConstants.java +++ b/platform/xdebugger-impl/src/com/intellij/xdebugger/impl/ui/XDebuggerUIConstants.java @@ -1,18 +1,4 @@ -/* - * Copyright 2000-2016 JetBrains s.r.o. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.xdebugger.impl.ui; import com.intellij.icons.AllIcons; @@ -36,13 +22,20 @@ public class XDebuggerUIConstants { public static final Icon ERROR_MESSAGE_ICON = AllIcons.General.Error; public static final Icon INFORMATION_MESSAGE_ICON = AllIcons.General.Information; - public static final SimpleTextAttributes COLLECTING_DATA_HIGHLIGHT_ATTRIBUTES = get(new JBColor(Color.lightGray, Color.lightGray)); - public static final SimpleTextAttributes EVALUATING_EXPRESSION_HIGHLIGHT_ATTRIBUTES = get(new JBColor(Color.lightGray, Color.lightGray)); - public static final SimpleTextAttributes MODIFYING_VALUE_HIGHLIGHT_ATTRIBUTES = get(JBColor.blue); - public static final SimpleTextAttributes CHANGED_VALUE_ATTRIBUTES = get(JBColor.blue); - public static final SimpleTextAttributes EXCEPTION_ATTRIBUTES = get(JBColor.red); - public static final SimpleTextAttributes VALUE_NAME_ATTRIBUTES = get(new JBColor(new Color(128, 0, 0), DarculaColors.RED.brighter())); - public static final SimpleTextAttributes ERROR_MESSAGE_ATTRIBUTES = get(JBColor.red); + public static final SimpleTextAttributes COLLECTING_DATA_HIGHLIGHT_ATTRIBUTES = + get(JBColor.namedColor("Debugger.Variables.collectingDataForeground", new JBColor(Color.lightGray, Color.lightGray))); + public static final SimpleTextAttributes EVALUATING_EXPRESSION_HIGHLIGHT_ATTRIBUTES = + get(JBColor.namedColor("Debugger.Variables.evaluatingExpressionForeground", new JBColor(Color.lightGray, Color.lightGray))); + public static final SimpleTextAttributes MODIFYING_VALUE_HIGHLIGHT_ATTRIBUTES = + get(JBColor.namedColor("Debugger.Variables.modifyingValueForeground", JBColor.blue)); + public static final SimpleTextAttributes CHANGED_VALUE_ATTRIBUTES = + get(JBColor.namedColor("Debugger.Variables.changedValueForeground", JBColor.blue)); + public static final SimpleTextAttributes EXCEPTION_ATTRIBUTES = + get(JBColor.namedColor("Debugger.Variables.exceptionForeground", JBColor.red)); + public static final SimpleTextAttributes VALUE_NAME_ATTRIBUTES = + get(JBColor.namedColor("Debugger.Variables.valueForeground", new JBColor(new Color(128, 0, 0), DarculaColors.RED.brighter()))); + public static final SimpleTextAttributes ERROR_MESSAGE_ATTRIBUTES = + get(JBColor.namedColor("Debugger.Variables.errorMessageForeground", JBColor.red)); @NonNls public static final String EQ_TEXT = " = "; public static final SimpleTextAttributes TYPE_ATTRIBUTES = SimpleTextAttributes.GRAY_ATTRIBUTES;