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.activeBorder #0078d4 activityBar.background #181818 activityBar.border #ffffff15 activityBar.foreground #d7d7d7 activityBar.inactiveForeground #ffffff80 activityBarBadge.background #0078d4 tokenColors TextMate scopes and font styles (syntax highlighting rules).
scope foreground fontStyle comment #6D6D6D — string #FBE3BF — constant.numeric #FDB082 — constant.language #FF8942 — constant.character, constant.other
Shiki preview TypeScript sample highlighted with this variant's colors and tokenColors.
1337-modern — 1337 Modern
activityBarBadge.foreground
#ffffff
badge.background #0078d4
badge.foreground #ffffff
button.background #0078d4
button.border #ffffff12
button.foreground #ffffff
button.hoverBackground #0078d4e6
button.secondaryBackground #ffffff0f
button.secondaryForeground #cccccc
button.secondaryHoverBackground #ffffff15
checkbox.background #313131
checkbox.border #ffffff1f
debugToolBar.background #181818
descriptionForeground #8b949e
dropdown.background #313131
dropdown.border #ffffff1f
dropdown.foreground #cccccc
dropdown.listBackground #1f1f1f
editor.background #1f1f1f
editor.findMatchBackground #9e6a03
editor.foreground #cccccc
editor.inactiveSelectionBackground #3a3d41
editor.selectionHighlightBackground #add6ff26
editorGroup.border #ffffff17
editorGroupHeader.tabsBackground #181818
editorGroupHeader.tabsBorder #ffffff15
editorGutter.addedBackground #2ea043
editorGutter.deletedBackground #f85149
editorGutter.modifiedBackground #0078d4
editorIndentGuide.activeBackground1 #707070
editorIndentGuide.background1 #404040
editorInlayHint.background #8b949e1b
editorInlayHint.typeBackground #8b949e1b
editorLineNumber.activeForeground #cccccc
editorLineNumber.foreground #6e7681
editorOverviewRuler.border #010409
editorWidget.background #1f1f1f
errorForeground #f85149
focusBorder #0078d4
foreground #cccccc
icon.foreground #cccccc
input.background #2a2a2a
input.border #ffffff1f
input.foreground #cccccc
input.placeholderForeground #ffffff79
inputOption.activeBackground #2489db82
inputOption.activeBorder #2488db
keybindingLabel.foreground #cccccc
list.activeSelectionBackground #323232
list.activeSelectionForeground #ffffff
list.activeSelectionIconForeground #ffffff
list.dropBackground #383b3d
menu.background #1f1f1f
menu.border #454545
menu.foreground #cccccc
menu.separatorBackground #454545
notificationCenterHeader.background #1f1f1f
notificationCenterHeader.foreground #cccccc
notifications.background #1f1f1f
notifications.border #ffffff15
notifications.foreground #cccccc
panel.background #181818
panel.border #ffffff15
panelInput.border #ffffff15
panelTitle.activeBorder #0078d4
panelTitle.activeForeground #cccccc
panelTitle.inactiveForeground #8b949e
peekViewEditor.background #1f1f1f
peekViewEditor.matchHighlightBackground #bb800966
peekViewResult.background #1f1f1f
peekViewResult.matchHighlightBackground #bb800966
pickerGroup.border #ffffff15
pickerGroup.foreground #8b949e
ports.iconRunningProcessForeground #369432
progressBar.background #0078d4
quickInput.background #1f1f1f
quickInput.foreground #cccccc
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 #ffffff15
sideBar.foreground #cccccc
sideBarSectionHeader.background #181818
sideBarSectionHeader.border #ffffff15
sideBarSectionHeader.foreground #cccccc
sideBarTitle.foreground #cccccc
statusBar.background #181818
statusBar.border #ffffff15
statusBar.debuggingBackground #0078d4
statusBar.debuggingForeground #ffffff
statusBar.focusBorder #0078d4
statusBar.foreground #cccccc
statusBar.noFolderBackground #1f1f1f
statusBarItem.focusBorder #0078d4
statusBarItem.prominentBackground #6e768166
statusBarItem.remoteBackground #0078d4
statusBarItem.remoteForeground #ffffff
tab.activeBackground #1f1f1f
tab.activeBorder #1f1f1f
tab.activeBorderTop #0078d4
tab.activeForeground #ffffff
tab.border #ffffff15
tab.hoverBackground #1f1f1f
tab.inactiveBackground #181818
tab.inactiveForeground #ffffff80
tab.lastPinnedBorder #cccccc33
tab.unfocusedActiveBorder #1f1f1f
tab.unfocusedActiveBorderTop #ffffff15
tab.unfocusedHoverBackground #6e76811a
terminal.foreground #cccccc
terminal.inactiveSelectionBackground #3a3d41
terminal.tab.activeBorder #0078d4
textBlockQuote.background #010409
textBlockQuote.border #ffffff14
textCodeBlock.background #6e768166
textLink.activeForeground #40a6ff
textLink.foreground #40a6ff
textSeparator.foreground #21262d
titleBar.activeBackground #181818
titleBar.activeForeground #cccccc
titleBar.border #ffffff15
titleBar.inactiveBackground #1f1f1f
titleBar.inactiveForeground #8b949e
welcomePage.progress.foreground #0078d4
welcomePage.tileBackground #ffffff0f
widget.border #ffffff15 #FDB082
storage.type #FBDFB5 italic
entity.name.class #8CDAFF underline
entity.other.inherited-class #8CDAFF italic underline
entity.name.function #8CDAFF
variable.parameter #FC9354 italic
entity.other.attribute-name #97D8EA
support.type, support.class #FBE3BF —
support.other.namespace, entity.name.type.namespace #FFB2F9 —
support.other.namespace.use-as.php #66D9EF —
variable.language.namespace.php #D66990 —
punctuation.separator.inheritance.php #F92672 —
support.function.misc.css, support.constant.property-value.css, support.constant.font-name.css #FDB082 —
meta.tag.template.value.twig, meta.tag.template.block.twig #CD5AC5 —
keyword.control.twig #E05D8C —
variable.other.twig #E5A5E0 —
variable.other.property.twig #FFE1FC —
constant.language.twig #FFD2A6 —
constant.numeric.twig #FFD0FB —
support.function.twig #90E7F7 —
meta.function-call.other.twig #FAB85A —
meta.function-call.twig #FAB85A —
invalid.deprecated #F8F8F0 —
punctuation.definition.string, punctuation.definition.variable, punctuation.definition.string, punctuation.definition.parameters, punctuation.definition.string, punctuation.definition.array #FFFFFF —
variable.parameter.function #D0D0D0 —
entity.other.attribute-name.id, punctuation.definition.entity #66A9EC —
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...
~/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 }! ` ;
}
1337-modern | Coding Theme