1
Fork 0

Compare commits

...

10 commits

13 changed files with 685 additions and 75 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 5 KiB

BIN
.media/icon-512x512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 KiB

26
.media/icon.svg Normal file
View file

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg">
<svg height="100%" id="emblematic-background" version="1.1" viewBox="0 0 512 512" width="100%" xmlns="http://www.w3.org/2000/svg">
<defs>
<linearGradient gradientUnits="userSpaceOnUse" id="background" x2="512" y1="512">
<stop offset="0" stop-color="#051436"/>
<stop offset=".75" stop-color="#001553"/>
<stop offset="1" stop-color="#010a4e"/>
</linearGradient>
</defs>
<rect fill="url(#background)" height="512" width="512"/>
</svg>
<svg height="63%" id="emblematic-icon" preserveAspectRatio="xMidYMid meet" viewBox="0 0 640 512" width="63%" x="94.72" xmlns="http://www.w3.org/2000/svg" y="94.72">
<defs>
<filter color-interpolation-filters="sRGB" id="emblematic-filter">
<feFlood flood-color="rgb(1,8,40)" in="SourceGraphic" result="flood"/>
<feGaussianBlur in="SourceGraphic" result="blur" stdDeviation="10"/>
<feOffset dx="-4" dy="8" in="blur" result="offset"/>
<feComposite in="flood" in2="offset" operator="in" result="comp1"/>
<feComposite in="SourceGraphic" in2="comp1" result="comp2"/>
</filter>
</defs>
<!--! Font Awesome Pro 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2024 Fonticons, Inc. -->
<path d="M256 64H64C28.7 64 0 92.7 0 128V384c0 35.3 28.7 64 64 64H256V64zm32 384H576c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64H288V448zM64 160c0-17.7 14.3-32 32-32h64c17.7 0 32 14.3 32 32V352c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V160z" fill="#85c4ff" filter="url(#emblematic-filter)"/>
</svg>
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

BIN
.media/screenshot-code.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 277 KiB

BIN
.media/screenshot-enums.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

View file

@ -1,9 +0,0 @@
# Change Log
All notable changes to the "shinycode" extension will be documented in this file.
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
## [Unreleased]
- Initial release

21
LICENSE.txt Normal file
View file

@ -0,0 +1,21 @@
MIT License
Copyright (c) 2024 Stefano Pigozzi
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

View file

