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 #112B09 activityBar.background #0B1B05 activityBarBadge.background #D71D2D badge.background #415E37 breadcrumb.background #050B02 breadcrumb.foreground #95A590 tokenColors TextMate scopes and font styles (syntax highlighting rules).
scope foreground fontStyle meta.embedded, source.groovy.embedded #D4DBD2 — emphasis — italic strong — bold header #000080 — comment #82BE6E —
Shiki preview TypeScript sample highlighted with this variant's colors and tokenColors.
button.background
#286713
debugToolBar.background #091604
dropdown.background #0B1B05
dropdown.border #173B0B
editor.background #112B09
editor.findMatchBackground #827E17
editor.findMatchHighlightBackground #2A406F
editor.foldBackground #6E3A17
editor.hoverHighlightBackground #415E37
editor.lineHighlightBackground #2C4C21
editor.rangeHighlightBackground #2C4C21
editor.selectionBackground #746513
editor.selectionHighlightBackground #30497E
editor.wordHighlightBackground #30497E
editor.wordHighlightStrongBackground #746513
editorBracketMatch.background #30497E
editorBracketMatch.border #E9EDE8
editorGroup.border #D4DBD2
editorGroup.dropBackground #D4DBD2
editorGroupHeader.tabsBackground #0B1B05
editorGutter.background #0F2608
editorLineNumber.foreground #648263
editorOverviewRuler.border #809479
editorSuggestWidget.highlightForeground #D9D026
editorSuggestWidget.selectedBackground #2C4C21
editorWhitespace.foreground #56704D
editorWidget.background #091604
editorWidget.border #809479
extensionButton.prominentBackground #2C4C21
extensionButton.prominentForeground #D4DBD2
focusBorder #3C9B1C
foreground #D4DBD2
input.background #0B1B05
input.border #173B0B
input.placeholderForeground #415E37
inputValidation.errorBackground #84131C
inputValidation.errorBorder #91141E
inputValidation.errorForeground #E9EDE8
list.activeSelectionBackground #173B0B
list.focusBackground #173B0B
list.highlightForeground #FAF845
list.hoverBackground #173B0B
list.inactiveFocusBackground #173B0B
list.inactiveSelectionBackground #173B0B
menu.selectionForeground #E9EDE8
menu.separatorBackground #6B8263
menubar.selectionForeground #E9EDE8
minimap.errorHighlight #91141E
minimap.findMatchHighlight #D8D227
minimap.selectionHighlight #D8D227
minimap.warningHighlight #F27F32
panel.background #0F2608
panel.border #809479
panelTitle.activeBorder #D4DBD2
panelTitle.activeForeground #D4DBD2
panelTitle.inactiveForeground #95A590
pickerGroup.border #6B8263
pickerGroup.foreground #D4DBD2
scrollbar.shadow #071103
scrollbarSlider.activeBackground #AAB7A6
scrollbarSlider.background #415E37
scrollbarSlider.hoverBackground #6B8263
selection.background #827E17
settings.headerForeground #E9EDE8
sideBar.background #0B1B05
sideBarSectionHeader.background #15360A
statusBar.background #0B1B05
tab.activeBackground #112B09
tab.hoverBackground #15360A
tab.inactiveBackground #0B1B05
tab.unfocusedActiveBackground #112B09
tab.unfocusedHoverBackground #15360A
terminal.background #000000
terminal.border #BFC9BC
terminal.foreground #FFFFFF
textBlockQuote.background #223459
textBlockQuote.border #4163AD
textLink.activeForeground #EDE62A
textLink.foreground #2DC8B3
textPreformat.foreground #EDE62A
titleBar.activeBackground #173B0B
titleBar.activeForeground #D4DBD2
tree.indentGuidesStroke #173B0B constant.language #819FF7 —
constant.numeric, variable.other.enummember, keyword.operator.plus.exponent, keyword.operator.minus.exponent #A1CE71 —
entity.name.tag.css #CCA866 —
entity.other.attribute-name #2DC8B3 —
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.scss #CCA866 —
markup.underline — underline
markup.heading #819FF7 bold
punctuation.definition.quote.begin.markdown #82BE6E —
punctuation.definition.list.begin.markdown #819FF7 —
markup.inline.raw #CCC58E —
punctuation.definition.tag #808080 —
meta.preprocessor, entity.name.function.preprocessor #819FF7 —
meta.preprocessor.string #CCC58E —
meta.preprocessor.numeric #A1CE71 —
meta.structure.dictionary.key.python #2DC8B3 —
storage.modifier, keyword.operator.noexcept #819FF7 —
string, meta.embedded.assembly #CCC58E —
punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded #819FF7 —
meta.template.expression #D4DBD2 —
support.type.vendored.property-name, support.type.property-name, variable.css, variable.scss, variable.other.less, source.coffee.embedded #2DC8B3 —
keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.alignof, keyword.operator.typeid, keyword.operator.alignas, keyword.operator.instanceof, keyword.operator.logical.python, keyword.operator.wordlike #819FF7 —
keyword.other.unit #A1CE71 —
punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php #819FF7 —
support.function.git-rebase #2DC8B3 —
constant.sha.git-rebase #A1CE71 —
storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java #D4DBD2 —
variable.language #819FF7 —
entity.name.function, support.function, support.constant.handlebars, source.powershell variable.other.member, entity.name.operator.custom-literal #C4CB01 —
meta.return-type, support.class, support.type, entity.name.type, entity.name.namespace, entity.other.attribute, entity.name.scope-resolution, 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 #CCA866 —
meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class #CCA866 —
keyword.control, source.cpp keyword.operator.new, keyword.operator.delete, keyword.other.using, keyword.other.operator, entity.name.operator #CC76CC —
variable, meta.definition.variable.name, support.variable, entity.name.variable #2DC8B3 —
variable.other.constant, variable.other.enummember #2DC8B3 —
meta.object-literal.key #2DC8B3 —
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 #CCC58E —
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 #CCC58E —
constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp #CC7666 —
keyword.operator.or.regexp, keyword.control.anchor.regexp #C4CB01 —
keyword.operator.quantifier.regexp #CCA866 —
constant.character #819FF7 —
constant.character.escape #CCA866 —
entity.name.label #C8C8C8 —
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 } !` ;
}
blackboard | Coding Theme