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 #1D201C activityBar.border #2d3032 activityBar.foreground #c0c2c4 activityBarBadge.background #c0c2c4 activityBarBadge.foreground #1D201C badge.background #c0c2c4 tokenColors TextMate scopes and font styles (syntax highlighting rules).
scope foreground fontStyle comment, punctuation.definition.comment #717375 italic variable, string constant.other.placeholder #c0c2c4 — source.shell #50c878 — constant.other.color #939597 — invalid, invalid.illegal
Shiki preview TypeScript sample highlighted with this variant's colors and tokenColors.
badge.foreground
#1D201C
button.background #50c878
button.foreground #1D201C
button.hoverBackground #50c878
debugToolBar.background #1D201C
descriptionForeground #c0c2c4
diffEditor.insertedTextBackground #c0c2c42d
diffEditor.removedTextBackground #e3372d2d
dropdown.background #2d3032
dropdown.border #313335
dropdown.foreground #c0c2c4
dropdown.listBackground #313335
editor.background #1D201C
editor.findMatchBackground #1D201C
editor.findMatchBorder #50c878
editor.findMatchHighlightBackground #313335
editor.foreground #c0c2c4
editor.hoverHighlightBackground #2d3032
editor.lineHighlightBackground #2d3032
editor.selectionBackground #313335
editor.selectionForeground #1D201C
editor.selectionHighlightBackground #2d3032
editor.wordHighlightBackground #00000000
editor.wordHighlightStrongBackground #00000000
editorBracketMatch.background #313335
editorBracketMatch.border #313335
editorCursor.background #1D201C
editorCursor.foreground #50c878
editorError.foreground #50c878
editorGroup.border #2d3032
editorGroup.dropBackground #2d3032
editorGroup.emptyBackground #1D201C
editorGroupHeader.noTabsBackground #1D201C
editorGroupHeader.tabsBackground #1D201C
editorGroupHeader.tabsBorder #2d3032
editorGutter.addedBackground #c0c2c4
editorGutter.deletedBackground #50c878
editorGutter.modifiedBackground #313335
editorIndentGuide.background #1D201C
editorLineNumber.activeForeground #c0c2c4
editorLineNumber.foreground #939597
editorMarkerNavigation.background #1D201C
editorOverviewRuler.findMatchForeground #50c878
editorOverviewRuler.warningForeground #50c878
editorSuggestWidget.background #2d3032
editorSuggestWidget.border #333537
editorSuggestWidget.foreground #c0c2c4
editorSuggestWidget.highlightForeground #50c878
editorSuggestWidget.selectedBackground #333537
editorUnnecessaryCode.opacity #00000079
editorWarning.foreground #50c878
errorForeground #50c878
extensionButton.prominentBackground #2d3032
extensionButton.prominentForeground #c0c2c4
extensionButton.prominentHoverBackground #c0c2c4
focusBorder #50c878
foreground #c0c2c4
gitDecoration.ignoredResourceForeground #939597
gitDecoration.modifiedResourceForeground #50c878
gitDecoration.untrackedResourceForeground #939597
input.background #1D201C
input.border #2d3032
input.foreground #c0c2c4
input.placeholderForeground #939597
inputOption.activeBorder #939597
inputValidation.errorBackground #1D201C
inputValidation.errorBorder #50c878
inputValidation.infoBackground #1D201C
inputValidation.infoBorder #50c878
inputValidation.warningBackground #1D201C
inputValidation.warningBorder #50c878
list.activeSelectionBackground #2d3032
list.activeSelectionForeground #c0c2c4
list.errorForeground #50c878
list.focusBackground #313335
list.focusForeground #c0c2c4
list.highlightForeground #50c878
list.hoverBackground #313335
list.hoverForeground #c0c2c4
list.inactiveFocusBackground #313335
list.inactiveSelectionBackground #313335
list.inactiveSelectionForeground #c0c2c4
list.invalidItemForeground #50c878
list.warningForeground #939597
minimap.errorHighlight #50c878
minimap.findMatchHighlight #939597
minimap.selectionHighlight #939597
minimap.warningHighlight #50c878
minimapGutter.addedBackground #c0c2c4
minimapGutter.deletedBackground #2d3032
minimapGutter.modifiedBackground #313335
notificationCenter.border #2d3032
notificationCenterHeader.background #1D201C
notificationCenterHeader.foreground #c0c2c4
notificationLink.foreground #2d3032
notifications.background #1D201C
notifications.border #1D201C
notifications.foreground #c0c2c4
notificationsWarningIcon.foreground #50c878
notificationToast.border #2d3032
panel.background #1D201C
panel.border #2d3032
panelTitle.activeBorder #c0c2c4
peekView.border #2d3032
peekViewEditor.background #1D201C
pickerGroup.border #2d3032
pickerGroup.foreground #c0c2c4
problemsWarningIcon.foreground #50c878
progressBar.background #c0c2c4
quickInput.background #2d3032
quickInput.foreground #c0c2c4
quickInputTitle.background #c0c2c4
scrollbar.shadow #1D201C
scrollbarSlider.activeBackground #c0c2c4
scrollbarSlider.background #2d3032
scrollbarSlider.hoverBackground #c0c2c4
selection.background #939597
settings.modifiedItemIndicator #50c878
sideBar.background #1D201C
sideBar.border #2d3032
sideBar.dropBackground #2d3032
sideBar.foreground #c0c2c4
sideBarSectionHeader.background #1D201C
sideBarSectionHeader.foreground #c0c2c4
statusBar.background #1D201C
statusBar.border #2d3032
statusBar.debuggingBackground #1D201C
statusBar.debuggingBorder #2d3032
statusBar.debuggingForeground #c0c2c4
statusBar.foreground #939597
statusBar.noFolderBackground #1D201C
statusBarItem.hoverBackground #1D201C
tab.activeBackground #1D201C
tab.activeBorder #50c878
tab.border #2d3032
tab.hoverBackground #1D201C
tab.hoverBorder #c0c2c4
tab.inactiveBackground #2d3032
tab.unfocusedHoverBackground #1D201C
textBlockQuote.background #1D201C
textBlockQuote.border #2d3032
textCodeBlock.background #1D201C
textLink.activeForeground #50c878
textLink.foreground #c0c2c4
textPreformat.foreground #c0c2c4
textSeparator.foreground #c0c2c4
titleBar.activeBackground #1D201C
titleBar.activeForeground #c0c2c4
titleBar.border #2d3032
titleBar.inactiveBackground #2d3032
titleBar.inactiveForeground #c0c2c4
walkThrough.embeddedEditorBackground #1D201C
welcomePage.buttonBackground #1D201C
welcomePage.buttonHoverBackground #c0c2c4
widget.shadow #1D201C storage.type, storage.type.class, storage.modifier #C87850 —
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 #50c878 —
entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter #c0c2c4 —
punctuation.definition, punctuation.curlybrace.close, punctuation.curlybrace.open #50c878 —
punctuation.definition.parameters, meta.brace.round #939597 —
punctuation.definition.string #50c878 —
entity.name.function, meta.method.declaration, meta.function-call, variable.function, support.function, keyword.other.special-method #c0c2c4 —
meta.block variable.other #c0c2c4 —
support.other.variable, string.other.link #c0c2c4 —
string.quoted, string.template #939597 —
constant.numeric, constant.language, support.constant, constant.character, constant.escape, variable.parameter, keyword.other.unit, keyword.other #c0c2c4 —
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 #c0c2c4 —
entity.name, support.type, support.class, support.constant.math, support.orther.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types #939597 —
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 #c0c2c4 —
string.unquoted.plain.out.yaml, string.quoted.single.yaml, string.quoted.double.yaml #50c878 —
entity.name.tag.yaml, string.unquoted.block.yaml #8C4C2C —
string.unquoted.block.yaml, constant.language.boolean.yaml #C87850 —
entity.name.module.js, entity.name.type, entity.name.type.class, variable.import.parameter.js, variable.other.class.js #c0c2c4 —
entity.name.type.module #939597 —
variable.language #c0c2c4 italic
entity.name.method.js #c0c2c4 italic
meta.class-method.js entity.name.function.js, variable.function.constructor #c0c2c4 —
entity.other.attribute-name #939597 —
text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name #939597 italic
entity.other.attribute-name.class #939597 —
source.sass keyword.control #939597 —
constant.character.escape #c0c2c4 —
*url*, *link*, *uri* #939597 underline
entity.name.tag, support.class.component #c0c2c4 italic
source.js constant.other.object.key.js string.unquoted.label.js #c0c2c4 italic
source.json meta.structure.dictionary.json support.type.property-name.json #c0c2c4 —
source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json #c0c2c4 —
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 #c0c2c4 —
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 #c0c2c4 —
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 #c0c2c4 —
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 #c0c2c4 —
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 #c0c2c4 —
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 #c0c2c4 —
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 #c0c2c4 —
text.html.markdown, punctuation.definition.list_item.markdown #c0c2c4 —
text.html.markdown markup.inline.raw.markdown #c0c2c4 —
text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown #c0c2c4 —
text.html.markdown meta.dummy.line-break #c0c2c4 —
markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown #c0c2c4 —
markup.italic #c0c2c4 italic
markup.bold, markup.bold string #c0c2c4 bold
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 #c0c2c4 bold
markup.underline #c0c2c4 underline
markup.strike #c0c2c4 underline
markup.quote punctuation.definition.blockquote.markdown #c0c2c4 —
markup.quote #c0c2c4 italic
string.other.link.title.markdown #c0c2c4 —
string.other.link.description.title.markdown #c0c2c4 —
constant.other.reference.link.markdown #c0c2c4 —
markup.raw.block.fenced.markdown #c0c2c4 —
punctuation.definition.fenced.markdown #c0c2c4 —
markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end #c0c2c4 —
variable.language.fenced.markdown #c0c2c4 —
meta.separator #c0c2c4 bold
token.error-token #50c878 —
token.debug-token #50c878 —
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*
Parisienne | Coding Theme
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 } ! ` ;
}