@ -1,16 +1,23 @@
# shinycode README <div align="center">
## Working with Markdown ![](.media/icon-128x128_round.png)
You can author your README using Visual Studio Code. Here are some useful editor keyboard shortcuts: # Shiny Code
* Split the editor (`Cmd+\` on macOS or `Ctrl+\` on Windows and Linux). Prototype Material You theme for Visual Studio Code
* Toggle preview (`Shift+Cmd+V` on macOS or `Shift+Ctrl+V` on Windows and Linux).
* Press `Ctrl+Space` (Windows, Linux, macOS) to see a list of Markdown snippets.
## For more information </div>
* [Visual Studio Code's Markdown Support](http://code.visualstudio.com/docs/languages/markdown) > [!Caution]
* [Markdown Syntax Reference](https://help.github.com/articles/markdown-basics/) >
> This specific prototype has been deemed a failure and work on it won't be resumed.
**Enjoy!** ## Screenshots
![](.media/screenshot-enums.png)
![](.media/screenshot-type-interface.png)
![](.media/screenshot-code.png)
![](.media/screenshot-editor.png)

466
material-theme.json Normal file
View file

@ -0,0 +1,466 @@
{
"description": "TYPE: CUSTOM\nMaterial Theme Builder export 2024-12-11 04:52:20",
"seed": "#0077DE",
"coreColors": {
"primary": "#0077DE",
"secondary": "#6D8EE1",
"tertiary": "#888DBF",
"error": "#DB3941",
"neutral": "#6C7888",
"neutralVariant": "#5C7B94"
},
"extendedColors": [
{
"name": "Axiom",
"color": "#FABB86",
"description": "A rule of the game.",
"harmonized": true
},
{
"name": "Action",
"color": "#E9C462",
"description": "Make your move.",
"harmonized": true
},
{
"name": "Behavior",
"color": "#A5D65C",
"description": "Lay out your strategy.",
"harmonized": true
},
{
"name": "Entity",
"color": "#27E0B7",
"description": "Know yourself.",
"harmonized": false
},
{
"name": "Information",
"color": "#12DBF2",
"description": "Time for deliberation.",
"harmonized": true
},
{
"name": "Possibility",
"color": "#B17BD2",
"description": "Unravel the mystery.",
"harmonized": true
},
{
"name": "Question",
"color": "#CE72AB",
"description": "What's the plan?",
"harmonized": true
}
],
"schemes": {
"light": {
"primary": "#3E5F90",
"surfaceTint": "#3E5F90",
"onPrimary": "#FFFFFF",
"primaryContainer": "#D5E3FF",
"onPrimaryContainer": "#001B3B",
"secondary": "#485D92",
"onSecondary": "#FFFFFF",
"secondaryContainer": "#DAE2FF",
"onSecondaryContainer": "#001847",
"tertiary": "#535A92",
"onTertiary": "#FFFFFF",
"tertiaryContainer": "#DFE0FF",
"onTertiaryContainer": "#0E154B",
"error": "#904A48",
"onError": "#FFFFFF",
"errorContainer": "#FFDAD8",
"onErrorContainer": "#3B080B",
"background": "#F9F9FF",
"onBackground": "#191C20",
"surface": "#F8F9FF",
"onSurface": "#191C20",
"surfaceVariant": "#DDE3EA",
"onSurfaceVariant": "#41474D",
"outline": "#72787E",
"outlineVariant": "#C1C7CE",
"shadow": "#000000",
"scrim": "#000000",
"inverseSurface": "#2E3135",
"inverseOnSurface": "#EFF0F7",
"inversePrimary": "#A7C8FF",
"primaryFixed": "#D5E3FF",
"onPrimaryFixed": "#001B3B",
"primaryFixedDim": "#A7C8FF",
"onPrimaryFixedVariant": "#244777",
"secondaryFixed": "#DAE2FF",
"onSecondaryFixed": "#001847",
"secondaryFixedDim": "#B1C5FF",
"onSecondaryFixedVariant": "#304578",
"tertiaryFixed": "#DFE0FF",
"onTertiaryFixed": "#0E154B",
"tertiaryFixedDim": "#BDC2FF",
"onTertiaryFixedVariant": "#3C4279",
"surfaceDim": "#D8DAE0",
"surfaceBright": "#F8F9FF",
"surfaceContainerLowest": "#FFFFFF",
"surfaceContainerLow": "#F2F3F9",
"surfaceContainer": "#ECEEF4",
"surfaceContainerHigh": "#E6E8EE",
"surfaceContainerHighest": "#E1E2E8"
},
"light-medium-contrast": {
"primary": "#1F4372",
"surfaceTint": "#3E5F90",
"onPrimary": "#FFFFFF",
"primaryContainer": "#5576A8",
"onPrimaryContainer": "#FFFFFF",
"secondary": "#2C4174",
"onSecondary": "#FFFFFF",
"secondaryContainer": "#5F73AA",
"onSecondaryContainer": "#FFFFFF",
"tertiary": "#383E74",
"onTertiary": "#FFFFFF",
"tertiaryContainer": "#6A70AA",
"onTertiaryContainer": "#FFFFFF",
"error": "#6E2F2E",
"onError": "#FFFFFF",
"errorContainer": "#AA5F5D",
"onErrorContainer": "#FFFFFF",
"background": "#F9F9FF",
"onBackground": "#191C20",
"surface": "#F8F9FF",
"onSurface": "#191C20",
"surfaceVariant": "#DDE3EA",
"onSurfaceVariant": "#3D4349",
"outline": "#5A6066",
"outlineVariant": "#757B82",
"shadow": "#000000",
"scrim": "#000000",
"inverseSurface": "#2E3135",
"inverseOnSurface": "#EFF0F7",
"inversePrimary": "#A7C8FF",
"primaryFixed": "#5576A8",
"onPrimaryFixed": "#FFFFFF",
"primaryFixedDim": "#3B5D8D",
"onPrimaryFixedVariant": "#FFFFFF",
"secondaryFixed": "#5F73AA",
"onSecondaryFixed": "#FFFFFF",
"secondaryFixedDim": "#465A8F",
"onSecondaryFixedVariant": "#FFFFFF",
"tertiaryFixed": "#6A70AA",
"onTertiaryFixed": "#FFFFFF",
"tertiaryFixedDim": "#51588F",
"onTertiaryFixedVariant": "#FFFFFF",
"surfaceDim": "#D8DAE0",
"surfaceBright": "#F8F9FF",
"surfaceContainerLowest": "#FFFFFF",
"surfaceContainerLow": "#F2F3F9",
"surfaceContainer": "#ECEEF4",
"surfaceContainerHigh": "#E6E8EE",
"surfaceContainerHighest": "#E1E2E8"
},
"light-high-contrast": {
"primary": "#002247",
"surfaceTint": "#3E5F90",
"onPrimary": "#FFFFFF",
"primaryContainer": "#1F4372",
"onPrimaryContainer": "#FFFFFF",
"secondary": "#031F51",
"onSecondary": "#FFFFFF",
"secondaryContainer": "#2C4174",
"onSecondaryContainer": "#FFFFFF",
"tertiary": "#161C52",
"onTertiary": "#FFFFFF",
"tertiaryContainer": "#383E74",
"onTertiaryContainer": "#FFFFFF",
"error": "#440F11",
"onError": "#FFFFFF",
"errorContainer": "#6E2F2E",
"onErrorContainer": "#FFFFFF",
"background": "#F9F9FF",
"onBackground": "#191C20",
"surface": "#F8F9FF",
"onSurface": "#000000",
"surfaceVariant": "#DDE3EA",
"onSurfaceVariant": "#1F252A",
"outline": "#3D4349",
"outlineVariant": "#3D4349",
"shadow": "#000000",
"scrim": "#000000",
"inverseSurface": "#2E3135",
"inverseOnSurface": "#FFFFFF",
"inversePrimary": "#E4ECFF",
"primaryFixed": "#1F4372",
"onPrimaryFixed": "#FFFFFF",
"primaryFixedDim": "#002D5A",
"onPrimaryFixedVariant": "#FFFFFF",
"secondaryFixed": "#2C4174",
"onSecondaryFixed": "#FFFFFF",
"secondaryFixedDim": "#122A5C",
"onSecondaryFixedVariant": "#FFFFFF",
"tertiaryFixed": "#383E74",
"onTertiaryFixed": "#FFFFFF",
"tertiaryFixedDim": "#21275D",
"onTertiaryFixedVariant": "#FFFFFF",
"surfaceDim": "#D8DAE0",
"surfaceBright": "#F8F9FF",
"surfaceContainerLowest": "#FFFFFF",
"surfaceContainerLow": "#F2F3F9",
"surfaceContainer": "#ECEEF4",
"surfaceContainerHigh": "#E6E8EE",
"surfaceContainerHighest": "#E1E2E8"
},
"dark": {
"primary": "#A7C8FF",
"surfaceTint": "#A7C8FF",
"onPrimary": "#04305F",
"primaryContainer": "#244777",
"onPrimaryContainer": "#D5E3FF",
"secondary": "#B1C5FF",
"onSecondary": "#172E60",
"secondaryContainer": "#304578",
"onSecondaryContainer": "#DAE2FF",
"tertiary": "#BDC2FF",
"onTertiary": "#252B61",
"tertiaryContainer": "#3C4279",
"onTertiaryContainer": "#DFE0FF",
"error": "#FFB3B0",
"onError": "#571D1E",
"errorContainer": "#733332",
"onErrorContainer": "#FFDAD8",
"background": "#111318",
"onBackground": "#E1E2E9",
"surface": "#101418",
"onSurface": "#E1E2E8",
"surfaceVariant": "#41474D",
"onSurfaceVariant": "#C1C7CE",
"outline": "#8B9198",
"outlineVariant": "#41474D",
"shadow": "#000000",
"scrim": "#000000",
"inverseSurface": "#E1E2E8",
"inverseOnSurface": "#2E3135",
"inversePrimary": "#3E5F90",
"primaryFixed": "#D5E3FF",
"onPrimaryFixed": "#001B3B",
"primaryFixedDim": "#A7C8FF",
"onPrimaryFixedVariant": "#244777",
"secondaryFixed": "#DAE2FF",
"onSecondaryFixed": "#001847",
"secondaryFixedDim": "#B1C5FF",
"onSecondaryFixedVariant": "#304578",
"tertiaryFixed": "#DFE0FF",
"onTertiaryFixed": "#0E154B",
"tertiaryFixedDim": "#BDC2FF",
"onTertiaryFixedVariant": "#3C4279",
"surfaceDim": "#101418",
"surfaceBright": "#36393E",
"surfaceContainerLowest": "#0B0E13",
"surfaceContainerLow": "#191C20",
"surfaceContainer": "#1D2024",
"surfaceContainerHigh": "#272A2F",
"surfaceContainerHighest": "#32353A"
},
"dark-medium-contrast": {
"primary": "#AECCFF",
"surfaceTint": "#A7C8FF",
"onPrimary": "#001632",
"primaryContainer": "#7192C6",
"onPrimaryContainer": "#000000",
"secondary": "#B8CAFF",
"onSecondary": "#00143C",
"secondaryContainer": "#7B8FC8",
"onSecondaryContainer": "#000000",
"tertiary": "#C2C7FF",
"onTertiary": "#080E46",
"tertiaryContainer": "#868CC8",
"onTertiaryContainer": "#000000",
"error": "#FFB9B6",
"onError": "#330406",
"errorContainer": "#CB7A78",
"onErrorContainer": "#000000",
"background": "#111318",
"onBackground": "#E1E2E9",
"surface": "#101418",
"onSurface": "#FAFAFF",
"surfaceVariant": "#41474D",
"onSurfaceVariant": "#C6CBD2",
"outline": "#9EA3AA",
"outlineVariant": "#7E848A",
"shadow": "#000000",
"scrim": "#000000",
"inverseSurface": "#E1E2E8",
"inverseOnSurface": "#272A2F",
"inversePrimary": "#254878",
"primaryFixed": "#D5E3FF",
"onPrimaryFixed": "#001129",
"primaryFixedDim": "#A7C8FF",
"onPrimaryFixedVariant": "#0E3665",
"secondaryFixed": "#DAE2FF",
"onSecondaryFixed": "#000F31",
"secondaryFixedDim": "#B1C5FF",
"onSecondaryFixedVariant": "#1E3466",
"tertiaryFixed": "#DFE0FF",
"onTertiaryFixed": "#020841",
"tertiaryFixedDim": "#BDC2FF",
"onTertiaryFixedVariant": "#2B3167",
"surfaceDim": "#101418",
"surfaceBright": "#36393E",
"surfaceContainerLowest": "#0B0E13",
"surfaceContainerLow": "#191C20",
"surfaceContainer": "#1D2024",
"surfaceContainerHigh": "#272A2F",
"surfaceContainerHighest": "#32353A"
},
"dark-high-contrast": {
"primary": "#FBFAFF",
"surfaceTint": "#A7C8FF",
"onPrimary": "#000000",
"primaryContainer": "#AECCFF",
"onPrimaryContainer": "#000000",
"secondary": "#FCFAFF",
"onSecondary": "#000000",
"secondaryContainer": "#B8CAFF",
"onSecondaryContainer": "#000000",
"tertiary": "#FDF9FF",
"onTertiary": "#000000",
"tertiaryContainer": "#C2C7FF",
"onTertiaryContainer": "#000000",
"error": "#FFF9F9",
"onError": "#000000",
"errorContainer": "#FFB9B6",
"onErrorContainer": "#000000",
"background": "#111318",
"onBackground": "#E1E2E9",
"surface": "#101418",
"onSurface": "#FFFFFF",
"surfaceVariant": "#41474D",
"onSurfaceVariant": "#F9FBFF",
"outline": "#C6CBD2",
"outlineVariant": "#C6CBD2",
"shadow": "#000000",
"scrim": "#000000",
"inverseSurface": "#E1E2E8",
"inverseOnSurface": "#000000",
"inversePrimary": "#002A55",
"primaryFixed": "#DCE7FF",
"onPrimaryFixed": "#000000",
"primaryFixedDim": "#AECCFF",
"onPrimaryFixedVariant": "#001632",
"secondaryFixed": "#E0E6FF",
"onSecondaryFixed": "#000000",
"secondaryFixedDim": "#B8CAFF",
"onSecondaryFixedVariant": "#00143C",
"tertiaryFixed": "#E4E5FF",
"onTertiaryFixed": "#000000",
"tertiaryFixedDim": "#C2C7FF",
"onTertiaryFixedVariant": "#080E46",
"surfaceDim": "#101418",
"surfaceBright": "#36393E",
"surfaceContainerLowest": "#0B0E13",
"surfaceContainerLow": "#191C20",
"surfaceContainer": "#1D2024",
"surfaceContainerHigh": "#272A2F",
"surfaceContainerHighest": "#32353A"
}
},
"palettes": {
"primary": {
"0": "#000000",
"5": "#001129",
"10": "#001B3B",
"15": "#00264D",
"20": "#003060",
"25": "#003B74",
"30": "#004788",
"35": "#00529D",
"40": "#005EB2",
"50": "#0077DE",
"60": "#3A91FA",
"70": "#75ADFF",
"80": "#A7C8FF",
"90": "#D5E3FF",
"95": "#EBF1FF",
"98": "#F9F9FF",
"99": "#FDFBFF",
"100": "#FFFFFF"
},
"secondary": {
"0": "#000000",
"5": "#000F31",
"10": "#001847",
"15": "#00225C",
"20": "#002C71",
"25": "#063685",
"30": "#1B4391",
"35": "#2A4F9E",
"40": "#385BAA",
"50": "#5374C5",
"60": "#6D8EE1",
"70": "#88A9FE",
"80": "#B1C5FF",
"90": "#DAE2FF",
"95": "#EEF0FF",
"98": "#FAF8FF",
"99": "#FEFBFF",
"100": "#FFFFFF"
},
"tertiary": {
"0": "#000000",
"5": "#060B38",
"10": "#121742",
"15": "#1C224D",
"20": "#272D58",
"25": "#323864",
"30": "#3E4370",
"35": "#4A4F7D",
"40": "#565B8A",
"50": "#6E74A4",
"60": "#888DBF",
"70": "#A3A8DB",
"80": "#BEC3F8",
"90": "#DFE0FF",
"95": "#F1EFFF",
"98": "#FBF8FF",
"99": "#FFFBFF",
"100": "#FFFFFF"
},
"neutral": {
"0": "#000000",
"5": "#111111",
"10": "#1B1B1C",
"15": "#262626",
"20": "#313031",
"25": "#3C3B3C",
"30": "#474647",
"35": "#535253",
"40": "#5F5E5F",
"50": "#787777",
"60": "#929091",
"70": "#ADABAB",
"80": "#C8C6C6",
"90": "#E5E2E2",
"95": "#F3F0F0",
"98": "#FCF8F9",
"99": "#FFFBFC",
"100": "#FFFFFF"
},
"neutral-variant": {
"0": "#000000",
"5": "#0F1113",
"10": "#191C1E",
"15": "#242628",
"20": "#2E3133",
"25": "#393C3E",
"30": "#45474A",
"35": "#515355",
"40": "#5D5E61",
"50": "#75777A",
"60": "#8F9194",
"70": "#AAABAE",
"80": "#C5C6C9",
"90": "#E2E2E5",
"95": "#F0F0F4",
"98": "#F9F9FC",
"99": "#FCFCFF",
"100": "#FFFFFF"
}
}
}

View file

@ -52,16 +52,29 @@
"source", "source",
], ],
"settings": { "settings": {
"foreground": "#E1E2E9" "foreground": "#E1E2E9",
"fontStyle": "",
} }
}, },
{ {
"name": "Comments", "name": "Comments",
"scope": [ "scope": [
"comment", "comment",
"comment punctuation", // Override comment begin punctuation
], ],
"settings": { "settings": {
"foreground": "#3C4279", "foreground": "#3C4279",
"fontStyle": "",
}
},
{
"name": "Magic",
"scope": [
"variable.language",
],
"settings": {
"foreground": "#FFDBCA", // axiom 90
"fontStyle": "",
} }
}, },
{ {
@ -71,7 +84,8 @@
"storage", "storage",
], ],
"settings": { "settings": {
"foreground": "#F79159", // axiom 70 "foreground": "#D67643", // axiom 60
"fontStyle": "",
} }
}, },
{ {
@ -82,34 +96,95 @@
], ],
"settings": { "settings": {
"foreground": "#B65E2D", // axiom 50 "foreground": "#B65E2D", // axiom 50
"fontStyle": "",
} }
}, },
{ {
"name": "Functions", "name": "Function parameters",
"scope": [ "scope": [
"entity.name.function", "meta.function.definition variable",
"variable.parameter",
], ],
"settings": { "settings": {
"foreground": "#D4C972", "foreground": "#F2E57F", // action 90
"fontStyle": "",
} }
}, },
{ {
"name": "Interfaces", "name": "Function declarations",
"scope": [
"meta.function.definition entity.name.function",
"meta.definition entity.name.function",
],
"settings": {
"foreground": "#B9AC37", // action 70
"fontStyle": "bold",
}
},
{
"name": "Function calls",
"scope": [
"entity.name.function",
"string entity.name.function",
],
"settings": {
"foreground": "#6E7D16", // action 50
"fontStyle": "",
}
},
{
"name": "Interface declarations",
"scope": [
"meta.interface entity.name.type.interface"
],
"settings": {
"foreground": "#308832", // behavior 70
"fontStyle": "bold",
}
},
{
"name": "Interface use",
"scope": [ "scope": [
"entity.name.interface", "entity.name.interface",
"entity.name.type.interface", "entity.name.type.interface",
], ],
"settings": { "settings": {
"foreground": "#A2D399", "foreground": "#308832", // behavior 50
"fontStyle": "",
} }
}, },
{ {
"name": "Types", "name": "Field",
"scope": [ "scope": [
"entity", "variable.object.property",
"variable.other.property",
], ],
"settings": { "settings": {
"foreground": "#87D6BC", "foreground": "#90F4EA", // entity 90
"fontStyle": "",
}
},
{
"name": "Type declarations",
"scope": [
"meta.type.declaration entity.name.type",
],
"settings": {
"foreground": "#00BEB4", // entity 70
"fontStyle": "bold",
}
},
{
"name": "Type use",
"scope": [
"entity",
"entity.name.type",
"support.type.primitive",
"meta.type.declaration meta.field.declaration entity.name.type", // over-over-ride type declaration for the contents of TypeScript types
],
"settings": {
"foreground": "#00867D", // entity 50
"fontStyle": "",
} }
}, },
{ {
@ -118,41 +193,93 @@
"variable", "variable",
], ],
"settings": { "settings": {
"foreground": "#89D0ED", "foreground": "#B8EAFF", // information 90
"fontStyle": "",
}
},
{
"name": "Variable definition",
"scope": [
"meta.definition.variable variable",
],
"settings": {
"foreground": "#34B8E2", // information 70
"fontStyle": "bold",
}
},
{
"name": "Generic",
"scope": [
],
"settings": {
"foreground": "#0080A2", // information 50
}
},
{
"name": "Value delimiters",
"scope": [
"string punctuation",
"entity.name.function.tagged-template",
],
"settings": {
"foreground": "#8266C0", // possibility 50
"fontStyle": "",
} }
}, },
{ {
"name": "Values", "name": "Values",
"scope": [ "scope": [
"constant", "constant.language",
"support", "constant.numeric",
"string", "string",
], ],
"settings": { "settings": {
"foreground": "#D1BCFD", "foreground": "#B89BFA", // possibility 70
"fontStyle": "",
} }
}, },
{ {
"name": "Enums", "name": "Constants",
"scope": [
"constant",
],
"settings": {
"foreground": "#EADDFF", // possibility 90
"fontStyle": "",
}
},
{
"name": "Enum use",
"scope": [ "scope": [
"entity.name.enum", "entity.name.enum",
"entity.name.type.enum", "entity.name.type.enum",
], ],
"settings": { "settings": {
"foreground": "#EEB4EA", "foreground": "#A45CA5",
"fontStyle": "",
}
},
{
"name": "Enum member",
"scope": [
"variable.other.enummember"
],
"settings": {
"foreground": "#A45CA5",
"fontStyle": "italic",
}
},
{
"name": "Enum declaration",
"scope": [
"meta.enum.declaration entity.name.type.enum",
],
"settings": {
"foreground": "#DE90DD",
"fontStyle": "bold",
} }
} }
], ],
"semanticHighlighting": true, "semanticHighlighting": false,
"semanticTokenColors": {
"comment": "#3C4279",
"keyword": "#F79159",
"function": "#D4C972",
"interface": "#A2D399",
"type": "#87D6BC",
"variable": "#89D0ED",
"string": "#D1BCFD",
"constant": "#D1BCFD",
"enum": "#EEB4EA",
}
} }

View file

@ -1,28 +0,0 @@
# Welcome to your VS Code Extension
## What's in the folder
* This folder contains all of the files necessary for your color theme extension.
* `package.json` - this is the manifest file that defines the location of the theme file and specifies the base theme of the theme.
* `themes/ShinyCode-color-theme.json` - the color theme definition file.
## Get up and running straight away
* Press `F5` to open a new window with your extension loaded.
* Open the color theme picker with the `File > Preferences > Theme > Color Theme` menu item, or use the `Preferences: Color Theme command (Ctrl+K Ctrl+T)` and pick your theme
* Open a file that has a language associated. The languages' configured grammar will tokenize the text and assign 'scopes' to the tokens. To examine these scopes, invoke the `Developer: Inspect Editor Tokens and Scopes` command from the Command Palette (`Ctrl+Shift+P` or `Cmd+Shift+P` on Mac).
## Make changes
* Changes to the theme file are automatically applied to the Extension Development Host window.
## Adopt your theme to Visual Studio Code
* The token colorization is done based on standard TextMate themes. Colors are matched against one or more scopes.
To learn more about scopes and how they're used, check out the [color theme](https://code.visualstudio.com/api/extension-guides/color-theme) documentation.
## Install your extension
* To start using your extension with Visual Studio Code copy it into the `<user home>/.vscode/extensions` folder and restart Code.
* To share your extension with the world, read on https://code.visualstudio.com/docs about publishing an extension.