Repository: spyder-ide/spyder

Issue:
Selection color makes comments not visible
<!--- **PLEASE READ:** When submitting here, please ensure you've completed the following checklist and checked the boxes to confirm. Issue reports without it may be closed. Thanks! --->

### Issue Report Checklist

* [ ] Searched the [issues page](https://github.com/spyder-ide/spyder/issues?q=is%3Aissue) for similar reports
* [ ] Read the relevant sections of the [Spyder Troubleshooting Guide](https://github.com/spyder-ide/spyder/wiki/Troubleshooting-Guide-and-FAQ) and followed its advice
* [ ] Reproduced the issue after updating with ``conda update spyder`` (or ``pip``, if not using Anaconda)
* [ ] Could not reproduce inside ``jupyter qtconsole`` (if console-related)
* [ ] Tried basic troubleshooting (if a bug/error)
    * [ ] Restarted Spyder
    * [ ] Reset preferences with ``spyder --reset``
    * [ ] Reinstalled the latest version of [Anaconda](https://www.anaconda.com/download/)
    * [ ] Tried the other applicable steps from the Troubleshooting Guide
* [ ] Completed the **Problem Description**, **Steps to Reproduce** and **Version** sections below


## Problem Description
![Screen Shot 2020-05-25 at 9 50 15 PM](https://user-images.githubusercontent.com/18587879/82855818-f2f94f80-9ed1-11ea-9ae1-b479f7f1e737.png)

Change the color of selection so that comments are visible when selected. 

### What steps reproduce the problem?

1. 
2. 
3. 

### What is the expected output? What do you see instead?



### Paste Traceback/Error Below (if applicable)
<!--- Copy from error dialog or View > Panes > Internal Console --->

```python-traceback

PASTE TRACEBACK HERE

```

## Versions
<!--- You can get this information from Help > About Spyder...
or (if Spyder won't launch) the "conda list" command
from the Anaconda Prompt/Terminal/command line. --->

* Spyder version: 
* Python version: 
* Qt version: 
* PyQt version: 
* Operating System name/version: 

### Dependencies
<!--- Please go to the menu entry Help > Dependencies,
press the Copy to clipboard button and paste below --->

```
PASTE DEPENDENCIES HERE
```



Discussion:
Thanks @juanis2112 for opening this one! I thought you had forgotten about it.

Please also remember to check if the selection color works well with strings and also check this for all the syntax highlighting themes we support.

Resolving patch:
diff --git a/spyder/config/appearance.py b/spyder/config/appearance.py
--- a/spyder/config/appearance.py
+++ b/spyder/config/appearance.py
@@ -41,7 +41,7 @@
     'emacs/background':  "#000000",
     'emacs/currentline': "#2b2b43",
     'emacs/currentcell': "#1c1c2d",
-    'emacs/occurrence':   "#abab67",
+    'emacs/occurrence':   "#63a4cf",
     'emacs/ctrlclick':   "#0000ff",
     'emacs/sideareas':   "#555555",
     'emacs/matched_p':   "#009800",
@@ -60,7 +60,7 @@
     'idle/background':   "#ffffff",
     'idle/currentline':  "#f2e6f3",
     'idle/currentcell':  "#feefff",
-    'idle/occurrence':    "#e8f2fe",
+    'idle/occurrence':    "#b381b8",
     'idle/ctrlclick':    "#0000ff",
     'idle/sideareas':    "#efefef",
     'idle/matched_p':    "#99ff99",
@@ -79,7 +79,7 @@
     'monokai/background':   "#2a2b24",
     'monokai/currentline':  "#484848",
     'monokai/currentcell':  "#3d3d3d",
-    'monokai/occurrence':    "#666666",
+    'monokai/occurrence':    "#f081dd",
     'monokai/ctrlclick':    "#0000ff",
     'monokai/sideareas':    "#2a2b24",
     'monokai/matched_p':    "#688060",
@@ -155,7 +155,7 @@
     'spyder/dark/background':  "#19232D",
     'spyder/dark/currentline': "#3a424a",
     'spyder/dark/currentcell': "#292d3e",
-    'spyder/dark/occurrence':  "#509ea5",
+    'spyder/dark/occurrence':  "#4734b3",
     'spyder/dark/ctrlclick':   "#179ae0",
     'spyder/dark/sideareas':   "#222b35",
     'spyder/dark/matched_p':   "#0bbe0b",
@@ -193,7 +193,7 @@
     'solarized/light/background':  '#fdf6e3',
     'solarized/light/currentline': '#f5efdB',
     'solarized/light/currentcell': '#eee8d5',
-    'solarized/light/occurrence':  '#afc6cb',
+    'solarized/light/occurrence':  '#9ed2de',
     'solarized/light/ctrlclick':   '#d33682',
     'solarized/light/sideareas':   '#eee8d5',
     'solarized/light/matched_p':   '#d6dabf',
@@ -212,7 +212,7 @@
     'solarized/dark/background':  '#002b36',
     'solarized/dark/currentline': '#083f4d',
     'solarized/dark/currentcell': '#073642',
-    'solarized/dark/occurrence':  '#055064',
+    'solarized/dark/occurrence':  '#180936',
     'solarized/dark/ctrlclick':   '#d33682',
     'solarized/dark/sideareas':   '#073642',
     'solarized/dark/matched_p':   '#586e75',
@@ -250,7 +250,7 @@
     'minimal/background':  "#ffffff",
     'minimal/currentline': "#aaccff",
     'minimal/currentcell': "#E7F1FF",
-    'minimal/occurrence':  "#efefef",
+    'minimal/occurrence':  "#9888b8",
     'minimal/ctrlclick':   "#05314d",
     'minimal/sideareas':   "#aaccff",
     'minimal/matched_p':   "#000000",
@@ -288,7 +288,7 @@
     'notepad++/background':  "#ffffff",
     'notepad++/currentline': "#eeeeee",
     'notepad++/currentcell': "#D9D9D9",
-    'notepad++/occurrence':  "#efefef",
+    'notepad++/occurrence':  "#abbcd9",
     'notepad++/ctrlclick':   "#800080",
     'notepad++/sideareas':   "#eeeeee",
     'notepad++/matched_p':   "#8000ff",
@@ -307,7 +307,7 @@
     'oblivion/background':  "#1e1e1e",
     'oblivion/currentline': "#2a2a2a",
     'oblivion/currentcell': "#323232",
-    'oblivion/occurrence':  "#000000",
+    'oblivion/occurrence':  "#060b47",
     'oblivion/ctrlclick':   "#ccdf32",
     'oblivion/sideareas':   "#2a2a2a",
     'oblivion/matched_p':   "#de7878",
@@ -326,7 +326,7 @@
     'obsidian/background':  "#293134",
     'obsidian/currentline': "#2f393c",
     'obsidian/currentcell': "#3C4346",
-    'obsidian/occurrence':  "#616161",
+    'obsidian/occurrence':  "#e0de43",
     'obsidian/ctrlclick':   "#7d8c93",
     'obsidian/sideareas':   "#2f393c",
     'obsidian/matched_p':   "#3672b5",
@@ -345,7 +345,7 @@
     'pastel/background':  "#1f2223",
     'pastel/currentline': "#2f393c",
     'pastel/currentcell': "#454849",
-    'pastel/occurrence':  "#616161",
+    'pastel/occurrence':  "#edcd79",
     'pastel/ctrlclick':   "#7d8c93",
     'pastel/sideareas':   "#2f393c",
     'pastel/matched_p':   "#3672b5",
@@ -402,7 +402,7 @@
     'sublime-monokai/extended/background':  "#222222",
     'sublime-monokai/extended/currentline': "#2f2f2f",
     'sublime-monokai/extended/currentcell': "#363636",
-    'sublime-monokai/extended/occurrence':  "#000000",
+    'sublime-monokai/extended/occurrence':  "#f081dd",
     'sublime-monokai/extended/ctrlclick':   "#ffffff",
     'sublime-monokai/extended/sideareas':   "#2f2f2f",
     'sublime-monokai/extended/matched_p':   "#679116",
@@ -421,7 +421,7 @@
     'vibrant-ink/background':  "#191919",
     'vibrant-ink/currentline': "#222220",
     'vibrant-ink/currentcell': "#2D2D2D",
-    'vibrant-ink/occurrence':  "#616161",
+    'vibrant-ink/occurrence':  "#d97a43",
     'vibrant-ink/ctrlclick':   "#8c3fc8",
     'vibrant-ink/sideareas':   "#222220",
     'vibrant-ink/matched_p':   "#598c19",
diff --git a/spyder/config/main.py b/spyder/config/main.py
--- a/spyder/config/main.py
+++ b/spyder/config/main.py
@@ -625,4 +625,4 @@
 #    or if you want to *rename* options, then you need to do a MAJOR update in
 #    version, e.g. from 3.0.0 to 4.0.0
 # 3. You don't need to touch this value if you're just adding a new option
-CONF_VERSION = '57.3.0'
+CONF_VERSION = '57.4.0'


Test patch: