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 #333333 activityBar.dropBackground #ffffff1f activityBar.foreground #ffffff activityBar.inactiveForeground #ffffff99 activityBarBadge.background #005577 activityBarBadge.foreground #ffffff tokenColors TextMate scopes and font styles (syntax highlighting rules).
scope foreground fontStyle meta.embedded, source.groovy.embedded #E5E6E6 — emphasis — italic strong — bold header #005577 — comment #515151 —
Shiki preview TypeScript sample highlighted with this variant's colors and tokenColors.
badge.background #4d4d4d
badge.foreground #ffffff
breadcrumb.activeSelectionForeground #e0e0e0
breadcrumb.background #1e1e1e
breadcrumb.focusForeground #e0e0e0
breadcrumb.foreground #cccccccc
breadcrumbPicker.background #252526
button.background #0e639c
button.foreground #ffffff
button.hoverBackground #1177bb
debugExceptionWidget.background #420b0d
debugExceptionWidget.border #a31515
debugToolBar.background #333333
descriptionForeground #ccccccb3
diffEditor.insertedTextBackground #9bb95533
diffEditor.removedTextBackground #ff000033
dropdown.background #3c3c3c
dropdown.border #3c3c3c
dropdown.foreground #f0f0f0
editor.background #1e1e1e
editor.findMatchBackground #515c6a
editor.findMatchHighlightBackground #ea5c0055
editor.findRangeHighlightBackground #3a3d4166
editor.focusedStackFrameHighlightBackground #7abd7a4d
editor.foreground #E5E6E6
editor.hoverHighlightBackground #264f7840
editor.inactiveSelectionBackground #3a3d41
editor.lineHighlightBorder #282828
editor.rangeHighlightBackground #ffffff0b
editor.selectionBackground #264f78
editor.selectionHighlightBackground #add6ff26
editor.snippetFinalTabstopHighlightBorder #525252
editor.snippetTabstopHighlightBackground #7c7c7c4d
editor.stackFrameHighlightBackground #ffff0033
editor.wordHighlightBackground #575757b8
editor.wordHighlightStrongBackground #004972b8
editorBracketMatch.background #0064001a
editorBracketMatch.border #888888
editorCodeLens.foreground #999999
editorCursor.foreground #aeafad
editorError.foreground #ea4646
editorGroup.border #444444
editorGroup.dropBackground #53595d80
editorGroupHeader.noTabsBackground #1e1e1e
editorGroupHeader.tabsBackground #252526
editorGutter.addedBackground #587c0c
editorGutter.background #1e1e1e
editorGutter.commentRangeForeground #c5c5c5
editorGutter.deletedBackground #94151b
editorGutter.modifiedBackground #0c7d9d
editorHint.foreground #eeeeeeb3
editorHoverWidget.background #252526
editorHoverWidget.border #454545
editorIndentGuide.activeBackground #707070
editorIndentGuide.background #404040
editorInfo.foreground #008000
editorLineNumber.activeForeground #c6c6c6
editorLineNumber.foreground #858585
editorLink.activeForeground #4e94ce
editorMarkerNavigation.background #2d2d30
editorMarkerNavigationError.background #ea4646
editorMarkerNavigationInfo.background #008000
editorMarkerNavigationWarning.background #4d9e4d
editorOverviewRuler.addedForeground #00557799
editorOverviewRuler.border #7f7f7f4d
editorOverviewRuler.bracketMatchForeground #a0a0a0
editorOverviewRuler.commonContentForeground #60606066
editorOverviewRuler.currentContentForeground #40c8ae80
editorOverviewRuler.deletedForeground #00557799
editorOverviewRuler.errorForeground #ff1212b3
editorOverviewRuler.findMatchForeground #f6b94db3
editorOverviewRuler.incomingContentForeground #40a6ff80
editorOverviewRuler.infoForeground #121288b3
editorOverviewRuler.modifiedForeground #00557799
editorOverviewRuler.rangeHighlightForeground #00557799
editorOverviewRuler.selectionHighlightForeground #a0a0a0cc
editorOverviewRuler.warningForeground #128812b3
editorOverviewRuler.wordHighlightForeground #a0a0a0cc
editorOverviewRuler.wordHighlightStrongForeground #c0a0c0cc
editorPane.background #1e1e1e
editorRuler.foreground #5a5a5a
editorSuggestWidget.background #252526
editorSuggestWidget.border #454545
editorSuggestWidget.foreground #E5E6E6
editorSuggestWidget.highlightForeground #0097fb
editorSuggestWidget.selectedBackground #062f4a
editorUnnecessaryCode.opacity #000000aa
editorWarning.foreground #4d9e4d
editorWhitespace.foreground #e3e4e229
editorWidget.background #252526
editorWidget.border #454545
errorForeground #f48771
extensionButton.prominentBackground #327e36
extensionButton.prominentForeground #ffffff
extensionButton.prominentHoverBackground #28632b
focusBorder #0e639ccc
foreground #cccccc
gitDecoration.addedResourceForeground #81b88b
gitDecoration.conflictingResourceForeground #6c6cc4
gitDecoration.deletedResourceForeground #c74e39
gitDecoration.ignoredResourceForeground #8c8c8c
gitDecoration.modifiedResourceForeground #e2c08d
gitDecoration.submoduleResourceForeground #8db9e2
gitDecoration.untrackedResourceForeground #73c991
input.background #3c3c3c
input.foreground #cccccc
input.placeholderForeground #a6a6a6
inputOption.activeBorder #005577
inputValidation.errorBackground #5a1d1d
inputValidation.errorBorder #be1100
inputValidation.infoBackground #063b49
inputValidation.infoBorder #005577
inputValidation.warningBackground #352a05
inputValidation.warningBorder #b89500
list.activeSelectionBackground #094771
list.activeSelectionForeground #ffffff
list.dropBackground #383b3d
list.errorForeground #f88070
list.focusBackground #062f4a
list.highlightForeground #0097fb
list.hoverBackground #2a2d2e
list.inactiveFocusBackground #313135
list.inactiveSelectionBackground #37373d
list.invalidItemForeground #b89500
list.warningForeground #4d9e4d
listFilterWidget.background #653723
listFilterWidget.noMatchesOutline #be1100
listFilterWidget.outline #00000000
menu.background #252526
menu.foreground #cccccc
menu.selectionBackground #094771
menu.selectionForeground #ffffff
menu.separatorBackground #bbbbbb
menubar.selectionBackground #ffffff1a
menubar.selectionForeground #cccccc
merge.commonContentBackground #60606029
merge.commonHeaderBackground #60606066
merge.currentContentBackground #40c8ae33
merge.currentHeaderBackground #40c8ae80
merge.incomingContentBackground #40a6ff33
merge.incomingHeaderBackground #40a6ff80
notificationCenterHeader.background #303031
notificationLink.foreground #3794ff
notifications.background #252526
notifications.border #303031
panel.background #1e1e1e
panel.border #96969659
panel.dropBackground #ffffff1f
panelTitle.activeBorder #96969659
panelTitle.activeForeground #e7e7e7
panelTitle.inactiveForeground #e7e7e799
peekView.border #005577
peekViewEditor.background #001f33
peekViewEditor.matchHighlightBackground #ff8f0099
peekViewEditorGutter.background #001f33
peekViewResult.background #252526
peekViewResult.fileForeground #ffffff
peekViewResult.lineForeground #bbbbbb
peekViewResult.matchHighlightBackground #ea5c004d
peekViewResult.selectionBackground #3399ff33
peekViewResult.selectionForeground #ffffff
peekViewTitle.background #1e1e1e
peekViewTitleDescription.foreground #ccccccb3
peekViewTitleLabel.foreground #ffffff
pickerGroup.border #3f3f46
pickerGroup.foreground #3794ff
progressBar.background #0e70c0
scrollbar.shadow #000000
scrollbarSlider.activeBackground #bfbfbf66
scrollbarSlider.background #79797966
scrollbarSlider.hoverBackground #646464b3
settings.checkboxBackground #3c3c3c
settings.checkboxBorder #3c3c3c
settings.checkboxForeground #f0f0f0
settings.dropdownBackground #3c3c3c
settings.dropdownBorder #3c3c3c
settings.dropdownForeground #f0f0f0
settings.dropdownListBorder #454545
settings.headerForeground #e7e7e7
settings.modifiedItemIndicator #0c7d9d
settings.numberInputBackground #292929
settings.numberInputForeground #cccccc
settings.textInputBackground #292929
settings.textInputForeground #cccccc
sideBar.background #252526
sideBar.dropBackground #ffffff1f
sideBarSectionHeader.background #96969633
sideBarTitle.foreground #bbbbbb
statusBar.background #005577
statusBar.debuggingBackground #AF5E00
statusBar.debuggingForeground #e5e5e6
statusBar.foreground #e5e5e6
statusBar.noFolderBackground #442059
statusBar.noFolderForeground #e5e5e6
statusBarItem.activeBackground #e5e5e62e
statusBarItem.hostBackground #388a34
statusBarItem.hoverBackground #ffffff1f
statusBarItem.prominentBackground #388a34
statusBarItem.prominentHoverBackground #369432
tab.activeBackground #1e1e1e
tab.activeForeground #ffffff
tab.activeModifiedBorder #3399cc
tab.border #252526
tab.inactiveBackground #2d2d2d
tab.inactiveForeground #ffffff80
tab.inactiveModifiedBorder #3399cc80
tab.unfocusedActiveForeground #ffffff80
tab.unfocusedActiveModifiedBorder #3399cc80
tab.unfocusedInactiveForeground #ffffff40
tab.unfocusedInactiveModifiedBorder #3399cc40
terminal.ansiBlack #000000
terminal.ansiBlue #2472c8
terminal.ansiBrightBlack #666666
terminal.ansiBrightBlue #3b8eea
terminal.ansiBrightCyan #29b8db
terminal.ansiBrightGreen #23d18b
terminal.ansiBrightMagenta #d670d6
terminal.ansiBrightRed #f14c4c
terminal.ansiBrightWhite #e5e5e5
terminal.ansiBrightYellow #f5f543
terminal.ansiCyan #11a8cd
terminal.ansiGreen #0dbc79
terminal.ansiMagenta #bc3fbc
terminal.ansiRed #cd3131
terminal.ansiWhite #e5e5e5
terminal.ansiYellow #e5e510
terminal.background #1e1e1e
terminal.border #96969659
terminal.foreground #cccccc
terminal.selectionBackground #ffffff40
textBlockQuote.background #7f7f7f1a
textBlockQuote.border #00557780
textCodeBlock.background #0a0a0a66
textLink.activeForeground #3794ff
textLink.foreground #3794ff
textPreformat.foreground #E4CF98
textSeparator.foreground #ffffff2e
titleBar.activeBackground #3c3c3c
titleBar.activeForeground #cccccc
titleBar.inactiveBackground #3c3c3c99
titleBar.inactiveForeground #cccccc99
widget.shadow #000000 constant.language #6796E6 —
entity.name.tag.css #E4CF98 —
entity.other.attribute-name #E59FDF —
entity.other.attribute-name.class.css, entity.other.attribute-name.class.mixin.css, entity.other.attribute-name.id.css, entity.other.attribute-name.parent-selector.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.attribute.scss, entity.other.attribute-name.scss #E4CF98 —
markup.underline — underline
markup.heading #6796E6 bold
punctuation.definition.quote.begin.markdown #515151 —
punctuation.definition.list.begin.markdown #6796e6 —
markup.inline.raw #30C798 —
punctuation.definition.tag #969696 —
meta.preprocessor #6796E6 —
meta.preprocessor.string #30C798 —
meta.preprocessor.numeric #A2DCD7 —
meta.structure.dictionary.key.python #E59FDF —
punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded #6796E6 —
meta.template.expression #E5E6E6 —
support.type.vendored.property-name, support.type.property-name, variable.css, variable.scss, variable.other.less, source.coffee.embedded #E59FDF —
keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.instanceof, keyword.operator.logical.python #6796E6 —
keyword.other.unit #A2DCD7 —
punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php #6796E6 —
support.function.git-rebase #E59FDF —
constant.sha.git-rebase #A2DCD7 —
storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java #E5E6E6 —
variable.language #6796E6 —
entity.name.function, support.function, support.constant.handlebars #E3C472 —
meta.return-type, support.class, support.type, entity.name.type, entity.name.class, storage.type.numeric.go, storage.type.byte.go, storage.type.boolean.go, storage.type.string.go, storage.type.uintptr.go, storage.type.error.go, storage.type.rune.go, storage.type.cs, storage.type.generic.cs, storage.type.modifier.cs, storage.type.variable.cs, storage.type.annotation.java, storage.type.generic.java, storage.type.java, storage.type.object.array.java, storage.type.primitive.array.java, storage.type.primitive.java, storage.type.token.java, storage.type.groovy, storage.type.annotation.groovy, storage.type.parameters.groovy, storage.type.generic.groovy, storage.type.object.array.groovy, storage.type.primitive.array.groovy, storage.type.primitive.groovy #81D8D0 —
meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class #81D8D0 —
variable, meta.definition.variable.name, support.variable, entity.name.variable #E59FDF —
meta.object-literal.key #E59FDF —
support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color #30C798 —
punctuation.definition.group.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.character-class.regexp, punctuation.character.set.begin.regexp, punctuation.character.set.end.regexp, keyword.operator.negation.regexp, support.other.parenthesis.regexp #30C798 —
constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp #6CD1B2 —
keyword.operator.or.regexp, keyword.control.anchor.regexp #E3C472 —
keyword.operator.quantifier.regexp #E4CF98 —
constant.character #6796E6 —
constant.character.escape #E4CF98 —
token.error-token #ED2939 —
token.debug-token #b267e6 —
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...
main*
Qillqaq Theme | Coding Theme Button.tsx
31
~/my-project
$
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 } !` ;
}