diff options
author | Simon Bernard | 2014-05-07 17:00:21 +0000 |
---|---|---|
committer | Simon Bernard | 2014-05-19 13:55:26 +0000 |
commit | 72fbee5d366316ecd973a6d0dc637e9404ce93a0 (patch) | |
tree | f608a1d4c5e61f32589c02d6b0e0917a30eed09c | |
parent | 009efda0e666439ca6e933709ccec7d9402a8367 (diff) | |
download | org.eclipse.ldt-72fbee5d366316ecd973a6d0dc637e9404ce93a0.tar.gz org.eclipse.ldt-72fbee5d366316ecd973a6d0dc637e9404ce93a0.tar.xz org.eclipse.ldt-72fbee5d366316ecd973a6d0dc637e9404ce93a0.zip |
bug 433607: [CSS] handle eclipse dark theme.
3 files changed, 37 insertions, 1 deletions
diff --git a/plugins/org.eclipse.koneki.ldt.ui/build.properties b/plugins/org.eclipse.koneki.ldt.ui/build.properties index 82c6836..6b2e6a8 100644 --- a/plugins/org.eclipse.koneki.ldt.ui/build.properties +++ b/plugins/org.eclipse.koneki.ldt.ui/build.properties @@ -20,7 +20,8 @@ bin.includes = META-INF/,\ build.properties,\ sample/,\ templates/,\ - resources/ + resources/,\ + css/ src.includes = icons/ javacProjectSettings = true javacDefaultEncoding.. = UTF-8 diff --git a/plugins/org.eclipse.koneki.ldt.ui/css/e4-dark_ldt_syntaxhighlighing.css b/plugins/org.eclipse.koneki.ldt.ui/css/e4-dark_ldt_syntaxhighlighing.css new file mode 100644 index 0000000..034e94a --- /dev/null +++ b/plugins/org.eclipse.koneki.ldt.ui/css/e4-dark_ldt_syntaxhighlighing.css @@ -0,0 +1,26 @@ +/******************************************************************************* +* Copyright (c) 2009, 2011 Sierra Wireless 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: +* Sierra Wireless - initial API and implementation + *******************************************************************************/ + +IEclipsePreferences#org-eclipse-koneki-ldt-ui { + preferences: + 'sourceHoverBackgroundColor=255,255,225' + 'DLTK_single_line_comment=98,98,98' + 'DLTK_multi_line_comment=98,98,98' + 'variable.global=167,236,33' + 'DLTK_string=23,198,163' + 'DLTK_keyword=221,40,103' + 'DLTK_number=104,151,187' + 'DLTK_doc=98,98,98' + 'variable.local=255,191,38' + 'DLTK_comment_task_tag=154,140,124' + 'luadoc.tags=154,140,124' + 'DLTK_default=191,191,191' +}
\ No newline at end of file diff --git a/plugins/org.eclipse.koneki.ldt.ui/plugin.xml b/plugins/org.eclipse.koneki.ldt.ui/plugin.xml index 36b848c..e11c64c 100644 --- a/plugins/org.eclipse.koneki.ldt.ui/plugin.xml +++ b/plugins/org.eclipse.koneki.ldt.ui/plugin.xml @@ -552,4 +552,13 @@ sequence="M1+M3+R"> </key> </extension> + <extension + point="org.eclipse.e4.ui.css.swt.theme"> + <stylesheet + uri="css/e4-dark_ldt_syntaxhighlighing.css"> + <themeid + refid="org.eclipse.e4.ui.css.theme.e4_dark"> + </themeid> + </stylesheet> + </extension> </plugin> |