diff options
author | Kaloyan Raev | 2015-06-30 13:22:04 +0000 |
---|---|---|
committer | Kaloyan Raev | 2015-07-09 08:13:50 +0000 |
commit | fd39976daab969124eac2b921bbb4c7047eec28c (patch) | |
tree | 196dd3b64144a0545f104fc05dcf6cdfe5cea935 | |
parent | 38eb6deed907ca8c56e6df6cec9a1d832e29eb52 (diff) | |
download | eclipse.platform-fd39976daab969124eac2b921bbb4c7047eec28c.tar.gz eclipse.platform-fd39976daab969124eac2b921bbb4c7047eec28c.tar.xz eclipse.platform-fd39976daab969124eac2b921bbb4c7047eec28c.zip |
Bug 471433 - Dark theme is not applied for Ant editor and console output
Change-Id: Ic3e5eaa51158fb23bedb37f3c06a7f43b5517bf5
Signed-off-by: Kaloyan Raev <kaloyan.r@zend.com>
-rw-r--r-- | ant/org.eclipse.ant.ui/build.properties | 6 | ||||
-rw-r--r-- | ant/org.eclipse.ant.ui/css/e4-dark_ant_prefstyle.css | 26 | ||||
-rw-r--r-- | ant/org.eclipse.ant.ui/plugin.xml | 13 |
3 files changed, 41 insertions, 4 deletions
diff --git a/ant/org.eclipse.ant.ui/build.properties b/ant/org.eclipse.ant.ui/build.properties index 2715fd138..5e71279d4 100644 --- a/ant/org.eclipse.ant.ui/build.properties +++ b/ant/org.eclipse.ant.ui/build.properties @@ -1,5 +1,5 @@ ############################################################################### -# Copyright (c) 2000, 2013 IBM Corporation and others. +# Copyright (c) 2000, 2015 IBM Corporation and others. # All rights reserved. This program and the accompanying materials # are made available under the terms of the Eclipse Public License v1.0 # which accompanies this distribution, and is available at @@ -7,6 +7,7 @@ # # Contributors: # IBM Corporation - initial API and implementation +# Kaloyan Raev <kaloyan.r@zend.com> - Bug 471433 ############################################################################### source.. = Ant Tools Support/,\ Ant Editor/ @@ -25,6 +26,7 @@ bin.includes = icons/,\ META-INF/,\ about_files/,\ lib/antrunner.jar,\ - lib/remoteAnt.jar + lib/remoteAnt.jar,\ + css/ jars.compile.order=.,lib/antrunner.jar,lib/remoteAnt.jar javacWarnings..=-unavoidableGenericProblems diff --git a/ant/org.eclipse.ant.ui/css/e4-dark_ant_prefstyle.css b/ant/org.eclipse.ant.ui/css/e4-dark_ant_prefstyle.css new file mode 100644 index 000000000..c74f6b898 --- /dev/null +++ b/ant/org.eclipse.ant.ui/css/e4-dark_ant_prefstyle.css @@ -0,0 +1,26 @@ +/*******************************************************************************
+ * Copyright (c) 2015 Zend Technologies Ltd and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Kaloyan Raev <kaloyan.r@zend.com> - initial API and implementation
+ *******************************************************************************/
+
+IEclipsePreferences#org-eclipse-ant-ui {
+ preferences:
+ 'org.eclipse.ant.ui.commentsColor=98,98,98'
+ 'org.eclipse.ant.ui.constantStringsColor=23,198,163'
+ 'org.eclipse.ant.ui.constantStringsColor_italic=true'
+ 'org.eclipse.ant.ui.dtdColor=140,210,20'
+ 'org.eclipse.ant.ui.processingInstructionsColor=221,40,103'
+ 'org.eclipse.ant.ui.processingInstructionsColor_bold=true'
+ 'org.eclipse.ant.ui.tagsColor=38,139,210'
+ 'org.eclipse.ant.ui.tagsColor_bold=true'
+ 'org.eclipse.ant.ui.textColor=217,232,247'
+ 'org.eclipse.ant.ui.debugColor=235,235,235'
+ 'org.eclipse.ant.ui.errorColor=225,30,70'
+ 'org.eclipse.ant.ui.informationColor=140,175,210'
+}
diff --git a/ant/org.eclipse.ant.ui/plugin.xml b/ant/org.eclipse.ant.ui/plugin.xml index 670357cb7..2a7e76913 100644 --- a/ant/org.eclipse.ant.ui/plugin.xml +++ b/ant/org.eclipse.ant.ui/plugin.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> <?eclipse version="3.0"?> <!-- - Copyright (c) 2005, 2012 IBM Corporation and others. + Copyright (c) 2005, 2015 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at @@ -9,6 +9,7 @@ Contributors: IBM Corporation - initial API and implementation + Kaloyan Raev <kaloyan.r@zend.com> - Bug 471433 --> <plugin> @@ -894,5 +895,13 @@ M4 = Platform-specific fourth key --> </with> </activeWhen> </handler> - </extension> + </extension> + + <!-- dark theme defaults --> + <extension + point="org.eclipse.e4.ui.css.swt.theme"> + <stylesheet uri="css/e4-dark_ant_prefstyle.css"> + <themeid refid="org.eclipse.e4.ui.css.theme.e4_dark"></themeid> + </stylesheet> + </extension> </plugin> |