mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IJPL-191242 Island Dark Theme: Inconsistent highlighting for Registry options in Search Everywhere
GitOrigin-RevId: 2f80751c0f55ea17f761b86f5e396b0e0c6e9dde
This commit is contained in:
committed by
intellij-monorepo-bot
parent
1d970243d5
commit
052e5c08bc
@@ -742,13 +742,7 @@ public final class GotoActionModel implements ChooseByNameModel, Comparator<Obje
|
||||
}
|
||||
else if (value instanceof OptionDescription) {
|
||||
if (!isSelected && !(value instanceof BooleanOptionDescription)) {
|
||||
Color descriptorBg;
|
||||
if (StartupUiUtil.isUnderDarcula()) {
|
||||
descriptorBg = ColorUtil.brighter(UIUtil.getListBackground(), 1);
|
||||
}
|
||||
else {
|
||||
descriptorBg = JBUI.CurrentTheme.BigPopup.LIST_SETTINGS_BACKGROUND;
|
||||
}
|
||||
Color descriptorBg = JBUI.CurrentTheme.BigPopup.LIST_SETTINGS_BACKGROUND;
|
||||
panel.setBackground(descriptorBg);
|
||||
nameComponent.setBackground(descriptorBg);
|
||||
}
|
||||
|
||||
@@ -559,7 +559,8 @@
|
||||
"SearchField.borderColor": "#646464",
|
||||
"SearchField.infoForeground": "#808080",
|
||||
"Tab.selectedBackground": "#555a5e",
|
||||
"Tab.selectedForeground": "#bbbbbb"
|
||||
"Tab.selectedForeground": "#bbbbbb",
|
||||
"List.settingsBackground": "#424548"
|
||||
},
|
||||
|
||||
"Separator": {
|
||||
|
||||
@@ -558,7 +558,7 @@
|
||||
},
|
||||
|
||||
"SearchEverywhere": {
|
||||
"List.settingsBackground": "Gray8",
|
||||
"List.settingsBackground": "Gray3",
|
||||
"Tab": {
|
||||
"selectedBackground": "Blue2",
|
||||
"selectedForeground": "Gray14"
|
||||
|
||||
@@ -276,7 +276,8 @@
|
||||
|
||||
"SearchEverywhere": {
|
||||
"Header.insets": "2,4,0,9",
|
||||
"Advertiser.foreground": "#868a91"
|
||||
"Advertiser.foreground": "#868a91",
|
||||
"List.settingsBackground": "PopupBackground"
|
||||
},
|
||||
|
||||
"Button": {
|
||||
|
||||
@@ -194,7 +194,10 @@
|
||||
}
|
||||
},
|
||||
|
||||
"SearchEverywhere.Header.insets": "2,4,0,9",
|
||||
"SearchEverywhere": {
|
||||
"Header.insets": "2,4,0,9",
|
||||
"List.settingsBackground": "PopupBackground"
|
||||
},
|
||||
|
||||
"HelpBrowser.UserMessage.background": "#EDEEF2",
|
||||
|
||||
|
||||
+1
-9
@@ -18,7 +18,6 @@ import com.intellij.platform.searchEverywhere.SeRunnableActionItemPresentation
|
||||
import com.intellij.platform.searchEverywhere.frontend.ui.SeResultListItemRow
|
||||
import com.intellij.platform.searchEverywhere.frontend.ui.SeResultListRow
|
||||
import com.intellij.platform.searchEverywhere.frontend.ui.weightTextIfEnabled
|
||||
import com.intellij.ui.ColorUtil
|
||||
import com.intellij.ui.HtmlToSimpleColoredComponentConverter
|
||||
import com.intellij.ui.JBColor
|
||||
import com.intellij.ui.SimpleColoredComponent
|
||||
@@ -28,7 +27,6 @@ import com.intellij.ui.dsl.listCellRenderer.listCellRenderer
|
||||
import com.intellij.ui.render.IconCompOptionalCompPanel
|
||||
import com.intellij.ui.speedSearch.SpeedSearchUtil
|
||||
import com.intellij.util.ui.*
|
||||
import com.intellij.util.ui.StartupUiUtil.isUnderDarcula
|
||||
import org.jetbrains.annotations.ApiStatus.Internal
|
||||
import java.awt.Color
|
||||
import java.awt.Font
|
||||
@@ -116,13 +114,7 @@ class SeActionItemPresentationRenderer(private val resultsList: JList<SeResultLi
|
||||
|
||||
is SeOptionActionItemPresentation -> {
|
||||
if (!presentation.isBooleanOption && switcherState == null) {
|
||||
val descriptorBg = if (isUnderDarcula) {
|
||||
ColorUtil.brighter(UIUtil.getListBackground(), 1)
|
||||
}
|
||||
else {
|
||||
JBUI.CurrentTheme.BigPopup.LIST_SETTINGS_BACKGROUND
|
||||
}
|
||||
background = descriptorBg
|
||||
background = JBUI.CurrentTheme.BigPopup.LIST_SETTINGS_BACKGROUND
|
||||
}
|
||||
|
||||
if (showIcon) {
|
||||
|
||||
Reference in New Issue
Block a user