Question
· Jan 17, 2018

Atelier Dark theme

Hi

Has anyone managed to get a dark theme (Like Darcula or Obsidian) working on the Atelier plugin. The Eclipse themes apply to everything in the IDE except the editor window, so it kind of defeats the purpose. I've tried searching for one but so far no luck. I know you can set each colour individually in the settings but I'd like a single config I can load if possible.

 

Thanks

Discussion (11)5
Log in or sign up to continue

Hei,

if you want to use Darkest-Dark theme:

Go to <eclipse-workspace>/.metadata/.plugin/org.eclipse.core.runtime/.settings/com.intersys.eclipse.studio.ui.prefs

and add this. I didn't found all colors but It's a good start. Edit theme in preferences if you find a color that you don't like or maybe isn't set by me. You can also reset to default-settings by removing every Studio_Color-Setting.

I also tweaked the colors for specific things because using the theme strictly results in too much blue ($-commands was blue etc.)

Studio_Color_BG_false=0,0,0

Studio_Color_BG_true=37,37,37

Studio_Color_brace=255,255,255

Studio_Color_bracket=255,255,255

Studio_Color_classmethodname=189,214,255

Studio_Color_classname=210,81,81

Studio_Color_collationname=189,214,255

Studio_Color_cosBitlogicOperator=210,81,81

Studio_Color_cosClassName=239,191,143

Studio_Color_cosCommandWordDeprecated=210,81,81

Studio_Color_cosCommandword=210,81,81

Studio_Color_cosDollarName=210,81,81

Studio_Color_cosDollarNameDeprecated=210,81,81

Studio_Color_cosEmbedDelim=0,128,0

Studio_Color_cosEmbeddingStartOrEnd=210,81,81

Studio_Color_cosExtrinsic=210,81,81

Studio_Color_cosGlobalname=141,203,226

Studio_Color_cosGlobalname_bold=true

Studio_Color_cosIOFormat=255,255,255

Studio_Color_cosJsonBrace=255,255,255

Studio_Color_cosJsonBracket=255,255,255

Studio_Color_cosJsonKeyword=210,81,81

Studio_Color_cosKeyword=210,81,81

Studio_Color_cosLabel=210,81,81

Studio_Color_cosLabelname=141,203,226

Studio_Color_cosLocalname=136,214,255

Studio_Color_cosMacroArgsAnything=136,214,255

Studio_Color_cosMacroCall=210,81,81

Studio_Color_cosOperator=255,255,255

Studio_Color_cosPPCommand=141,203,226

Studio_Color_cosPPFunc=210,81,81

Studio_Color_cosPattern=210,81,81

Studio_Color_cosSQLFieldName=210,81,81

Studio_Color_cosstring=255,198,0

Studio_Color_csqlIdentifier=255,198,0

Studio_Color_delim=255,255,255

Studio_Color_foreignkeyname=121,171,255

Studio_Color_htmlAttributeName=121,171,255

Studio_Color_htmlAttributeValue=255,255,255

Studio_Color_indexname=189,214,255

Studio_Color_indexpropertyname=255,255,255

Studio_Color_jsKeyword=141,203,226

Studio_Color_jsOperator=255,255,255

Studio_Color_jsString=255,198,0

Studio_Color_jsonString=255,198,0

Studio_Color_methodname=255,255,255

Studio_Color_name=255,255,255

Studio_Color_number=129,180,71

Studio_Color_parameter=121,171,255

Studio_Color_parametername=189,214,255

Studio_Color_paren=255,255,255

Studio_Color_propertyname=189,214,255

Studio_Color_queryname=189,214,255

Studio_Color_sqlstring=255,255,128

Studio_Color_storagename=189,214,255

Studio_Color_triggername=189,214,255

Studio_Color_udlDocComment=201,222,12

Studio_Color_udlKeyword=80,175,226

Studio_Color_udlMCKeywordName=255,255,255

