mirror of
https://github.com/esp8266/Arduino.git
synced 2025-07-30 16:24:09 +03:00
preferences for syntax highlighting theme
This commit is contained in:
committed by
Federico Fissore
parent
45094a9d52
commit
1e61cd6b4c
@ -86,6 +86,8 @@ editor.window.height.min = 290
|
||||
# tested to be 515 on Windows XP, this leaves some room
|
||||
#editor.window.height.min.windows = 530
|
||||
|
||||
# Syntax coloring ( on lib/theme/syntax )
|
||||
editor.syntax_theme = default
|
||||
|
||||
# font size for editor
|
||||
editor.font=Monospaced,plain,12
|
||||
|
78
build/shared/lib/theme/syntax/dark.xml
Normal file
78
build/shared/lib/theme/syntax/dark.xml
Normal file
@ -0,0 +1,78 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE RSyntaxTheme SYSTEM "theme.dtd">
|
||||
|
||||
<!--
|
||||
Dark theme based off of Notepad++'s Obsidian theme.
|
||||
See theme.dtd and org.fife.ui.rsyntaxtextarea.Theme for more information.
|
||||
-->
|
||||
<RSyntaxTheme version="1.0">
|
||||
|
||||
<!-- Omitting baseFont will use a system-appropriate monospaced. -->
|
||||
<!--<baseFont family="..." size="13"/>-->
|
||||
|
||||
<!-- General editor colors. -->
|
||||
<background color="293134"/>
|
||||
<caret color="c1cbc2"/>
|
||||
<selection useFG="false" bg="404E51" roundedEdges="false"/>
|
||||
<currentLineHighlight color="2F393C" fade="false"/>
|
||||
<marginLine fg="394448"/>
|
||||
<markAllHighlight color="6b8189"/> <!-- TODO: Fix me -->
|
||||
<markOccurrencesHighlight color="5b7179" border="false"/>
|
||||
<matchedBracket fg="6A8088" bg="6b8189" highlightBoth="false" animate="true"/>
|
||||
<hyperlinks fg="a082bd"/>
|
||||
<secondaryLanguages>
|
||||
<language index="1" bg="333344"/>
|
||||
<language index="2" bg="223322"/>
|
||||
<language index="3" bg="332222"/>
|
||||
</secondaryLanguages>
|
||||
|
||||
<!-- Gutter styling. -->
|
||||
<gutterBorder color="81969A"/>
|
||||
<lineNumbers fg="81969A"/>
|
||||
<foldIndicator fg="6A8088" iconBg="2f383c"/>
|
||||
<iconRowHeader activeLineRange="3399ff"/>
|
||||
|
||||
<!-- Syntax tokens. -->
|
||||
<tokenStyles>
|
||||
<style token="IDENTIFIER" fg="E0E2E4"/>
|
||||
<style token="RESERVED_WORD" fg="93C763" bold="true"/>
|
||||
<style token="RESERVED_WORD_2" fg="93C763" bold="true"/>
|
||||
<style token="ANNOTATION" fg="E8E2B7"/>
|
||||
<style token="COMMENT_DOCUMENTATION" fg="6C788C"/>
|
||||
<style token="COMMENT_EOL" fg="66747B"/>
|
||||
<style token="COMMENT_MULTILINE" fg="66747B"/>
|
||||
<style token="COMMENT_KEYWORD" fg="ae9fbf"/>
|
||||
<style token="COMMENT_MARKUP" fg="ae9fbf"/>
|
||||
<style token="FUNCTION" fg="E0E2E4"/>
|
||||
<style token="DATA_TYPE" fg="678CB1" bold="true"/>
|
||||
<style token="LITERAL_BOOLEAN" fg="93C763" bold="true"/>
|
||||
<style token="LITERAL_NUMBER_DECIMAL_INT" fg="FFCD22"/>
|
||||
<style token="LITERAL_NUMBER_FLOAT" fg="FFCD22"/>
|
||||
<style token="LITERAL_NUMBER_HEXADECIMAL" fg="FFCD22"/>
|
||||
<style token="LITERAL_STRING_DOUBLE_QUOTE" fg="EC7600"/>
|
||||
<style token="LITERAL_CHAR" fg="EC7600"/>
|
||||
<style token="LITERAL_BACKQUOTE" fg="EC7600"/>
|
||||
<style token="MARKUP_TAG_DELIMITER" fg="678CB1"/>
|
||||
<style token="MARKUP_TAG_NAME" fg="ABBFD3" bold="true"/>
|
||||
<style token="MARKUP_TAG_ATTRIBUTE" fg="B3B689"/>
|
||||
<style token="MARKUP_TAG_ATTRIBUTE_VALUE" fg="e1e2cf"/>
|
||||
<style token="MARKUP_COMMENT" fg="66747B"/>
|
||||
<style token="MARKUP_DTD" fg="A082BD"/>
|
||||
<style token="MARKUP_PROCESSING_INSTRUCTION" fg="A082BD"/>
|
||||
<style token="MARKUP_CDATA" fg="d5e6f0"/>
|
||||
<style token="MARKUP_CDATA_DELIMITER" fg="ae9fbf"/>
|
||||
<style token="MARKUP_ENTITY_REFERENCE" fg="678CB1"/>
|
||||
<style token="OPERATOR" fg="E8E2B7"/>
|
||||
<style token="PREPROCESSOR" fg="A082BD"/>
|
||||
<style token="REGEX" fg="d39745"/>
|
||||
<style token="SEPARATOR" fg="E8E2B7"/>
|
||||
<style token="VARIABLE" fg="ae9fbf" bold="true"/>
|
||||
<style token="WHITESPACE" fg="E0E2E4"/>
|
||||
|
||||
<style token="ERROR_IDENTIFIER" fg="E0E2E4" bg="04790e"/>
|
||||
<style token="ERROR_NUMBER_FORMAT" fg="E0E2E4" bg="04790e"/>
|
||||
<style token="ERROR_STRING_DOUBLE" fg="E0E2E4" bg="04790e"/>
|
||||
<style token="ERROR_CHAR" fg="E0E2E4" bg="04790e"/>
|
||||
</tokenStyles>
|
||||
|
||||
</RSyntaxTheme>
|
69
build/shared/lib/theme/syntax/default.xml
Normal file
69
build/shared/lib/theme/syntax/default.xml
Normal file
@ -0,0 +1,69 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE RSyntaxTheme SYSTEM "theme.dtd">
|
||||
|
||||
<!--
|
||||
RSyntaxTextArea's default theme.
|
||||
See theme.dtd and org.fife.ui.rsyntaxtextarea.Theme for more information.
|
||||
-->
|
||||
<RSyntaxTheme version="1.0">
|
||||
|
||||
<!-- Omitting baseFont will use a system-appropriate monospaced. -->
|
||||
<!--<baseFont family="..." size="13"/>-->
|
||||
|
||||
<!-- General editor colors. -->
|
||||
<background color="ffffff"/>
|
||||
<caret color="424242"/>
|
||||
<selection fg="ffffff" bg="4a90d9" />
|
||||
<currentLineHighlight color="ffffaa" fade="false"/>
|
||||
<marginLine fg="b0b4b9"/>
|
||||
<markAllHighlight color="ffc800"/>
|
||||
<markOccurrencesHighlight color="d4d4d4" border="false"/>
|
||||
<matchedBracket fg="000080" bg="eaeaff" highlightBoth="false" animate="true"/>
|
||||
<hyperlinks fg="0000ff"/>
|
||||
<secondaryLanguages>
|
||||
<language index="1" bg="fff0cc"/>
|
||||
<language index="2" bg="dafeda"/>
|
||||
<language index="3" bg="ffe0f0"/>
|
||||
</secondaryLanguages>
|
||||
|
||||
<!-- Gutter styling. -->
|
||||
<gutterBorder color="dddddd"/>
|
||||
<lineNumbers fg="787878"/>
|
||||
<foldIndicator fg="808080" iconBg="ffffff"/>
|
||||
<iconRowHeader activeLineRange="3399ff"/>
|
||||
|
||||
<!-- Syntax tokens. -->
|
||||
<tokenStyles>
|
||||
<style token="IDENTIFIER" fg="000000"/>
|
||||
<style token="DATA_TYPE" fg="008080" bold="true"/>
|
||||
<style token="FUNCTION" fg="cc6600"/>
|
||||
<style token="VARIABLE" fg="cc6600" bold="true"/>
|
||||
<style token="RESERVED_WORD" fg="024f8b" bold="true"/>
|
||||
<style token="RESERVED_WORD_2" fg="008080" bold="false"/>
|
||||
<style token="PREPROCESSOR" fg="024f8b" bold="false"/>
|
||||
|
||||
<style token="ANNOTATION" fg="808080"/>
|
||||
<style token="COMMENT_DOCUMENTATION" fg="7e7e7e"/>
|
||||
<style token="COMMENT_EOL" fg="7e7e7e"/>
|
||||
<style token="COMMENT_MULTILINE" fg="7e7e7e"/>
|
||||
<style token="COMMENT_KEYWORD" fg="7F9FBF" bold="true"/>
|
||||
<style token="COMMENT_MARKUP" fg="7f7f9f"/>
|
||||
<style token="LITERAL_BOOLEAN" fg="ff0000" bold="false"/>
|
||||
<style token="LITERAL_NUMBER_DECIMAL_INT" fg="ff0000"/>
|
||||
<style token="LITERAL_NUMBER_FLOAT" fg="ff0000"/>
|
||||
<style token="LITERAL_NUMBER_HEXADECIMAL" fg="ff0000"/>
|
||||
<style token="LITERAL_STRING_DOUBLE_QUOTE" fg="006699"/>
|
||||
<style token="LITERAL_CHAR" fg="DC009C"/>
|
||||
<style token="LITERAL_BACKQUOTE" fg="DC009C"/>
|
||||
|
||||
<style token="OPERATOR" fg="804040"/>
|
||||
<style token="REGEX" fg="008040"/>
|
||||
<style token="SEPARATOR" fg="000000" />
|
||||
<style token="WHITESPACE" fg="000000"/>
|
||||
<style token="ERROR_IDENTIFIER" fg="000000" />
|
||||
<style token="ERROR_NUMBER_FORMAT" fg="000000" />
|
||||
<style token="ERROR_STRING_DOUBLE" fg="000000" />
|
||||
<style token="ERROR_CHAR" fg="000000" />
|
||||
</tokenStyles>
|
||||
|
||||
</RSyntaxTheme>
|
Reference in New Issue
Block a user