From 12c2a8b3b959111ca61372badbf45e63bea7d817 Mon Sep 17 00:00:00 2001 From: kutyel Date: Wed, 29 Aug 2018 11:41:39 +0200 Subject: [PATCH 1/2] =?UTF-8?q?Add=20dark=20vs-code=20themes!=20?= =?UTF-8?q?=F0=9F=95=B6=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/vsDark.js | 101 ++++++++++++++++++++++++++++++++++++ themes/vsDarkPlus.js | 118 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 219 insertions(+) create mode 100644 themes/vsDark.js create mode 100644 themes/vsDarkPlus.js diff --git a/themes/vsDark.js b/themes/vsDark.js new file mode 100644 index 0000000..b52985d --- /dev/null +++ b/themes/vsDark.js @@ -0,0 +1,101 @@ +// @flow +// Converted automatically using ./tools/themeFromVsCode + +/*:: import type { PrismTheme } from '../src/types' */ + +var theme /*: PrismTheme */ = { + "plain": { + "color": "#D4D4D4", + "backgroundColor": "#1E1E1E" + }, + "styles": [ + { + "types": [ + "prolog" + ], + "style": { + "color": "rgb(0, 0, 128)" + } + }, + { + "types": [ + "comment" + ], + "style": { + "color": "rgb(106, 153, 85)" + } + }, + { + "types": [ + "builtin", + "tag", + "changed", + "keyword" + ], + "style": { + "color": "rgb(86, 156, 214)" + } + }, + { + "types": [ + "number", + "inserted" + ], + "style": { + "color": "rgb(181, 206, 168)" + } + }, + { + "types": [ + "constant" + ], + "style": { + "color": "rgb(100, 102, 149)" + } + }, + { + "types": [ + "attr-name", + "variable" + ], + "style": { + "color": "rgb(156, 220, 254)" + } + }, + { + "types": [ + "deleted", + "string" + ], + "style": { + "color": "rgb(206, 145, 120)" + } + }, + { + "types": [ + "selector" + ], + "style": { + "color": "rgb(215, 186, 125)" + } + }, + { + "types": [ + "punctuation" + ], + "style": { + "color": "rgb(128, 128, 128)" + } + }, + { + "types": [ + "operator" + ], + "style": { + "color": "rgb(212, 212, 212)" + } + } + ] +}; + +module.exports = theme; diff --git a/themes/vsDarkPlus.js b/themes/vsDarkPlus.js new file mode 100644 index 0000000..dd8b902 --- /dev/null +++ b/themes/vsDarkPlus.js @@ -0,0 +1,118 @@ +// @flow +// Converted automatically using ./tools/themeFromVsCode + +/*:: import type { PrismTheme } from '../src/types' */ + +var theme /*: PrismTheme */ = { + "plain": { + "color": "#D4D4D4", + "backgroundColor": "#1E1E1E" + }, + "styles": [ + { + "types": [ + "prolog" + ], + "style": { + "color": "rgb(0, 0, 128)" + } + }, + { + "types": [ + "comment" + ], + "style": { + "color": "rgb(106, 153, 85)" + } + }, + { + "types": [ + "builtin", + "tag", + "changed", + "punctuation", + "keyword" + ], + "style": { + "color": "rgb(86, 156, 214)" + } + }, + { + "types": [ + "number", + "inserted" + ], + "style": { + "color": "rgb(181, 206, 168)" + } + }, + { + "types": [ + "constant" + ], + "style": { + "color": "rgb(100, 102, 149)" + } + }, + { + "types": [ + "attr-name", + "variable" + ], + "style": { + "color": "rgb(156, 220, 254)" + } + }, + { + "types": [ + "deleted", + "string" + ], + "style": { + "color": "rgb(206, 145, 120)" + } + }, + { + "types": [ + "selector" + ], + "style": { + "color": "rgb(215, 186, 125)" + } + }, + { + "types": [ + "operator" + ], + "style": { + "color": "rgb(212, 212, 212)" + } + }, + { + "types": [ + "function" + ], + "style": { + "color": "rgb(220, 220, 170)" + } + }, + { + "types": [ + "class-name" + ], + "style": { + "color": "rgb(78, 201, 176)" + } + }, + { + "types": [ + "char" + ], + "style": { + "color": "rgb(209, 105, 105)" + } + } + ] +}; + +module.exports = theme; From 53a0a2c9e8218f28bf6a60f793f4fa1ff6d49edd Mon Sep 17 00:00:00 2001 From: kutyel Date: Wed, 29 Aug 2018 11:43:20 +0200 Subject: [PATCH 2/2] =?UTF-8?q?Prettier=20=F0=9F=92=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- themes/vsDark.js | 94 +++++++++++++----------------------- themes/vsDarkPlus.js | 111 ++++++++++++++++--------------------------- 2 files changed, 74 insertions(+), 131 deletions(-) diff --git a/themes/vsDark.js b/themes/vsDark.js index b52985d..589ee23 100644 --- a/themes/vsDark.js +++ b/themes/vsDark.js @@ -4,95 +4,69 @@ /*:: import type { PrismTheme } from '../src/types' */ var theme /*: PrismTheme */ = { - "plain": { - "color": "#D4D4D4", - "backgroundColor": "#1E1E1E" + plain: { + color: "#D4D4D4", + backgroundColor: "#1E1E1E" }, - "styles": [ + styles: [ { - "types": [ - "prolog" - ], - "style": { - "color": "rgb(0, 0, 128)" + types: ["prolog"], + style: { + color: "rgb(0, 0, 128)" } }, { - "types": [ - "comment" - ], - "style": { - "color": "rgb(106, 153, 85)" + types: ["comment"], + style: { + color: "rgb(106, 153, 85)" } }, { - "types": [ - "builtin", - "tag", - "changed", - "keyword" - ], - "style": { - "color": "rgb(86, 156, 214)" + types: ["builtin", "tag", "changed", "keyword"], + style: { + color: "rgb(86, 156, 214)" } }, { - "types": [ - "number", - "inserted" - ], - "style": { - "color": "rgb(181, 206, 168)" + types: ["number", "inserted"], + style: { + color: "rgb(181, 206, 168)" } }, { - "types": [ - "constant" - ], - "style": { - "color": "rgb(100, 102, 149)" + types: ["constant"], + style: { + color: "rgb(100, 102, 149)" } }, { - "types": [ - "attr-name", - "variable" - ], - "style": { - "color": "rgb(156, 220, 254)" + types: ["attr-name", "variable"], + style: { + color: "rgb(156, 220, 254)" } }, { - "types": [ - "deleted", - "string" - ], - "style": { - "color": "rgb(206, 145, 120)" + types: ["deleted", "string"], + style: { + color: "rgb(206, 145, 120)" } }, { - "types": [ - "selector" - ], - "style": { - "color": "rgb(215, 186, 125)" + types: ["selector"], + style: { + color: "rgb(215, 186, 125)" } }, { - "types": [ - "punctuation" - ], - "style": { - "color": "rgb(128, 128, 128)" + types: ["punctuation"], + style: { + color: "rgb(128, 128, 128)" } }, { - "types": [ - "operator" - ], - "style": { - "color": "rgb(212, 212, 212)" + types: ["operator"], + style: { + color: "rgb(212, 212, 212)" } } ] diff --git a/themes/vsDarkPlus.js b/themes/vsDarkPlus.js index dd8b902..a5b4724 100644 --- a/themes/vsDarkPlus.js +++ b/themes/vsDarkPlus.js @@ -4,112 +4,81 @@ /*:: import type { PrismTheme } from '../src/types' */ var theme /*: PrismTheme */ = { - "plain": { - "color": "#D4D4D4", - "backgroundColor": "#1E1E1E" + plain: { + color: "#D4D4D4", + backgroundColor: "#1E1E1E" }, - "styles": [ + styles: [ { - "types": [ - "prolog" - ], - "style": { - "color": "rgb(0, 0, 128)" + types: ["prolog"], + style: { + color: "rgb(0, 0, 128)" } }, { - "types": [ - "comment" - ], - "style": { - "color": "rgb(106, 153, 85)" + types: ["comment"], + style: { + color: "rgb(106, 153, 85)" } }, { - "types": [ - "builtin", - "tag", - "changed", - "punctuation", - "keyword" - ], - "style": { - "color": "rgb(86, 156, 214)" + types: ["builtin", "tag", "changed", "punctuation", "keyword"], + style: { + color: "rgb(86, 156, 214)" } }, { - "types": [ - "number", - "inserted" - ], - "style": { - "color": "rgb(181, 206, 168)" + types: ["number", "inserted"], + style: { + color: "rgb(181, 206, 168)" } }, { - "types": [ - "constant" - ], - "style": { - "color": "rgb(100, 102, 149)" + types: ["constant"], + style: { + color: "rgb(100, 102, 149)" } }, { - "types": [ - "attr-name", - "variable" - ], - "style": { - "color": "rgb(156, 220, 254)" + types: ["attr-name", "variable"], + style: { + color: "rgb(156, 220, 254)" } }, { - "types": [ - "deleted", - "string" - ], - "style": { - "color": "rgb(206, 145, 120)" + types: ["deleted", "string"], + style: { + color: "rgb(206, 145, 120)" } }, { - "types": [ - "selector" - ], - "style": { - "color": "rgb(215, 186, 125)" + types: ["selector"], + style: { + color: "rgb(215, 186, 125)" } }, { - "types": [ - "operator" - ], - "style": { - "color": "rgb(212, 212, 212)" + types: ["operator"], + style: { + color: "rgb(212, 212, 212)" } }, { - "types": [ - "function" - ], - "style": { - "color": "rgb(220, 220, 170)" + types: ["function"], + style: { + color: "rgb(220, 220, 170)" } }, { - "types": [ - "class-name" - ], - "style": { - "color": "rgb(78, 201, 176)" + types: ["class-name"], + style: { + color: "rgb(78, 201, 176)" } }, { - "types": [ - "char" - ], - "style": { - "color": "rgb(209, 105, 105)" + types: ["char"], + style: { + color: "rgb(209, 105, 105)" } } ]