From 291816d1124c67388b4bdb8aa1287a5a0bac91c2 Mon Sep 17 00:00:00 2001 From: Sandeep Somavarapu Date: Mon, 29 Aug 2016 20:31:36 +0200 Subject: [PATCH] Provide light and dark sample themes with custom settings --- .../{Sample.tmTheme => Sample_Dark.tmTheme} | 12 + theme-sample/Sample_Light.tmTheme | 637 ++++++++++++++++++ theme-sample/package.json | 9 +- 3 files changed, 656 insertions(+), 2 deletions(-) rename theme-sample/{Sample.tmTheme => Sample_Dark.tmTheme} (95%) create mode 100644 theme-sample/Sample_Light.tmTheme diff --git a/theme-sample/Sample.tmTheme b/theme-sample/Sample_Dark.tmTheme similarity index 95% rename from theme-sample/Sample.tmTheme rename to theme-sample/Sample_Dark.tmTheme index 8bcfd908..001155c1 100644 --- a/theme-sample/Sample.tmTheme +++ b/theme-sample/Sample_Dark.tmTheme @@ -21,6 +21,18 @@ #082050 selection #770811 + rangeHighlight + #f3f0f5 + selectionHighlight + #add6ff + findMatch + #ea5c00 + currentFindMatch + #515C6A + wordHighlight + #575757 + wordHighlightStrong + #004972 diff --git a/theme-sample/Sample_Light.tmTheme b/theme-sample/Sample_Light.tmTheme new file mode 100644 index 00000000..d490aa7e --- /dev/null +++ b/theme-sample/Sample_Light.tmTheme @@ -0,0 +1,637 @@ + + + + + author + Martin Kühl + comment + Based on the Quiet Light theme for Espresso by Ian Beck. + name + Quiet Light + settings + + + settings + + background + #F5F5F5 + caret + #000000 + foreground + #333333 + invisibles + #AAAAAA + lineHighlight + #E4F6D4 + selection + #C9D0D9 + rangeHighlight + #fdff00 + selectionHighlight + #add6ff + findMatch + #ea5c00 + currentFindMatch + #A8AC94 + wordHighlight + #575757 + wordHighlightStrong + #0e639c + + + + name + Comments + scope + comment, punctuation.definition.comment + settings + + fontStyle + italic + foreground + #AAAAAA + + + + name + Comments: Preprocessor + scope + comment.block.preprocessor + settings + + fontStyle + + foreground + #AAAAAA + + + + name + Comments: Documentation + scope + comment.documentation, comment.block.documentation + settings + + foreground + #448C27 + + + + name + Invalid - Deprecated + scope + invalid.deprecated + settings + + background + #96000014 + + + + name + Invalid - Illegal + scope + invalid.illegal + settings + + background + #96000014 + foreground + #660000 + + + + name + Operators + scope + keyword.operator + settings + + foreground + #777777 + + + + name + Keywords + scope + keyword, storage + settings + + foreground + #4B83CD + + + + name + Types + scope + storage.type, support.type + settings + + foreground + #7A3E9D + + + + name + Language Constants + scope + constant.language, support.constant, variable.language + settings + + foreground + #AB6526 + + + + name + Variables + scope + variable, support.variable + settings + + foreground + #7A3E9D + + + + name + Functions + scope + entity.name.function, support.function + settings + + fontStyle + bold + foreground + #AA3731 + + + + name + Classes + scope + entity.name.type, entity.other.inherited-class, support.class + settings + + fontStyle + bold + foreground + #7A3E9D + + + + name + Exceptions + scope + entity.name.exception + settings + + foreground + #660000 + + + + name + Sections + scope + entity.name.section + settings + + fontStyle + bold + + + + name + Numbers, Characters + scope + constant.numeric, constant.character, constant + settings + + foreground + #AB6526 + + + + name + Strings + scope + string + settings + + foreground + #448C27 + + + + name + Strings: Escape Sequences + scope + constant.character.escape + settings + + foreground + #777777 + + + + name + Strings: Regular Expressions + scope + string.regexp + settings + + foreground + #4B83CD + + + + name + Strings: Symbols + scope + constant.other.symbol + settings + + foreground + #AB6526 + + + + name + Punctuation + scope + punctuation + settings + + foreground + #777777 + + + + name + Embedded Source + scope + string source, text source + settings + + background + #EAEBE6 + + + + name + ----------------------------------- + settings + + + + name + HTML: Doctype Declaration + scope + meta.tag.sgml.doctype, meta.tag.sgml.doctype string, meta.tag.sgml.doctype entity.name.tag, meta.tag.sgml punctuation.definition.tag.html + settings + + foreground + #AAAAAA + + + + name + HTML: Tags + scope + meta.tag, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html + settings + + foreground + #91B3E0 + + + + name + HTML: Tag Names + scope + entity.name.tag + settings + + foreground + #4B83CD + + + + name + HTML: Attribute Names + scope + meta.tag entity.other.attribute-name, entity.other.attribute-name.html + settings + + fontStyle + italic + foreground + #91B3E0 + + + + name + HTML: Entities + scope + constant.character.entity, punctuation.definition.entity + settings + + foreground + #AB6526 + + + + name + ----------------------------------- + settings + + + + name + CSS: Selectors + scope + meta.selector, meta.selector entity, meta.selector entity punctuation, entity.name.tag.css + settings + + foreground + #7A3E9D + + + + name + CSS: Property Names + scope + meta.property-name, support.type.property-name + settings + + foreground + #AB6526 + + + + name + CSS: Property Values + scope + meta.property-value, meta.property-value constant.other, support.constant.property-value + settings + + foreground + #448C27 + + + + name + CSS: Important Keyword + scope + keyword.other.important + settings + + fontStyle + bold + + + + name + ----------------------------------- + settings + + + + name + Markup: Changed + scope + markup.changed + settings + + background + #FFFFDD + foreground + #000000 + + + + name + Markup: Deletion + scope + markup.deleted + settings + + background + #FFDDDD + foreground + #000000 + + + + name + Markup: Emphasis + scope + markup.italic + settings + + fontStyle + italic + + + + name + Markup: Error + scope + markup.error + settings + + background + #96000014 + foreground + #660000 + + + + name + Markup: Insertion + scope + markup.inserted + settings + + background + #DDFFDD + foreground + #000000 + + + + name + Markup: Link + scope + meta.link + settings + + foreground + #4B83CD + + + + name + Markup: Output + scope + markup.output, markup.raw + settings + + foreground + #777777 + + + + name + Markup: Prompt + scope + markup.prompt + settings + + foreground + #777777 + + + + name + Markup: Heading + scope + markup.heading + settings + + foreground + #AA3731 + + + + name + Markup: Strong + scope + markup.bold + settings + + fontStyle + bold + + + + name + Markup: Traceback + scope + markup.traceback + settings + + foreground + #660000 + + + + name + Markup: Underline + scope + markup.underline + settings + + fontStyle + underline + + + + name + Markup Quote + scope + markup.quote + settings + + foreground + #7A3E9D + + + + name + Markup Lists + scope + markup.list + settings + + foreground + #4B83CD + + + + name + Markup Styling + scope + markup.bold, markup.italic + settings + + foreground + #448C27 + + + + name + Markup Inline + scope + markup.inline.raw + settings + + fontStyle + + foreground + #AB6526 + + + + name + ----------------------------------- + settings + + + + name + Extra: Diff Range + scope + meta.diff.range, meta.diff.index, meta.separator + settings + + background + #DDDDFF + foreground + #434343 + + + + name + Extra: Diff From + scope + meta.diff.header.from-file + settings + + background + #FFDDDD + foreground + #434343 + + + + name + Extra: Diff To + scope + meta.diff.header.to-file + settings + + background + #DDFFDD + foreground + #434343 + + + + uuid + 231D6A91-5FD1-4CBE-BD2A-0F36C08693F1 + + diff --git a/theme-sample/package.json b/theme-sample/package.json index 2d34786c..188650b9 100644 --- a/theme-sample/package.json +++ b/theme-sample/package.json @@ -6,9 +6,14 @@ "contributes": { "themes": [ { - "label": "Sample", + "label": "Sample Light", + "uiTheme": "vs", + "path": "./Sample_Light.tmTheme" + }, + { + "label": "Sample Dark", "uiTheme": "vs-dark", - "path": "./Sample.tmTheme" + "path": "./Sample_Dark.tmTheme" } ] }