From b1915231b4d229f24c099f0672cbab7185ab521b Mon Sep 17 00:00:00 2001
From: Christian Kamm <christian.d.kamm@nokia.com>
Date: Fri, 21 Oct 2011 09:39:49 +0200
Subject: [PATCH] QmlJS: Fix black-on-black text with dark color schemes.

Change-Id: Ie0eacf9677abe23e28eaa7b9491e6a21ea4f7dfc
Reviewed-by: Leandro T. C. Melo <leandro.melo@nokia.com>
---
 share/qtcreator/styles/darkvim.xml | 11 +++++++++++
 share/qtcreator/styles/inkpot.xml  | 11 +++++++++++
 2 files changed, 22 insertions(+)

diff --git a/share/qtcreator/styles/darkvim.xml b/share/qtcreator/styles/darkvim.xml
index e6ae93bb0fd..afe1d939424 100644
--- a/share/qtcreator/styles/darkvim.xml
+++ b/share/qtcreator/styles/darkvim.xml
@@ -33,4 +33,15 @@
   <style name="Text" foreground="#aaaaaa" background="#000000"/>
   <style name="Type" foreground="#55ff55"/>
   <style name="VirtualMethod" italic="true"/>
+  <style name="QmlTypeId" foreground="#55ff55"/>
+  <style name="Binding" foreground="#ff5555"/>
+  <style name="QmlLocalId" italic="true"/>
+  <style name="QmlRootObjectProperty" italic="true"/>
+  <style name="QmlScopeObjectProperty" italic="true"/>
+  <style name="QmlStateName" italic="true"/>
+  <style name="QmlExternalId" foreground="#aaaaff" italic="true"/>
+  <style name="QmlExternalObjectProperty" foreground="#aaaaff" italic="true"/>
+  <style name="JsScopeVar" foreground="#8888ff" italic="true"/>
+  <style name="JsImportVar" foreground="#8888ff" italic="true"/>
+  <style name="JsGlobalVar" foreground="#8888ff" italic="true"/>
 </style-scheme>
diff --git a/share/qtcreator/styles/inkpot.xml b/share/qtcreator/styles/inkpot.xml
index f4e61475917..c2da8e5c901 100644
--- a/share/qtcreator/styles/inkpot.xml
+++ b/share/qtcreator/styles/inkpot.xml
@@ -41,4 +41,15 @@
   <style name="Type" foreground="#ff8bff"/>
   <style name="VirtualMethod" italic="true"/>
   <style name="VisualWhitespace" foreground="#646482"/>
+  <style name="QmlTypeId" foreground="#ff8bff"/>
+  <style name="Binding" foreground="#ff5555"/>
+  <style name="QmlLocalId" italic="true"/>
+  <style name="QmlRootObjectProperty" italic="true"/>
+  <style name="QmlScopeObjectProperty" italic="true"/>
+  <style name="QmlStateName" italic="true"/>
+  <style name="QmlExternalId" foreground="#aaaaff" italic="true"/>
+  <style name="QmlExternalObjectProperty" foreground="#aaaaff" italic="true"/>
+  <style name="JsScopeVar" foreground="#8888ff" italic="true"/>
+  <style name="JsImportVar" foreground="#8888ff" italic="true"/>
+  <style name="JsGlobalVar" foreground="#8888ff" italic="true"/>
 </style-scheme>
-- 
GitLab