diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..c6e3992 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,16 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_style = space +indent_size = 2 +insert_final_newline = true +trim_trailing_whitespace = true + +[*.{py,sublime-project}] +indent_size = 4 + +[*.md] +trim_trailing_whitespace = false +indent_size = 4 \ No newline at end of file diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 5148e52..0000000 --- a/.gitignore +++ /dev/null @@ -1,37 +0,0 @@ -# Logs -logs -*.log -npm-debug.log* - -# Runtime data -pids -*.pid -*.seed - -# Directory for instrumented libs generated by jscoverage/JSCover -lib-cov - -# Coverage directory used by tools like istanbul -coverage - -# nyc test coverage -.nyc_output - -# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) -.grunt - -# node-waf configuration -.lock-wscript - -# Compiled binary addons (http://nodejs.org/api/addons.html) -build/Release - -# Dependency directories -node_modules -jspm_packages - -# Optional npm cache directory -.npm - -# Optional REPL history -.node_repl_history diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..8384213 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,13 @@ +// A launch configuration that launches the extension inside a new window +{ + "version": "0.1.0", + "configurations": [ + { + "name": "Launch Extension", + "type": "extensionHost", + "request": "launch", + "runtimeExecutable": "${execPath}", + "args": ["--extensionDevelopmentPath=${workspaceRoot}" ] + } + ] +} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..ee5a3eb --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,7 @@ +# Change Log +All notable changes to the "theme-material-theme-darker" extension will be documented in this file. + +Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file. + +## [Unreleased] +- Initial release diff --git a/README.md b/README.md index a4206f8..d1c4129 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,13 @@ -# vsc-material-theme -Official Material Theme for Visual Studio Code +# README +## This is the README for your extension "theme-material-theme-darker" +You can author your README using Visual Studio Code. Here are some useful editor keyboard shortcuts: + +* Split the editor (`Cmd+\` on OSX or `Ctrl+\` on Windows and Linux) +* Toggle preview (`Shift+CMD+V` on OSX or `Shift+Ctrl+V` on Windows and Linux) +* Press `Ctrl+Space` (Windows, Linux) or `Cmd+Space` (OSX) to see a list of Markdown snippets + +### For more information +* [Visual Studio Code's Markdown Support](http://code.visualstudio.com/docs/languages/markdown) +* [Markdown Syntax Reference](https://help.github.com/articles/markdown-basics/) + +**Enjoy!** \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..3f2b774 --- /dev/null +++ b/package.json @@ -0,0 +1,22 @@ +{ + "name": "theme-material-theme-darker", + "displayName": "Material Theme", + "description": "The most epic theme now for Visual Studio Code", + "version": "0.0.1", + "publisher": "Equinusocio", + "engines": { + "vscode": "^1.5.0" + }, + "categories": [ + "Themes" + ], + "contributes": { + "themes": [ + { + "label": "Material Theme", + "uiTheme": "vs-dark", + "path": "./themes/Material-Theme-Darker.tmTheme" + } + ] + } +} \ No newline at end of file diff --git a/themes/Material-Theme-Darker.tmTheme b/themes/Material-Theme-Darker.tmTheme new file mode 100644 index 0000000..8997160 --- /dev/null +++ b/themes/Material-Theme-Darker.tmTheme @@ -0,0 +1,1017 @@ + + + + + author + Mattia Astorino + colorSpaceName + sRGB + name + Material-Theme-Darker + semanticClass + material.theme.darker + settings + + + settings + + background + #252526 + caret + #FFCC00 + lineHighlight + #00000050 + selection + #61616150 + selectionHighlight + #61616190 + inactiveSelection + #61616130 + rangeHighlight + #80CBC440 + wordHighlight + #80CBC440 + wordHighlightStrong + #80CBC440 + currentFindMatchHighlight + #F8E71C + findMatchHighlight + #FFFFFF40 + findRangeHighlight + #FFFFFF40 + activeLinkForeground + #00FFFF + hoverHighlight + #ff0000 + referenceHighlight + #00FFFF + guide + #42424240 + invisibles + #65737e30 + + + + name + Comments + scope + comment, punctuation.definition.comment + settings + + fontStyle + italic + foreground + #4A4A4A + + + + name + Variable + scope + variable, string constant.other.placeholder + settings + + foreground + #eeffffff + + + + name + Colors + scope + constant.other.color + settings + + foreground + #ffffff + + + + name + Invalid + scope + invalid, invalid.illegal, invalid.broken + settings + + background + #FF5370 + foreground + #ffffff + + + + name + Unimplemented + scope + invalid.unimplemented + settings + + background + #C3E88D + foreground + #ffffff + + + + name + Invalid deprecated + scope + invalid.deprecated + settings + + background + #C792EA + foreground + #ffffff + + + + name + Keyword, Storage + scope + keyword, storage.type, storage.modifier + settings + + foreground + #C792EA + + + + name + Keyword, Storage + scope + storage.type, keyword.control + settings + + fontStyle + italic + + + + name + Operator, Misc + scope + keyword.operator, constant.other.color, punctuation, meta.tag, punctuation.definition.tag, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.section.embedded, keyword.other.template, keyword.other.substitution + settings + + foreground + #89DDFF + + + + name + Tag + scope + entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter + settings + + foreground + #f07178 + + + + name + Function, Special Method, Block Level + scope + entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method, meta.block-level + settings + + foreground + #82AAFF + + + + name + Other Variable, String Link + scope + support.other.variable, string.other.link + settings + + foreground + #f07178 + + + + name + Number, Constant, Function Argument, Tag Attribute, Embedded + scope + constant.numeric, constant.language, support.constant, constant.character, variable.parameter, keyword.other.unit + settings + + foreground + #F78C6C + + + + name + String, Symbols, Inherited Class, Markup Heading + scope + string, constant.other.symbol, constant.other.key, entity.other.inherited-class, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js + settings + + fontStyle + normal + foreground + #C3E88D + + + + name + Class, Support + scope + entity.name.class, entity.name.type.class, support.type, support.class, support.orther.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types + settings + + foreground + #FFCB6B + + + + name + CSS Class and Support + scope + source.css support.type, source.sass support.type, source.scss support.type, source.less support.type, source.stylus support.type + settings + + foreground + #B2CCD6 + + + + name + Sub-methods + scope + entity.name.module.js, variable.import.parameter.js, variable.other.class.js + settings + + foreground + #FF5370 + + + + name + Language methods + scope + variable.language + settings + + fontStyle + italic + foreground + #FF5370 + + + + name + entity.name.method.js + scope + entity.name.method.js + settings + + foreground + #82AAFF + + + + name + meta.method.js + scope + meta.class-method.js entity.name.function.js, variable.function.constructor + settings + + foreground + #82AAFF + + + + name + Attributes + scope + entity.other.attribute-name + settings + + foreground + #C792EA + + + + name + HTML Attributes + scope + text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name + settings + + fontStyle + italic + foreground + #FFCB6B + + + + name + CSS Classes + scope + entity.other.attribute-name.class + settings + + foreground + #FFCB6B + + + + name + CSS Id + scope + source.sass keyword.control + settings + + foreground + #82AAFF + + + + name + Inserted + scope + markup.inserted + settings + + foreground + #C3E88D + + + + name + Deleted + scope + markup.deleted + settings + + foreground + #FF5370 + + + + name + Changed + scope + markup.changed + settings + + foreground + #C792EA + + + + name + Regular Expressions + scope + string.regexp + settings + + foreground + #89DDFF + + + + name + Escape Characters + scope + constant.character.escape + settings + + foreground + #89DDFF + + + + name + URL + scope + *url*, *link*, *uri* + settings + + fontStyle + underline + + + + name + Search Results Nums + scope + constant.numeric.line-number.find-in-files - match + settings + + foreground + #C17E70 + + + + name + Search Results Lines + scope + entity.name.filename.find-in-files + settings + + foreground + #C3E88D + + + + name + Decorators + scope + tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js + settings + + fontStyle + italic + foreground + #82AAFF + + + + name + ES7 Bind Operator + scope + source.js constant.other.object.key.js string.unquoted.label.js + settings + + fontStyle + italic + foreground + #FF5370 + + + + name + JSON Key - Level 8 + scope + source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string + settings + + foreground + #C3E88D + + + + name + JSON Key - Level 7 + scope + source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string + settings + + foreground + #C792EA + + + + name + JSON Key - Level 6 + scope + source.json meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string + settings + + foreground + #f07178 + + + + name + JSON Key - Level 5 + scope + source.json meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string + settings + + foreground + #82AAFF + + + + name + JSON Key - Level 4 + scope + source.json meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string + settings + + foreground + #C17E70 + + + + name + JSON Key - Level 3 + scope + source.json meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string + settings + + foreground + #FF5370 + + + + name + JSON Key - Level 2 + scope + source.json meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string + settings + + foreground + #F78C6C + + + + name + JSON Key - Level 1 + scope + source.json meta meta.structure.dictionary.json string.quoted.double.json - meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta.structure.dictionary.json punctuation.definition.string - meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string + settings + + foreground + #FFCB6B + + + + name + JSON Key - Level 0 + scope + source.json meta.structure.dictionary.json string.quoted.double.json - meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta.structure.dictionary.json punctuation.definition.string - meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string + settings + + foreground + #C792EA + + + + name + Markdown - Plain + scope + text.html.markdown, punctuation.definition.list_item.markdown + settings + + foreground + #eeffffff + + + + name + Markdown - Markup Raw Inline + scope + text.html.markdown markup.raw.inline + settings + + foreground + #C792EA + + + + name + Markdown - Markup Raw Inline Punctuation + scope + text.html.markdown punctuation.definition.raw.markdown + settings + + foreground + #65737e + + + + name + Markdown - Line Break + scope + text.html.markdown meta.dummy.line-break + settings + + foreground + + + + + name + Markdown - Heading + scope + markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown + settings + + foreground + #C3E88D + + + + name + Markup - Italic + scope + markup.italic + settings + + fontStyle + italic + foreground + #f07178 + + + + name + Markup - Bold + scope + markup.bold, markup.bold string + settings + + fontStyle + bold + foreground + #f07178 + + + + name + Markup - Bold & Italic + scope + markup.bold markup.italic, markup.italic markup.bold, markup.quote markup.bold, markup.bold markup.italic string, markup.italic markup.bold string, markup.quote markup.bold string + settings + + fontStyle + bold italic + + + + name + Markup - Underline + scope + markup.underline + settings + + fontStyle + underline + foreground + #F78C6C + + + + name + Markup - Strike + scope + markup.strike + settings + + fontStyle + strike + foreground + + + + + name + Markdown - Blockquote + scope + markup.quote punctuation.definition.blockquote.markdown + settings + + background + #65737e + foreground + #65737e + + + + name + Markup - Quote + scope + markup.quote + settings + + fontStyle + italic + foreground + + + + + name + Markdown - Link + scope + string.other.link.title.markdown + settings + + foreground + #82AAFF + + + + name + Markdown - Link Description + scope + string.other.link.description.title.markdown + settings + + foreground + #C792EA + + + + name + Markdown - Link Anchor + scope + constant.other.reference.link.markdown + settings + + foreground + #FFCB6B + + + + name + Markup - Raw Block + scope + markup.raw.block + settings + + foreground + #C792EA + + + + name + Markdown - Raw Block Fenced + scope + markup.raw.block.fenced.markdown + settings + + background + #00000050 + + + + name + Markdown - Fenced Bode Block + scope + punctuation.definition.fenced.markdown + settings + + background + #00000050 + + + + name + Markdown - Fenced Bode Block Variable + scope + markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end + settings + + foreground + #eeffffff + + + + name + Markdown - Fenced Language + scope + variable.language.fenced.markdown + settings + + fontStyle + + foreground + #65737e + + + + name + Markdown - Punctuation Definition + scope + text.html.markdown punctuation.definition + settings + + foreground + #4A4A4A + + + + name + Markdown HTML - Punctuation Definition + scope + text.html.markdown meta.disable-markdown punctuation.definition + settings + + foreground + #89DDFF + + + + name + Markdown - Separator + scope + meta.separator + settings + + background + #00000050 + fontStyle + bold + foreground + #65737e + + + + name + Markup - Table + scope + markup.table + settings + + background + + foreground + #eeffffff + + + + name + AceJump Label - Blue + scope + acejump.label.blue + settings + + background + #82AAFF + foreground + #ffffff + + + + name + AceJump Label - Green + scope + acejump.label.green + settings + + background + #C3E88D + foreground + #ffffff + + + + name + AceJump Label - Orange + scope + acejump.label.orange + settings + + background + #F78C6C + foreground + #ffffff + + + + name + AceJump Label - Purple + scope + acejump.label.purple + settings + + background + #C792EA + foreground + #ffffff + + + + name + SublimeLinter Warning + scope + sublimelinter.mark.warning + settings + + foreground + #FFCB6B + + + + name + SublimeLinter Gutter Mark + scope + sublimelinter.gutter-mark + settings + + foreground + #ffffff + + + + name + SublimeLinter Error + scope + sublimelinter.mark.error + settings + + foreground + #FF5370 + + + + name + SublimeLinter Annotation + scope + sublimelinter.annotations + settings + + background + #C17E70 + + + + name + GitGutter Ignored + scope + markup.ignored.git_gutter + settings + + foreground + #65737e + + + + name + GitGutter Untracked + scope + markup.untracked.git_gutter + settings + + foreground + #65737e + + + + name + GitGutter Inserted + scope + markup.inserted.git_gutter + settings + + foreground + #C3E88D + + + + name + GitGutter Changed + scope + markup.changed.git_gutter + settings + + foreground + #FFCB6B + + + + name + GitGutter Deleted + scope + markup.deleted.git_gutter + settings + + foreground + #FF5370 + + + + name + Bracket Curly + scope + brackethighlighter.default + settings + + foreground + #B2CCD6 + + + + name + Bracket Quote + scope + brackethighlighter.quote + settings + + foreground + #C3E88D + + + + name + Bracket Unmatched + scope + brackethighlighter.unmatched + settings + + foreground + #FF5370 + + + + uuid + 4F44C0F5-1F8D-4C52-8BAB-F0951904C1EC + + diff --git a/vsc-extension-quickstart.md b/vsc-extension-quickstart.md new file mode 100644 index 0000000..ff10507 --- /dev/null +++ b/vsc-extension-quickstart.md @@ -0,0 +1,43 @@ +# Welcome to your VS Code Extension + +## What's in the folder +* This folder contains all of the files necessary for your color theme extension +* `package.json` - this is the manifest file that defines the location of the theme file +and specifies the base theme of the theme +* `themes/Material-Theme-Darker.tmTheme` - the color theme definition file + +## Get up and running straight away +* press `F5` to open a new window with your extension loaded +* open `File > Preferences > Color Themes` and pick your color theme + +## Make changes +* you can relaunch the extension from the debug toolbar after making changes to the files listed above +* you can also reload (`Ctrl+R` or `Cmd+R` on Mac) the VS Code window with your extension to load your changes + +## Adopt your theme to Visual Studio Code +* VS Code themes are standard TextMate themes. It's recommended to stick to the TextMate conventions and avoid language +specific rules in your theme as grammars can also be replaced by extensions. +To learn about what scopes are used where, check out the [TextMate documentation](https://manual.macromates.com/en/themes) +and this useful [blog post](http://www.apeth.com/nonblog/stories/textmatebundle.html). A great place to examine themes is [here](https://tmtheme-editor.herokuapp.com/#!/editor/theme/Monokai). +* Besides coloring syntax tokens, VS Code uses the following editor color settings from the textmate file: + + * `caret`: Color of the carret. + * `lineHighlight`: Background color of line highlight. + * `selection`: Background color of selections. + * `rangeHighlight`: Background color of range highlighted, used by Quick Open and Find features. + * `selectionHighlight`: Background color of regions highlighted while selecting. + * `inactiveSelection`: Background color of selections when not in focus. + * `wordHighlight`: Background color of a symbol during read-access, like reading a variable. + * `wordHighlightStrong`: Background color of a symbol during write-access, like writing to a variable. + * `findMatchHighlight`: Background color of regions matching the search. + * `currentFindMatchHighlight`: Background color of the current region matching the search. + * `findRangeHighlight`: Background color of regions selected for search. + * `activeLinkForeground`: Color of active links. + * `hoverHighlight`: Background color when hovered. + * `referenceHighlight`: Background color of a reference when finding all references. + * `invisible`: Color of the whitespace symbols. + * `guide`: Color of the indentation guides which indicate nesting levels. + +## Install your extension +* To start using your extension with Visual Studio Code copy it into the /.vscode/extensions folder and restart Code. +* To share your extension with the world, read on https://code.visualstudio.com/docs about publishing an extension. \ No newline at end of file