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 #1C1C1C activityBar.foreground #bbc1c9 activityBarBadge.background #464646 activityBarBadge.foreground #bbc1c9 button.background #464646 diffEditor.insertedTextBackground #ded6d622 tokenColors TextMate scopes and font styles (syntax highlighting rules).
scope foreground fontStyle comment, punctuation.definition.comment #605E6A italic variable, string constant.other.placeholder #BCC8CB — constant.other.color #ffffff — invalid, invalid.illegal #ff3859 — keyword.control, keyword
Shiki preview TypeScript sample highlighted with this variant's colors and tokenColors.
Abstract MH — Abstract MH
dropdown.background #1C1C1C
dropdown.border #1C1C1C
editor.background #1C1C1C
editor.findMatchBackground #2e2d2d82
editor.findMatchHighlightBackground #6a6a6aa4
editor.lineHighlightBackground #2e2d2d82
editor.selectionBackground #5454545a
editorCursor.foreground #bbc1c9
editorError.foreground #c24038
editorGroup.border #bbc1c9
editorGroup.emptyBackground #1C1C1C
editorGroupHeader.tabsBackground #1F1F1F
editorHoverWidget.background #3c3c3c
editorHoverWidget.border #bbc1c94b
editorIndentGuide.background #222222
editorLineNumber.foreground #bbc1c988
editorRuler.foreground #4b3737fa
editorSuggestWidget.background #222222
editorSuggestWidget.border #5d00ff00
editorSuggestWidget.selectedBackground #3c3c3c88
editorUnnecessaryCode.opacity #000000c0
editorWhitespace.foreground #1C1C1C
editorWidget.background #1C1C1C
input.background #1C1C1C
list.activeSelectionBackground #222222
list.activeSelectionForeground #d6d7cd
list.focusBackground #1C1C1C
list.highlightForeground #d6d7cd
list.hoverBackground #1C1C1C
list.inactiveSelectionBackground #1C1C1C
list.inactiveSelectionForeground #D4DCE0
notifications.background #272727
scrollbarSlider.activeBackground #515153
scrollbarSlider.background #515153
scrollbarSlider.hoverBackground #2c2f31
sideBar.background #1b1a1a
sideBarSectionHeader.background #272727
statusBar.background #171717
statusBar.debuggingBackground #272727
statusBar.foreground #868693
statusBar.noFolderBackground #1C1C1C
statusBarItem.hoverBackground #535368
tab.activeBackground #1C1C1C
tab.border #272727
tab.inactiveBackground #272727
terminal.ansiBlack #272727
terminal.ansiBlue #4684ff
terminal.ansiBrightBlack #757981
terminal.ansiBrightBlue #528cff
terminal.ansiBrightCyan #59c3d1
terminal.ansiBrightGreen #a2df76
terminal.ansiBrightMagenta #84019e
terminal.ansiBrightRed #fd4b4b
terminal.ansiBrightWhite #dce0e7
terminal.ansiBrightYellow #ebbd67
terminal.ansiCyan #51cbdc
terminal.ansiGreen #9ed776
terminal.ansiMagenta #d470f3
terminal.ansiRed #f55f6b
terminal.ansiWhite #dde0e6
terminal.ansiYellow #fecb6d
terminal.foreground #D4DCE0
titleBar.activeBackground #171717
titleBar.activeForeground #d7dcdf
titleBar.inactiveBackground #171717
titleBar.inactiveForeground #83838f constant.other.color, 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 #ffffff italic
entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter #f73b64 —
entity.name.function, variable.function, support.function, keyword.other.special-method #ffc654 —
meta.block variable.other #BCC8CB italic
support.other.variable, string.other.link #f73b64 —
constant.language, support.constant, constant.character, constant.escape, keyword.other.unit, keyword.other #f5fab5 italic
variable.parameter #fefefe italic
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 #fadc8a italic
entity.name, support.type, support.class, support.other.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types #10c7af —
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 #BCC8CB —
entity.name.module.js, variable.import.parameter.js, variable.other.class.js #f73b64 —
variable.language #f73b64 italic
entity.name.method.js #82AAFF italic
meta.class-method.js entity.name.function.js, variable.function.constructor #82AAFF —
constant.numeric, storage.modifier #f87c4f —
text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name, entity.other.attribute-name #f87c4f 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 #f87c4f —
source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json #f87c4f —
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 #f87c4f —
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 #f87c4f —
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 #f87c4f —
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 #f87c4f —
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 #f87c4f —
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 #f87c4f —
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 #f87c4f —
text.html.markdown, punctuation.definition.list_item.markdown #EEFFFF —
text.html.markdown markup.inline.raw.markdown #C792EA —
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*
Abstract MH | 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 }!` ;
}