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 #181818 activityBar.border #18181860 activityBar.foreground #963ed1 activityBarBadge.background #78C0C0 activityBarBadge.foreground #181818 badge.background #18181830 tokenColors TextMate scopes and font styles (syntax highlighting rules).
scope foreground fontStyle variable, string constant.other.placeholder, invalid.deprecated, keyword, storage.type, storage.modifier #F07890 — variable, string constant.other.placeholder, entity.name.function, punctuation.definition.interpolation.end.bracket.curly.scss, punctuation.definition.interpolation.begin.bracket.curly.scss — italic punctuation.definition.interpolation.end.bracket.curly.scss, punctuation.definition.interpolation.begin.bracket.curly.scss #C03048 — constant.other.php #F07890 —
Shiki preview TypeScript sample highlighted with this variant's colors and tokenColors.
Dogs In Space — Dogs in Space
badge.foreground
#487890
breadcrumb.activeSelectionForeground #487890
breadcrumb.background #181818
breadcrumb.focusForeground #963ed1
breadcrumb.foreground #30A8D8
breadcrumbPicker.background #181818
button.background #48789050
contrastBorder #48789040
debugToolBar.background #181818
diffEditor.insertedTextBackground #C0304815
diffEditor.removedTextBackground #90184820
dropdown.background #181818
dropdown.border #D8306010
editor.background #181818
editor.findMatchBackground #181818
editor.findMatchBorder #487890
editor.findMatchHighlightBackground #48789093
editor.findMatchHighlightBorder #D8306030
editor.foreground #963ed1
editor.lineHighlightBackground #18181850
editor.selectionBackground #78C0C030
editor.selectionHighlightBackground #4878906b
editor.selectionHighlightBorder #78C0C0f0
editorBracketMatch.background #181818
editorBracketMatch.border #F078907f
editorCursor.foreground #F07890
editorError.foreground #90184870
editorGroup.border #18181830
editorGroupHeader.tabsBackground #181818
editorGutter.addedBackground #C0304860
editorGutter.deletedBackground #90184860
editorGutter.modifiedBackground #78C0C060
editorHoverWidget.background #181818
editorHoverWidget.border #D8306010
editorIndentGuide.activeBackground #186090
editorIndentGuide.background #18609070
editorInfo.foreground #78C0C070
editorLineNumber.activeForeground #78C0C0
editorLineNumber.foreground #487890c0
editorLink.activeForeground #963ed1
editorMarkerNavigation.background #7830A805
editorOverviewRuler.border #181818
editorOverviewRuler.errorForeground #90184840
editorOverviewRuler.findMatchForeground #487890
editorOverviewRuler.infoForeground #78C0C040
editorOverviewRuler.warningForeground #F0789070
editorRuler.foreground #186090
editorSuggestWidget.background #181818
editorSuggestWidget.border #D8306010
editorSuggestWidget.foreground #963ed1
editorSuggestWidget.highlightForeground #F07890
editorSuggestWidget.selectedBackground #48789020
editorWarning.foreground #C03048
editorWhitespace.foreground #963ed1
editorWidget.background #181818
editorWidget.border #F07890
editorWidget.resizeBorder #487890
extensionButton.prominentBackground #C0304890
extensionButton.prominentHoverBackground #901848
focusBorder #D8306000
gitDecoration.conflictingResourceForeground #F07890
gitDecoration.deletedResourceForeground #901848
gitDecoration.ignoredResourceForeground #487890
gitDecoration.modifiedResourceForeground #30A8D8
gitDecoration.untrackedResourceForeground #78C0C0
input.background #303048
input.border #D8306010
input.foreground #963ed1
input.placeholderForeground #7830A860
inputOption.activeBackground #7830A830
inputOption.activeBorder #7830A830
inputValidation.errorBorder #90184850
inputValidation.infoBorder #78C0C050
inputValidation.warningBorder #F0789050
list.activeSelectionBackground #181818
list.activeSelectionForeground #487890
list.focusBackground #303048
list.focusForeground #78C0C0
list.highlightForeground #487890
list.hoverBackground #186090
list.hoverForeground #D83060
list.inactiveSelectionBackground #18181830
list.inactiveSelectionForeground #487890
list.warningForeground #F07890
listFilterWidget.background #18181830
listFilterWidget.noMatchesOutline #18181830
listFilterWidget.outline #18181830
menu.background #181818f8
menu.border #48789050
menu.foreground #963ed1
menu.selectionBackground #303048
menu.selectionBorder #18181830
menu.selectionForeground #78C0C0
menu.separatorBackground #51ff00
menubar.selectionBackground #303048
menubar.selectionBorder #48789050
menubar.selectionForeground #963ed1
minimap.background #181818
minimapGutter.addedBackground #901848
minimapGutter.deletedBackground #F07890
minimapGutter.modifiedBackground #C03048
minimapSlider.activeBackground #C03048b0
minimapSlider.background #C0304880
minimapSlider.hoverBackground #C03048a0
notificationLink.foreground #487890
notifications.background #181818
notifications.foreground #963ed1
panel.background #181818
panel.border #18181860
panelTitle.activeBorder #487890
panelTitle.activeForeground #D83060
panelTitle.inactiveForeground #963ed1
peekView.border #18181830
peekViewEditor.background #7830A805
peekViewEditor.matchHighlightBackground #48789050
peekViewEditorGutter.background #7830A805
peekViewResult.background #7830A805
peekViewResult.matchHighlightBackground #48789050
peekViewResult.selectionBackground #48789070
peekViewTitle.background #7830A805
peekViewTitleDescription.foreground #7830A860
pickerGroup.foreground #487890
progressBar.background #487890
scrollbar.shadow #18181800
scrollbarSlider.activeBackground #487890cc
scrollbarSlider.background #487890bb
scrollbarSlider.hoverBackground #487890ee
selection.background #487890
settings.checkboxBackground #181818
settings.checkboxForeground #963ed1
settings.dropdownBackground #181818
settings.dropdownForeground #963ed1
settings.headerForeground #487890
settings.modifiedItemIndicator #487890
settings.numberInputBackground #181818
settings.numberInputForeground #963ed1
settings.textInputBackground #181818
settings.textInputForeground #963ed1
sideBar.background #181818
sideBar.border #48789050
sideBar.foreground #3affc4
sideBarSectionHeader.background #181818
sideBarSectionHeader.border #18181860
sideBarSectionHeader.foreground #00ff15
sideBarTitle.foreground #963ed1
statusBar.background #303048
statusBar.border #18181860
statusBar.debuggingBackground #F07890
statusBar.debuggingForeground #D83060
statusBar.foreground #30A8D8
statusBar.noFolderBackground #181818
statusBarItem.hoverBackground #48789020
statusBarItem.remoteBackground #487890
statusBarItem.remoteForeground #181818
tab.activeBackground #48789050
tab.activeBorder #487890
tab.activeForeground #D83060
tab.activeModifiedBorder #487890
tab.border #181818
tab.inactiveBackground #48789020
tab.inactiveForeground #7830A8af
tab.unfocusedActiveBackground #48789040
tab.unfocusedActiveBorder #487890
tab.unfocusedActiveForeground #963ed1
tab.unfocusedInactiveBackground #48789010
tab.unfocusedInactiveForeground #7830A87f
terminal.ansiBlack #ffffff
terminal.ansiBlue #78C0C0
terminal.ansiBrightBlack #487890
terminal.ansiBrightBlue #78C0C0
terminal.ansiBrightCyan #A8D8C0
terminal.ansiBrightGreen #C03048
terminal.ansiBrightMagenta #F07890
terminal.ansiBrightRed #901848
terminal.ansiBrightWhite #D83060
terminal.ansiBrightYellow #F07890
terminal.ansiCyan #A8D8C0
terminal.ansiGreen #C03048
terminal.ansiMagenta #F07890
terminal.ansiRed #901848
terminal.ansiWhite #D83060
terminal.ansiYellow #F07890
terminal.foreground #ffa366
terminalCursor.background #ffffff
terminalCursor.foreground #F07890
textLink.activeForeground #963ed1
textLink.foreground #487890
titleBar.activeBackground #181818
titleBar.activeForeground #963ed1
titleBar.border #18181860
titleBar.inactiveBackground #181818
titleBar.inactiveForeground #487890
tree.indentGuidesStroke #186090
widget.shadow #18181830 invalid, invalid.illegal #901848 —
keyword.control, constant.other.color, punctuation.definition.tag, punctuation, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.section.embedded, keyword.other.template, keyword.other.substitution, entity.name.tag.reference.scss #00cf2d —
punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, entity.name.type.module.js #30A8D8 —
keyword.control.at-rule, punctuation.terminator.rule.css, keyword.control.operator, punctuation.definition.entity.css, keyword.operator.assignment.js, punctuation.separator.comma.js, punctuation.definition.string.begin.js, punctuation.definition.string.end.js, punctuation.definition.binding-pattern.object.js #44f9ff —
punctuation.definition, string.quoted.single.scss #d87727 —
comment.line.scss, comment.line.double-slash.js, punctuation.definition.comment.scss, punctuation.definition.comment.js, punctuation.definition.comment.html, comment.block.html #6D6F7C —
text.html.derivative #A7A8AF —
entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter #7830A8 —
entity.name.tag.html — bold
variable.parameter.js, variable.parameter.keyframe-list.css #F07890 —
variable.other.object.js, storage.type.js, string.other.link.title.markdown, variable.other.readwrite.js, variable.other.property.js #ff00d4
string, string.quoted.double.html, variable.other.constant.js, variable.other.object.property.js, string.quoted.double.json, markup.fenced_code.block.markdown, markup.inline.raw.string.markdown, variable.function, keyword.other.special-method, entity.name.function, markup.bold, markup.bold.markdown, markup.italic.markdown, meta.class-method.js entity.name.function.js, variable.function.constructor, entity.name.tag.other.html, entity.name.tag.block.any.html, source.sass keyword.control #fa5656 —
punctuation.definition.string.begin.html, punctuation.definition.string.end.html #A8D8C0 —
support.other.variable, string.other.link, markup.table #7830A8 —
constant.numeric, constant.language, constant.character, constant.escape, keyword.other.unit, keyword.other, punctuation.separator.key-value.html #ff90c4 —
variable.parameter.function.language.special, variable.parameter #901848 —
constant.other.symbol, constant.other.key, entity.other.inherited-class, keyword.other.unit, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly, constant.other.object.key.js, string.unquoted.label.js #C03048
entity.name, support.type, support.class, support.orther.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types, entity.other.attribute-name.html #F07890 —
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 #30A8D8 —
entity.name.module.js, variable.import.parameter.js, variable.other.class.js #901848 —
entity.name.method.js, tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js #78C0C0 italic
entity.other.attribute-name, support.function #F07890 —
entity.other.attribute-name.id, entity.other.attribute-name.class, entity.other.attribute-name.pseudo-class, entity.name.tag.css, keyword.control.conditional.js, support.constant, entity.other.attribute-name.html, string.quoted.single.js, storage.type.function.js, meta.object-literal.key #7830A8 —
source.scss keyword.control #F07890 —
constant.character.escape #A8D8C0 —
*url*, *link*, *uri* — underline
source.js constant.other.object.key.js string.unquoted.label.js #7830A8 italic
support.type.property-name.json #7830A8 —
text.html.markdown, punctuation.definition.list_item.markdown #7830A8 —
text.html.markdown markup.inline.raw.markdown #F07890 —
text.html.markdown markup.inline.raw.markdown, punctuation.definition.raw.markdown #48789050 —
text.html.markdown meta.dummy.line-break — —
markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown, entity.name.section.markdown #30A8D8 bold
markup.underline #78C0C0 underline
markup.quote punctuation.definition.blockquote.markdown #48789050 —
string.other.link.description.title.markdown #F07890 —
constant.other.reference.link.markdown #F07890 —
punctuation.definition.raw.markdown, punctuation.definition.markdown #A8D8C0 —
variable.language.fenced.markdown #487890 —
meta.separator #A7A8AF bold
token.error-token #FF293B —
token.debug-token #A8D8C0 —
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*
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 } ! ` ;
}
Dogs In Space | Coding Theme