Skip to main content
VS Code preview Full workbench mockup using this variant's colors and tokenColors.
colors Workbench UI color keys from the theme JSON colors map.
activityBar.background #40006b activityBar.foreground #feffe8 activityBarBadge.background #d31b77 activityBarBadge.foreground #ffffff button.background #087eb4 button.foreground #f9faff tokenColors TextMate scopes and font styles (syntax highlighting rules).
scope foreground fontStyle comment, string.quoted.docstring.multi.python #9e9e9e italic string #4aa4ff — constant.numeric #ffd400 — constant.language #ff2e97 — constant.character, constant.other
Shiki preview TypeScript sample highlighted with this variant's colors and tokenColors.
Vibrant Alps — Vibrant Alps 2 Vibrant Alps | Coding Theme
button.hoverBackground
#0074aa
descriptionForeground #f9faff
editor.background #030d22
editor.findMatchBackground #820000
editor.findMatchHighlightBackground #820000
editor.foreground #fdfeff
editor.hoverHighlightBackground #003c81
editor.lineHighlightBackground #1c1347
editor.selectionBackground #4801a3
editor.selectionHighlightBackground #38018f
editor.wordHighlightBackground #420080d5
editor.wordHighlightStrongBackground #12618363
editorCursor.foreground #ee0077
editorError.foreground #ce0b93
editorGroup.dropBackground #03153b
editorGroupHeader.noTabsBackground #03163f
editorGroupHeader.tabsBackground #0f0d2c
editorHoverWidget.background #222858
editorHoverWidget.border #2d324e
editorIndentGuide.activeBackground #004fbe
editorIndentGuide.background #1d2fa5
editorInfo.foreground #6c0994
editorLineNumber.activeForeground #0abdc6
editorLineNumber.foreground #dbdbdb
editorRuler.foreground #11215e
editorUnnecessaryCode.border #ff43a1
editorUnnecessaryCode.opacity #69fff883
editorWarning.foreground #fad46d
editorWidget.background #04112c
editorWidget.border #030f27
foreground #f9faff
gitDecoration.conflictingResourceForeground #3d80dd
gitDecoration.deletedResourceForeground #c000b3
gitDecoration.ignoredResourceForeground #b5b5b5
gitDecoration.modifiedResourceForeground #fdd81d
gitDecoration.untrackedResourceForeground #3dffbb
input.background #000
input.border #5e005a
input.placeholderForeground #f3f3f3
inputOption.activeBorder #ffd650
list.activeSelectionBackground #073170
list.activeSelectionForeground #ffffff
list.dropBackground #063475
list.errorForeground #b60672
list.focusBackground #06306e
list.hoverBackground #0a2f66
list.inactiveSelectionBackground #161130
list.warningForeground #992293
panel.background #0e0952
panel.border #181657
panel.dropBackground #ff2592
panelTitle.activeBorder #ff2592
panelTitle.activeForeground #ff2592
panelTitle.inactiveForeground #d600dd
peekView.border #ffd400
peekViewEditor.background #1971f770
peekViewEditor.matchHighlightBackground #120961
peekViewEditor.matchHighlightBorder #34006e
peekViewResult.background #1a1079
peekViewResult.selectionBackground #ffd400
peekViewTitle.background #372dc9
peekViewTitleDescription.foreground #3076c5
progressBar.background #fa0dea
scrollbar.shadow #330050
scrollbarSlider.activeBackground #3e0085
scrollbarSlider.background #370391
scrollbarSlider.hoverBackground #838cd4b4
sideBar.background #03182b
sideBarSectionHeader.background #04112e
sideBarSectionHeader.foreground #ff59ac
statusBar.background #ff9500
statusBar.foreground #000
statusBar.noFolderBackground #300f6d
statusBar.noFolderForeground #ffffff
tab.activeBackground #1d1641
tab.activeForeground #f9faff
tab.border #171033
tab.inactiveBackground #141138
tab.inactiveForeground #599eff
terminal.ansiBlack #3a1b75
terminal.ansiBlue #42c6ff
terminal.ansiBrightBlack #5c6d751a
terminal.ansiBrightBlue #42c6ff
terminal.ansiBrightCyan #42c6ff
terminal.ansiBrightGreen #9ec8e2
terminal.ansiBrightMagenta #ea00d9
terminal.ansiBrightRed #ff2e97
terminal.ansiBrightWhite #ffffff
terminal.ansiBrightYellow #ffd400
terminal.ansiCyan #3ac4ff
terminal.ansiGreen #599ec4
terminal.ansiMagenta #ea00d9
terminal.ansiRed #ee1682
terminal.ansiWhite #f2f8ff
terminal.ansiYellow #ffd400
terminal.background #0d0936
terminal.foreground #e4eeff
titleBar.activeBackground #0b082e #d971ff
entity.name.class, entity.name.type.class #ff2e97
entity.other.inherited-class, meta.other.inherited-class.php #ffd400 italic
meta.definition.method #fc9ffb —
entity.name.function - meta.function-call, meta.function-call #0ABDC6
variable.parameter #69fff7
entity.other.attribute-name #c0ff2e
support.type, support.class, entity.name.type #d54dff underline
support.other.variable #20adff
variable.language.this #ffee00 underline
invalid.deprecated #007980 —
meta.diff, meta.diff.header #006ead —
constant.numeric.line-number.find-in-files - match #e71c71 —
entity.name.filename.find-in-files #ffdf52 —
meta.property-value, support.constant.property-value, constant.other.color #ff15ef —
support.constant.property-value.css #fff —
meta.structure.dictionary.json string.quoted.double.json #FF0081 —
support.type.property-name.json #ff2e97
meta.structure.dictionary.value.json string.quoted.double.json #0ABDC6 —
meta.property-name support.type.property-name, support.type.property-name.css, invalid.deprecated.color.system.css #0ABDC6
entity.name.tag.reference.scss #fec7ff
meta.property-value punctuation.separator.key-value #00a3ee —
keyword.other.use, keyword.other.function.use, keyword.other.namespace, keyword.other.new, keyword.other.special-method, keyword.other.unit, keyword.other.use-as #EA00D9 —
support.other.namespace.php #913cff —
entity.name.section.markdown #ff2e97 —
punctuation.definition.heading.markdown #ff2e97 —
markup.raw.inline.markdown #cccccc —
punctuation.definition.bold.markdown, punctuation.definition.italic.markdown #ff2e97 —
punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown #ff15ef —
punctuation.definition.metadata.markdown #ff15ef —
markup.underline.link.markdown, markup.underline.link.image.markdown, meta.image.inline.markdown #ff15ef
markup.bold.markdown, markup.italic.markdown #ff2e97 —
markup.italic.markdown — italic
markup.bold.markdown — bold
markup.raw.block.markdown #0ABDC6 —
markup.deleted.git_gutter #99008f —
markup.inserted.git_gutter #dfd700 —
markup.changed.git_gutter #004d96 —
meta.template.expression #0076ad —
token.error-token #f44747 —
token.debug-token #b267e6 —
variable.other.property, variable.other.object.property #ff5100 —
support.type.map.key #dbf7ff
support.function.misc.scss, support.function.misc.css, entity.name.function.scss #fff —
entity.name.tag.css #74bb7f —
export interface User {
id : string ;
name : string ;
role : "admin" | "member" ;
tags : string [];
}
/**
* Fetch user data by ID
* @param id
* @returns User object or null if ID is invalid
*/
export async function fetchUser( id : string ) : Promise < User | null > {
if ( ! id ) {
return null ;
}
const response = await fetch ( `/api/users/ ${ id } ` , {
method: "GET" ,
headers: { Accept: "application/json" },
});
if ( ! response . ok ) {
throw new Error ( `HTTP ${ response . status } ` );
}
return ( await response .json ()) as User ;
}
function greet( user : User ) : string {
// Simple greeting function that uses the user's name
return `Hello, ${ user . name } !` ;
}
fetchUser.ts
index.ts
README.md
src
components
fetchUser.ts
src
components
fetchUser.ts
fetchUser 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Problems1
Output
Debug Console
Terminal
Ports
~/my-project $ pnpm dev
▲ Next.js ready on http://localhost:3000
✓ compiled client and server successfully in 412ms
wait - compiling /theme/vscode...
~/my-project
main*
Button.tsx
31
$
export interface User {
id : string ;
name : string ;
role : "admin" | "member" ;
tags : string [];
}
/**
* Fetch user data by ID
* @param id
* @returns User object or null if ID is invalid
*/
export async function fetchUser( id : string ) : Promise < User | null > {
if ( ! id ) {
return null ;
}
const response = await fetch ( `/api/users/ ${ id } ` , {
method: "GET" ,
headers: { Accept: "application/json" },
});
if ( ! response . ok ) {
throw new Error ( `HTTP ${ response . status } ` );
}
return ( await response .json ()) as User ;
}
function greet( user : User ) : string {
// Simple greeting function that uses the user's name
return `Hello, ${ user . name } !` ;
}