diff --git a/theme-sample/.vscode/launch.json b/theme-sample/.vscode/launch.json new file mode 100644 index 00000000..d0d36fea --- /dev/null +++ b/theme-sample/.vscode/launch.json @@ -0,0 +1,14 @@ +// A launch configuration that compiles the extension and then opens it inside a new window +{ + "version": "0.1.0", + "configurations": [ + { + "name": "Launch Extension", + "type": "extensionHost", + "request": "launch", + "runtimeExecutable": "${execPath}", + "args": ["--extensionDevelopmentPath=${workspaceRoot}" ], + "stopOnEntry": false + } + ] +} diff --git a/theme-sample/.vscode/settings.json b/theme-sample/.vscode/settings.json new file mode 100644 index 00000000..36f535ea --- /dev/null +++ b/theme-sample/.vscode/settings.json @@ -0,0 +1,12 @@ +// Place your settings in this file to overwrite default and user settings. +{ + "files.exclude": { + "out": false // set this to true to hide the "out" folder with the compiled JS files + }, + "files.eol": "\n", + "files.trimTrailingWhitespace": true, + "search.exclude": { + "out": true // set this to false to include "out" folder in search results + }, + "typescript.tsdk": "./node_modules/typescript/lib" // we want to use the TS server from our node_modules folder to control its version +} \ No newline at end of file diff --git a/theme-sample/.vscode/tasks.json b/theme-sample/.vscode/tasks.json new file mode 100644 index 00000000..1992757d --- /dev/null +++ b/theme-sample/.vscode/tasks.json @@ -0,0 +1,30 @@ +// Available variables which can be used inside of strings. +// ${workspaceRoot}: the root folder of the team +// ${file}: the current opened file +// ${fileBasename}: the current opened file's basename +// ${fileDirname}: the current opened file's dirname +// ${fileExtname}: the current opened file's extension +// ${cwd}: the current working directory of the spawned process + +// A task runner that calls a custom npm script that compiles the extension. +{ + "version": "0.1.0", + + // we want to run npm + "command": "npm", + + // the command is a shell script + "isShellCommand": true, + + // show the output window only if unrecognized errors occur. + "showOutput": "silent", + + // we run the custom script "compile" as defined in package.json + "args": ["run", "compile", "--loglevel", "silent"], + + // The tsc compiler is started in watching mode + "isWatching": true, + + // use the standard tsc in watch mode problem matcher to find compile problems in the output. + "problemMatcher": "$tsc-watch" +} \ No newline at end of file diff --git a/theme-sample/Sample.tmTheme b/theme-sample/Sample.tmTheme new file mode 100644 index 00000000..8bcfd908 --- /dev/null +++ b/theme-sample/Sample.tmTheme @@ -0,0 +1,337 @@ + + + + + name + Ofer 1 + settings + + + settings + + background + #000c18 + caret + #ddbb88 + foreground + #6688cc + invisibles + #002040 + lineHighlight + #082050 + selection + #770811 + + + + name + Comment + scope + comment + settings + + foreground + #223355 + + + + name + String + scope + string + settings + + foreground + #22aa44 + + + + name + Number + scope + constant.numeric + settings + + foreground + #f280d0 + + + + name + Built-in constant + scope + constant.language + settings + + foreground + #f280d0 + + + + name + User-defined constant + scope + constant.character, constant.other + settings + + foreground + #f280d0 + + + + name + Variable + scope + variable + settings + + fontStyle + + + + + name + Keyword + scope + keyword + settings + + foreground + #225588 + + + + name + Storage + scope + storage + settings + + fontStyle + + foreground + #225588 + + + + name + Storage type + scope + storage.type + settings + + fontStyle + italic + foreground + #9966b8 + + + + name + Class name + scope + entity.name.class + settings + + fontStyle + underline + foreground + #ffeebb + + + + name + Inherited class + scope + entity.other.inherited-class + settings + + fontStyle + italic underline + foreground + #ddbb88 + + + + name + Function name + scope + entity.name.function + settings + + fontStyle + + foreground + #ddbb88 + + + + name + Function argument + scope + variable.parameter + settings + + fontStyle + italic + foreground + #2277ff + + + + name + Tag name + scope + entity.name.tag + settings + + fontStyle + + foreground + #225588 + + + + name + Tag attribute + scope + entity.other.attribute-name + settings + + fontStyle + + foreground + #ddbb88 + + + + name + Library function + scope + support.function + settings + + fontStyle + + foreground + #9966b8 + + + + name + Library constant + scope + support.constant + settings + + fontStyle + + foreground + #9966b8 + + + + name + Library class/type + scope + support.type, support.class + settings + + fontStyle + italic + foreground + #9966b8 + + + + name + Library variable + scope + support.other.variable + settings + + fontStyle + + + + + name + Invalid + scope + invalid + settings + + background + #F92672 + fontStyle + + foreground + #F8F8F0 + + + + name + Invalid deprecated + scope + invalid.deprecated + settings + + background + #AE81FF + foreground + #F8F8F0 + + + + name + Markup Quote + scope + markup.quote + settings + + foreground + #22aa44 + + + + name + Markup Styling + scope + markup.bold, markup.italic + settings + + foreground + #22aa44 + + + + name + Markup Inline + scope + markup.inline.raw + settings + + fontStyle + + foreground + #9966b8 + + + + name + Markup Setext Header + scope + markup.heading.setext + settings + + fontStyle + + foreground + #ddbb88 + + + + uuid + 96A92F4B-E068-4DC6-9635-F55E7D920420 + + diff --git a/theme-sample/package.json b/theme-sample/package.json new file mode 100644 index 00000000..2d34786c --- /dev/null +++ b/theme-sample/package.json @@ -0,0 +1,15 @@ +{ + "name": "theme-sample", + "version": "0.1.0", + "publisher": "vscode", + "engines": { "vscode": "*" }, + "contributes": { + "themes": [ + { + "label": "Sample", + "uiTheme": "vs-dark", + "path": "./Sample.tmTheme" + } + ] + } +} \ No newline at end of file