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 #1D2021 activityBar.border #1D202160 activityBar.foreground #F1E8BF activityBarBadge.background #C2F1D7 activityBarBadge.foreground #1D2021 badge.background #1D202130 tokenColors TextMate scopes and font styles (syntax highlighting rules).
scope foreground fontStyle variable, string constant.other.placeholder, invalid.deprecated, keyword, storage.type, storage.modifier #E95E5E — variable, string constant.other.placeholder, entity.name.function, punctuation.definition.interpolation.end.bracket.curly.scss, punctuation.definition.interpolation.begin.bracket.curly.scss — italic punctuation.definition.interpolation.end.bracket.curly.scss, punctuation.definition.interpolation.begin.bracket.curly.scss #C14E4E — constant.other.php #E95E5E —
Shiki preview TypeScript sample highlighted with this variant's colors and tokenColors.
Grayish-Blue - Gold Theme — Grayish-Blue - Gold Theme
badge.foreground
#2E5692
breadcrumb.activeSelectionForeground #2E5692
breadcrumb.background #1D2021
breadcrumb.focusForeground #F1E8BF
breadcrumb.foreground #3F75C7
breadcrumbPicker.background #1D2021
button.background #2E569250
contrastBorder #2E569240
debugToolBar.background #1D2021
diffEditor.insertedTextBackground #C14E4E15
diffEditor.removedTextBackground #FAC2FE20
dropdown.background #1D2021
dropdown.border #FFF5CA10
editor.background #1D2021
editor.findMatchBackground #1D2021
editor.findMatchBorder #2E5692
editor.findMatchHighlightBackground #2E569293
editor.findMatchHighlightBorder #FFF5CA30
editor.foreground #F1E8BF
editor.lineHighlightBackground #1D202150
editor.selectionBackground #C2F1D730
editor.selectionHighlightBackground #2E56926b
editor.selectionHighlightBorder #C2F1D7f0
editorBracketMatch.background #1D2021
editorBracketMatch.border #E95E5E7f
editorCursor.foreground #E95E5E
editorError.foreground #FAC2FE70
editorGroup.border #1D202130
editorGroupHeader.tabsBackground #1D2021
editorGutter.addedBackground #C14E4E60
editorGutter.deletedBackground #FAC2FE60
editorGutter.modifiedBackground #C2F1D760
editorHoverWidget.background #1D2021
editorHoverWidget.border #FFF5CA10
editorIndentGuide.activeBackground #545C5F
editorIndentGuide.background #545C5F70
editorInfo.foreground #C2F1D770
editorLineNumber.activeForeground #C2F1D7
editorLineNumber.foreground #2E5692c0
editorLink.activeForeground #F1E8BF
editorMarkerNavigation.background #F1E8BF05
editorOverviewRuler.border #1D2021
editorOverviewRuler.errorForeground #FAC2FE40
editorOverviewRuler.findMatchForeground #2E5692
editorOverviewRuler.infoForeground #C2F1D740
editorOverviewRuler.warningForeground #E95E5E70
editorRuler.foreground #545C5F
editorSuggestWidget.background #1D2021
editorSuggestWidget.border #FFF5CA10
editorSuggestWidget.foreground #F1E8BF
editorSuggestWidget.highlightForeground #E95E5E
editorSuggestWidget.selectedBackground #2E569220
editorWarning.foreground #C14E4E
editorWhitespace.foreground #F1E8BF40
editorWidget.background #1D2021
editorWidget.border #E95E5E
editorWidget.resizeBorder #2E5692
extensionButton.prominentBackground #C14E4E90
extensionButton.prominentHoverBackground #FAC2FE
focusBorder #FFF5CA00
gitDecoration.conflictingResourceForeground #E95E5E
gitDecoration.deletedResourceForeground #FAC2FE
gitDecoration.ignoredResourceForeground #2E5692
gitDecoration.modifiedResourceForeground #3F75C7
gitDecoration.untrackedResourceForeground #C2F1D7
input.background #393F41
input.border #FFF5CA10
input.foreground #F1E8BF
input.placeholderForeground #F1E8BF60
inputOption.activeBackground #F1E8BF30
inputOption.activeBorder #F1E8BF30
inputValidation.errorBorder #FAC2FE50
inputValidation.infoBorder #C2F1D750
inputValidation.warningBorder #E95E5E50
list.activeSelectionBackground #1D2021
list.activeSelectionForeground #2E5692
list.focusBackground #393F41
list.focusForeground #C2F1D7
list.highlightForeground #2E5692
list.hoverBackground #545C5F
list.hoverForeground #FFF5CA
list.inactiveSelectionBackground #1D202130
list.inactiveSelectionForeground #2E5692
list.warningForeground #E95E5E
listFilterWidget.background #1D202130
listFilterWidget.noMatchesOutline #1D202130
listFilterWidget.outline #1D202130
menu.background #1D2021f8
menu.border #2E569250
menu.foreground #F1E8BF
menu.selectionBackground #393F41
menu.selectionBorder #1D202130
menu.selectionForeground #F1E8BF
menu.separatorBackground #F1E8BF
menubar.selectionBackground #393F41
menubar.selectionBorder #2E569250
menubar.selectionForeground #F1E8BF
minimap.background #1D2021
minimapGutter.addedBackground #FAC2FE
minimapGutter.deletedBackground #E95E5E
minimapGutter.modifiedBackground #C14E4E
minimapSlider.activeBackground #C14E4Eb0
minimapSlider.background #C14E4E80
minimapSlider.hoverBackground #C14E4Ea0
notificationLink.foreground #2E5692
notifications.background #1D2021
notifications.foreground #F1E8BF
panel.background #1D2021
panel.border #1D202160
panelTitle.activeBorder #2E5692
panelTitle.activeForeground #FFF5CA
panelTitle.inactiveForeground #F1E8BF
peekView.border #1D202130
peekViewEditor.background #F1E8BF05
peekViewEditor.matchHighlightBackground #2E569250
peekViewEditorGutter.background #F1E8BF05
peekViewResult.background #F1E8BF05
peekViewResult.matchHighlightBackground #2E569250
peekViewResult.selectionBackground #2E569270
peekViewTitle.background #F1E8BF05
peekViewTitleDescription.foreground #F1E8BF60
pickerGroup.foreground #2E5692
progressBar.background #2E5692
scrollbar.shadow #1D202100
scrollbarSlider.activeBackground #2E5692cc
scrollbarSlider.background #2E5692bb
scrollbarSlider.hoverBackground #2E5692ee
selection.background #2E5692
settings.checkboxBackground #1D2021
settings.checkboxForeground #F1E8BF
settings.dropdownBackground #1D2021
settings.dropdownForeground #F1E8BF
settings.headerForeground #2E5692
settings.modifiedItemIndicator #2E5692
settings.numberInputBackground #1D2021
settings.numberInputForeground #F1E8BF
settings.textInputBackground #1D2021
settings.textInputForeground #F1E8BF
sideBar.background #1D2021
sideBar.border #2E569250
sideBar.foreground #C2F1D7
sideBarSectionHeader.background #1D2021
sideBarSectionHeader.border #1D202160
sideBarSectionHeader.foreground #C2F1D7
sideBarTitle.foreground #F1E8BF
statusBar.background #1D2021
statusBar.border #1D202160
statusBar.debuggingBackground #E95E5E
statusBar.debuggingForeground #FFF5CA
statusBar.foreground #F1E8BF
statusBar.noFolderBackground #1D2021
statusBarItem.hoverBackground #2E569220
statusBarItem.remoteBackground #2E5692
statusBarItem.remoteForeground #1D2021
tab.activeBackground #2E569250
tab.activeBorder #2E5692
tab.activeForeground #FFF5CA
tab.activeModifiedBorder #2E5692
tab.border #1D2021
tab.inactiveBackground #2E569220
tab.inactiveForeground #F1E8BFaf
tab.unfocusedActiveBackground #2E569240
tab.unfocusedActiveBorder #2E5692
tab.unfocusedActiveForeground #F1E8BF
tab.unfocusedInactiveBackground #2E569210
tab.unfocusedInactiveForeground #F1E8BF7f
terminal.ansiBlack #1D2021
terminal.ansiBlue #C2F1D7
terminal.ansiBrightBlack #2E5692
terminal.ansiBrightBlue #C2F1D7
terminal.ansiBrightCyan #DFF1EB
terminal.ansiBrightGreen #C14E4E
terminal.ansiBrightMagenta #E95E5E
terminal.ansiBrightRed #FAC2FE
terminal.ansiBrightWhite #FFF5CA
terminal.ansiBrightYellow #E95E5E
terminal.ansiCyan #DFF1EB
terminal.ansiGreen #C14E4E
terminal.ansiMagenta #E95E5E
terminal.ansiRed #FAC2FE
terminal.ansiWhite #FFF5CA
terminal.ansiYellow #E95E5E
terminalCursor.background #1D2021
terminalCursor.foreground #E95E5E
textLink.activeForeground #F1E8BF
textLink.foreground #2E5692
titleBar.activeBackground #1D2021
titleBar.activeForeground #F1E8BF
titleBar.border #1D202160
titleBar.inactiveBackground #1D2021
titleBar.inactiveForeground #2E5692
tree.indentGuidesStroke #545C5F
widget.shadow #1D202130 invalid, invalid.illegal #FAC2FE —
keyword.control, constant.other.color, punctuation.definition.tag, punctuation, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.section.embedded, keyword.other.template, keyword.other.substitution, entity.name.tag.reference.scss #A7A8AF —
punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, entity.name.type.module.js #3F75C7 —
keyword.control.at-rule, punctuation.terminator.rule.css, keyword.control.operator, punctuation.definition.entity.css, keyword.operator.assignment.js, punctuation.separator.comma.js, punctuation.definition.string.begin.js, punctuation.definition.string.end.js, punctuation.definition.binding-pattern.object.js #F1E8BF —
punctuation.definition, string.quoted.single.scss #A7A8AF —
comment.line.scss, comment.line.double-slash.js, punctuation.definition.comment.scss, punctuation.definition.comment.js, punctuation.definition.comment.html, comment.block.html #6D6F7C —
text.html.derivative #A7A8AF —
entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter #F1E8BF —
entity.name.tag.html — bold
variable.parameter.js, variable.parameter.keyframe-list.css #E95E5E —
variable.other.object.js, storage.type.js, string.other.link.title.markdown, variable.other.readwrite.js, variable.other.property.js #3F75C7
string, string.quoted.double.html, variable.other.constant.js, variable.other.object.property.js, string.quoted.double.json, markup.fenced_code.block.markdown, markup.inline.raw.string.markdown, variable.function, keyword.other.special-method, entity.name.function, markup.bold, markup.bold.markdown, markup.italic.markdown, meta.class-method.js entity.name.function.js, variable.function.constructor, entity.name.tag.other.html, entity.name.tag.block.any.html, source.sass keyword.control #C2F1D7 —
punctuation.definition.string.begin.html, punctuation.definition.string.end.html #DFF1EB —
support.other.variable, string.other.link, markup.table #F1E8BF —
constant.numeric, constant.language, constant.character, constant.escape, keyword.other.unit, keyword.other, punctuation.separator.key-value.html #E95E5E —
variable.parameter.function.language.special, variable.parameter #FAC2FE —
constant.other.symbol, constant.other.key, entity.other.inherited-class, keyword.other.unit, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly, constant.other.object.key.js, string.unquoted.label.js #C14E4E
entity.name, support.type, support.class, support.orther.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types, entity.other.attribute-name.html #E95E5E —
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 #3F75C7 —
entity.name.module.js, variable.import.parameter.js, variable.other.class.js #FAC2FE —
entity.name.method.js, tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js #C2F1D7 italic
entity.other.attribute-name, support.function #E95E5E —
entity.other.attribute-name.id, entity.other.attribute-name.class, entity.other.attribute-name.pseudo-class, entity.name.tag.css, keyword.control.conditional.js, support.constant, entity.other.attribute-name.html, string.quoted.single.js, storage.type.function.js, meta.object-literal.key #F1E8BF —
source.scss keyword.control #E95E5E —
constant.character.escape #DFF1EB —
*url*, *link*, *uri* — underline
source.js constant.other.object.key.js string.unquoted.label.js #F1E8BF italic
support.type.property-name.json #F1E8BF —
text.html.markdown, punctuation.definition.list_item.markdown #F1E8BF —
text.html.markdown markup.inline.raw.markdown #E95E5E —
text.html.markdown markup.inline.raw.markdown, punctuation.definition.raw.markdown #2E569250 —
text.html.markdown meta.dummy.line-break — —
markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown, entity.name.section.markdown #3F75C7 bold
markup.underline #C2F1D7 underline
markup.quote punctuation.definition.blockquote.markdown #2E569250 —
string.other.link.description.title.markdown #E95E5E —
constant.other.reference.link.markdown #E95E5E —
punctuation.definition.raw.markdown, punctuation.definition.markdown #DFF1EB —
variable.language.fenced.markdown #2E5692 —
meta.separator #A7A8AF bold
token.error-token #FF293B —
token.debug-token #DFF1EB —
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 } ! ` ;
}
Grayish-Blue - Gold Theme | Coding Theme