From d8674b5ebf2880981a38a4eeedd0f0379b25b553 Mon Sep 17 00:00:00 2001 From: Daniel Smith Date: Sat, 9 Feb 2019 15:55:32 -0500 Subject: Yaru Dark: Rename from Yaru --- package.json | 4 +- themes/dark/yaru-dark.json | 417 +++++++++++++++++++++++++++++++++++++++++++ themes/dark/yaru.json | 417 ------------------------------------------- themes/src/dark/yaru-dark.ts | 87 +++++++++ themes/src/dark/yaru.ts | 87 --------- 5 files changed, 506 insertions(+), 506 deletions(-) create mode 100644 themes/dark/yaru-dark.json delete mode 100644 themes/dark/yaru.json create mode 100644 themes/src/dark/yaru-dark.ts delete mode 100644 themes/src/dark/yaru.ts diff --git a/package.json b/package.json index f0cc69c..db24974 100644 --- a/package.json +++ b/package.json @@ -63,9 +63,9 @@ "path": "./themes/dark/united-gnome.json" }, { - "label": "Yaru [beta]", + "label": "Yaru Dark", "uiTheme": "vs-dark", - "path": "./themes/dark/yaru.json" + "path": "./themes/dark/yaru-dark.json" }, { "label": "Arc", diff --git a/themes/dark/yaru-dark.json b/themes/dark/yaru-dark.json new file mode 100644 index 0000000..9553c4b --- /dev/null +++ b/themes/dark/yaru-dark.json @@ -0,0 +1,417 @@ +{ + "name": "Yaru Dark", + "tokenColors": [ + { + "name": "Global settings", + "settings": { + "background": "#383838", + "foreground": "#FFFFFF" + } + }, + { + "name": "String", + "scope": "string", + "settings": { + "foreground": "#FF5555" + } + }, + { + "name": "String Escape", + "scope": "constant.character.escape, text.html constant.character.entity.named, punctuation.definition.entity.html", + "settings": { + "foreground": "#ff7f7f" + } + }, + { + "name": "Boolean", + "scope": "constant.language.boolean", + "settings": { + "foreground": "#e95420" + } + }, + { + "name": "Number", + "scope": "constant.numeric", + "settings": { + "foreground": "#55ffff" + } + }, + { + "name": "Identifier", + "scope": "variable, support.variable, support.class, support.constant, meta.definition.variable entity.name.function", + "settings": { + "foreground": "#ff7e30" + } + }, + { + "name": "Keyword", + "scope": "keyword, modifier, variable.language.this, support.type.object, constant.language", + "settings": { + "foreground": "#bb90b7" + } + }, + { + "name": "Function call", + "scope": "entity.name.function, support.function", + "settings": { + "foreground": "#55ffff" + } + }, + { + "name": "Storage", + "scope": "storage.type, storage.modifier", + "settings": { + "foreground": "#e95420" + } + }, + { + "name": "Modules", + "scope": "support.module, support.node", + "settings": { + "foreground": "#ff7e30", + "fontStyle": "italic" + } + }, + { + "name": "Type", + "scope": "support.type", + "settings": { + "foreground": "#55ff55" + } + }, + { + "name": "Type", + "scope": "entity.name.type, entity.other.inherited-class", + "settings": { + "foreground": "#55ff55" + } + }, + { + "name": "Comment", + "scope": "comment", + "settings": { + "foreground": "#a8a8a8", + "fontStyle": "italic" + } + }, + { + "name": "Class", + "scope": "entity.name.type.class", + "settings": { + "foreground": "#55ff55", + "fontStyle": "underline" + } + }, + { + "name": "Class variable", + "scope": "variable.object.property, meta.field.declaration entity.name.function", + "settings": { + "foreground": "#55ff55" + } + }, + { + "name": "Class method", + "scope": "meta.definition.method entity.name.function", + "settings": { + "foreground": "#55ff55" + } + }, + { + "name": "Function definition", + "scope": "meta.function entity.name.function", + "settings": { + "foreground": "#55ff55" + } + }, + { + "name": "Template expression", + "scope": "template.expression.begin, template.expression.end, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end", + "settings": { + "foreground": "#bb90b7" + } + }, + { + "name": "Reset embedded/template expression colors", + "scope": "meta.embedded, source.groovy.embedded, meta.template.expression", + "settings": { + "foreground": "#FFFFFF" + } + }, + { + "name": "YAML key", + "scope": "entity.name.tag.yaml", + "settings": { + "foreground": "#ff7e30" + } + }, + { + "name": "JSON key", + "scope": "meta.object-literal.key, meta.object-literal.key string, support.type.property-name.json", + "settings": { + "foreground": "#ff7e30" + } + }, + { + "name": "JSON constant", + "scope": "constant.language.json", + "settings": { + "foreground": "#bb90b7" + } + }, + { + "name": "CSS class", + "scope": "entity.other.attribute-name.class", + "settings": { + "foreground": "#e95420" + } + }, + { + "name": "CSS ID", + "scope": "entity.other.attribute-name.id", + "settings": { + "foreground": "#FF5555" + } + }, + { + "name": "CSS tag", + "scope": "source.css entity.name.tag", + "settings": { + "foreground": "#55ff55" + } + }, + { + "name": "HTML tag outer", + "scope": "meta.tag, punctuation.definition.tag", + "settings": { + "foreground": "#bb90b7" + } + }, + { + "name": "HTML tag inner", + "scope": "entity.name.tag", + "settings": { + "foreground": "#ff7e30" + } + }, + { + "name": "HTML tag attribute", + "scope": "entity.other.attribute-name", + "settings": { + "foreground": "#55ffff" + } + }, + { + "name": "Markdown heading", + "scope": "markup.heading", + "settings": { + "foreground": "#bb90b7" + } + }, + { + "name": "Markdown link text", + "scope": "text.html.markdown meta.link.inline, meta.link.reference", + "settings": { + "foreground": "#ff7e30" + } + }, + { + "name": "Markdown block quote", + "scope": "text.html.markdown markup.quote", + "settings": { + "foreground": "#a8a8a8" + } + }, + { + "name": "Markdown list item", + "scope": "text.html.markdown beginning.punctuation.definition.list", + "settings": { + "foreground": "#bb90b7" + } + }, + { + "name": "Markdown italic", + "scope": "markup.italic", + "settings": { + "foreground": "#ff7e30", + "fontStyle": "italic" + } + }, + { + "name": "Markdown bold", + "scope": "markup.bold", + "settings": { + "foreground": "#ff7e30", + "fontStyle": "bold" + } + }, + { + "name": "Markdown bold italic", + "scope": "markup.bold markup.italic, markup.italic markup.bold", + "settings": { + "foreground": "#ff7e30", + "fontStyle": "italic bold" + } + }, + { + "name": "Markdown code block", + "scope": "markup.fenced_code.block.markdown punctuation.definition.markdown", + "settings": { + "foreground": "#FF5555" + } + }, + { + "name": "Markdown inline code", + "scope": "markup.inline.raw.string.markdown", + "settings": { + "foreground": "#FF5555" + } + }, + { + "name": "INI property name", + "scope": "keyword.other.definition.ini", + "settings": { + "foreground": "#ff7e30" + } + }, + { + "name": "INI section title", + "scope": "entity.name.section.group-title.ini", + "settings": { + "foreground": "#bb90b7" + } + }, + { + "name": "C# class", + "scope": "source.cs meta.class.identifier storage.type", + "settings": { + "foreground": "#55ff55", + "fontStyle": "underline" + } + }, + { + "name": "C# class method", + "scope": "source.cs meta.method.identifier entity.name.function", + "settings": { + "foreground": "#55ff55" + } + }, + { + "name": "C# function call", + "scope": "source.cs meta.method-call meta.method, source.cs entity.name.function", + "settings": { + "foreground": "#55ffff" + } + }, + { + "name": "C# type", + "scope": "source.cs storage.type", + "settings": { + "foreground": "#55ff55" + } + }, + { + "name": "C# return type", + "scope": "source.cs meta.method.return-type", + "settings": { + "foreground": "#55ff55" + } + }, + { + "name": "C# preprocessor", + "scope": "source.cs meta.preprocessor", + "settings": { + "foreground": "#a8a8a8" + } + }, + { + "name": "C# namespace", + "scope": "source.cs entity.name.type.namespace", + "settings": { + "foreground": "#FFFFFF" + } + }, + { + "name": "Global settings", + "settings": { + "background": "#383838", + "foreground": "#FFFFFF" + } + } + ], + "colors": { + "focusBorder": "#e95420", + "foreground": "#FFFFFF", + "dropdown.background": "#595959", + "input.background": "#595959", + "inputOption.activeBorder": "#e95420", + "list.activeSelectionBackground": "#e95420", + "list.dropBackground": "#e9542080", + "list.focusBackground": "#e9542080", + "list.hoverBackground": "#575757", + "list.inactiveSelectionBackground": "#575757", + "activityBar.background": "#575757", + "activityBar.dropBackground": "#e9542080", + "activityBarBadge.background": "#e95420", + "sideBar.background": "#3f3f3f", + "sideBarSectionHeader.background": "#575757", + "editorGroup.dropBackground": "#e9542080", + "editorGroup.focusedEmptyBorder": "#e95420", + "editorGroupHeader.tabsBackground": "#383838", + "tab.border": "#00000033", + "tab.activeBorder": "#e95420", + "tab.inactiveBackground": "#383838", + "tab.activeModifiedBorder": "#e95420", + "tab.inactiveModifiedBorder": "#8b3213", + "tab.unfocusedActiveModifiedBorder": "#ba4319", + "tab.unfocusedInactiveModifiedBorder": "#8b3213", + "editor.background": "#2f2f2f", + "editor.foreground": "#FFFFFF", + "editorLineNumber.foreground": "#FFFFFF4d", + "editorLineNumber.activeForeground": "#e95420", + "editor.selectionBackground": "#5e2750", + "editor.lineHighlightBorder": "#FFFFFF1a", + "editor.rangeHighlightBackground": "#FFFFFF0d", + "editorWidget.background": "#434343", + "editorHoverWidget.background": "#434343", + "editorMarkerNavigation.background": "#434343", + "peekView.border": "#e95420", + "peekViewEditor.background": "#2c2c2c", + "peekViewResult.background": "#434343", + "peekViewTitle.background": "#383838", + "panel.background": "#383838", + "panel.border": "#FFFFFF1a", + "panelTitle.activeBorder": "#FFFFFF80", + "panelTitle.inactiveForeground": "#FFFFFF80", + "statusBar.background": "#2f2f2f", + "statusBar.debuggingBackground": "#e95420", + "statusBar.noFolderBackground": "#2c2c2c", + "statusBarItem.activeBackground": "#e9542080", + "statusBarItem.hoverBackground": "#FFFFFF1a", + "titleBar.activeBackground": "#2b2929", + "pickerGroup.border": "#FFFFFF1a", + "terminal.ansiBlack": "#000000", + "terminal.ansiBlue": "#0000aa", + "terminal.ansiBrightBlack": "#555555", + "terminal.ansiBrightBlue": "#5555ff", + "terminal.ansiBrightCyan": "#55ffff", + "terminal.ansiBrightGreen": "#55ff55", + "terminal.ansiBrightMagenta": "#ff55ff", + "terminal.ansiBrightRed": "#ff5555", + "terminal.ansiBrightWhite": "#ffffff", + "terminal.ansiBrightYellow": "#ffff55", + "terminal.ansiCyan": "#00aaaa", + "terminal.ansiGreen": "#00aa00", + "terminal.ansiMagenta": "#aa00aa", + "terminal.ansiRed": "#aa0000", + "terminal.ansiWhite": "#aaaaaa", + "terminal.ansiYellow": "#aa5500", + "debugToolBar.background": "#4e4e4e", + "selection.background": "#e95420", + "menu.background": "#494949", + "menu.selectionBackground": "#575757", + "menubar.selectionBackground": "#494949", + "tab.unfocusedInactiveBackground": "#383838", + "terminal.background": "#300a24", + "titleBar.inactiveBackground": "#3d3a3a" + } +} \ No newline at end of file diff --git a/themes/dark/yaru.json b/themes/dark/yaru.json deleted file mode 100644 index ec59fa0..0000000 --- a/themes/dark/yaru.json +++ /dev/null @@ -1,417 +0,0 @@ -{ - "name": "Yaru [beta]", - "tokenColors": [ - { - "name": "Global settings", - "settings": { - "background": "#383838", - "foreground": "#FFFFFF" - } - }, - { - "name": "String", - "scope": "string", - "settings": { - "foreground": "#FF5555" - } - }, - { - "name": "String Escape", - "scope": "constant.character.escape, text.html constant.character.entity.named, punctuation.definition.entity.html", - "settings": { - "foreground": "#ff7f7f" - } - }, - { - "name": "Boolean", - "scope": "constant.language.boolean", - "settings": { - "foreground": "#e95420" - } - }, - { - "name": "Number", - "scope": "constant.numeric", - "settings": { - "foreground": "#55ffff" - } - }, - { - "name": "Identifier", - "scope": "variable, support.variable, support.class, support.constant, meta.definition.variable entity.name.function", - "settings": { - "foreground": "#ff7e30" - } - }, - { - "name": "Keyword", - "scope": "keyword, modifier, variable.language.this, support.type.object, constant.language", - "settings": { - "foreground": "#bb90b7" - } - }, - { - "name": "Function call", - "scope": "entity.name.function, support.function", - "settings": { - "foreground": "#55ffff" - } - }, - { - "name": "Storage", - "scope": "storage.type, storage.modifier", - "settings": { - "foreground": "#e95420" - } - }, - { - "name": "Modules", - "scope": "support.module, support.node", - "settings": { - "foreground": "#ff7e30", - "fontStyle": "italic" - } - }, - { - "name": "Type", - "scope": "support.type", - "settings": { - "foreground": "#55ff55" - } - }, - { - "name": "Type", - "scope": "entity.name.type, entity.other.inherited-class", - "settings": { - "foreground": "#55ff55" - } - }, - { - "name": "Comment", - "scope": "comment", - "settings": { - "foreground": "#a8a8a8", - "fontStyle": "italic" - } - }, - { - "name": "Class", - "scope": "entity.name.type.class", - "settings": { - "foreground": "#55ff55", - "fontStyle": "underline" - } - }, - { - "name": "Class variable", - "scope": "variable.object.property, meta.field.declaration entity.name.function", - "settings": { - "foreground": "#55ff55" - } - }, - { - "name": "Class method", - "scope": "meta.definition.method entity.name.function", - "settings": { - "foreground": "#55ff55" - } - }, - { - "name": "Function definition", - "scope": "meta.function entity.name.function", - "settings": { - "foreground": "#55ff55" - } - }, - { - "name": "Template expression", - "scope": "template.expression.begin, template.expression.end, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end", - "settings": { - "foreground": "#bb90b7" - } - }, - { - "name": "Reset embedded/template expression colors", - "scope": "meta.embedded, source.groovy.embedded, meta.template.expression", - "settings": { - "foreground": "#FFFFFF" - } - }, - { - "name": "YAML key", - "scope": "entity.name.tag.yaml", - "settings": { - "foreground": "#ff7e30" - } - }, - { - "name": "JSON key", - "scope": "meta.object-literal.key, meta.object-literal.key string, support.type.property-name.json", - "settings": { - "foreground": "#ff7e30" - } - }, - { - "name": "JSON constant", - "scope": "constant.language.json", - "settings": { - "foreground": "#bb90b7" - } - }, - { - "name": "CSS class", - "scope": "entity.other.attribute-name.class", - "settings": { - "foreground": "#e95420" - } - }, - { - "name": "CSS ID", - "scope": "entity.other.attribute-name.id", - "settings": { - "foreground": "#FF5555" - } - }, - { - "name": "CSS tag", - "scope": "source.css entity.name.tag", - "settings": { - "foreground": "#55ff55" - } - }, - { - "name": "HTML tag outer", - "scope": "meta.tag, punctuation.definition.tag", - "settings": { - "foreground": "#bb90b7" - } - }, - { - "name": "HTML tag inner", - "scope": "entity.name.tag", - "settings": { - "foreground": "#ff7e30" - } - }, - { - "name": "HTML tag attribute", - "scope": "entity.other.attribute-name", - "settings": { - "foreground": "#55ffff" - } - }, - { - "name": "Markdown heading", - "scope": "markup.heading", - "settings": { - "foreground": "#bb90b7" - } - }, - { - "name": "Markdown link text", - "scope": "text.html.markdown meta.link.inline, meta.link.reference", - "settings": { - "foreground": "#ff7e30" - } - }, - { - "name": "Markdown block quote", - "scope": "text.html.markdown markup.quote", - "settings": { - "foreground": "#a8a8a8" - } - }, - { - "name": "Markdown list item", - "scope": "text.html.markdown beginning.punctuation.definition.list", - "settings": { - "foreground": "#bb90b7" - } - }, - { - "name": "Markdown italic", - "scope": "markup.italic", - "settings": { - "foreground": "#ff7e30", - "fontStyle": "italic" - } - }, - { - "name": "Markdown bold", - "scope": "markup.bold", - "settings": { - "foreground": "#ff7e30", - "fontStyle": "bold" - } - }, - { - "name": "Markdown bold italic", - "scope": "markup.bold markup.italic, markup.italic markup.bold", - "settings": { - "foreground": "#ff7e30", - "fontStyle": "italic bold" - } - }, - { - "name": "Markdown code block", - "scope": "markup.fenced_code.block.markdown punctuation.definition.markdown", - "settings": { - "foreground": "#FF5555" - } - }, - { - "name": "Markdown inline code", - "scope": "markup.inline.raw.string.markdown", - "settings": { - "foreground": "#FF5555" - } - }, - { - "name": "INI property name", - "scope": "keyword.other.definition.ini", - "settings": { - "foreground": "#ff7e30" - } - }, - { - "name": "INI section title", - "scope": "entity.name.section.group-title.ini", - "settings": { - "foreground": "#bb90b7" - } - }, - { - "name": "C# class", - "scope": "source.cs meta.class.identifier storage.type", - "settings": { - "foreground": "#55ff55", - "fontStyle": "underline" - } - }, - { - "name": "C# class method", - "scope": "source.cs meta.method.identifier entity.name.function", - "settings": { - "foreground": "#55ff55" - } - }, - { - "name": "C# function call", - "scope": "source.cs meta.method-call meta.method, source.cs entity.name.function", - "settings": { - "foreground": "#55ffff" - } - }, - { - "name": "C# type", - "scope": "source.cs storage.type", - "settings": { - "foreground": "#55ff55" - } - }, - { - "name": "C# return type", - "scope": "source.cs meta.method.return-type", - "settings": { - "foreground": "#55ff55" - } - }, - { - "name": "C# preprocessor", - "scope": "source.cs meta.preprocessor", - "settings": { - "foreground": "#a8a8a8" - } - }, - { - "name": "C# namespace", - "scope": "source.cs entity.name.type.namespace", - "settings": { - "foreground": "#FFFFFF" - } - }, - { - "name": "Global settings", - "settings": { - "background": "#383838", - "foreground": "#FFFFFF" - } - } - ], - "colors": { - "focusBorder": "#e95420", - "foreground": "#FFFFFF", - "dropdown.background": "#595959", - "input.background": "#595959", - "inputOption.activeBorder": "#e95420", - "list.activeSelectionBackground": "#e95420", - "list.dropBackground": "#e9542080", - "list.focusBackground": "#e9542080", - "list.hoverBackground": "#575757", - "list.inactiveSelectionBackground": "#575757", - "activityBar.background": "#575757", - "activityBar.dropBackground": "#e9542080", - "activityBarBadge.background": "#e95420", - "sideBar.background": "#3f3f3f", - "sideBarSectionHeader.background": "#575757", - "editorGroup.dropBackground": "#e9542080", - "editorGroup.focusedEmptyBorder": "#e95420", - "editorGroupHeader.tabsBackground": "#383838", - "tab.border": "#00000033", - "tab.activeBorder": "#e95420", - "tab.inactiveBackground": "#383838", - "tab.activeModifiedBorder": "#e95420", - "tab.inactiveModifiedBorder": "#8b3213", - "tab.unfocusedActiveModifiedBorder": "#ba4319", - "tab.unfocusedInactiveModifiedBorder": "#8b3213", - "editor.background": "#2f2f2f", - "editor.foreground": "#FFFFFF", - "editorLineNumber.foreground": "#FFFFFF4d", - "editorLineNumber.activeForeground": "#e95420", - "editor.selectionBackground": "#5e2750", - "editor.lineHighlightBorder": "#FFFFFF1a", - "editor.rangeHighlightBackground": "#FFFFFF0d", - "editorWidget.background": "#434343", - "editorHoverWidget.background": "#434343", - "editorMarkerNavigation.background": "#434343", - "peekView.border": "#e95420", - "peekViewEditor.background": "#2c2c2c", - "peekViewResult.background": "#434343", - "peekViewTitle.background": "#383838", - "panel.background": "#383838", - "panel.border": "#FFFFFF1a", - "panelTitle.activeBorder": "#FFFFFF80", - "panelTitle.inactiveForeground": "#FFFFFF80", - "statusBar.background": "#2f2f2f", - "statusBar.debuggingBackground": "#e95420", - "statusBar.noFolderBackground": "#2c2c2c", - "statusBarItem.activeBackground": "#e9542080", - "statusBarItem.hoverBackground": "#FFFFFF1a", - "titleBar.activeBackground": "#2b2929", - "pickerGroup.border": "#FFFFFF1a", - "terminal.ansiBlack": "#000000", - "terminal.ansiBlue": "#0000aa", - "terminal.ansiBrightBlack": "#555555", - "terminal.ansiBrightBlue": "#5555ff", - "terminal.ansiBrightCyan": "#55ffff", - "terminal.ansiBrightGreen": "#55ff55", - "terminal.ansiBrightMagenta": "#ff55ff", - "terminal.ansiBrightRed": "#ff5555", - "terminal.ansiBrightWhite": "#ffffff", - "terminal.ansiBrightYellow": "#ffff55", - "terminal.ansiCyan": "#00aaaa", - "terminal.ansiGreen": "#00aa00", - "terminal.ansiMagenta": "#aa00aa", - "terminal.ansiRed": "#aa0000", - "terminal.ansiWhite": "#aaaaaa", - "terminal.ansiYellow": "#aa5500", - "debugToolBar.background": "#4e4e4e", - "selection.background": "#e95420", - "menu.background": "#494949", - "menu.selectionBackground": "#575757", - "menubar.selectionBackground": "#494949", - "tab.unfocusedInactiveBackground": "#383838", - "terminal.background": "#300a24", - "titleBar.inactiveBackground": "#3d3a3a" - } -} \ No newline at end of file diff --git a/themes/src/dark/yaru-dark.ts b/themes/src/dark/yaru-dark.ts new file mode 100644 index 0000000..187f24a --- /dev/null +++ b/themes/src/dark/yaru-dark.ts @@ -0,0 +1,87 @@ +import * as path from 'path'; +import { generateTheme, IColorSet } from 'vscode-theme-generator'; + +const themeName = 'Yaru Dark'; +const colors = { + white: '#FFFFFF', + cyan: '#55ffff', + red: '#FF5555', + green: '#55ff55', + ubuntuOrange: '#e95420', + lightAubergine: '#bb90b7', + midAubergine: '#5e2750', + darkAubergine: '#300a24', + titleBarGray: '#2b2929', + inactiveTitleBarGray: '#3d3a3a', + menuGray: '#494949', + bodyGray: '#383838', + editorGray: '#2f2f2f', + sideBarGray: '#3f3f3f', + highlightGray: '#575757', + commentGray: '#a8a8a8', +} + +const colorSet: IColorSet = { + base: { + background: colors.bodyGray, + foreground: colors.white, + color1: colors.ubuntuOrange, + color2: colors.red, + color3: colors.green, + color4: colors.cyan + }, + syntax: { + comment: colors.commentGray, + keyword: colors.lightAubergine, + markdownQuote: colors.commentGray, + }, + terminal: { + black: '#000000', + red: '#aa0000', + green: '#00aa00', + yellow: '#aa5500', + blue: '#0000aa', + magenta: '#aa00aa', + cyan: '#00aaaa', + white: '#aaaaaa', + brightBlack: '#555555', + brightRed: '#ff5555', + brightGreen: '#55ff55', + brightYellow: '#ffff55', + brightBlue: '#5555ff', + brightMagenta: '#ff55ff', + brightCyan: '#55ffff', + brightWhite: '#ffffff', + }, + ui: { + selection: colors.midAubergine + }, + overrides: { + 'activityBar.background': colors.highlightGray, + 'editor.background': colors.editorGray, + 'editorGroupHeader.tabsBackground': colors.bodyGray, + 'list.activeSelectionBackground': colors.ubuntuOrange, + 'list.hoverBackground': colors.highlightGray, + 'list.inactiveSelectionBackground': colors.highlightGray, + 'menu.background': colors.menuGray, + 'menu.selectionBackground': colors.highlightGray, + 'menubar.selectionBackground': colors.menuGray, + 'panel.background': colors.bodyGray, + 'sideBar.background': colors.sideBarGray, + 'sideBarSectionHeader.background': colors.highlightGray, + 'statusBar.background': colors.editorGray, + 'tab.inactiveBackground': colors.bodyGray, + 'tab.unfocusedInactiveBackground': colors.bodyGray, + 'terminal.background': colors.darkAubergine, + 'titleBar.activeBackground': colors.titleBarGray, + 'titleBar.inactiveBackground': colors.inactiveTitleBarGray, + } +}; + +var fileName = themeName + .toLowerCase() + .replace(/\[\w*\]/, '') + .trim() + .replace(/\s+/, '-') + '.json'; + +generateTheme(themeName, colorSet, path.join(__dirname, fileName)); \ No newline at end of file diff --git a/themes/src/dark/yaru.ts b/themes/src/dark/yaru.ts deleted file mode 100644 index c34fac5..0000000 --- a/themes/src/dark/yaru.ts +++ /dev/null @@ -1,87 +0,0 @@ -import * as path from 'path'; -import { generateTheme, IColorSet } from 'vscode-theme-generator'; - -const themeName = 'Yaru [beta]'; -const colors = { - white: '#FFFFFF', - cyan: '#55ffff', - red: '#FF5555', - green: '#55ff55', - ubuntuOrange: '#e95420', - lightAubergine: '#bb90b7', - midAubergine: '#5e2750', - darkAubergine: '#300a24', - titleBarGray: '#2b2929', - inactiveTitleBarGray: '#3d3a3a', - menuGray: '#494949', - bodyGray: '#383838', - editorGray: '#2f2f2f', - sideBarGray: '#3f3f3f', - highlightGray: '#575757', - commentGray: '#a8a8a8', -} - -const colorSet: IColorSet = { - base: { - background: colors.bodyGray, - foreground: colors.white, - color1: colors.ubuntuOrange, - color2: colors.red, - color3: colors.green, - color4: colors.cyan - }, - syntax: { - comment: colors.commentGray, - keyword: colors.lightAubergine, - markdownQuote: colors.commentGray, - }, - terminal: { - black: '#000000', - red: '#aa0000', - green: '#00aa00', - yellow: '#aa5500', - blue: '#0000aa', - magenta: '#aa00aa', - cyan: '#00aaaa', - white: '#aaaaaa', - brightBlack: '#555555', - brightRed: '#ff5555', - brightGreen: '#55ff55', - brightYellow: '#ffff55', - brightBlue: '#5555ff', - brightMagenta: '#ff55ff', - brightCyan: '#55ffff', - brightWhite: '#ffffff', - }, - ui: { - selection: colors.midAubergine - }, - overrides: { - 'activityBar.background': colors.highlightGray, - 'editor.background': colors.editorGray, - 'editorGroupHeader.tabsBackground': colors.bodyGray, - 'list.activeSelectionBackground': colors.ubuntuOrange, - 'list.hoverBackground': colors.highlightGray, - 'list.inactiveSelectionBackground': colors.highlightGray, - 'menu.background': colors.menuGray, - 'menu.selectionBackground': colors.highlightGray, - 'menubar.selectionBackground': colors.menuGray, - 'panel.background': colors.bodyGray, - 'sideBar.background': colors.sideBarGray, - 'sideBarSectionHeader.background': colors.highlightGray, - 'statusBar.background': colors.editorGray, - 'tab.inactiveBackground': colors.bodyGray, - 'tab.unfocusedInactiveBackground': colors.bodyGray, - 'terminal.background': colors.darkAubergine, - 'titleBar.activeBackground': colors.titleBarGray, - 'titleBar.inactiveBackground': colors.inactiveTitleBarGray, - } -}; - -var fileName = themeName - .toLowerCase() - .replace(/\[\w*\]/, '') - .trim() - .replace(/\s+/, '-') + '.json'; - -generateTheme(themeName, colorSet, path.join(__dirname, fileName)); \ No newline at end of file -- cgit v1.2.3