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 #222226 activityBar.activeBorder #2ecfe2 activityBar.activeFocusBorder #0000FF activityBar.background #1A1A1E activityBar.border #222226 activityBar.foreground #ECECEE tokenColors TextMate scopes and font styles (syntax highlighting rules).
scope foreground fontStyle meta.import variable.other.readwrite, meta.variable.assignment.destructured.object.coffee variable #4d86c2 italic meta.import variable.other.readwrite.alias, meta.export variable.other.readwrite.alias, meta.variable.assignment.destructured.object.coffee variable variable #4d86c2 normal entity.name.tag #99f092 — entity.other.attribute-name.parent-selector #70a8b5 —
Shiki preview TypeScript sample highlighted with this variant's colors and tokenColors.
activityBar.inactiveForeground
#858593
activityBarBadge.background #2ecfe2
activityBarBadge.foreground #222226
badge.background #4d4d4d
badge.foreground #ffffff
breadcrumb.activeSelectionForeground #e0e0e0
breadcrumb.background #1A1A1E
breadcrumb.focusForeground #e0e0e0
breadcrumb.foreground #cccccccc
button.background #2ecfe2
button.foreground #1A1A1E
button.hoverBackground #11a7bb
button.secondaryBackground #3a3d41
button.secondaryForeground #ffffff
button.secondaryHoverBackground #45494e
checkbox.background #3c3c3c
checkbox.border #00000000
checkbox.foreground #cccccc
debugExceptionWidget.background #333333
debugExceptionWidget.border #474747
debugToolBar.background #333333
debugToolBar.border #474747
diffEditor.border #444444
diffEditor.insertedTextBackground #54db681c
diffEditor.removedTextBackground #6b29296c
dropdown.background #222226
dropdown.border #2E2E33
dropdown.foreground #cccccc
editor.background #1A1A1E
editor.findMatchBackground #515c6a
editor.findMatchBorder #74879f
editor.findMatchHighlightBackground #ea5c0055
editor.findMatchHighlightBorder #ffffff00
editor.findRangeHighlightBackground #3a3d4166
editor.findRangeHighlightBorder #ffffff00
editor.foldBackground #264f784d
editor.foreground #d4d4d4
editor.hoverHighlightBackground #264f7840
editor.inactiveSelectionBackground #3a3d41
editor.lineHighlightBackground #ffffff0A
editor.lineHighlightBorder #282828
editor.rangeHighlightBackground #ffffff0b
editor.rangeHighlightBorder #ffffff00
editor.selectionBackground #0c3240
editor.selectionHighlightBackground #add6ff26
editor.selectionHighlightBorder #495F77
editor.wordHighlightBackground #575757b8
editor.wordHighlightStrongBackground #004972b8
editorBracketMatch.background #0064001a
editorBracketMatch.border #888888
editorCodeLens.foreground #999999
editorCursor.background #000000
editorCursor.foreground #aeafad
editorError.background #B73A3400
editorError.border #ffffff00
editorError.foreground #f48771
editorGroup.border #444444
editorGroup.emptyBackground #1A1A1E
editorGroupHeader.tabsBackground #222226
editorGutter.addedBackground #587c0c
editorGutter.background #1A1A1E
editorGutter.commentRangeForeground #c5c5c5
editorGutter.deletedBackground #94151b
editorGutter.foldingControlForeground #c5c5c5
editorGutter.modifiedBackground #0c7d9d
editorHoverWidget.background #222226
editorHoverWidget.border #3C3C44
editorHoverWidget.foreground #cccccc
editorIndentGuide.activeBackground #707070
editorIndentGuide.background #404040
editorInfo.background #4490BF00
editorInfo.border #4490BF00
editorInfo.foreground #75beff
editorLineNumber.activeForeground #c6c6c6
editorLineNumber.foreground #858585
editorLink.activeForeground #2ecfe2
editorMarkerNavigation.background #2d2d30
editorMarkerNavigationError.background #f48771
editorMarkerNavigationInfo.background #75beff
editorMarkerNavigationWarning.background #cca700
editorOverviewRuler.background #25252500
editorOverviewRuler.border #7f7f7f4d
editorRuler.foreground #5a5a5a
editorSuggestWidget.background #222226
editorSuggestWidget.border #2E2E33
editorSuggestWidget.foreground #d4d4d4
editorSuggestWidget.highlightForeground #2ecfe2
editorSuggestWidget.selectedBackground #1b5d6f
editorWarning.background #A9904000
editorWarning.border #ffffff00
editorWarning.foreground #cca700
editorWhitespace.foreground #e3e4e229
editorWidget.background #222226
editorWidget.foreground #cccccc
editorWidget.resizeBorder #5F5F5F
focusBorder #2ecfe2
foreground #cccccc
gitDecoration.addedResourceForeground #81b88b
gitDecoration.conflictingResourceForeground #6c6cc4
gitDecoration.deletedResourceForeground #c74e39
gitDecoration.ignoredResourceForeground #8c8c8c
gitDecoration.modifiedResourceForeground #e2c08d
gitDecoration.stageDeletedResourceForeground #c74e39
gitDecoration.stageModifiedResourceForeground #e2c08d
gitDecoration.submoduleResourceForeground #8db9e2
gitDecoration.untrackedResourceForeground #73c991
icon.foreground #cccccc
input.background #222226
input.border #00000000
input.foreground #cccccc
input.placeholderForeground #a6a6a6
inputOption.activeBackground #2ecfe2
inputOption.activeBorder #007acc00
inputOption.activeForeground #222226
list.activeSelectionBackground #2E2E33
list.activeSelectionForeground #ffffff
list.dropBackground #2E2E33
list.focusBackground #2E2E33
list.focusForeground #cccccc
list.highlightForeground #2ecfe2
list.hoverBackground #2E2E33
list.hoverForeground #cccccc
list.inactiveSelectionBackground #2E2E33
list.inactiveSelectionForeground #cccccc
listFilterWidget.background #653723
listFilterWidget.noMatchesOutline #be1100
listFilterWidget.outline #00000000
menu.background #222226
menu.border #2E2E33
menu.foreground #cccccc
menu.selectionBackground #2ecfe2
menu.selectionBorder #00000000
menu.selectionForeground #1A1A1E
menu.separatorBackground #3C3C44
menubar.selectionBackground #ffffff1a
menubar.selectionForeground #cccccc
merge.commonContentBackground #282828
merge.commonHeaderBackground #383838
merge.currentContentBackground #27403B
merge.currentHeaderBackground #367366
merge.incomingContentBackground #28384B
merge.incomingHeaderBackground #395F8F
minimap.background #222226
minimap.errorHighlight #f48771
minimap.findMatchHighlight #515c6a
minimap.selectionHighlight #264f78
minimap.warningHighlight #cca700
minimapGutter.addedBackground #587c0c
minimapGutter.deletedBackground #94151b
minimapGutter.modifiedBackground #0c7d9d
notificationCenter.border #2E2E33
notificationCenterHeader.background #2E2E33
notificationCenterHeader.foreground #cccccc
notifications.background #222226
notifications.border #3C3C44
notifications.foreground #cccccc
notificationsErrorIcon.foreground #f48771
notificationsInfoIcon.foreground #75beff
notificationsWarningIcon.foreground #cca700
notificationToast.border #474747
panel.background #1A1A1E
panel.border #80808059
panelSection.border #80808059
panelTitle.activeBorder #2ecfe2
panelTitle.activeForeground #e7e7e7
panelTitle.inactiveForeground #e7e7e799
peekView.border #2ecfe2
peekViewEditor.background #0c3240
peekViewEditor.matchHighlightBackground #ff8f0099
peekViewEditor.matchHighlightBorder #ee931e
peekViewEditorGutter.background #0c3240
peekViewResult.background #222226
peekViewResult.fileForeground #ffffff
peekViewResult.lineForeground #bbbbbb
peekViewResult.matchHighlightBackground #ea5c004d
peekViewResult.selectionBackground #3399ff33
peekViewResult.selectionForeground #ffffff
peekViewTitle.background #2E2E33
peekViewTitleDescription.foreground #ccccccb3
peekViewTitleLabel.foreground #ffffff
pickerGroup.border #3f3f46
pickerGroup.foreground #2ecfe2
progressBar.background #2ecfe2
scrollbar.shadow #000000
scrollbarSlider.activeBackground #bfbfbf66
scrollbarSlider.background #79797966
scrollbarSlider.hoverBackground #646464b3
selection.background #1b5d6f
settings.focusedRowBackground #ffffff07
settings.headerForeground #cccccc
sideBar.background #222226
sidebar.border #222226
sideBar.dropBackground #383b3d
sideBar.foreground #cccccc
sideBarSectionHeader.background #00000000
sideBarSectionHeader.border #cccccc33
sideBarSectionHeader.foreground #cccccc
sideBarTitle.foreground #bbbbbb
statusBar.background #222226
statusBar.debuggingBackground #ffa172
statusBar.debuggingForeground #1A1A1E
statusBar.foreground #ffffff
statusBar.noFolderBackground #222226
statusBar.noFolderForeground #ffffff
statusBarItem.activeBackground #FFFFFF25
statusBarItem.hoverBackground #3C3C44
statusBarItem.remoteBackground #2ecfe2
statusBarItem.remoteForeground #1A1A1E
statusBarItem.remoteHoverBackground #11a7bb
statusBarItem.remoteHoverForeground #1A1A1E
tab.activeBackground #2E2E33
tab.activeBorder #00000000
tab.activeBorderTop #2ecfe2
tab.activeForeground #ffffff
tab.border #252526
tab.inactiveBackground #222226
tab.inactiveForeground #ffffff80
terminal.ansiBlack #000000
terminal.ansiBlue #2472c8
terminal.ansiBrightBlack #666666
terminal.ansiBrightBlue #3b8eea
terminal.ansiBrightCyan #29b8db
terminal.ansiBrightGreen #23d18b
terminal.ansiBrightMagenta #d670d6
terminal.ansiBrightRed #f14c4c
terminal.ansiBrightWhite #e5e5e5
terminal.ansiBrightYellow #f5f543
terminal.ansiCyan #11a8cd
terminal.ansiGreen #0dbc79
terminal.ansiMagenta #bc3fbc
terminal.ansiRed #cd3131
terminal.ansiWhite #e5e5e5
terminal.ansiYellow #e5e510
terminal.border #80808059
terminal.foreground #cccccc
terminal.selectionBackground #ffffff40
terminalCursor.background #2ecfe2
terminalCursor.foreground #ffffff
textLink.activeForeground #11a7bb
textLink.foreground #2ecfe2
titleBar.activeBackground #1A1A1E
titleBar.activeForeground #cccccc
titleBar.border #00000000
titleBar.inactiveBackground #222226
titleBar.inactiveForeground #cccccc99
walkThrough.embeddedEditorBackground #00000050
widget.shadow #0000005c entity.other.attribute-name
comment, punctuation.definition.comment, string.comment #5c6566 —
constant, entity.name.constant, variable.other.constant, variable.language #e6bb6a —
entity, entity.name #96e88f —
entity.name.function #96e88f —
entity.name.method #bd98f2 —
variable.parameter.function #e1e4e8 —
entity.name.tag.yaml #3885c9 —
keyword.control.new, keyword.operator.new #c09dff bold
storage, storage.type #5194d6 —
storage.modifier.package, storage.modifier.import, storage.type.java #e1e4e8 —
string, punctuation.definition.string, string punctuation.section.embedded source #bdd994 —
meta.property-name #86bad3 —
invalid.broken #fdaeb7 italic
invalid.deprecated #fdaeb7 italic
invalid.illegal #fdaeb7 italic
invalid.unimplemented #fdaeb7 italic
carriage-return #24292e italic underline
source.regexp, string.regexp #dbedff —
string.regexp.character-class, string.regexp constant.character.escape, string.regexp source.ruby.embedded, string.regexp string.regexp.arbitrary-repitition #dbedff —
string.regexp constant.character.escape #85e89d bold
meta.module-reference #86bad3 —
punctuation.definition.list.begin.markdown #ffab70 —
markup.heading, markup.heading entity.name #86bad3 bold
markup.italic #e1e4e8 italic
markup.deleted, meta.diff.header.from-file, punctuation.definition.deleted #fdaeb7 —
markup.inserted, meta.diff.header.to-file, punctuation.definition.inserted #85e89d —
markup.changed, punctuation.definition.changed #ffab70 —
markup.ignored, markup.untracked #2f363d —
meta.diff.range #b392f0 bold
meta.separator #86bad3 bold
brackethighlighter.tag, brackethighlighter.curly, brackethighlighter.round, brackethighlighter.square, brackethighlighter.angle, brackethighlighter.quote #d1d5da —
brackethighlighter.unmatched #fdaeb7 —
constant.other.reference.link, string.other.link #dbedff underline
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 }!` ;
}
Lunaris | Coding Theme