From 3bb0b9d0267b4c1ec2f15fa311c7d7511dcccf57 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 11 Dec 2024 09:15:36 +0100 Subject: [PATCH] Add super basic pastel coloring --- themes/ShinyCode-color-theme.json | 712 +++++------------------------- 1 file changed, 119 insertions(+), 593 deletions(-) diff --git a/themes/ShinyCode-color-theme.json b/themes/ShinyCode-color-theme.json index 2aadc47..8bda155 100644 --- a/themes/ShinyCode-color-theme.json +++ b/themes/ShinyCode-color-theme.json @@ -1,628 +1,154 @@ { "name": "ShinyCode", "colors": { - "editor.background": "#263238", - "editor.foreground": "#eeffff", - "activityBarBadge.background": "#007acc", - "sideBarTitle.foreground": "#bbbbbb" + "foreground": "#E1E2E9", + "focusBorder": "#8B9198", + "disabledForeground": "#E1E2E960", + + "editor.background": "#111318", + + "widget.shadow": "#000000", + "editorWidget.background": "#1D2024", + "editorWidget.resizeBorder": "#41474D", + "breadcrumb.background": "#1D2024", + "tab.activeBackground": "#272A2F", + "tab.activeBorder": "#E1E2E9", + "tab.border": "#101418", + "tab.inactiveBackground": "#272A2F", + "editorGroupHeader.tabsBackground": "#272A2F", + + "sideBar.background": "#0B0E13", + "sideBar.border": "#101418", + "sideBarSectionHeader.background": "#191C20", + "sideBarTitle.background": "#272A2F", + "activityBar.background": "#272A2F", + "activityBarTop.background": "#272A2F", + + "panel.background": "#0B0E13", + "panel.border": "#101418", + "panelSectionHeader.background": "#1D2024", + + "statusBar.background": "#272A2F", + "statusBar.border": "#101418", + + "titleBar.activeBackground": "#32353A", + "menu.background": "#32353A", + "menu.separatorBackground": "#41474D", + "menu.selectionBackground": "#41474D", + + "button.background": "#A7C8FF", + "button.foreground": "#04305F", + "input.background": "#244777", + "input.foreground": "#D5E3FF", + "dropdown.background": "#244777", + "dropdown.foreground": "#D5E3FF", + "badge.background": "#3C4279", + "badge.foreground": "#DFE0FF", + + "textLink.foreground": "#5BD5FF", + "textLink.activeForeground": "#89D0ED", + + "settings.modifiedItemIndicator": "#3E5F90", }, "tokenColors": [ + { + "name": "Source", + "scope": [ + "source", + ], + "settings": { + "foreground": "#E1E2E9" + } + }, { "name": "Comment", "scope": [ "comment", - "punctuation.definition.comment" ], "settings": { - "fontStyle": "italic", - "foreground": "#546E7A" + "foreground": "#3C4279", + } + }, + { + "name": "Keywords", + "scope": [ + "keyword", + "storage", + "punctuation", + ], + "settings": { + "foreground": "#FFB691", + } + }, + { + "name": "Functions", + "scope": [ + "entity.name.function", + ], + "settings": { + "foreground": "#D4C972", + } + }, + { + "name": "Interfaces", + "scope": [ + "entity.name.interface", + "entity.name.type.interface", + ], + "settings": { + "foreground": "#A2D399", + } + }, + { + "name": "Types", + "scope": [ + "entity", + ], + "settings": { + "foreground": "#87D6BC", } }, { "name": "Variables", "scope": [ "variable", - "string constant.other.placeholder" ], "settings": { - "foreground": "#EEFFFF" + "foreground": "#89D0ED", } }, { - "name": "Colors", - "scope": [ - "constant.other.color" - ], - "settings": { - "foreground": "#ffffff" - } - }, - { - "name": "Invalid", - "scope": [ - "invalid", - "invalid.illegal" - ], - "settings": { - "foreground": "#FF5370" - } - }, - { - "name": "Keyword, Storage", - "scope": [ - "keyword", - "storage.type", - "storage.modifier" - ], - "settings": { - "foreground": "#C792EA" - } - }, - { - "name": "Operator, Misc", - "scope": [ - "keyword.control", - "constant.other.color", - "punctuation", - "meta.tag", - "punctuation.definition.tag", - "punctuation.separator.inheritance.php", - "punctuation.definition.tag.html", - "punctuation.definition.tag.begin.html", - "punctuation.definition.tag.end.html", - "punctuation.section.embedded", - "keyword.other.template", - "keyword.other.substitution" - ], - "settings": { - "foreground": "#89DDFF" - } - }, - { - "name": "Tag", - "scope": [ - "entity.name.tag", - "meta.tag.sgml", - "markup.deleted.git_gutter" - ], - "settings": { - "foreground": "#f07178" - } - }, - { - "name": "Function, Special Method", - "scope": [ - "entity.name.function", - "meta.function-call", - "variable.function", - "support.function", - "keyword.other.special-method" - ], - "settings": { - "foreground": "#82AAFF" - } - }, - { - "name": "Block Level Variables", - "scope": [ - "meta.block variable.other" - ], - "settings": { - "foreground": "#f07178" - } - }, - { - "name": "Other Variable, String Link", - "scope": [ - "support.other.variable", - "string.other.link" - ], - "settings": { - "foreground": "#f07178" - } - }, - { - "name": "Number, Constant, Function Argument, Tag Attribute, Embedded", - "scope": [ - "constant.numeric", - "constant.language", - "support.constant", - "constant.character", - "constant.escape", - "variable.parameter", - "keyword.other.unit", - "keyword.other" - ], - "settings": { - "foreground": "#F78C6C" - } - }, - { - "name": "String, Symbols, Inherited Class, Markup Heading", + "name": "Values", "scope": [ + "constant", + "support", "string", - "constant.other.symbol", - "constant.other.key", - "entity.other.inherited-class", - "markup.heading", - "markup.inserted.git_gutter", - "meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js" ], "settings": { - "foreground": "#C3E88D" + "foreground": "#D1BCFD", } }, { - "name": "Class, Support", + "name": "Enums", "scope": [ - "entity.name", - "support.type", - "support.class", - "support.other.namespace.use.php", - "meta.use.php", - "support.other.namespace.php", - "markup.changed.git_gutter", - "support.type.sys-types" + "entity.name.enum", + "entity.name.type.enum", ], "settings": { - "foreground": "#FFCB6B" - } - }, - { - "name": "Entity Types", - "scope": [ - "support.type" - ], - "settings": { - "foreground": "#B2CCD6" - } - }, - { - "name": "CSS Class and Support", - "scope": [ - "source.css support.type.property-name", - "source.sass support.type.property-name", - "source.scss support.type.property-name", - "source.less support.type.property-name", - "source.stylus support.type.property-name", - "source.postcss support.type.property-name" - ], - "settings": { - "foreground": "#B2CCD6" - } - }, - { - "name": "Sub-methods", - "scope": [ - "entity.name.module.js", - "variable.import.parameter.js", - "variable.other.class.js" - ], - "settings": { - "foreground": "#FF5370" - } - }, - { - "name": "Language methods", - "scope": [ - "variable.language" - ], - "settings": { - "fontStyle": "italic", - "foreground": "#FF5370" - } - }, - { - "name": "entity.name.method.js", - "scope": [ - "entity.name.method.js" - ], - "settings": { - "fontStyle": "italic", - "foreground": "#82AAFF" - } - }, - { - "name": "meta.method.js", - "scope": [ - "meta.class-method.js entity.name.function.js", - "variable.function.constructor" - ], - "settings": { - "foreground": "#82AAFF" - } - }, - { - "name": "Attributes", - "scope": [ - "entity.other.attribute-name" - ], - "settings": { - "foreground": "#C792EA" - } - }, - { - "name": "HTML Attributes", - "scope": [ - "text.html.basic entity.other.attribute-name.html", - "text.html.basic entity.other.attribute-name" - ], - "settings": { - "fontStyle": "italic", - "foreground": "#FFCB6B" - } - }, - { - "name": "CSS Classes", - "scope": [ - "entity.other.attribute-name.class" - ], - "settings": { - "foreground": "#FFCB6B" - } - }, - { - "name": "CSS ID's", - "scope": [ - "source.sass keyword.control" - ], - "settings": { - "foreground": "#82AAFF" - } - }, - { - "name": "Inserted", - "scope": [ - "markup.inserted" - ], - "settings": { - "foreground": "#C3E88D" - } - }, - { - "name": "Deleted", - "scope": [ - "markup.deleted" - ], - "settings": { - "foreground": "#FF5370" - } - }, - { - "name": "Changed", - "scope": [ - "markup.changed" - ], - "settings": { - "foreground": "#C792EA" - } - }, - { - "name": "Regular Expressions", - "scope": [ - "string.regexp" - ], - "settings": { - "foreground": "#89DDFF" - } - }, - { - "name": "Escape Characters", - "scope": [ - "constant.character.escape" - ], - "settings": { - "foreground": "#89DDFF" - } - }, - { - "name": "URL", - "scope": [ - "*url*", - "*link*", - "*uri*" - ], - "settings": { - "fontStyle": "underline" - } - }, - { - "name": "Decorators", - "scope": [ - "tag.decorator.js entity.name.tag.js", - "tag.decorator.js punctuation.definition.tag.js" - ], - "settings": { - "fontStyle": "italic", - "foreground": "#82AAFF" - } - }, - { - "name": "ES7 Bind Operator", - "scope": [ - "source.js constant.other.object.key.js string.unquoted.label.js" - ], - "settings": { - "fontStyle": "italic", - "foreground": "#FF5370" - } - }, - { - "name": "JSON Key - Level 0", - "scope": [ - "source.json meta.structure.dictionary.json support.type.property-name.json" - ], - "settings": { - "foreground": "#C792EA" - } - }, - { - "name": "JSON Key - Level 1", - "scope": [ - "source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json" - ], - "settings": { - "foreground": "#FFCB6B" - } - }, - { - "name": "JSON Key - Level 2", - "scope": [ - "source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json" - ], - "settings": { - "foreground": "#F78C6C" - } - }, - { - "name": "JSON Key - Level 3", - "scope": [ - "source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json" - ], - "settings": { - "foreground": "#FF5370" - } - }, - { - "name": "JSON Key - Level 4", - "scope": [ - "source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json" - ], - "settings": { - "foreground": "#C17E70" - } - }, - { - "name": "JSON Key - Level 5", - "scope": [ - "source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json" - ], - "settings": { - "foreground": "#82AAFF" - } - }, - { - "name": "JSON Key - Level 6", - "scope": [ - "source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json" - ], - "settings": { - "foreground": "#f07178" - } - }, - { - "name": "JSON Key - Level 7", - "scope": [ - "source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json" - ], - "settings": { - "foreground": "#C792EA" - } - }, - { - "name": "JSON Key - Level 8", - "scope": [ - "source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json" - ], - "settings": { - "foreground": "#C3E88D" - } - }, - { - "name": "Markdown - Plain", - "scope": [ - "text.html.markdown", - "punctuation.definition.list_item.markdown" - ], - "settings": { - "foreground": "#EEFFFF" - } - }, - { - "name": "Markdown - Markup Raw Inline", - "scope": [ - "text.html.markdown markup.inline.raw.markdown" - ], - "settings": { - "foreground": "#C792EA" - } - }, - { - "name": "Markdown - Markup Raw Inline Punctuation", - "scope": [ - "text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown" - ], - "settings": { - "foreground": "#65737E" - } - }, - { - "name": "Markdown - Heading", - "scope": [ - "markdown.heading", - "markup.heading | markup.heading entity.name", - "markup.heading.markdown punctuation.definition.heading.markdown" - ], - "settings": { - "foreground": "#C3E88D" - } - }, - { - "name": "Markup - Italic", - "scope": [ - "markup.italic" - ], - "settings": { - "fontStyle": "italic", - "foreground": "#f07178" - } - }, - { - "name": "Markup - Bold", - "scope": [ - "markup.bold", - "markup.bold string" - ], - "settings": { - "fontStyle": "bold", - "foreground": "#f07178" - } - }, - { - "name": "Markup - Bold-Italic", - "scope": [ - "markup.bold markup.italic", - "markup.italic markup.bold", - "markup.quote markup.bold", - "markup.bold markup.italic string", - "markup.italic markup.bold string", - "markup.quote markup.bold string" - ], - "settings": { - "fontStyle": "bold", - "foreground": "#f07178" - } - }, - { - "name": "Markup - Underline", - "scope": [ - "markup.underline" - ], - "settings": { - "fontStyle": "underline", - "foreground": "#F78C6C" - } - }, - { - "name": "Markdown - Blockquote", - "scope": [ - "markup.quote punctuation.definition.blockquote.markdown" - ], - "settings": { - "foreground": "#65737E" - } - }, - { - "name": "Markup - Quote", - "scope": [ - "markup.quote" - ], - "settings": { - "fontStyle": "italic" - } - }, - { - "name": "Markdown - Link", - "scope": [ - "string.other.link.title.markdown" - ], - "settings": { - "foreground": "#82AAFF" - } - }, - { - "name": "Markdown - Link Description", - "scope": [ - "string.other.link.description.title.markdown" - ], - "settings": { - "foreground": "#C792EA" - } - }, - { - "name": "Markdown - Link Anchor", - "scope": [ - "constant.other.reference.link.markdown" - ], - "settings": { - "foreground": "#FFCB6B" - } - }, - { - "name": "Markup - Raw Block", - "scope": [ - "markup.raw.block" - ], - "settings": { - "foreground": "#C792EA" - } - }, - { - "name": "Markdown - Raw Block Fenced", - "scope": [ - "markup.raw.block.fenced.markdown" - ], - "settings": { - "foreground": "#00000050" - } - }, - { - "name": "Markdown - Fenced Bode Block", - "scope": [ - "punctuation.definition.fenced.markdown" - ], - "settings": { - "foreground": "#00000050" - } - }, - { - "name": "Markdown - Fenced Bode Block Variable", - "scope": [ - "markup.raw.block.fenced.markdown", - "variable.language.fenced.markdown", - "punctuation.section.class.end" - ], - "settings": { - "foreground": "#EEFFFF" - } - }, - { - "name": "Markdown - Fenced Language", - "scope": [ - "variable.language.fenced.markdown" - ], - "settings": { - "foreground": "#65737E" - } - }, - { - "name": "Markdown - Separator", - "scope": [ - "meta.separator" - ], - "settings": { - "fontStyle": "bold", - "foreground": "#65737E" - } - }, - { - "name": "Markup - Table", - "scope": [ - "markup.table" - ], - "settings": { - "foreground": "#EEFFFF" + "foreground": "#EEB4EA", } } - ] + ], + "semanticHighlighting": true, + "semanticTokenColors": { + "comment": "#3C4279", + "keyword": "#FFB691", + "function": "#D4C972", + "interface": "#A2D399", + "type": "#87D6BC", + "variable": "#89D0ED", + "string": "#D1BCFD", + "constant": "#D1BCFD", + "enum": "#EEB4EA", + } }