Studio_Color_udlMCKeywordValue=129,180,71

Studio_Color_udlNumericLiteral=129,180,71

Studio_Color_udlStringLiteral=255,198,0

Studio_Color_xdataname=189,214,255

Studio_Color_xmlAttributeName=255,255,255

On Eclipse Oxigen I setup in Preferences -> DevStyle -> Color Themes: 

Workbench : Dark Gray (Darkest Dark)

Editor: Darkest Dark

Then, I needed to edit the file in the Atelier directory: 

 .metadata/.plugins/org.eclipse.core.runtime/.settings/com.intersystems.atelier.core.ui.prefs
 

which is a little bit different than previous comments.

Then added a slightly different background (not so dark) which matches with General 

Studio_Color_BG_false=24,28,31
Studio_Color_BG_true=37,37,37
Studio_Color_brace=255,255,255
Studio_Color_bracket=255,255,255
Studio_Color_classmethodname=189,214,255
Studio_Color_classname=210,81,81
Studio_Color_collationname=189,214,255
Studio_Color_cosBitlogicOperator=210,81,81
Studio_Color_cosClassName=239,191,143
Studio_Color_cosCommandWordDeprecated=210,81,81
Studio_Color_cosCommandword=210,81,81
Studio_Color_cosDollarName=210,81,81
Studio_Color_cosDollarNameDeprecated=210,81,81
Studio_Color_cosEmbedDelim=0,128,0
Studio_Color_cosEmbeddingStartOrEnd=210,81,81
Studio_Color_cosExtrinsic=210,81,81
Studio_Color_cosGlobalname=141,203,226
Studio_Color_cosGlobalname_bold=true
Studio_Color_cosIOFormat=255,255,255
Studio_Color_cosJsonBrace=255,255,255
Studio_Color_cosJsonBracket=255,255,255
Studio_Color_cosJsonKeyword=210,81,81
Studio_Color_cosKeyword=210,81,81
Studio_Color_cosLabel=210,81,81
Studio_Color_cosLabelname=141,203,226
Studio_Color_cosLocalname=136,214,255
Studio_Color_cosMacroArgsAnything=136,214,255
Studio_Color_cosMacroCall=210,81,81
Studio_Color_cosOperator=255,255,255
Studio_Color_cosPPCommand=141,203,226
Studio_Color_cosPPFunc=210,81,81
Studio_Color_cosPattern=210,81,81
Studio_Color_cosSQLFieldName=210,81,81
Studio_Color_cosstring=255,198,0
Studio_Color_csqlIdentifier=255,198,0
Studio_Color_delim=255,255,255
Studio_Color_foreignkeyname=121,171,255
Studio_Color_htmlAttributeName=121,171,255
Studio_Color_htmlAttributeValue=255,255,255
Studio_Color_indexname=189,214,255
Studio_Color_indexpropertyname=255,255,255
Studio_Color_jsKeyword=141,203,226
Studio_Color_jsOperator=255,255,255
Studio_Color_jsString=255,198,0
Studio_Color_jsonString=255,198,0
Studio_Color_methodname=255,255,255
Studio_Color_name=255,255,255
Studio_Color_number=129,180,71
Studio_Color_parameter=121,171,255
Studio_Color_parametername=189,214,255
Studio_Color_paren=255,255,255
Studio_Color_propertyname=189,214,255
Studio_Color_queryname=189,214,255
Studio_Color_sqlstring=255,255,128
Studio_Color_storagename=189,214,255
Studio_Color_triggername=189,214,255
Studio_Color_udlDocComment=201,222,12
Studio_Color_udlKeyword=80,175,226
Studio_Color_udlMCKeywordName=255,255,255
Studio_Color_udlMCKeywordValue=129,180,71
Studio_Color_udlNumericLiteral=129,180,71
Studio_Color_udlStringLiteral=255,198,0
Studio_Color_xdataname=189,214,255
Studio_Color_xmlAttributeName=255,255,255