summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Munteanu2018-02-26 08:53:53 -0500
committerRobert Munteanu2018-02-27 04:55:29 -0500
commitf5b873331c1221bef52e976b22d836285a65182c (patch)
tree5e51273809b972d44a3f2753a5303dc97e2d0cb9
parent7c142ec0a96471a20349c35332ac9c3bf0cb8021 (diff)
downloadorg.eclipse.mylyn.tasks-f5b873331c1221bef52e976b22d836285a65182c.tar.gz
org.eclipse.mylyn.tasks-f5b873331c1221bef52e976b22d836285a65182c.tar.xz
org.eclipse.mylyn.tasks-f5b873331c1221bef52e976b22d836285a65182c.zip
531530: [dark] Scheduled tasks appear with dark blue on dark grey when
using the dark theme Change-Id: I737c3f93dee56f721b6e97a2542905bcffd66b22 Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=531530 Signed-off-by: Robert Munteanu <robert.munteanu@gmail.com>
-rw-r--r--org.eclipse.mylyn.tasks.ui/build.properties3
-rw-r--r--org.eclipse.mylyn.tasks.ui/css/e4-dark_mylyn_prefstyle.css10
-rw-r--r--org.eclipse.mylyn.tasks.ui/plugin.xml10
3 files changed, 22 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/build.properties b/org.eclipse.mylyn.tasks.ui/build.properties
index f4d75c7d9..5a69845ad 100644
--- a/org.eclipse.mylyn.tasks.ui/build.properties
+++ b/org.eclipse.mylyn.tasks.ui/build.properties
@@ -11,7 +11,8 @@ bin.includes = about.html,\
icons/,\
doc/,\
META-INF/,\
- plugin.properties
+ plugin.properties,\
+ css/
src.includes = about.html,\
schema/
source.. = src/
diff --git a/org.eclipse.mylyn.tasks.ui/css/e4-dark_mylyn_prefstyle.css b/org.eclipse.mylyn.tasks.ui/css/e4-dark_mylyn_prefstyle.css
new file mode 100644
index 000000000..e06e986cc
--- /dev/null
+++ b/org.eclipse.mylyn.tasks.ui/css/e4-dark_mylyn_prefstyle.css
@@ -0,0 +1,10 @@
+/* See bug 466075 about the pseudo-selector ":org-eclipse-mylyn-tasks-ui" */
+IEclipsePreferences#org-eclipse-ui-workbench:org-eclipse-mylyn-tasks-ui {
+ preferences:
+ 'org.eclipse.mylyn.tasks.ui.colors.foreground.today.scheduled=52,101,164'
+ 'org.eclipse.mylyn.tasks.ui.colors.foreground.past.scheduled=52,101,164'
+ 'org.eclipse.mylyn.tasks.ui.colors.foreground.thisweek.scheduled=85,87,83'
+ 'org.eclipse.mylyn.tasks.ui.colors.foreground.task.active=117,80,123'
+ 'org.eclipse.mylyn.tasks.ui.colors.category.gradient.start=85,87,83'
+ 'org.eclipse.mylyn.tasks.ui.colors.category.gradient.end=136,137,133'
+} \ No newline at end of file
diff --git a/org.eclipse.mylyn.tasks.ui/plugin.xml b/org.eclipse.mylyn.tasks.ui/plugin.xml
index b7b9d6224..c0ccd482b 100644
--- a/org.eclipse.mylyn.tasks.ui/plugin.xml
+++ b/org.eclipse.mylyn.tasks.ui/plugin.xml
@@ -799,6 +799,16 @@
<!-- defaultsTo="org.eclipse.jface.dialogfont"-->
<extension
+ point="org.eclipse.e4.ui.css.swt.theme">
+ <stylesheet
+ uri="css/e4-dark_mylyn_prefstyle.css">
+ <themeid
+ refid="org.eclipse.e4.ui.css.theme.e4_dark">
+ </themeid>
+ </stylesheet>
+ </extension>
+
+ <extension
point="org.eclipse.ui.perspectives">
<perspective
class="org.eclipse.mylyn.internal.tasks.ui.PlanningPerspectiveFactory"