Skip to content

Commit

Permalink
Bug 433605 - [CSS] [dark theme] Provide reasonable JDT defaults for s…
Browse files Browse the repository at this point in the history
…yntax color in the dark theme

Change-Id: I3e0c961531272abe668b2a5f629da4727e8ccefd
Signed-off-by: Lars Vogel <[email protected]>
  • Loading branch information
vogella authored and dmegert committed May 21, 2014
1 parent cd8d58c commit 5a730c1
Show file tree
Hide file tree
Showing 3 changed files with 103 additions and 1 deletion.
3 changes: 2 additions & 1 deletion org.eclipse.jdt.ui/build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ bin.includes = plugin.xml,\
META-INF/,\
dictionaries/,\
about_files/,\
jar-in-jar-loader.zip
jar-in-jar-loader.zip,\
css/
src.includes = about.html,\
schema/,\
dictionaries/,\
Expand Down
92 changes: 92 additions & 0 deletions org.eclipse.jdt.ui/css/e4-dark_jdt_syntaxhighlighing.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
/*******************************************************************************
* Copyright (c) 2014 Lars Vogel 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:
* Lars Vogel <[email protected]> - initial API and implementation
* Andrea Guarinoni <[email protected]> - intial color schema definition
*******************************************************************************/

/* ############################## JDT syntax hightligthing ############################## */

IEclipsePreferences#org-eclipse-jdt-ui {
preferences:
'content_assist_completion_replacement_background=200,200,0'
'content_assist_completion_replacement_foreground=200,0,0'
'content_assist_parameters_background=52,57,61'
'content_assist_parameters_foreground=238,238,238'
'content_assist_proposals_background=52,57,61'
'content_assist_proposals_foreground=238,238,238'
'java_bracket=249,250,244'
'java_comment_task_tag=154,140,124'
'java_default=217,232,247'
'java_doc_default=98,98,98'
'java_doc_keyword=154,140,124'
'java_doc_link=169,156,140'
'java_doc_tag=30,120,155'
'java_keyword=221,40,103'
'java_keyword_return=221,40,103'
'java_multi_line_comment=98,98,98'
'java_operator=230,230,250'
'java_single_line_comment=98,98,98'
'java_string=23,198,163'
'matchingBracketsColor=102,112,125'
'pf_coloring_argument=221,40,103'
'pf_coloring_assignment=217,232,247'
'pf_coloring_comment=98,98,98'
'pf_coloring_key=217,232,247'
'pf_coloring_value=23,198,163'
'semanticHighlighting.abstractClass.bold=true'
'semanticHighlighting.abstractClass.color=62,171,230'
'semanticHighlighting.abstractClass.enabled=true'
'semanticHighlighting.abstractMethodInvocation.color=128,246,167'
'semanticHighlighting.abstractMethodInvocation.enabled=true'
'semanticHighlighting.annotation.bold=true'
'semanticHighlighting.annotation.color=255,147,147'
'semanticHighlighting.annotation.enabled=true'
'semanticHighlighting.annotation.italic=true'
'semanticHighlighting.annotationElementReference.color=235,75,100'
'semanticHighlighting.annotationElementReference.enabled=true'
'semanticHighlighting.class.color=18,144,195'
'semanticHighlighting.class.enabled=true'
'semanticHighlighting.class.bold=true'
'semanticHighlighting.deprecatedMember.color=171,31,54'
'semanticHighlighting.deprecatedMember.enabled=true'
'semanticHighlighting.deprecatedMember.underline=false'
'semanticHighlighting.deprecatedMember.strikethrough=true'
'semanticHighlighting.enum.color=204,129,186'
'semanticHighlighting.enum.enabled=true'
'semanticHighlighting.enum.italic=true'
'semanticHighlighting.field.color=102,225,248'
'semanticHighlighting.field.enabled=true'
'semanticHighlighting.inheritedMethodInvocation.color=205,246,104'
'semanticHighlighting.inheritedMethodInvocation.enabled=true'
'semanticHighlighting.interface.color=128,242,246'
'semanticHighlighting.interface.enabled=true'
'semanticHighlighting.localVariable.color=255,191,38'
'semanticHighlighting.localVariable.enabled=true'
'semanticHighlighting.localVariableDeclaration.color=237,127,72'
'semanticHighlighting.localVariableDeclaration.enabled=true'
'semanticHighlighting.method.color=167,236,33'
'semanticHighlighting.method.enabled=true'
'semanticHighlighting.methodDeclarationName.color=30,181,64'
'semanticHighlighting.methodDeclarationName.enabled=true'
'semanticHighlighting.number.color=104,151,187'
'semanticHighlighting.number.enabled=true'
'semanticHighlighting.parameterVariable.color=121,171,255'
'semanticHighlighting.parameterVariable.enabled=true'
'semanticHighlighting.staticField.color=141,218,248'
'semanticHighlighting.staticField.enabled=true'
'semanticHighlighting.staticFinalField.color=141,218,248'
'semanticHighlighting.staticFinalField.enabled=true'
'semanticHighlighting.staticMethodInvocation.color=150,236,63'
'semanticHighlighting.staticMethodInvocation.enabled=true'
'semanticHighlighting.typeArgument.color=215,131,127'
'semanticHighlighting.typeArgument.enabled=true'
'semanticHighlighting.typeParameter.color=191,164,164'
'semanticHighlighting.typeParameter.enabled=true'
'sourceHoverBackgroundColor=68,68,68'
}
9 changes: 9 additions & 0 deletions org.eclipse.jdt.ui/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6790,4 +6790,13 @@
</description>
</transfer>
</extension>
<extension
point="org.eclipse.e4.ui.css.swt.theme">
<stylesheet
uri="css/e4-dark_jdt_syntaxhighlighing.css">
<themeid
refid="org.eclipse.e4.ui.css.theme.e4_dark">
</themeid>
</stylesheet>
</extension>
</plugin>

0 comments on commit 5a730c1

Please sign in to comment.