From 77d6903be09279e73bd113d4da5a2085126dd9e8 Mon Sep 17 00:00:00 2001 From: Mattia Astorino Date: Tue, 4 Apr 2017 09:01:28 +0200 Subject: [PATCH] chore: Add basi architecture for theme generator --- src/themes/Material-Theme-Darker.json | 100 +++++++ src/themes/Material-Theme-Lighter.json | 300 ++++++++++++++++++++ src/themes/settings/commons.json | 156 ++++++++++ src/themes/settings/specific/darker.json | 77 +++++ src/themes/settings/specific/default.json | 73 +++++ src/themes/settings/specific/lighter.json | 77 +++++ src/themes/settings/specific/palenight.json | 73 +++++ 7 files changed, 856 insertions(+) create mode 100644 src/themes/Material-Theme-Darker.json create mode 100644 src/themes/Material-Theme-Lighter.json create mode 100644 src/themes/settings/commons.json create mode 100644 src/themes/settings/specific/darker.json create mode 100644 src/themes/settings/specific/default.json create mode 100644 src/themes/settings/specific/lighter.json create mode 100644 src/themes/settings/specific/palenight.json diff --git a/src/themes/Material-Theme-Darker.json b/src/themes/Material-Theme-Darker.json new file mode 100644 index 0000000..1ef55c7 --- /dev/null +++ b/src/themes/Material-Theme-Darker.json @@ -0,0 +1,100 @@ +{ + "name": "Material Theme Darker", + "tokenColors": [ + { + "settings": { + "background": "#252526", + "foreground": "#FFFFFF", + "caret": "#FFCC00", + "lineHighlight": "#00000050", + "selection": "#61616150", + "selectionHighlight": "#61616190", + "inactiveSelection": "#61616130", + "rangeHighlight": "#80CBC440", + "wordHighlight": "#80CBC440", + "wordHighlightStrong": "#80CBC440", + "currentFindMatchHighlight": "#D28445", + "findMatchHighlight": "#FFFFFF40", + "findRangeHighlight": "#FFFFFF40", + "activeLinkForeground": "#00FFFF", + "hoverHighlight": "#FFFFFF30", + "referenceHighlight": "#00FFFF", + "guide": "#42424240", + "invisibles": "#65737E30" + } + }, + { + "name": "Comment", + "scope": [ + "comment", + "punctuation.definition.comment" + ], + "settings": { + "fontStyle": "italic", + "foreground": "#4A4A4A" + } + }, + { + "name": "Variables", + "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": "Invalid 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" + } + } + ] +} \ No newline at end of file diff --git a/src/themes/Material-Theme-Lighter.json b/src/themes/Material-Theme-Lighter.json new file mode 100644 index 0000000..173a0cc --- /dev/null +++ b/src/themes/Material-Theme-Lighter.json @@ -0,0 +1,300 @@ +{ + "name": "Abyss", + "tokenColors": [ + { + "settings": { + "background": "#000c18", + "foreground": "#6688cc" + } + }, + { + "name": "Comment", + "scope": "comment", + "settings": { + "foreground": "#384887" + } + }, + { + "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", + "entity.name.type" + ], + "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": "diff: header", + "scope": [ + "meta.diff", + "meta.diff.header" + ], + "settings": { + "background": "#b58900", + "fontStyle": "italic", + "foreground": "#E0EDDD" + } + }, + { + "name": "diff: deleted", + "scope": "markup.deleted", + "settings": { + "background": "#eee8d5", + "fontStyle": "", + "foreground": "#dc322f" + } + }, + { + "name": "diff: changed", + "scope": "markup.changed", + "settings": { + "background": "#eee8d5", + "fontStyle": "", + "foreground": "#cb4b16" + } + }, + { + "name": "diff: inserted", + "scope": "markup.inserted", + "settings": { + "background": "#eee8d5", + "foreground": "#219186" + } + }, + { + "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" + } + } + ], + "colors": { + // Base Colors + "inputBoxBackground": "#181f2f", + "dropdownBackground": "#181f2f", + "inputBoxActiveOptionBorder": "#266fa0", + // Editor Colors + "editorBackground": "#000c18", + "editorForeground": "#6688cc", + "editorCursor": "#ddbb88", + "editorWhitespaces": "#103050", + "editorLineHighlight": "#082050", + "editorSelection": "#770811", + "editorIndentGuides": "#002952", + "editorHoverBackground": "#000c38", + "editorHoverBorder": "#004c18", + "peekViewResultsBackground": "#060621", + "peekViewResultsMatchForeground": "#7777cc", + "peekViewResultsSelectionBackground": "#070866", + "peekViewResultsSelectionForeground": "#7799ee", + "peekViewEditorBackground": "#001F33", + "peekViewTitleBackground": "#060621", + "peekViewBorder": "#7777cc", + "peekViewEditorMatchHighlight": "#ddbb5555", + "editorLineNumbers": "#406385", + "editorMarkerNavigationBackground": "#060621", + "editorMarkerNavigationError": "#FF0000", + "editorMarkerNavigationWarning": "#00FF00", + "editorFindWidgetBackground": "#262641", + // Workbench Colors + "tabsContainerBackground": "#1c1c2a", + "inactiveTabBackground": "#10192c", + "tabBorder": "#2b2b4a", + "editorGroupBorder": "#2b2b4a", + "editorGroupBackground": "#1c1c2a", + "editorDragAndDropBackground": "#25375daa", + "activityBarDragAndDropBackground": "#25375daa", + "editorSideBySideBorder": "#10192c", + "panelTopBorder": "#2b2b4a", + "statusBarBackground": "#10192c", + "statusBarNoFolderBackground": "#10192c", + "statusBarDebuggingBackground": "#10192c", + "debugToolBarBackground": "#051336", + "activityBarBackground": "#051336", + "activityBadgeBackground": "#0063a5", + "sideBarBackground": "#060621", + "titleBarActiveBackground": "#10192c", + "titleBarInactiveBackground": "#10192caa" + } +} \ No newline at end of file diff --git a/src/themes/settings/commons.json b/src/themes/settings/commons.json new file mode 100644 index 0000000..ef16039 --- /dev/null +++ b/src/themes/settings/commons.json @@ -0,0 +1,156 @@ +{ + "author": "Mattia Astorino", + "comment": "The most epic theme now for Visual Studio Code", + "accents": [ + { + "id": "lime", + "name": "Lime", + "hex": "#7CB342", + "rgb": "124, 179, 66", + "foreground": { + "hex": "#000000", + "rgb": "0, 0, 0" + } + }, + { + "id": "purple", + "name": "Purple", + "hex": "#AB47BC", + "rgb": "171, 71, 188", + "foreground": { + "hex": "#FFFFFF", + "rgb": "255, 255, 255" + } + }, + { + "id": "red", + "name": "Red", + "hex": "#E57373", + "rgb": "229, 115, 115", + "foreground": { + "hex": "#000000", + "rgb": "0, 0, 0" + } + }, + { + "id": "orange", + "name": "Orange", + "hex": "#FF7042", + "rgb": "255, 112, 66", + "foreground": { + "hex": "#000000", + "rgb": "0, 0, 0" + } + }, + { + "id": "yellow", + "name": "Yellow", + "hex": "#FFA000", + "rgb": "255, 160, 0", + "foreground": { + "hex": "#000000", + "rgb": "0, 0, 0" + } + }, + { + "id": "indigo", + "name": "Indigo", + "hex": "#5C6BC0", + "rgb": "92, 107, 192", + "foreground": { + "hex": "#FFFFFF", + "rgb": "255, 255, 255" + } + }, + { + "id": "pink", + "name": "Pink", + "hex": "#FF4081", + "rgb": "255, 64, 129", + "foreground": { + "hex": "#FFFFFF", + "rgb": "255, 255, 255" + } + }, + { + "id": "blue", + "name": "Blue", + "hex": "#2979FF", + "rgb": "41, 121, 255", + "foreground": { + "hex": "#FFFFFF", + "rgb": "255, 255, 255" + } + }, + { + "id": "cyan", + "name": "Cyan", + "hex": "#00BCD4", + "rgb": "0, 188, 212", + "foreground": { + "hex": "#000000", + "rgb": "0, 0, 0" + } + }, + { + "id": "bright-teal", + "name": "Bright Teal", + "hex": "#64FFDA", + "rgb": "100, 255, 218", + "foreground": { + "hex": "#000000", + "rgb": "0, 0, 0" + } + }, + { + "id": "acid-lime", + "name": "Acid Lime", + "hex": "#C6FF00", + "rgb": "198, 255, 0", + "foreground": { + "hex": "#000000", + "rgb": "0, 0, 0" + } + }, + { + "id": "graphite", + "name": "Graphite", + "hex": "#616161", + "rgb": "97, 97, 97", + "foreground": { + "hex": "#FFFFFF", + "rgb": "255, 255, 255" + } + }, + { + "id": "brba", + "name": "Breaking Bad", + "hex": "#388E3C", + "rgb": "56, 142, 60", + "foreground": { + "hex": "#FFFFFF", + "rgb": "255, 255, 255" + } + }, + { + "id": "sky", + "name": "Sky", + "hex": "#84FFFF", + "rgb": "132, 255, 255", + "foreground": { + "hex": "#000000", + "rgb": "0, 0, 0" + } + }, + { + "id": "tomato", + "name": "Tomato", + "hex": "#F44336", + "rgb": "244, 67, 54", + "foreground": { + "hex": "#FFFFFF", + "rgb": "255, 255, 255" + } + } + ] +} \ No newline at end of file diff --git a/src/themes/settings/specific/darker.json b/src/themes/settings/specific/darker.json new file mode 100644 index 0000000..078c659 --- /dev/null +++ b/src/themes/settings/specific/darker.json @@ -0,0 +1,77 @@ +{ + "name": "Material-Theme-Darker", + "semanticClass": "material.theme.darker", + "uuid": "4F44C0F5-1F8D-4C52-8BAB-F0951904C1EC", + "ui": { + "id": "material-theme", + "variant": { + "id": "darker", + "name": "Darker" + }, + "background": { + "primary": { + "hex": "#212121", + "rgb": "33, 33, 33" + }, + "scrollbar": { + "hex": "#ffffff", + "rgb": "255, 255, 255" + } + }, + "foreground": { + "primary": { + "hex": "#616161", + "rgb": "97, 97, 97" + }, + "secondary": { + "hex": "#6f7a7f", + "rgb": "111, 122, 127" + }, + "selected": { + "hex": "#dddfe1", + "rgb": "221, 223, 225" + } + } + }, + "scheme": { + "background": "#212121", + "comments": "#4A4A4A", + "caret": "#FFCC00", + "findHighlight": "#F8E71C", + "foreground": "#eeffffff", + "guides": "#42424270", + "activeGuide": "#FFFFFF50", + "stackGuides": "#42424280", + "gutter": "#424242", + "invisibles": "#65737e", + "highlight": "#00000050", + "selection": "#61616150", + "shadow": "#00000010", + "keywords": "#cfd8dc", + "constant": "#80CBC4", + "string": "#F9355A", + "constantEscape": "#FFC400", + "base": { + "white": "#ffffff", + "black": "#000000", + "red": "#FF5370", + "orange": "#F78C6C", + "yellow": "#FFCB6B", + "green": "#C3E88D", + "cyan": "#89DDFF", + "blue": "#82AAFF", + "paleblue": "#B2CCD6", + "purple": "#C792EA", + "brown": "#C17E70", + "pink": "#f07178", + "violet": "#bb80b3" + } + }, + "extras": { + "plainTasks": { + "name": "Plain Tasks", + "semanticClass": "material.theme.darker.plain.tasks", + "uuid": "2c08ecfd-e69c-4cf3-8b6d-ec07a83c30ab" + } + } +} \ No newline at end of file diff --git a/src/themes/settings/specific/default.json b/src/themes/settings/specific/default.json new file mode 100644 index 0000000..891909d --- /dev/null +++ b/src/themes/settings/specific/default.json @@ -0,0 +1,73 @@ +{ + "name": "Material-Theme", + "semanticClass": "material.theme.default", + "uuid": "133d1250-19c6-4565-bc93-b37fd36f7fc9", + "ui": { + "id": "material-theme", + "variant": { + "id": "default", + "name": "Default" + }, + "background": { + "primary": { + "hex": "#263238", + "rgb": "38, 50, 56" + }, + "scrollbar": { + "hex": "#ffffff", + "rgb": "255, 255, 255" + } + }, + "foreground": { + "primary": { + "hex": "#394E59", + "rgb": "96, 125, 139" + }, + "selected": { + "hex": "#dddfe1", + "rgb": "221, 223, 225" + } + } + }, + "scheme": { + "background": "#263238", + "comments": "#546E7A", + "caret": "#FFCC00", + "findHighlight": "#F8E71C", + "foreground": "#eeffff", + "guides": "#37474F80", + "activeGuide": "#80CBC470", + "stackGuides": "#37474Fff", + "gutter": "#37474F", + "invisibles": "#65737e", + "highlight": "#00000050", + "selection": "#80CBC420", + "shadow": "#00000010", + "keywords": "#cfd8dc", + "constant": "#80CBC4", + "string": "#F9355A", + "constantEscape": "#FFC400", + "base": { + "white": "#ffffff", + "black": "#000000", + "red": "#FF5370", + "orange": "#F78C6C", + "yellow": "#FFCB6B", + "green": "#C3E88D", + "cyan": "#89DDFF", + "blue": "#82AAFF", + "paleblue": "#B2CCD6", + "purple": "#C792EA", + "brown": "#C17E70", + "pink": "#f07178", + "violet": "#bb80b3" + } + }, + "extras": { + "plainTasks": { + "name": "Plain Tasks", + "semanticClass": "material.theme.default.plain.tasks", + "uuid": "f38cc8d3-7cff-4418-a6e2-54c6c4e5f5cc" + } + } +} \ No newline at end of file diff --git a/src/themes/settings/specific/lighter.json b/src/themes/settings/specific/lighter.json new file mode 100644 index 0000000..e0cb09b --- /dev/null +++ b/src/themes/settings/specific/lighter.json @@ -0,0 +1,77 @@ +{ + "name": "Material-Theme-Lighter", + "semanticClass": "material.theme.lighter", + "uuid": "133d1250-19c6-4565-bc93-b37fd36f7fc9", + "ui": { + "id": "material-theme", + "variant": { + "id": "lighter", + "name": "Lighter" + }, + "background": { + "primary": { + "hex": "#FAFAFA", + "rgb": "250, 250, 250" + }, + "scrollbar": { + "hex": "#ffffff", + "rgb": "255, 255, 255" + } + }, + "foreground": { + "primary": { + "hex": "#a7adb0", + "rgb": "167, 173, 176" + }, + "secondary": { + "hex": "#6f7a7f", + "rgb": "111, 122, 127" + }, + "selected": { + "hex": "#dddfe1", + "rgb": "221, 223, 225" + } + } + }, + "scheme": { + "background": "#fafafa", + "comments": "#CCD7DA", + "caret": "#27272790", + "findHighlight": "#F8E71C", + "foreground": "#80CBC4", + "guides": "#B0BEC570", + "activeGuide": "#00000070", + "stackGuides": "#B0BEC580", + "gutter": "#CFD8DC", + "invisibles": "#E7EAEC", + "highlight": "#90A4AE20", + "selection": "#80CBC440", + "shadow": "#90A4AE50", + "keywords": "#AAB3B5", + "constant": "#80CBC4", + "string": "#F9355A", + "constantEscape": "#FFC400", + "base": { + "white": "#ffffff", + "black": "#000000", + "red": "#E53935", + "orange": "#F76D47", + "yellow": "#FFB62C", + "green": "#91B859", + "cyan": "#39ADB5", + "blue": "#6182B8", + "paleblue": "#8796B0", + "purple": "#7C4DFF", + "brown": "#C17E70", + "pink": "#FF5370", + "violet": "#945EB8" + } + }, + "extras": { + "plainTasks": { + "name": "Plain Tasks", + "semanticClass": "material.theme.lighter.plain.tasks", + "uuid": "adbb93d6-d3d2-4a08-82aa-8a5d163a83f9" + } + } +} \ No newline at end of file diff --git a/src/themes/settings/specific/palenight.json b/src/themes/settings/specific/palenight.json new file mode 100644 index 0000000..7492882 --- /dev/null +++ b/src/themes/settings/specific/palenight.json @@ -0,0 +1,73 @@ +{ + "name": "Material-Theme-Palenight", + "semanticClass": "material.theme.palenight", + "uuid": "133d1250-19c6-4565-bc93-b37fd36f7fc9", + "ui": { + "id": "material-theme", + "variant": { + "id": "palenight", + "name": "Palenight" + }, + "background": { + "primary": { + "hex": "#292D3E", + "rgb": "41, 45, 62" + }, + "scrollbar": { + "hex": "#ffffff", + "rgb": "255, 255, 255" + } + }, + "foreground": { + "primary": { + "hex": "#676E95", + "rgb": "103, 110, 149" + }, + "selected": { + "hex": "#dddfe1", + "rgb": "221, 223, 225" + } + } + }, + "scheme": { + "background": "#292D3E", + "comments": "#676E95", + "caret": "#FFCC00", + "findHighlight": "#F8E71C", + "foreground": "#959DCB", + "guides": "#4E557980", + "activeGuide": "#828ED5", + "stackGuides": "#4E5579", + "gutter": "#3A3F58", + "invisibles": "#4E5579", + "highlight": "#00000030", + "selection": "#717CB440", + "shadow": "#00000010", + "keywords": "#cfd8dc", + "constant": "#80CBC4", + "string": "#F9355A", + "constantEscape": "#FFC400", + "base": { + "white": "#ffffff", + "black": "#000000", + "red": "#FF5370", + "orange": "#F78C6C", + "yellow": "#FFCB6B", + "green": "#C3E88D", + "cyan": "#89DDFF", + "blue": "#82AAFF", + "paleblue": "#B2CCD6", + "purple": "#C792EA", + "brown": "#C17E70", + "pink": "#f07178", + "violet": "#bb80b3" + } + }, + "extras": { + "plainTasks": { + "name": "Plain Tasks", + "semanticClass": "material.theme.palenight.plain.tasks", + "uuid": "093a4339-743f-47a3-9323-6ae03adc1fed" + } + } +} \ No newline at end of file