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 #3f3f3f activityBar.activeBorder #7F7F7F activityBar.background #2f2f2f activityBar.border #7F7F7F activityBar.foreground #FFFFFF activityBar.inactiveForeground #9F9F9F tokenColors TextMate scopes and font styles (syntax highlighting rules).
scope foreground fontStyle meta.embedded, source.groovy.embedded, string meta.image.inline.markdown #D4D4D4 — emphasis — italic strong — bold header #000080 — comment, string.quoted.docstring #6A9955
Shiki preview TypeScript sample highlighted with this variant's colors and tokenColors.
Theme.OldSchool — Theme.OldSchool
activityBarBadge.background
#0078d4
activityBarBadge.foreground #ffffff
badge.background #0078d4
badge.foreground #ffffff
breadcrumb.background #181818
breadcrumb.foreground #CCCCCC
button.background #0078d4
button.border #ffffff12
button.foreground #ffffff
button.hoverBackground #0078d4e6
button.secondaryBackground #ffffff0f
button.secondaryForeground #cccccc
button.secondaryHoverBackground #ffffff15
debugToolBar.background #181818
descriptionForeground #8b949e
diffEditor.insertedLineBackground #23863633
diffEditor.insertedTextBackground #2386364d
diffEditor.removedLineBackground #da363333
diffEditor.removedTextBackground #da36334d
editor.background #000000
editor.foreground #ffffff
editor.lineHighlightBackground #0F0F0FFF
editor.lineHighlightBorder #1F1F1FFF
editor.selectionBackground #0078d47F
editor.selectionHighlightBackground #0078d42F
editorGhostText.background #1F1F1FFF
editorGhostText.border #00000000
editorGhostText.foreground #9F9F9F
editorGroupHeader.tabsBackground #181818
editorGroupHeader.tabsBorder #7F7F7F
editorGutter.addedBackground #2ea043
editorGutter.background #181818
editorGutter.deletedBackground #f85149
editorGutter.modifiedBackground #0078d4
editorIndentGuide.activeBackground #8f8f8f
editorIndentGuide.background #3f3f3f
editorInlayHint.background #3f3f3f33
editorInlayHint.foreground #8b949e
editorInlayHint.typeBackground #8b949e33
editorInlayHint.typeForeground #8b949e
editorLineNumber.activeForeground #ffffff
editorLineNumber.foreground #5f5f5f
editorOverviewRuler.border #010409
editorWhitespace.foreground #7c7c7c
editorWidget.background #1f1f1f
errorForeground #f85149
focusBorder #0078d4
foreground #FFFFFF
icon.foreground #FFFFFF
menu.background #181818
menu.border #454545
menu.foreground #cccccc
menu.separatorBackground #454545
panel.background #0F0F0FFF
panel.border #ffffff15
panelInput.border #ffffff15
panelTitle.activeBorder #0078d4
panelTitle.activeForeground #FFFFFF
panelTitle.inactiveForeground #9F9F9F
progressBar.background #0078d4
scrollbar.shadow #484f5833
scrollbarSlider.activeBackground #6e768187
scrollbarSlider.background #6e768133
scrollbarSlider.hoverBackground #6e768145
settings.dropdownBackground #313131
settings.dropdownBorder #ffffff1f
settings.headerForeground #ffffff
settings.modifiedItemIndicator #bb800966
sideBar.background #181818
sideBar.border #7F7F7F
sideBar.foreground #cccccc
sideBarSectionHeader.background #181818
sideBarSectionHeader.border #CFCFCF
sideBarSectionHeader.foreground #ffffff
sideBarTitle.foreground #ffffff
statusBar.background #2f2f2f
statusBar.border #7F7F7F
statusBar.foreground #FFFFFF
statusBar.noFolderBackground #2f2f2f
statusBarItem.errorForeground #F14C4C
statusBarItem.focusBorder #0078d4
statusBarItem.prominentBackground #6e768166
statusBarItem.remoteBackground #00000000
statusBarItem.remoteForeground #ffffff
statusBarItem.warningForeground #F5F543
tab.activeBackground #2F2F2F
tab.activeBorderTop #0078d4
tab.activeForeground #ffffff
tab.hoverBackground #3F3F3F
tab.inactiveBackground #181818
tab.unfocusedActiveBorderTop #ffffff40
tab.unfocusedActiveForeground #ffffff40
terminal.foreground #ffffff
titleBar.activeBackground #2f2f2f
titleBar.activeForeground #ffffff
titleBar.border #7F7F7F
titleBar.inactiveBackground #1f1f1f
titleBar.inactiveForeground #cccccc constant.language #569CD6 —
constant.numeric, variable.other.enummember, keyword.operator.plus.exponent, keyword.operator.minus.exponent #B5CEA8 —
entity.name.tag.css #D7BA7D —
entity.other.attribute-name #9CDCFE —
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 #D7BA7D —
markup.underline — underline
markup.heading #569CD6 bold
markup.strikethrough — strikethrough
punctuation.definition.quote.begin.markdown #6A9955 —
punctuation.definition.list.begin.markdown #6796E6 —
markup.inline.raw #CE9178 —
punctuation.definition.tag #808080 —
meta.preprocessor, entity.name.function.preprocessor #569CD6 —
meta.preprocessor.string #CE9178 —
meta.preprocessor.numeric #B5CEA8 —
meta.structure.dictionary.key.python #9CDCFE —
storage.modifier, keyword.operator.noexcept #569CD6 —
string, meta.embedded.assembly #CE9178 —
punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded #569CD6 —
meta.template.expression #D4D4D4 —
support.type.vendored.property-name, support.type.property-name, variable.css, variable.scss, variable.other.less, source.coffee.embedded #9CDCFE —
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 #569CD6 —
keyword.other.unit #B5CEA8 —
punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php #569CD6 —
support.function.git-rebase #9CDCFE —
constant.sha.git-rebase #B5CEA8 —
storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java #D4D4D4 —
variable.language #569CD6 —
entity.name.function, support.function, support.constant.handlebars, source.powershell variable.other.member, entity.name.operator.custom-literal #DCDCAA —
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 #4EC9B0 —
meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class #4EC9B0 —
keyword.control, source.cpp keyword.operator.new, keyword.operator.delete, keyword.other.using, keyword.other.operator, entity.name.operator #C586C0 —
variable, meta.definition.variable.name, support.variable, entity.name.variable, constant.other.placeholder #9CDCFE —
variable.other.constant, variable.other.enummember #4FC1FF —
meta.object-literal.key #9CDCFE —
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 #CE9178 —
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 #CE9178 —
constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp #D16969 —
keyword.operator.or.regexp, keyword.control.anchor.regexp #DCDCAA —
keyword.operator.quantifier.regexp #D7BA7D —
constant.character, constant.other.option #569CD6 —
constant.character.escape #D7BA7D —
entity.name.label #C8C8C8 —
token.error-token #F44747 —
token.debug-token #B267E6 —
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 } !` ;
}
Theme.OldSchool | Coding Theme