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 #000000 activityBar.border #000000 activityBar.foreground #dfdfdf breadcrumb.background #000 breadcrumb.focusForeground #dcdddd breadcrumb.foreground #dcdddd tokenColors TextMate scopes and font styles (syntax highlighting rules).
scope foreground fontStyle comment, punctuation.definition.comment #A0D07D — punctuation.definition.string, string #FC6A5D — constant.numeric, keyword.other.unit, support.constant #D0BF69 — constant.language, entity.name.tag, keyword, storage.modifier, storage.type, support.type.primitive, variable.language #FF7AB2 bold
Shiki preview TypeScript sample highlighted with this variant's colors and tokenColors.
Xcode Pitch Dark Theme — Xcode Pitch Dark Theme
debugIcon.breakpointCurrentStackframeForeground
#007aff
debugIcon.breakpointForeground #007aff
debugToolBar.background #000
diffEditor.insertedTextBackground #3cff5518
diffEditor.removedTextBackground #ff504418
dropdown.background #000
dropdown.border #000
dropdown.foreground #dfdfdf
editor.background #000
editor.findMatchBackground #fffb00
editor.findMatchHighlightBackground #545558
editor.foreground #dfdfdf
editor.hoverHighlightBackground #2c5392
editor.lineHighlightBackground #2f3239
editor.selectionBackground #646E83
editor.snippetTabstopHighlightBackground #007aff
editor.stackFrameHighlightBackground #007aff22
editorCodeLens.foreground #dfdfdf77
editorCursor.foreground #ffffff
editorError.foreground #e21514
editorGroup.border #000
editorGroupHeader.noTabsBackground #000
editorGroupHeader.tabsBackground #000
editorGroupHeader.tabsBorder #000
editorGutter.addedBackground #4f82ce
editorGutter.deletedBackground #4f82ce
editorGutter.modifiedBackground #4f82ce
editorIndentGuide.activeBackground1 #00000000
editorIndentGuide.background1 #00000000
editorLineNumber.activeForeground #dfdfdf
editorLineNumber.foreground #dfdfdf55
editorLink.activeForeground #6699ff
editorOverviewRuler.addedForeground #4f82ce
editorOverviewRuler.deletedForeground #4f82ce
editorOverviewRuler.errorForeground #e21514
editorOverviewRuler.findMatchForeground #fffb00
editorOverviewRuler.modifiedForeground #4f82ce
editorOverviewRuler.warningForeground #f5c443
editorWarning.foreground #f5c443
editorWhitespace.foreground #53606e
editorWidget.background #000
errorForeground #e21514
focusBorder #35628b
foreground #dfdfdf
gitDecoration.conflictingResourceForeground #e21514
gitDecoration.ignoredResourceForeground #dfdfdf55
input.background #000
input.border #000
input.foreground #dfdfdf
list.activeSelectionBackground #3071db
list.activeSelectionForeground #dfdfdf
list.dropBackground #000
list.filterMatchBackground #fffb00
list.focusBackground #3071db
list.focusForeground #dfdfdf
list.highlightForeground #f5c443
list.hoverBackground #000
list.inactiveFocusBackground #000
list.inactiveSelectionBackground #000
list.inactiveSelectionForeground #dfdfdf
listFilterWidget.background #000
minimap.errorHighlight #e21514
minimap.findMatchHighlight #fffb00
minimap.selectionHighlight #646E83
minimap.warningHighlight #f5c443
minimapGutter.addedBackground #4f82ce
minimapGutter.deletedBackground #4f82ce
minimapGutter.modifiedBackground #4f82ce
panel.border #000000
peekView.border #3071db
peekViewEditor.background #000
peekViewEditor.matchHighlightBackground #646E83
peekViewResult.background #000
peekViewResult.fileForeground #dfdfdf
peekViewResult.lineForeground #dfdfdf99
peekViewResult.matchHighlightBackground #646E83
peekViewResult.selectionBackground #3071db
peekViewResult.selectionForeground #dfdfdf
peekViewTitle.background #000
peekViewTitleDescription.foreground #6699ff
peekViewTitleLabel.foreground #dfdfdf
searchEditor.findMatchBackground #fffb00
sideBar.background #000
sideBar.border #000
sideBarSectionHeader.background #000
statusBar.background #000
statusBar.border #000
statusBar.debuggingBackground #000
statusBar.debuggingBorder #000
statusBar.debuggingForeground #dfdfdf
statusBar.foreground #dfdfdf
statusBar.noFolderBackground #000
statusBar.noFolderBorder #000
statusBar.noFolderForeground #dfdfdf
tab.activeBackground #000
tab.activeBorder #000
tab.activeForeground #ffffff
tab.border #000
tab.inactiveBackground #000
tab.inactiveForeground #9a9c9d
tab.unfocusedActiveBorder #000
tab.unfocusedActiveForeground #fff
tab.unfocusedInactiveForeground #9c9c9c
terminal.border #000
terminalOverviewRuler.border #000
textLink.activeForeground #6699ff
textLink.foreground #6699ff
titleBar.activeBackground #000
titleBar.activeForeground #dfdfdf
titleBar.border #000
titleBar.inactiveBackground #000
titleBar.inactiveForeground #dfdfdf
toolbar.activeBackground #000
toolbar.hoverBackground #000 keyword.control.directive, keyword.control.preprocessor, punctuation.definition.preprocessor
markup.underline.link #6699FF —
entity.name.type.class.std.rust, storage.type.cs, support.type, meta.object-literal.key #ACF2E4 —
meta.object-literal.key #72BFAE —
punctuation.definition.variable, punctuation.support.type.property-name, storage.modifier.lifetime, support.type.property-name, variable.other.property #83C9BC —
meta.definition.function, meta.definition.method, meta.method.declaration #5DD8FF —
variable.other.constant, meta.definition.variable #FFFFFF —
variable.parameter, meta.parameters, meta.method.declaration, meta.object.member #48b7db —
variable.other.object, meta.var.expr, meta.definition.variable, meta.block #48b7db —
constant.language.boolean.false, constant.language.boolean.true, meta.objectliteral #D6C455 —
entity.name.type.class, entity.other.inherited-class #5DD8FF —
meta.return.type, meta.function, support.type.primitive, meta.field.declaration, meta.interface #D0A8FF —
meta.function-call #CDA1FF —
entity.name.type.namespace, entity.name.variable, variable.other.assignment #49B7D7 —
variable.object.property, meta.definition.property, meta.field.declaration, meta.class #49B7D7 —
fenced_code.block.language, punctuation.definition.bold.markdown, punctuation.definition.heading.markdown, punctuation.definition.italic.markdown, punctuation.definition.list.begin.markdown, punctuation.definition.markdown, punctuation.definition.metadata.markdown, punctuation.definition.quote.begin.markdown, punctuation.definition.raw.markdown, punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown #72BFAE —
string.other.link.title.markdown #DFDFE0 —
entity.name.section #DFDFE0 bold
variable.other.object.property, support.variable.property, variable.other.constant.property #83C9BC —
markup.italic #DFDFE0 italic
punctuation.decorator, meta.brace.round #FFFFFF —
entity.other.attribute-name #D0A8FF —
meta.tag.without-attributes, metax.children #FFFFFF —
variable.other.readwrite.alias #FFFFFF —
punctuation.terminator.statement #FFFFFF —
punctuation.accessor.optional #A167E6 —
case-clause.expr, switch-block.expr, switch-statement.expr #48b7db —
token.error-token #F44747 —
token.debug-token #B267E6 —
support.class.dart, other.source.dart #E5CFFF —
entity.name.function.dart #5DD8FF —
variable.parameter.dart #83C9BC —
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 } !` ;
}
Xcode Pitch Dark Theme | Coding Theme