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 #18D8A8 activityBar.background #11161f activityBar.foreground #7db7cc activityBar.inactiveForeground #4a7281 activityBarBadge.background #18D8A8 activityBarBadge.foreground #0f0f0f tokenColors TextMate scopes and font styles (syntax highlighting rules).
scope foreground fontStyle comment, punctuation.definition.comment #546E7A italic variable, string constant.other.placeholder #EEFFFF — constant.other.color #ffffff — invalid, invalid.illegal #FF5370 — keyword, storage.type, storage.modifier
Shiki preview TypeScript sample highlighted with this variant's colors and tokenColors.
Seafoam Theme — Seafoam Theme Seafoam Theme | Coding Theme
badge.background #18D8A8
badge.foreground #0f0f0f
breadcrumb.background #171f2e
breadcrumb.focusForeground #18D8A8
breadcrumb.foreground #8b8bb9
button.background #18D8A8
button.border #07b68a
button.foreground #1b1b1b
button.hoverBackground #03bb8d
dropdown.background #171c28
dropdown.border #1d6654d2
dropdown.foreground #aaaabb
dropdown.listBackground #171c28
editor.background #141b29
editorGroup.border #264653
editorGroup.dropBackground #1B2434
editorGroupHeader.tabsBackground #11161f
editorHoverWidget.background #171f2e
editorHoverWidget.border #18D8A8
editorHoverWidget.foreground #c1c1dd
editorOverviewRuler.border #18D8A8
editorSuggestWidget.background #151a25
editorWidget.background #11161f
editorWidget.foreground #c1c1dd
extensionButton.prominentForeground #1a1a1a
extensionIcon.starForeground #18D8A8
focusBorder #4b1d66d2
icon.foreground #96f7f7
input.background #1B2434
input.border #0d2758
input.foreground #d8d8dd
input.placeholderForeground #b8b8b8e0
keybindingLabel.background #18D8A8
keybindingLabel.foreground #1a1a1a
list.activeSelectionBackground #253146
list.activeSelectionForeground #e2e2e7
list.dropBackground #253146
list.focusBackground #151a25
list.hoverBackground #253146
list.hoverForeground #e2e2e7
list.inactiveSelectionBackground #151a25
list.inactiveSelectionForeground #dadada
menu.background #11161f
menu.border #1d2a465d
menu.foreground #9494a8
menu.selectionBackground #1d2433d8
menu.selectionForeground #e0e0e7
menubar.selectionBackground #111620
menubar.selectionBorder #18D8A8
menubar.selectionForeground #9494a8
minimap.background #141b29
minimap.errorHighlight #ff4747
minimap.findMatchHighlight #18D8A8
minimap.selectionHighlight #18D8A8
minimap.warningHighlight #ffcc66
minimapSlider.activeBackground #334461b6
minimapSlider.background #33446194
minimapSlider.hoverBackground #334461b6
notificationLink.foreground #b4b4c5
notifications.background #1d2433
notifications.foreground #9e9eb3
notificationsErrorIcon.foreground #ff4747
notificationsWarningIcon.foreground #ffcc66
panel.background #11161f
panel.border #1f3457
panelTitle.activeBorder #9494a8
panelTitle.inactiveForeground #8a8a9e
progressBar.background #18D8A8
scrollbar.shadow #01493700
scrollbarSlider.activeBackground #2e5d708f
scrollbarSlider.background #2646538c
scrollbarSlider.hoverBackground #2e5d7085
sideBar.background #11161f
sideBar.foreground #9494a8
sideBarSectionHeader.background #141b29
sideBarSectionHeader.border #151a25
sideBarSectionHeader.foreground #2af8c5
sideBarTitle.foreground #2af8c5
statusBar.background #151a25
statusBar.foreground #9494a8
statusBarItem.activeBackground #151a25
statusBarItem.hoverBackground #1f2738
tab.activeBackground #141b29
tab.activeBorder #18D8A8
tab.activeForeground #d6d6f3
tab.border #f8f8f800
tab.hoverBackground #243146
tab.inactiveBackground #11161f
tab.unfocusedActiveBorder #18D8A8
terminal.background #11161f
terminal.foreground #ababc0
textLink.activeForeground #04af84
textLink.foreground #20eebb
titleBar.activeBackground #11161f
toolbar.activeBackground #415d91
toolbar.hoverBackground #485979
toolbar.hoverOutline #18D8A8
welcomePage.background #141b29
welcomePage.buttonBackground #11161f
welcomePage.buttonHoverBackground #0d1118
widget.shadow #07265f33
window.activeBorder #151d2b keyword.control, constant.other.color, punctuation, meta.tag, punctuation.definition.tag, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.section.embedded, keyword.other.template, keyword.other.substitution #89DDFF —
keyword.control.import.js, keyword.control.from.js #ffae57 —
variable.other.readwrite.alias.js #47daff —
string.quoted.double.js #afdb71 —
entity.name.tag.js #74dff5 —
entity.other.attribute-name.js #ffb668 —
meta.object-literal.key.js #ffd580 —
variable.other.constant.js, variable.other.readwrite.js, variable.other.object.js #ffd580 —
variable.other.property.js #74dff5 —
markup.underline.link.markdown, meta.link.inline.markdown #74dff5 —
support.type.property-name.css #74dff5 —
entity.other.attribute-name.class.css #ffae57 —
support.constant.property-value.css, keyword.other.unit.rem.css, meta.property-value.scss, punctuation.terminator.rule.scss, constant.numeric.css, keyword.other.unit.px.css, keyword.other.unit.percentage.css, keyword.other.unit.fr.css #a2aabc —
keyword.other.important.scss #ffae57 —
comment.line.double-slash.js, comment.line.double-slash.js #404b66 —
variable.parameter.js #fffc66 —
entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter #74dff5 —
entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method #1df8db —
meta.block variable.other #ef6b73 —
support.other.variable, string.other.link #ef6b73 —
constant.numeric, constant.language, support.constant, constant.character, constant.escape, variable.parameter, keyword.other.unit, keyword.other #8695b7 —
string, constant.other.symbol, constant.other.key, entity.other.inherited-class, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js #C3E88D —
entity.name, support.type, support.class, support.other.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types #FFCB6B —
source.css support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.less support.type.property-name, source.stylus support.type.property-name, source.postcss support.type.property-name #B2CCD6 —
entity.name.module.js, variable.import.parameter.js, variable.other.class.js #FF5370 —
variable.language #FF5370 italic
entity.name.method.js #82AAFF italic
meta.class-method.js entity.name.function.js, variable.function.constructor #82AAFF —
entity.other.attribute-name #ffae57 —
text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name #FFCB6B italic
entity.other.attribute-name.class #FFCB6B —
source.sass keyword.control #82AAFF —
constant.character.escape #89DDFF —
*url*, *link*, *uri* — underline
tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js #82AAFF italic
source.js constant.other.object.key.js string.unquoted.label.js #FF5370 italic
source.json meta.structure.dictionary.json support.type.property-name.json #74dff5 —
source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json #FFCB6B —
source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json #F78C6C —
source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json #6bc8f3 —
source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json #C17E70 —
source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json #82AAFF —
source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json #ef6b73 —
source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json #C792EA —
source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json #C3E88D —
text.html.markdown, punctuation.definition.list_item.markdown #d3d1d1 —
text.html.markdown markup.inline.raw.markdown #C792EA —
text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown #65737E —
markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown #C3E88D —
markup.italic #ef6b73 italic
markup.bold, markup.bold string #ef6b73 bold
markup.bold markup.italic, markup.italic markup.bold, markup.quote markup.bold, markup.bold markup.italic string, markup.italic markup.bold string, markup.quote markup.bold string #ef6b73 bold
markup.underline #ef6b73 underline
markup.quote punctuation.definition.blockquote.markdown #65737E —
string.other.link.title.markdown #ffd580 —
string.other.link.description.title.markdown #C792EA —
constant.other.reference.link.markdown #FFCB6B —
markup.raw.block.fenced.markdown #00000050 —
punctuation.definition.fenced.markdown #00000050 —
markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end #EEFFFF —
variable.language.fenced.markdown #65737E —
meta.separator #65737E bold
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 } ! ` ;
}