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.activeBackground #4c4475 activityBar.activeBorder #7865bb activityBar.activeFocusBorder #7865bb activityBar.background #2b2b3b activityBar.border #4c3b6b activityBar.dropBorder #7865bb tokenColors TextMate scopes and font styles (syntax highlighting rules).
scope foreground fontStyle comment, punctuation.definition.comment #546E7A italic variable, string constant.other.placeholder #EEFFFF — constant.other.color #ffffff — invalid, invalid.illegal #ff778e — keyword, storage.type, storage.modifier
Shiki preview TypeScript sample highlighted with this variant's colors and tokenColors.
activityBar.foreground
#f7e6ff
activityBar.inactiveForeground #ccc3ff
activityBarBadge.background #607dff
activityBarBadge.foreground #ffffff
badge.background #7d71c5
breadcrumb.background #302e49
breadcrumbPicker.background #242738
button.background #51478b
button.hoverBackground #8670d4
checkbox.background #8271e2
checkbox.border #7865bb
contrastBorder #433a64
debugToolBar.background #88779c
debugToolBar.border #7865bb
diffEditor.insertedTextBorder #605197
diffEditor.removedTextBorder #7865bb
dropdown.background #393652
dropdown.border #4e4279
dropdown.listBackground #242431
editor.background #29283a
editor.findMatchBackground #433766
editor.findMatchBorder #695086
editor.findMatchHighlightBackground #4f4879
editor.findMatchHighlightBorder #7360a0
editor.findRangeHighlightBackground #ffffff
editor.findRangeHighlightBorder #ffffff
editor.focusedStackFrameHighlightBackground #ffffff
editor.foldBackground #403a5f
editor.foreground #b9bfdb
editor.hoverHighlightBackground #525d75
editor.inactiveSelectionBackground #4d5b79
editor.lineHighlightBackground #39375d
editor.lineHighlightBorder #424175
editor.onTypeRenameBackground #ffffff
editor.rangeHighlightBackground #383752
editor.rangeHighlightBorder #635a96
editor.selectionBackground #50547a
editor.selectionForeground #4c5f7c
editor.selectionHighlightBackground #47405f
editor.selectionHighlightBorder #4c3c66
editor.snippetFinalTabstopHighlightBackground #6770a1
editor.snippetFinalTabstopHighlightBorder #5a5691
editor.snippetTabstopHighlightBackground #4d5875
editor.snippetTabstopHighlightBorder #66609c
editor.symbolHighlightBackground #617194
editor.wordHighlightBackground #4d5b75
editor.wordHighlightBorder #526074
editor.wordHighlightStrongBorder #af8585
editorBracketMatch.background #4f5f7e
editorBracketMatch.border #6776a7
editorCursor.background #739bcf
editorCursor.foreground #a79bdd
editorError.border #5b4672
editorError.foreground #8680e5
editorGroup.dropBackground #3f3b58
editorGroup.emptyBackground #272838
editorGroupHeader.border #51466e
editorGroupHeader.tabsBackground #2a293b
editorGroupHeader.tabsBorder #4e4669
editorGutter.background #2c2b3f
editorGutter.foldingControlForeground #9e93ff
editorHint.border #4c5288
editorHint.foreground #3e337c
editorHoverWidget.background #312b49
editorHoverWidget.border #7f76ff
editorHoverWidget.foreground #d8b9ff
editorHoverWidget.statusBarBackground #3a6596
editorIndentGuide.activeBackground #4a377e
editorIndentGuide.background #5b4c7c
editorLineNumber.foreground #7672b3
editorOverviewRuler.background #4a4779
editorOverviewRuler.border #846dbb
editorOverviewRuler.findMatchForeground #ffffff
editorSuggestWidget.background #272a42
editorSuggestWidget.border #5a4d8a
editorSuggestWidget.foreground #cccbff
editorSuggestWidget.highlightForeground #c4a4ff
editorSuggestWidget.selectedBackground #423d80
editorWhitespace.foreground #8a7ecf
editorWidget.background #312f49
editorWidget.border #4e5891
editorWidget.foreground #b0abff
editorWidget.resizeBorder #584f72
extensionButton.prominentBackground #6c61ad
extensionButton.prominentForeground #000000
extensionButton.prominentHoverBackground #9b93ff
focusBorder #6d5caa
foreground #bfb0ff
gitDecoration.conflictingResourceForeground #7e779c
gitDecoration.deletedResourceForeground #7e779c
gitDecoration.ignoredResourceForeground #7e779c
gitDecoration.modifiedResourceForeground #b8afe2
gitDecoration.untrackedResourceForeground #7e779c
imagePreview.border #7865bb
input.background #423e66
input.border #3d3e72
list.activeSelectionBackground #6d5db3
list.dropBackground #a275f5
list.focusBackground #343955
list.hoverBackground #5e5391
list.inactiveFocusBackground #3b3255
list.inactiveSelectionBackground #3a3755
listFilterWidget.background #33245c
menu.background #2f2d42
menu.border #454680
menu.selectionBackground #42357c
menu.selectionBorder #7a71ac
menu.selectionForeground #ffffff
menu.separatorBackground #a490ff
menubar.selectionBackground #594980
menubar.selectionBorder #5e538d
notebook.focusedRowBorder #584d7e
notebook.rowHoverBackground #2a2a3b
panel.background #242330
panelTitle.activeForeground #b8aee4
panelTitle.inactiveForeground #9189b4
progressBar.background #b194ff
scrollbar.shadow #57516e
scrollbarSlider.activeBackground #b39fff
scrollbarSlider.background #8071c0
scrollbarSlider.hoverBackground #9d8de6
settings.checkboxBorder #695c99
settings.focusedRowBackground #313147
sideBar.background #242330
sideBarSectionHeader.background #2f2d41
sideBarSectionHeader.border #473e68
statusBar.background #5850a3
statusBar.border #58499e
statusBar.foreground #e1daff
statusBar.noFolderBackground #4d3e9e
tab.activeBackground #3b3652
tab.activeBorder #6263ac
tab.activeForeground #e5dfff
tab.border #6263ac
tab.inactiveBackground #20202b
tab.inactiveForeground #7e779c
terminal.foreground #cbc2ff
textBlockQuote.background #333953
titleBar.activeBackground #35334d
titleBar.activeForeground #e7e3ff 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 #9ed8ff —
entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter #f07178 —
entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method #98b9ff —
meta.block variable.other #f07178 —
support.other.variable, string.other.link #f07178 —
constant.numeric, constant.language, support.constant, constant.character, constant.escape, variable.parameter, keyword.other.unit, keyword.other #e6967e —
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 #bee88d —
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 #FFCB6B —
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 #B2CCD6 —
entity.name.module.js, variable.import.parameter.js, variable.other.class.js #ff6b86 —
variable.language #FF5370 italic
entity.name.method.js #82AAFF italic
meta.class-method.js entity.name.function.js, variable.function.constructor #82AAFF —
entity.other.attribute-name #ffdd7e —
text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name #FFCB6B italic
entity.other.attribute-name.class #FFCB6B —
source.sass keyword.control #82AAFF —
constant.character.escape #89DDFF —
*url*, *link*, *uri* — underline
tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js #82AAFF italic
source.js constant.other.object.key.js string.unquoted.label.js #FF5370 italic
source.json meta.structure.dictionary.json support.type.property-name.json #C792EA —
source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json #FFCB6B —
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 #F78C6C —
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 #fa7389 —
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 #ce8779 —
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 #82AAFF —
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 #f07178 —
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 #C792EA —
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 #C3E88D —
text.html.markdown, punctuation.definition.list_item.markdown #ffa3a3 —
text.html.markdown markup.inline.raw.markdown #ffd39a —
text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown #65737E —
markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown #C3E88D —
markup.italic #f07178 italic
markup.bold, markup.bold string #f07178 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 #f07178 bold
markup.underline #F78C6C underline
markup.quote punctuation.definition.blockquote.markdown #65737E —
string.other.link.title.markdown #82AAFF —
string.other.link.description.title.markdown #C792EA —
constant.other.reference.link.markdown #FFCB6B —
markup.raw.block.fenced.markdown #00000050 —
punctuation.definition.fenced.markdown #00000050 —
markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end #EEFFFF —
variable.language.fenced.markdown #65737E —
meta.separator #65737E bold
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 } ! ` ;
}
LT7 | Coding Theme