From 344904f683042b2bcad9c9461ae6e45d7bfbc9e8 Mon Sep 17 00:00:00 2001 From: "Bhajneet S.K" Date: Wed, 17 Feb 2021 18:00:43 -0500 Subject: [PATCH] Add VS Light theme (#95) --- src/themes/vsLight.js | 81 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) create mode 100644 src/themes/vsLight.js diff --git a/src/themes/vsLight.js b/src/themes/vsLight.js new file mode 100644 index 0000000..777f28a --- /dev/null +++ b/src/themes/vsLight.js @@ -0,0 +1,81 @@ +// @flow +// Converted automatically using ./tools/themeFromVsCode + +import type { PrismTheme } from "../types" + +var theme: PrismTheme = { + plain: { + color: "#000000", + backgroundColor: "#ffffff", + }, + styles: [ + { + types: ["comment"], + style: { + color: "rgb(0, 128, 0)", + }, + }, + { + types: ["builtin"], + style: { + color: "rgb(0, 112, 193)", + }, + }, + { + types: ["number", "variable", "inserted"], + style: { + color: "rgb(9, 134, 88)", + }, + }, + { + types: ["operator"], + style: { + color: "rgb(0, 0, 0)", + }, + }, + { + types: ["constant", "char"], + style: { + color: "rgb(129, 31, 63)", + }, + }, + { + types: ["tag"], + style: { + color: "rgb(128, 0, 0)", + }, + }, + { + types: ["attr-name"], + style: { + color: "rgb(255, 0, 0)", + }, + }, + { + types: ["deleted", "string"], + style: { + color: "rgb(163, 21, 21)", + }, + }, + { + types: ["changed", "punctuation"], + style: { + color: "rgb(4, 81, 165)", + }, + }, + { + types: ["function", "keyword"], + style: { + color: "rgb(0, 0, 255)", + }, + }, + { + types: ["class-name"], + style: { + color: "rgb(38, 127, 153)", + }, + }, + ], +} + +export default theme