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 #192227 activityBar.border #141c20 activityBar.foreground #ffffff activityBar.inactiveForeground #ffffff66 activityBarBadge.background #ee5757 activityBarBadge.foreground #ffffff tokenColors TextMate scopes and font styles (syntax highlighting rules).
scope foreground fontStyle — #ddddddff — meta.embedded, source.groovy.embedded #F8F8F2 — meta.function-call.js entity.name.function, meta.function-call.js support.function.dom.js, support.variable.dom.js, support.variable.property.js #66D9EF — support.variable.property.process #66D9EF — support.variable.object.process
Shiki preview TypeScript sample highlighted with this variant's colors and tokenColors.
Ocean Monokai — Ocean Monokai
badge.background
#141c20
badge.foreground #ffffff
breadcrumb.activeSelectionForeground #e0e0e0
breadcrumb.background #19222766
breadcrumb.focusForeground #e0e0e0
breadcrumb.foreground #cccccccc
button.background #2c7d77
button.foreground #ffffff
button.hoverBackground #205450
button.secondaryBackground #49758e
button.secondaryForeground #ffffff
button.secondaryHoverBackground #45494e
checkbox.background #253238
checkbox.border #00000000
checkbox.foreground #cccccc
debugExceptionWidget.background #192227
debugExceptionWidget.border #141c20
debugToolBar.background #192227
debugToolBar.border #141c20
diffEditor.border #192227
diffEditor.insertedTextBackground #9bb95533
diffEditor.removedTextBackground #ff000033
dropdown.background #253238
dropdown.border #00000000
dropdown.foreground #cccccc
editor.background #253238
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 #364248
editor.lineHighlightBackground #ffffff0A
editor.lineHighlightBorder #19222750
editor.rangeHighlightBackground #ffffff0b
editor.rangeHighlightBorder #ffffff00
editor.selectionBackground #264f78bd
editor.selectionHighlightBackground #add6ff26
editor.selectionHighlightBorder #495F77
editor.wordHighlightBackground #575757b8
editor.wordHighlightStrongBackground #004972b8
editorBracketMatch.background #0064001a
editorBracketMatch.border #929292
editorCodeLens.foreground #999999
editorCursor.background #000000
editorCursor.foreground #aeafad
editorError.background #B73A3400
editorError.border #ffffff00
editorError.foreground #f48771
editorGroup.border #364248
editorGroup.emptyBackground #253238
editorGroupHeader.tabsBackground #253238
editorGutter.addedBackground #587c0c
editorGutter.background #19222766
editorGutter.commentRangeForeground #c5c5c5
editorGutter.deletedBackground #94151b
editorGutter.foldingControlForeground #c5c5c5
editorGutter.modifiedBackground #0c7d9d
editorHoverWidget.background #192227
editorHoverWidget.border #101518
editorHoverWidget.foreground #cccccc
editorIndentGuide.activeBackground #364248
editorIndentGuide.background #364248
editorInfo.background #4490BF00
editorInfo.border #4490BF00
editorInfo.foreground #75beff
editorLineNumber.activeForeground #c6c6c6
editorLineNumber.foreground #858585
editorLink.activeForeground #4e94ce
editorMarkerNavigation.background #192227
editorMarkerNavigationError.background #f48771
editorMarkerNavigationInfo.background #75beff
editorMarkerNavigationWarning.background #cca700
editorOverviewRuler.background #202B31
editorOverviewRuler.border #192227
editorRuler.foreground #364248
editorSuggestWidget.background #192227
editorSuggestWidget.border #141c20
editorSuggestWidget.foreground #a3a3a3
editorSuggestWidget.highlightForeground #009086
editorSuggestWidget.selectedBackground #2c7d7760
editorWarning.background #A9904000
editorWarning.border #ffffff00
editorWarning.foreground #cca700
editorWhitespace.foreground #fdfdfd29
editorWidget.background #192227
editorWidget.foreground #e0e0e0
editorWidget.resizeBorder #ee5757
focusBorder #2c7d77
foreground #cccccc
gitDecoration.addedResourceForeground #81b88b
gitDecoration.conflictingResourceForeground #ff3636
gitDecoration.deletedResourceForeground #000000
gitDecoration.ignoredResourceForeground #8c8c8c
gitDecoration.modifiedResourceForeground #e2c08d
gitDecoration.stageDeletedResourceForeground #c74e39
gitDecoration.stageModifiedResourceForeground #e2c08d
gitDecoration.submoduleResourceForeground #8db9e2
gitDecoration.untrackedResourceForeground #73c991
icon.foreground #cccccc
input.background #253238
input.border #00000000
input.foreground #cccccc
input.placeholderForeground #a6a6a6
inputOption.activeBackground #007fd466
inputOption.activeBorder #007acc00
inputOption.activeForeground #ffffff
list.activeSelectionBackground #2c7d7762
list.activeSelectionForeground #ffffff
list.dropBackground #223d3b
list.focusBackground #062f4a
list.focusForeground #cccccc
list.highlightForeground #2c7d77
list.hoverBackground #223d3b
list.hoverForeground #cccccc
list.inactiveSelectionBackground #141c202c
list.inactiveSelectionForeground #cccccc
listFilterWidget.background #653723
listFilterWidget.noMatchesOutline #be1100
listFilterWidget.outline #00000000
menu.background #192227
menu.border #00000085
menu.foreground #cccccc
menu.selectionBackground #2c7d77
menu.selectionBorder #00000000
menu.selectionForeground #ffffff
menu.separatorBackground #bbbbbb
menubar.selectionBackground #ffffff1a
menubar.selectionForeground #cccccc
merge.commonContentBackground #19222783
merge.commonHeaderBackground #192227
merge.currentContentBackground #27403B
merge.currentHeaderBackground #367366
merge.incomingContentBackground #28384B
merge.incomingHeaderBackground #395F8F
minimap.background #253238
minimap.errorHighlight #f48771
minimap.findMatchHighlight #515c6a
minimap.selectionHighlight #264f78bd
minimap.warningHighlight #cca700
minimapGutter.addedBackground #587c0c
minimapGutter.deletedBackground #94151b
minimapGutter.modifiedBackground #0c7d9d
notificationCenter.border #141c20
notificationCenterHeader.background #192227
notificationCenterHeader.foreground #cccccc
notifications.background #192227
notifications.border #192227
notifications.foreground #cccccc
notificationsErrorIcon.foreground #f48771
notificationsInfoIcon.foreground #75beff
notificationsWarningIcon.foreground #cca700
notificationToast.border #141c20
panel.background #192227
panel.border #141c20
panelSection.border #80808059
panelTitle.activeBorder #e7e7e7
panelTitle.activeForeground #e7e7e7
panelTitle.inactiveForeground #e7e7e799
peekView.border #2c7d77
peekViewEditor.background #0a3041
peekViewEditor.matchHighlightBackground #ff8f0099
peekViewEditor.matchHighlightBorder #ee931e
peekViewEditorGutter.background #001f33
peekViewResult.background #253238
peekViewResult.fileForeground #ffffff
peekViewResult.lineForeground #bbbbbb
peekViewResult.matchHighlightBackground #ea5c004d
peekViewResult.selectionBackground #3399ff33
peekViewResult.selectionForeground #ffffff
peekViewTitle.background #192227
peekViewTitleDescription.foreground #ccccccb3
peekViewTitleLabel.foreground #ffffff
pickerGroup.border #141c20
pickerGroup.foreground #66d9ef
progressBar.background #0e70c0
scrollbar.shadow #0000005c
scrollbarSlider.activeBackground #bfbfbf78
scrollbarSlider.background #36424868
scrollbarSlider.hoverBackground #364248
selection.background #2c7d77
settings.focusedRowBackground #ffffff07
settings.headerForeground #cccccc
sideBar.background #253238
sideBar.border #141c2016
sideBar.dropBackground #223d3b
sideBar.foreground #cccccc
sideBarSectionHeader.background #202b31
sideBarSectionHeader.border #202b3100
sideBarSectionHeader.foreground #cccccc
sideBarTitle.foreground #bbbbbb
statusBar.background #192227
statusBar.debuggingBackground #cc6633
statusBar.debuggingForeground #ffffff
statusBar.foreground #ffffff
statusBar.noFolderBackground #68217a
statusBar.noFolderForeground #ffffff
statusBarItem.activeBackground #FFFFFF25
statusBarItem.hoverBackground #ffffff1f
statusBarItem.remoteBackground #16825d
statusBarItem.remoteForeground #ffffff
tab.activeBackground #202b31
tab.activeBorder #00000000
tab.activeBorderTop #00000000
tab.activeForeground #ffffff
tab.border #202b31
tab.inactiveBackground #253238
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 #0087FF
terminalCursor.foreground #ffffff
textLink.foreground #3794ff
titleBar.activeBackground #192227
titleBar.activeForeground #cccccc
titleBar.border #00000000
titleBar.inactiveBackground #19222795
titleBar.inactiveForeground #cccccc99
tree.indentGuidesStroke #202b31
walkThrough.embeddedEditorBackground #00000050
widget.shadow #0000005c punctuation.definition.template-expression, punctuation.section.embedded #F92672 —
meta.template.expression #F8F8F2 —
constant.language #AE81FF —
constant.character, constant.other #AE81FF —
storage.type #66D9EF italic
entity.name.type, entity.name.class #A6E22E underline
entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class #FD971F —
entity.other.inherited-class #A6E22E italic underline
entity.name.function #A6E22E
variable.parameter #FD971F italic
keyword.operator.expression.import #66d9ef —
support.constant.math #AE81FF —
entity.other.attribute-name #A6E22E
support.type, support.class #66D9EF italic
invalid.deprecated #F8F8F0 —
meta.structure.dictionary.json string.quoted.double.json #E6DB74 —
meta.diff, meta.diff.header #75715E —
constant.numeric.line-number.find-in-files - match #AE81FFA0 —
entity.name.filename.find-in-files #E6DB74 —
markup.bold, markup.italic #66D9EF —
markup.heading.setext #A6E22E
token.error-token #f44747 —
token.debug-token #b267e6 —
variable.language #FD971F —
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 } !` ;
}
Ocean Monokai | Coding Theme