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 #b1b6f0d0 activityBar.activeFocusBorder #b1b6f0 activityBar.background #000001 activityBar.border #000001 activityBar.dropBackground #000001 activityBar.foreground #fcf9fc tokenColors TextMate scopes and font styles (syntax highlighting rules).
scope foreground fontStyle keyword, storage.type.function, storage.type.class, storage.type.enum, storage.type.interface, storage.type.property, keyword.operator.new, keyword.operator.expression, keyword.operator.new, keyword.operator.delete, storage.type.extends #e7a9c3 — keyword.other.debugger #e7a9c3 — storage, modifier, keyword.var, entity.name.tag, keyword.control.case, keyword.control.switch #b68b85 — keyword.operator #b68b85 —
Shiki preview TypeScript sample highlighted with this variant's colors and tokenColors.
ghost-pastel — Ghost Pastel
activityBar.inactiveForeground
#817e78
activityBarBadge.background #b1b6f0
activityBarBadge.foreground #000001
badge.background #b1b6f0
badge.foreground #000001
breadcrumb.activeSelectionForeground #fcf9fc
breadcrumb.focusForeground #fcf9fc
breadcrumb.foreground #817e78
button.background #b1b6f0
button.foreground #000001
button.hoverBackground #b1b6f0d0
button.secondaryBackground #817e78
button.secondaryForeground #fcf9fc
button.secondaryHoverBackground #9ca0e1
charts.blue #7d95d3
charts.foreground #fcf9fc
charts.green #b1b6f0
charts.orange #b68b85
charts.purple #d6add7
charts.red #e7a9c3
charts.yellow #edddfe
checkbox.background #000001
checkbox.border #817e78
checkbox.foreground #b68b85
debugConsole.errorForeground #e7a9c3
debugConsole.infoForeground #b1b6f0
debugConsole.sourceForeground #d6add7
debugConsole.warningForeground #edddfe
debugConsoleInputIcon.foreground #9ca0e1
debugIcon.breakpointCurrentStackframeForeground #7d95d3
debugIcon.breakpointDisabledForeground #e7a9c3
debugIcon.breakpointForeground #e7a9c3
debugIcon.breakpointStackframeForeground #e7a9c3
debugIcon.breakpointUnverifiedForeground #c1d3ef
debugIcon.continueForeground #7d95d3
debugIcon.disconnectForeground #d6add7
debugIcon.pauseForeground #edddfe
debugIcon.restartForeground #9ca0e1
debugIcon.startForeground #9ca0e1
debugIcon.stepBackForeground #7d95d3
debugIcon.stepIntoForeground #7d95d3
debugIcon.stepOutForeground #7d95d3
debugIcon.stepOverForeground #7d95d3
debugIcon.stopForeground #e7a9c3
debugTokenExpression.boolean #d6add7
debugTokenExpression.error #e7a9c3
debugTokenExpression.name #7d95d3
debugTokenExpression.number #d6add7
debugTokenExpression.string #edddfe
debugTokenExpression.value #b1b6f0
debugToolBar.background #000001
descriptionForeground #817e78
diffEditor.diagonalFill #817e78
diffEditor.insertedTextBackground #b1b6f030
diffEditor.removedTextBackground #e7a9c330
dropdown.background #000001
dropdown.border #817e78
dropdown.foreground #c1d3ef
editor.background #000001
editor.findMatchBackground #b68b8540
editor.findMatchHighlightBackground #9ca0e140
editor.findRangeHighlightBackground #b1b6f060
editor.foldBackground #81787880
editor.foreground #fcf9fc
editor.hoverHighlightBackground #b1b6f0b0
editor.inactiveSelectionBackground #b1b6f060
editor.lineHighlightBackground #817e7890
editor.lineHighlightBorder #81787800
editor.rangeHighlightBackground #817e7880
editor.selectionBackground #b1b6f0c0
editor.selectionHighlightBackground #b1b6f060
editor.snippetFinalTabstopHighlightBackground #9ca0e140
editor.snippetFinalTabstopHighlightBorder #000001
editor.snippetTabstopHighlightBackground #817e78
editor.symbolHighlightBackground #7d95d340
editor.wordHighlightBackground #b1b6f058
editor.wordHighlightStrongBackground #b1b6f0b0
editorBracketHighlight.foreground1 #e7a9c3
editorBracketHighlight.foreground2 #edddfe
editorBracketHighlight.foreground3 #b1b6f0
editorBracketHighlight.foreground4 #7d95d3
editorBracketHighlight.foreground5 #b68b85
editorBracketHighlight.foreground6 #d6add7
editorBracketHighlight.unexpectedBracket.foreground #817e78
editorBracketMatch.background #817e78
editorBracketMatch.border #00000100
editorCodeLens.foreground #dfc2c6a0
editorCursor.foreground #fcf9fc
editorError.background #e7a9c300
editorError.foreground #e7a9c3
editorGhostText.background #00000100
editorGhostText.foreground #dfc2c6a0
editorGroup.border #000001
editorGroup.dropBackground #81787860
editorGroupHeader.noTabsBackground #000001
editorGroupHeader.tabsBackground #000001
editorGutter.addedBackground #9ca0e1a0
editorGutter.background #00000100
editorGutter.commentRangeForeground #dfc2c6
editorGutter.deletedBackground #e7a9c3a0
editorGutter.modifiedBackground #7d95d3a0
editorHint.foreground #d6add7
editorHoverWidget.background #817e78
editorHoverWidget.border #9ca0e1
editorIndentGuide.activeBackground #c1d3ef50
editorIndentGuide.background #c1d3ef20
editorInfo.background #7d95d300
editorInfo.foreground #7d95d3
editorInlayHint.background #00000100
editorInlayHint.foreground #dfc2c6a0
editorInlayHint.parameterBackground #00000100
editorInlayHint.parameterForeground #dfc2c6a0
editorInlayHint.typeBackground #00000100
editorInlayHint.typeForeground #dfc2c6a0
editorLightBulb.foreground #edddfe
editorLightBulbAutoFix.foreground #9ca0e1
editorLineNumber.activeForeground #c1d3efe0
editorLineNumber.foreground #dfc2c6a0
editorLink.activeForeground #b1b6f0
editorMarkerNavigation.background #817e78
editorMarkerNavigationError.background #e7a9c380
editorMarkerNavigationInfo.background #7d95d380
editorMarkerNavigationWarning.background #edddfe80
editorOverviewRuler.addedForeground #9ca0e1a0
editorOverviewRuler.border #00000100
editorOverviewRuler.commonContentForeground #817e78
editorOverviewRuler.currentContentForeground #7d95d3
editorOverviewRuler.deletedForeground #e7a9c3a0
editorOverviewRuler.errorForeground #e7a9c3
editorOverviewRuler.findMatchForeground #b1b6f0
editorOverviewRuler.incomingContentForeground #b1b6f0
editorOverviewRuler.infoForeground #d6add7
editorOverviewRuler.modifiedForeground #7d95d3a0
editorOverviewRuler.rangeHighlightForeground #b1b6f0
editorOverviewRuler.selectionHighlightForeground #b1b6f0
editorOverviewRuler.warningForeground #edddfe
editorOverviewRuler.wordHighlightForeground #817e78
editorOverviewRuler.wordHighlightStrongForeground #817e78
editorRuler.foreground #9ca0e1a0
editorSuggestWidget.background #817e78
editorSuggestWidget.border #817e78
editorSuggestWidget.foreground #fcf9fc
editorSuggestWidget.highlightForeground #b1b6f0
editorSuggestWidget.selectedBackground #9ca0e1
editorUnnecessaryCode.border #000001
editorUnnecessaryCode.opacity #00000080
editorWarning.background #edddfe00
editorWarning.foreground #edddfe
editorWhitespace.foreground #9ca0e1
editorWidget.background #000001
editorWidget.border #817e78
editorWidget.foreground #fcf9fc
errorForeground #e7a9c3
extensionBadge.remoteBackground #b1b6f0
extensionBadge.remoteForeground #000001
extensionButton.prominentBackground #b1b6f0
extensionButton.prominentForeground #000001
extensionButton.prominentHoverBackground #b1b6f0d0
extensionIcon.preReleaseForeground #b68b85
extensionIcon.starForeground #9ca0e1
extensionIcon.verifiedForeground #b1b6f0
focusBorder #00000100
foreground #c1d3ef
gitDecoration.addedResourceForeground #b1b6f0a0
gitDecoration.conflictingResourceForeground #d6add7a0
gitDecoration.deletedResourceForeground #e7a9c3a0
gitDecoration.ignoredResourceForeground #817e78
gitDecoration.modifiedResourceForeground #7d95d3a0
gitDecoration.stageDeletedResourceForeground #9ca0e1a0
gitDecoration.stageModifiedResourceForeground #9ca0e1a0
gitDecoration.submoduleResourceForeground #b68b85a0
gitDecoration.untrackedResourceForeground #edddfea0
gitlens.closedPullRequestIconColor #e7a9c3
gitlens.decorations.addedForegroundColor #b1b6f0
gitlens.decorations.branchAheadForegroundColor #9ca0e1
gitlens.decorations.branchBehindForegroundColor #b68b85
gitlens.decorations.branchDivergedForegroundColor #edddfe
gitlens.decorations.branchMissingUpstreamForegroundColor #e7a9c3
gitlens.decorations.branchUnpublishedForegroundColor #7d95d3
gitlens.decorations.branchUpToDateForegroundColor #fcf9fc
gitlens.decorations.copiedForegroundColor #d6add7
gitlens.decorations.deletedForegroundColor #e7a9c3
gitlens.decorations.ignoredForegroundColor #c1d3ef
gitlens.decorations.modifiedForegroundColor #7d95d3
gitlens.decorations.renamedForegroundColor #d6add7
gitlens.decorations.untrackedForegroundColor #edddfe
gitlens.gutterBackgroundColor #000001
gitlens.gutterForegroundColor #fcf9fc
gitlens.gutterUncommittedForegroundColor #7d95d3
gitlens.lineHighlightBackgroundColor #817e78
gitlens.lineHighlightOverviewRulerColor #b1b6f0
gitlens.mergedPullRequestIconColor #d6add7
gitlens.openPullRequestIconColor #9ca0e1
gitlens.trailingLineForegroundColor #817e78
gitlens.unpublishedCommitIconColor #edddfe
gitlens.unpulledChangesIconColor #b68b85
gitlens.unpushlishedChangesIconColor #7d95d3
icon.foreground #9ca0e1
imagePreview.border #000001
input.background #00000100
input.border #817e78
input.foreground #fcf9fc
input.placeholderForeground #dfc2c6
inputOption.activeBorder #9ca0e1
inputValidation.errorBackground #e7a9c3
inputValidation.errorBorder #e7a9c3
inputValidation.errorForeground #fcf9fc
inputValidation.infoBackground #7d95d3
inputValidation.infoBorder #7d95d3
inputValidation.infoForeground #fcf9fc
inputValidation.warningBackground #edddfe
inputValidation.warningBorder #edddfe
inputValidation.warningForeground #000001
issues.closed #e7a9c3
issues.open #9ca0e1
keybindingLabel.background #00000100
keybindingLabel.border #000001
keybindingLabel.bottomBorder #000001
keybindingLabel.foreground #fcf9fc
keybindingTable.headerBackground #817e78
keybindingTable.rowsBackground #817e78
list.activeSelectionBackground #b1b6f0a0
list.activeSelectionForeground #fcf9fc
list.dropBackground #81787880
list.errorForeground #e7a9c3
list.focusBackground #b1b6f0a0
list.focusForeground #fcf9fc
list.highlightForeground #b1b6f0
list.hoverBackground #00000100
list.hoverForeground #fcf9fc
list.inactiveFocusBackground #b1b6f060
list.inactiveSelectionBackground #b1b6f0a0
list.inactiveSelectionForeground #c1d3ef
list.invalidItemForeground #e7a9c3
list.warningForeground #edddfe
menu.background #000001
menu.foreground #c1d3ef
menu.selectionBackground #817e78
menu.selectionForeground #fcf9fc
menubar.selectionBackground #000001
menubar.selectionBorder #000001
merge.border #00000100
merge.currentContentBackground #7d95d340
merge.currentHeaderBackground #7d95d380
merge.incomingContentBackground #b1b6f040
merge.incomingHeaderBackground #b1b6f080
minimap.errorHighlight #e7a9c380
minimap.findMatchHighlight #b1b6f060
minimap.selectionHighlight #817e78f0
minimap.warningHighlight #edddfe80
minimapGutter.addedBackground #9ca0e1a0
minimapGutter.deletedBackground #e7a9c3a0
minimapGutter.modifiedBackground #7d95d3a0
notebook.cellBorderColor #817e78
notebook.cellHoverBackground #000001
notebook.cellStatusBarItemHoverBackground #817e78
notebook.cellToolbarSeparator #817e78
notebook.focusedCellBackground #000001
notebook.focusedCellBorder #817e78
notebook.focusedEditorBorder #817e78
notebook.focusedRowBorder #817e78
notebook.inactiveFocusedCellBorder #817e78
notebook.outputContainerBackgroundColor #000001
notebook.selectedCellBorder #817e78
notebookStatusErrorIcon.foreground #e7a9c3
notebookStatusRunningIcon.foreground #7d95d3
notebookStatusSuccessIcon.foreground #b1b6f0
notificationCenterHeader.background #817e78
notificationCenterHeader.foreground #fcf9fc
notificationLink.foreground #b1b6f0
notifications.background #000001
notifications.foreground #fcf9fc
notificationsErrorIcon.foreground #e7a9c3
notificationsInfoIcon.foreground #7d95d3
notificationsWarningIcon.foreground #edddfe
panel.background #000001
panel.border #000001
panelInput.border #817e78
panelSection.border #000001
panelSectionHeader.background #000001
panelTitle.activeBorder #b1b6f0d0
panelTitle.activeForeground #fcf9fc
panelTitle.inactiveForeground #817e78
peekView.border #9ca0e1
peekViewEditor.background #817e78
peekViewEditor.matchHighlightBackground #edddfe50
peekViewEditorGutter.background #817e78
peekViewResult.background #817e78
peekViewResult.fileForeground #fcf9fc
peekViewResult.lineForeground #c1d3ef
peekViewResult.matchHighlightBackground #edddfe50
peekViewResult.selectionBackground #b1b6f050
peekViewResult.selectionForeground #fcf9fc
peekViewTitle.background #9ca0e1
peekViewTitleDescription.foreground #fcf9fc
peekViewTitleLabel.foreground #b1b6f0
pickerGroup.border #b1b6f01a
pickerGroup.foreground #fcf9fc
ports.iconRunningProcessForeground #b68b85
problemsErrorIcon.foreground #e7a9c3
problemsInfoIcon.foreground #7d95d3
problemsWarningIcon.foreground #edddfe
progressBar.background #b1b6f0
quickInputTitle.background #817e78
rust_analyzer.inlayHints.background #00000100
rust_analyzer.inlayHints.foreground #dfc2c6a0
rust_analyzer.syntaxTreeBorder #e7a9c3
sash.hoverBorder #9ca0e1
scrollbar.shadow #00000070
scrollbarSlider.activeBackground #c1d3ef
scrollbarSlider.background #81787880
scrollbarSlider.hoverBackground #817e78
selection.background #b1b6f0a0
settings.checkboxBackground #000001
settings.checkboxBorder #817e78
settings.checkboxForeground #b68b85
settings.dropdownBackground #000001
settings.dropdownBorder #817e78
settings.dropdownForeground #9ca0e1
settings.focusedRowBackground #817e78
settings.headerForeground #c1d3ef
settings.modifiedItemIndicator #dfc2c6
settings.numberInputBackground #000001
settings.numberInputBorder #817e78
settings.numberInputForeground #d6add7
settings.rowHoverBackground #817e78
settings.textInputBackground #000001
settings.textInputBorder #817e78
settings.textInputForeground #7d95d3
sideBar.background #000001
sideBar.foreground #817e78
sideBarSectionHeader.background #00000100
sideBarSectionHeader.foreground #c1d3ef
sideBarTitle.foreground #c1d3ef
statusBar.background #000001
statusBar.border #000001
statusBar.debuggingBackground #000001
statusBar.debuggingForeground #b68b85
statusBar.foreground #c1d3ef
statusBar.noFolderBackground #000001
statusBar.noFolderBorder #000001
statusBar.noFolderForeground #c1d3ef
statusBarItem.activeBackground #9ca0e170
statusBarItem.errorBackground #000001
statusBarItem.errorForeground #e7a9c3
statusBarItem.hoverBackground #9ca0e1a0
statusBarItem.prominentBackground #000001
statusBarItem.prominentForeground #fcf9fc
statusBarItem.prominentHoverBackground #9ca0e1a0
statusBarItem.remoteBackground #000001
statusBarItem.remoteForeground #c1d3ef
statusBarItem.warningBackground #000001
statusBarItem.warningForeground #edddfe
symbolIcon.arrayForeground #7d95d3
symbolIcon.booleanForeground #d6add7
symbolIcon.classForeground #edddfe
symbolIcon.colorForeground #fcf9fc
symbolIcon.constantForeground #9ca0e1
symbolIcon.constructorForeground #d6add7
symbolIcon.enumeratorForeground #d6add7
symbolIcon.enumeratorMemberForeground #9ca0e1
symbolIcon.eventForeground #edddfe
symbolIcon.fieldForeground #fcf9fc
symbolIcon.fileForeground #fcf9fc
symbolIcon.folderForeground #fcf9fc
symbolIcon.functionForeground #b1b6f0
symbolIcon.interfaceForeground #edddfe
symbolIcon.keyForeground #b1b6f0
symbolIcon.keywordForeground #e7a9c3
symbolIcon.methodForeground #b1b6f0
symbolIcon.moduleForeground #d6add7
symbolIcon.namespaceForeground #d6add7
symbolIcon.nullForeground #9ca0e1
symbolIcon.numberForeground #d6add7
symbolIcon.objectForeground #d6add7
symbolIcon.operatorForeground #b68b85
symbolIcon.packageForeground #d6add7
symbolIcon.propertyForeground #9ca0e1
symbolIcon.referenceForeground #7d95d3
symbolIcon.snippetForeground #fcf9fc
symbolIcon.stringForeground #b1b6f0
symbolIcon.structForeground #edddfe
symbolIcon.textForeground #fcf9fc
symbolIcon.typeParameterForeground #9ca0e1
symbolIcon.unitForeground #fcf9fc
symbolIcon.variableForeground #7d95d3
tab.activeBackground #000001
tab.activeBorder #b1b6f0d0
tab.activeForeground #fcf9fc
tab.border #000001
tab.hoverBackground #000001
tab.hoverForeground #fcf9fc
tab.inactiveBackground #000001
tab.inactiveForeground #dfc2c6
tab.lastPinnedBorder #b1b6f0d0
tab.unfocusedActiveBorder #817e78
tab.unfocusedActiveForeground #c1d3ef
tab.unfocusedHoverForeground #fcf9fc
tab.unfocusedInactiveForeground #dfc2c6
terminal.ansiBlack #817e78
terminal.ansiBlue #7d95d3
terminal.ansiBrightBlack #817e78
terminal.ansiBrightBlue #7d95d3
terminal.ansiBrightCyan #9ca0e1
terminal.ansiBrightGreen #b1b6f0
terminal.ansiBrightMagenta #d6add7
terminal.ansiBrightRed #e7a9c3
terminal.ansiBrightWhite #fcf9fc
terminal.ansiBrightYellow #edddfe
terminal.ansiCyan #9ca0e1
terminal.ansiGreen #b1b6f0
terminal.ansiMagenta #d6add7
terminal.ansiRed #e7a9c3
terminal.ansiWhite #fcf9fc
terminal.ansiYellow #edddfe
terminal.foreground #fcf9fc
terminalCursor.foreground #fcf9fc
testing.iconErrored #e7a9c3
testing.iconFailed #e7a9c3
testing.iconPassed #9ca0e1
testing.iconQueued #7d95d3
testing.iconSkipped #d6add7
testing.iconUnset #edddfe
testing.runAction #9ca0e1
textBlockQuote.background #000001
textBlockQuote.border #9ca0e1
textCodeBlock.background #000001
textLink.activeForeground #b1b6f0c0
textLink.foreground #b1b6f0
textPreformat.foreground #edddfe
titleBar.activeBackground #000001
titleBar.activeForeground #c1d3ef
titleBar.border #000001
titleBar.inactiveBackground #000001
titleBar.inactiveForeground #dfc2c6
toolbar.hoverBackground #817e78
tree.indentGuidesStroke #dfc2c6
walkThrough.embeddedEditorBackground #000001
welcomePage.buttonBackground #817e78
welcomePage.buttonHoverBackground #817e78a0
welcomePage.progress.foreground #b1b6f0
welcomePage.tileHoverBackground #817e78
widget.shadow #00000070 string, punctuation.definition.string.end, punctuation.definition.string.begin, punctuation.definition.string.template.begin, punctuation.definition.string.template.end #edddfe —
entity.other.attribute-name #edddfe —
constant.character.escape, punctuation.quasi.element, punctuation.definition.template-expression, punctuation.section.embedded, storage.type.format, constant.other.placeholder, constant.other.placeholder, variable.interpolation #b1b6f0 —
entity.name.function, support.function, meta.function, meta.function-call, meta.definition.method #b1b6f0 —
keyword.control.at-rule, keyword.control.import, keyword.control.export, storage.type.namespace, punctuation.decorator, keyword.control.directive, keyword.preprocessor, punctuation.definition.preprocessor, punctuation.definition.directive, keyword.other.import, keyword.other.package, entity.name.type.namespace, entity.name.scope-resolution, keyword.other.using, keyword.package, keyword.import, keyword.map #9ca0e1 —
storage.type.annotation #9ca0e1 —
entity.name.label, constant.other.label #9ca0e1 —
support.module, support.node, support.other.module, support.type.object.module, entity.name.type.module, entity.name.type.class.module, keyword.control.module #9ca0e1 —
storage.type, support.type, entity.name.type, keyword.type #7d95d3 —
entity.name.type.class, support.class, entity.name.class, entity.other.inherited-class, storage.class #7d95d3 —
constant.language.boolean #d6add7 —
entity.name.function.preprocessor #d6add7 —
variable.language.this, variable.language.self, variable.language.super, keyword.other.this, variable.language.special, constant.language.null, constant.language.undefined, constant.language.nan #d6add7 —
constant.language, support.constant #d6add7 —
variable, support.variable, meta.definition.variable #fcf9fc —
variable.object.property, support.variable.property, variable.other.property, variable.other.object.property, variable.other.enummember, variable.other.member, meta.object-literal.key #fcf9fc —
punctuation, meta.brace, meta.delimiter, meta.bracket #fcf9fc —
heading.1.markdown, markup.heading.setext.1.markdown #e7a9c3 bold
heading.2.markdown, markup.heading.setext.2.markdown #b68b85 bold
heading.3.markdown #edddfe bold
heading.4.markdown #b1b6f0 bold
heading.5.markdown #7d95d3 bold
heading.6.markdown #d6add7 bold
punctuation.definition.heading.markdown #817e78 regular
string.other.link.title.markdown, constant.other.reference.link.markdown, string.other.link.description.markdown #d6add7 regular
markup.underline.link.image.markdown, markup.underline.link.markdown #b1b6f0 underline
punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.definition.italic.markdown, punctuation.definition.quote.begin.markdown, punctuation.definition.metadata.markdown, punctuation.separator.key-value.markdown, punctuation.definition.constant.markdown #817e78 —
punctuation.definition.bold.markdown #817e78 regular
meta.separator.markdown, punctuation.definition.constant.begin.markdown, punctuation.definition.constant.end.markdown #817e78 bold
markup.bold markup.italic, markup.italic markup.bold — italic bold
punctuation.definition.markdown, punctuation.definition.raw.markdown #edddfe —
fenced_code.block.language #edddfe —
markup.fenced_code.block.markdown, markup.inline.raw.string.markdown #b1b6f0 —
punctuation.definition.list.begin.markdown #e7a9c3 —
punctuation.definition.heading.restructuredtext #b68b85 bold
punctuation.definition.field.restructuredtext, punctuation.separator.key-value.restructuredtext, punctuation.definition.directive.restructuredtext, punctuation.definition.constant.restructuredtext, punctuation.definition.italic.restructuredtext, punctuation.definition.table.restructuredtext #817e78 —
punctuation.definition.bold.restructuredtext #817e78 regular
entity.name.tag.restructuredtext, punctuation.definition.link.restructuredtext, punctuation.definition.raw.restructuredtext, punctuation.section.raw.restructuredtext #9ca0e1 —
constant.other.footnote.link.restructuredtext #d6add7 —
support.directive.restructuredtext #e7a9c3 —
entity.name.directive.restructuredtext, markup.raw.restructuredtext, markup.raw.inner.restructuredtext, string.other.link.title.restructuredtext #b1b6f0 —
punctuation.definition.function.latex, punctuation.definition.function.tex, punctuation.definition.keyword.latex, constant.character.newline.tex, punctuation.definition.keyword.tex #817e78 —
support.function.be.latex #e7a9c3 —
support.function.section.latex, keyword.control.table.cell.latex, keyword.control.table.newline.latex #b68b85 —
support.class.latex, variable.parameter.latex, variable.parameter.function.latex, variable.parameter.definition.label.latex, constant.other.reference.label.latex #edddfe —
keyword.control.preamble.latex #d6add7 —
punctuation.separator.namespace.xml #817e78 —
entity.name.tag.html, entity.name.tag.xml, entity.name.tag.localname.xml #b68b85 —
entity.other.attribute-name.html, entity.other.attribute-name.xml, entity.other.attribute-name.localname.xml #edddfe —
string.quoted.double.html, string.quoted.single.html, punctuation.definition.string.begin.html, punctuation.definition.string.end.html, punctuation.separator.key-value.html, punctuation.definition.string.begin.xml, punctuation.definition.string.end.xml, string.quoted.double.xml, string.quoted.single.xml, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.definition.tag.xml, meta.tag.xml, meta.tag.preprocessor.xml, meta.tag.other.html, meta.tag.block.any.html, meta.tag.inline.any.html #b1b6f0 —
variable.language.documentroot.xml, meta.tag.sgml.doctype.xml #d6add7 —
storage.type.proto #edddfe —
string.quoted.double.proto.syntax, string.quoted.single.proto.syntax, string.quoted.double.proto, string.quoted.single.proto #b1b6f0 —
entity.name.class.proto, entity.name.class.message.proto #9ca0e1 —
punctuation.definition.entity.css, punctuation.separator.key-value.css, punctuation.terminator.rule.css, punctuation.separator.list.comma.css #817e78 —
entity.other.attribute-name.class.css #e7a9c3 —
keyword.other.unit #b68b85 —
entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css #edddfe —
string.quoted.single.css, string.quoted.double.css, support.constant.property-value.css, meta.property-value.css, punctuation.definition.string.begin.css, punctuation.definition.string.end.css, constant.numeric.css, support.constant.font-name.css, variable.parameter.keyframe-list.css #b1b6f0 —
support.type.property-name.css #9ca0e1 —
support.type.vendored.property-name.css #7d95d3 —
entity.name.tag.css, entity.other.keyframe-offset.css, punctuation.definition.keyword.css, keyword.control.at-rule.keyframes.css, meta.selector.css #d6add7 —
punctuation.definition.entity.scss, punctuation.separator.key-value.scss, punctuation.terminator.rule.scss, punctuation.separator.list.comma.scss #817e78 —
keyword.control.at-rule.keyframes.scss #b68b85 —
punctuation.definition.interpolation.begin.bracket.curly.scss, punctuation.definition.interpolation.end.bracket.curly.scss #edddfe —
punctuation.definition.string.begin.scss, punctuation.definition.string.end.scss, string.quoted.double.scss, string.quoted.single.scss, constant.character.css.sass, meta.property-value.scss #b1b6f0 —
keyword.control.at-rule.include.scss, keyword.control.at-rule.use.scss, keyword.control.at-rule.mixin.scss, keyword.control.at-rule.extend.scss, keyword.control.at-rule.import.scss #d6add7 —
meta.function.stylus #fcf9fc —
entity.name.function.stylus #edddfe —
string.unquoted.js #fcf9fc —
punctuation.accessor.js, punctuation.separator.key-value.js, punctuation.separator.label.js, keyword.operator.accessor.js #817e78 —
punctuation.definition.block.tag.jsdoc #e7a9c3 —
storage.type.js, storage.type.function.arrow.js #b68b85 —
punctuation.definition.tag.jsx, entity.other.attribute-name.jsx, punctuation.definition.tag.begin.js.jsx, punctuation.definition.tag.end.js.jsx, entity.other.attribute-name.js.jsx #b1b6f0 —
entity.name.type.module.ts #fcf9fc —
keyword.operator.type.annotation.ts, punctuation.accessor.ts, punctuation.separator.key-value.ts #817e78 —
punctuation.definition.tag.directive.ts, entity.other.attribute-name.directive.ts #b1b6f0 —
entity.name.type.ts, entity.name.type.interface.ts, entity.other.inherited-class.ts, entity.name.type.alias.ts, entity.name.type.class.ts, entity.name.type.enum.ts #9ca0e1 —
storage.type.ts, storage.type.function.arrow.ts, storage.type.type.ts #b68b85 —
entity.name.type.module.ts #7d95d3 —
keyword.control.import.ts, keyword.control.export.ts, storage.type.namespace.ts #d6add7 —
entity.name.type.module.tsx #fcf9fc —
keyword.operator.type.annotation.tsx, punctuation.accessor.tsx, punctuation.separator.key-value.tsx #817e78 —
punctuation.definition.tag.directive.tsx, entity.other.attribute-name.directive.tsx, punctuation.definition.tag.begin.tsx, punctuation.definition.tag.end.tsx, entity.other.attribute-name.tsx #b1b6f0 —
entity.name.type.tsx, entity.name.type.interface.tsx, entity.other.inherited-class.tsx, entity.name.type.alias.tsx, entity.name.type.class.tsx, entity.name.type.enum.tsx #9ca0e1 —
entity.name.type.module.tsx #7d95d3 —
keyword.control.import.tsx, keyword.control.export.tsx, storage.type.namespace.tsx #d6add7 —
storage.type.tsx, storage.type.function.arrow.tsx, storage.type.type.tsx, support.class.component.tsx #b68b85 —
storage.type.function.coffee #b68b85 —
meta.type-signature.purescript #fcf9fc —
keyword.other.double-colon.purescript, keyword.other.arrow.purescript, keyword.other.big-arrow.purescript #b68b85 —
entity.name.function.purescript #edddfe —
string.quoted.single.purescript, string.quoted.double.purescript, punctuation.definition.string.begin.purescript, punctuation.definition.string.end.purescript, string.quoted.triple.purescript, entity.name.type.purescript #b1b6f0 —
support.other.module.purescript #d6add7 —
punctuation.dot.dart #817e78 —
storage.type.primitive.dart #b68b85 —
support.class.dart #edddfe —
entity.name.function.dart, string.interpolated.single.dart, string.interpolated.double.dart #b1b6f0 —
variable.language.dart #7d95d3 —
keyword.other.import.dart, storage.type.annotation.dart #d6add7 —
entity.other.attribute-name.class.pug #e7a9c3 —
storage.type.function.pug #b68b85 —
entity.other.attribute-name.tag.pug #9ca0e1 —
entity.name.tag.pug, storage.type.import.include.pug #d6add7 —
meta.function-call.c, storage.modifier.array.bracket.square.c, meta.function.definition.parameters.c #fcf9fc —
punctuation.separator.dot-access.c, constant.character.escape.line-continuation.c #817e78 —
keyword.control.directive.include.c, punctuation.definition.directive.c, keyword.control.directive.pragma.c, keyword.control.directive.line.c, keyword.control.directive.define.c, keyword.control.directive.conditional.c, keyword.control.directive.diagnostic.error.c, keyword.control.directive.undef.c, keyword.control.directive.conditional.ifdef.c, keyword.control.directive.endif.c, keyword.control.directive.conditional.ifndef.c, keyword.control.directive.conditional.if.c, keyword.control.directive.else.c #e7a9c3 —
punctuation.separator.pointer-access.c #b68b85 —
variable.other.member.c #9ca0e1 —
meta.function-call.cpp, storage.modifier.array.bracket.square.cpp, meta.function.definition.parameters.cpp, meta.body.function.definition.cpp #fcf9fc —
punctuation.separator.dot-access.cpp, constant.character.escape.line-continuation.cpp #817e78 —
keyword.control.directive.include.cpp, punctuation.definition.directive.cpp, keyword.control.directive.pragma.cpp, keyword.control.directive.line.cpp, keyword.control.directive.define.cpp, keyword.control.directive.conditional.cpp, keyword.control.directive.diagnostic.error.cpp, keyword.control.directive.undef.cpp, keyword.control.directive.conditional.ifdef.cpp, keyword.control.directive.endif.cpp, keyword.control.directive.conditional.ifndef.cpp, keyword.control.directive.conditional.if.cpp, keyword.control.directive.else.cpp, storage.type.namespace.definition.cpp, keyword.other.using.directive.cpp, storage.type.struct.cpp #e7a9c3 —
punctuation.separator.pointer-access.cpp, punctuation.section.angle-brackets.begin.template.call.cpp, punctuation.section.angle-brackets.end.template.call.cpp #b68b85 —
variable.other.member.cpp #9ca0e1 —
keyword.other.using.cs #e7a9c3 —
keyword.type.cs, constant.character.escape.cs, punctuation.definition.interpolation.begin.cs, punctuation.definition.interpolation.end.cs #edddfe —
string.quoted.double.cs, string.quoted.single.cs, punctuation.definition.string.begin.cs, punctuation.definition.string.end.cs #b1b6f0 —
variable.other.object.property.cs #9ca0e1 —
entity.name.type.namespace.cs #d6add7 —
keyword.symbol.fsharp, constant.language.unit.fsharp #fcf9fc —
keyword.format.specifier.fsharp, entity.name.type.fsharp #edddfe —
string.quoted.double.fsharp, string.quoted.single.fsharp, punctuation.definition.string.begin.fsharp, punctuation.definition.string.end.fsharp #b1b6f0 —
entity.name.section.fsharp #7d95d3 —
support.function.attribute.fsharp #d6add7 —
punctuation.separator.java, punctuation.separator.period.java #817e78 —
keyword.other.import.java, keyword.other.package.java #e7a9c3 —
storage.type.function.arrow.java, keyword.control.ternary.java #b68b85 —
variable.other.property.java #9ca0e1 —
variable.language.wildcard.java, storage.modifier.import.java, storage.type.annotation.java, punctuation.definition.annotation.java, storage.modifier.package.java, entity.name.type.module.java #d6add7 —
keyword.other.import.kotlin #e7a9c3 —
storage.type.kotlin #b68b85 —
constant.language.kotlin #9ca0e1 —
entity.name.package.kotlin, storage.type.annotation.kotlin #d6add7 —
entity.name.package.scala #d6add7 —
constant.language.scala #7d95d3 —
entity.name.import.scala #9ca0e1 —
string.quoted.double.scala, string.quoted.single.scala, punctuation.definition.string.begin.scala, punctuation.definition.string.end.scala, string.quoted.double.interpolated.scala, string.quoted.single.interpolated.scala, string.quoted.triple.scala #b1b6f0 —
entity.name.class, entity.other.inherited-class.scala #edddfe —
keyword.declaration.stable.scala, keyword.other.arrow.scala #b68b85 —
keyword.other.import.scala #e7a9c3 —
keyword.operator.navigation.groovy, meta.method.body.java, meta.definition.method.groovy, meta.definition.method.signature.java #fcf9fc —
punctuation.separator.groovy #817e78 —
keyword.other.import.groovy, keyword.other.package.groovy, keyword.other.import.static.groovy #e7a9c3 —
storage.type.def.groovy #b68b85 —
variable.other.interpolated.groovy, meta.method.groovy #b1b6f0 —
storage.modifier.import.groovy, storage.modifier.package.groovy #9ca0e1 —
storage.type.annotation.groovy #d6add7 —
entity.name.package.go #9ca0e1 —
keyword.import.go, keyword.package.go #d6add7 —
entity.name.type.mod.rust #fcf9fc —
keyword.operator.path.rust, keyword.operator.member-access.rust #817e78 —
storage.type.rust #b68b85 —
support.constant.core.rust #9ca0e1 —
meta.attribute.rust, variable.language.rust, storage.type.module.rust #d6add7 —
meta.function-call.swift, support.function.any-method.swift #fcf9fc —
support.variable.swift #9ca0e1 —
keyword.operator.class.php #fcf9fc —
storage.type.trait.php #b68b85 —
constant.language.php, support.other.namespace.php #9ca0e1 —
storage.type.modifier.access.control.public.cpp, storage.type.modifier.access.control.private.cpp #7d95d3 —
keyword.control.import.include.php, storage.type.php #d6add7 —
meta.function-call.arguments.python #fcf9fc —
punctuation.definition.decorator.python, punctuation.separator.period.python #817e78 —
constant.language.python #9ca0e1 —
keyword.control.import.python, keyword.control.import.from.python #d6add7 —
constant.language.lua #9ca0e1 —
entity.name.class.lua #7d95d3 —
meta.function.method.with-arguments.ruby #fcf9fc —
punctuation.separator.method.ruby #817e78 —
keyword.control.pseudo-method.ruby, storage.type.variable.ruby #b68b85 —
keyword.other.special-method.ruby #b1b6f0 —
keyword.control.module.ruby, punctuation.definition.constant.ruby #d6add7 —
string.regexp.character-class.ruby,string.regexp.interpolated.ruby,punctuation.definition.character-class.ruby,string.regexp.group.ruby, punctuation.section.regexp.ruby, punctuation.definition.group.ruby #edddfe —
variable.other.constant.ruby #7d95d3 —
keyword.other.arrow.haskell, keyword.other.big-arrow.haskell, keyword.other.double-colon.haskell #b68b85 —
storage.type.haskell #edddfe —
constant.other.haskell, string.quoted.double.haskell, string.quoted.single.haskell, punctuation.definition.string.begin.haskell, punctuation.definition.string.end.haskell #b1b6f0 —
entity.name.function.haskell #7d95d3 —
entity.name.namespace, meta.preprocessor.haskell #9ca0e1 —
keyword.control.import.julia, keyword.control.export.julia #e7a9c3 —
keyword.storage.modifier.julia #b68b85 —
constant.language.julia #9ca0e1 —
support.function.macro.julia #d6add7 —
keyword.other.period.elm #fcf9fc —
entity.name.function.r, variable.function.r #b1b6f0 —
constant.language.r #9ca0e1 —
entity.namespace.r #d6add7 —
punctuation.separator.module-function.erlang, punctuation.section.directive.begin.erlang #817e78 —
keyword.control.directive.erlang, keyword.control.directive.define.erlang #e7a9c3 —
entity.name.type.class.module.erlang #edddfe —
string.quoted.double.erlang, string.quoted.single.erlang, punctuation.definition.string.begin.erlang, punctuation.definition.string.end.erlang #b1b6f0 —
keyword.control.directive.export.erlang, keyword.control.directive.module.erlang, keyword.control.directive.import.erlang, keyword.control.directive.behaviour.erlang #d6add7 —
variable.other.readwrite.module.elixir, punctuation.definition.variable.elixir #9ca0e1 —
constant.language.elixir #7d95d3 —
keyword.control.module.elixir #d6add7 —
entity.name.type.value-signature.ocaml #fcf9fc —
keyword.other.ocaml #b68b85 —
constant.language.variant.ocaml #9ca0e1 —
storage.type.sub.perl, storage.type.declare.routine.perl #e7a9c3 —
meta.function.lisp #fcf9fc —
storage.type.function-type.lisp #e7a9c3 —
keyword.constant.lisp #b1b6f0 —
entity.name.function.lisp #9ca0e1 —
constant.keyword.clojure, support.variable.clojure, meta.definition.variable.clojure #b1b6f0 —
entity.global.clojure #d6add7 —
entity.name.function.clojure #7d95d3 —
meta.scope.if-block.shell, meta.scope.group.shell #fcf9fc —
support.function.builtin.shell, entity.name.function.shell #edddfe —
string.quoted.double.shell, string.quoted.single.shell, punctuation.definition.string.begin.shell, punctuation.definition.string.end.shell, string.unquoted.heredoc.shell #b1b6f0 —
keyword.control.heredoc-token.shell, variable.other.normal.shell, punctuation.definition.variable.shell, variable.other.special.shell, variable.other.positional.shell, variable.other.bracket.shell #d6add7 —
support.function.builtin.fish #e7a9c3 —
support.function.unix.fish #b68b85 —
variable.other.normal.fish, punctuation.definition.variable.fish, variable.other.fixed.fish, variable.other.special.fish #7d95d3 —
string.quoted.double.fish, punctuation.definition.string.end.fish, punctuation.definition.string.begin.fish, string.quoted.single.fish #b1b6f0 —
constant.character.escape.single.fish #d6add7 —
punctuation.definition.variable.powershell #817e78 —
entity.name.function.powershell, support.function.attribute.powershell, support.function.powershell #edddfe —
string.quoted.single.powershell, string.quoted.double.powershell, punctuation.definition.string.begin.powershell, punctuation.definition.string.end.powershell, string.quoted.double.heredoc.powershell #b1b6f0 —
variable.other.member.powershell #9ca0e1 —
string.unquoted.alias.graphql #fcf9fc —
keyword.type.graphql #e7a9c3 —
entity.name.fragment.graphql #d6add7 —
entity.name.function.target.makefile #b68b85 —
variable.other.makefile #edddfe —
meta.scope.prerequisites.makefile #b1b6f0 —
string.source.cmake #b1b6f0 —
entity.source.cmake #9ca0e1 —
storage.source.cmake #d6add7 —
punctuation.definition.map.viml #817e78 —
storage.type.map.viml #b68b85 —
constant.character.map.viml, constant.character.map.key.viml #b1b6f0 —
constant.character.map.special.viml #7d95d3 —
constant.language.tmux, constant.numeric.tmux #b1b6f0 —
entity.name.function.package-manager.dockerfile #b68b85 —
keyword.operator.flag.dockerfile #edddfe —
string.quoted.double.dockerfile, string.quoted.single.dockerfile #b1b6f0 —
constant.character.escape.dockerfile #9ca0e1 —
entity.name.type.base-image.dockerfile, entity.name.image.dockerfile #d6add7 —
punctuation.definition.separator.diff #817e78 —
markup.deleted.diff, punctuation.definition.deleted.diff #e7a9c3 —
meta.diff.range.context, punctuation.definition.range.diff #b68b85 —
meta.diff.header.from-file #edddfe —
markup.inserted.diff, punctuation.definition.inserted.diff #b1b6f0 —
markup.changed.diff, punctuation.definition.changed.diff #7d95d3 —
punctuation.definition.from-file.diff #d6add7 —
entity.name.section.group-title.ini, punctuation.definition.entity.ini #e7a9c3 —
punctuation.separator.key-value.ini #b68b85 —
string.quoted.double.ini, string.quoted.single.ini, punctuation.definition.string.begin.ini, punctuation.definition.string.end.ini #b1b6f0 —
keyword.other.definition.ini #9ca0e1 —
support.function.aggregate.sql #edddfe —
string.quoted.single.sql, punctuation.definition.string.end.sql, punctuation.definition.string.begin.sql, string.quoted.double.sql #b1b6f0 —
support.type.graphql #edddfe —
variable.parameter.graphql #7d95d3 —
constant.character.enum.graphql #9ca0e1 —
punctuation.support.type.property-name.begin.json, punctuation.support.type.property-name.end.json, punctuation.separator.dictionary.key-value.json, punctuation.definition.string.begin.json, punctuation.definition.string.end.json, punctuation.separator.dictionary.pair.json, punctuation.separator.array.json #817e78 —
support.type.property-name.json #b68b85 —
string.quoted.double.json #b1b6f0 —
punctuation.separator.key-value.mapping.yaml #817e78 —
string.unquoted.plain.out.yaml, string.quoted.single.yaml, string.quoted.double.yaml, punctuation.definition.string.begin.yaml, punctuation.definition.string.end.yaml, string.unquoted.plain.in.yaml, string.unquoted.block.yaml #b1b6f0 —
punctuation.definition.anchor.yaml, punctuation.definition.block.sequence.item.yaml #9ca0e1 —
string.quoted.single.basic.line.toml, string.quoted.single.literal.line.toml, punctuation.definition.keyValuePair.toml #b1b6f0 —
constant.other.boolean.toml #7d95d3 —
entity.other.attribute-name.table.toml, punctuation.definition.table.toml, entity.other.attribute-name.table.array.toml, punctuation.definition.table.array.toml #d6add7 —
comment, string.comment, punctuation.definition.comment #817e78 italic
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 } !` ;
}
ghost-pastel | Coding Theme