Skip to main content
Progenesis | Coding Theme
Home Theme VS Code Progenesis A professional, tech-forward VS Code colour theme featuring Progenesis blue, gradient teal, and magenta accents, inspired by the Progenesis visual identity. Built and published by Lucid Labs on behalf of Progenesis. All trademarks belong to their respective owners.
VS Code preview Full workbench mockup using this variant's colors and tokenColors.
colors Workbench UI color keys from the theme JSON colors map.
actionBar.toggledBackground #1F7AFF40 activityBar.activeBackground #181C2650 activityBar.activeBorder #1F7AFF activityBar.activeFocusBorder #1F7AFF activityBar.background #10131A activityBar.border #10131A tokenColors TextMate scopes and font styles (syntax highlighting rules).
scope foreground fontStyle comment, punctuation.definition.comment #8590A080 italic variable, string constant.other.placeholder #E2E6EF — constant.other.color #1F7AFF — invalid, invalid.illegal #F06060 — keyword, storage.type, storage.modifier
Shiki preview TypeScript sample highlighted with this variant's colors and tokenColors.
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}!`;
}
Progenesis — Progenesis Dark main*
0 1
Copilot
Ln 5, Col 12
Spaces: 2
UTF-8
LF
TypeScript
Dark+
activityBar.dropBorder #1F7AFF
activityBar.foreground #E2E6EF
activityBar.inactiveForeground #6B759080
activityBarBadge.background #1F7AFF
activityBarBadge.foreground #E2E6EF
activityBarTop.activeBackground #181C2650
activityBarTop.activeBorder #1F7AFF
activityBarTop.background #10131A
activityBarTop.dropBorder #1F7AFF
activityBarTop.foreground #E2E6EF
activityBarTop.inactiveForeground #6B759080
activityErrorBadge.background #F06060
activityErrorBadge.foreground #E2E6EF
activityWarningBadge.background #E8C84D
activityWarningBadge.foreground #E2E6EF
agentSessionReadIndicator.foreground #1F7AFF
agentSessionSelectedBadge.border #1F7AFF50
agentSessionSelectedUnfocusedBadge.border #E2E6EF50
agentStatusIndicator.background #1E2330
aiCustomizationManagement.sashBorder #1F7AFF
badge.background #1F7AFF
badge.foreground #E2E6EF
banner.background #1F7AFF
banner.foreground #E2E6EF
banner.iconForeground #E2E6EF
breadcrumb.activeSelectionForeground #1F7AFF
breadcrumb.background #181C26
breadcrumb.focusForeground #E2E6EF
breadcrumb.foreground #6B7590
breadcrumbPicker.background #141820
button.background #1F7AFF
button.border #1F7AFF00
button.foreground #E2E6EF
button.hoverBackground #1766D9
button.secondaryBackground #1E2330
button.secondaryBorder #1F7AFF50
button.secondaryForeground #E2E6EF
button.secondaryHoverBackground #242A38
button.separator #E2E6EF40
charts.blue #1F7AFF
charts.foreground #E2E6EF
charts.green #5BBF7A
charts.lines #6B759080
charts.orange #DA79D0
charts.purple #20DCD3
charts.red #F06060
charts.yellow #E8C84D
chat.avatarBackground #1F7AFF
chat.avatarForeground #FFFFFF
chat.checkpointSeparator #1F7AFF50
chat.editedFileForeground #5A9FFF
chat.inputWorkingBorderColor1 #1F7AFF
chat.inputWorkingBorderColor2 #1766D9
chat.inputWorkingBorderColor3 #1F7AFF
chat.linesAddedForeground #5BBF7ACC
chat.linesRemovedForeground #F06060CC
chat.requestBackground #1E2330
chat.requestBorder #1F7AFF50
chat.requestBubbleBackground #1E2330E6
chat.requestBubbleHoverBackground #242A38E6
chat.requestCodeBorder #1F7AFF30
chat.slashCommandBackground #1F7AFF
chat.slashCommandForeground #E2E6EF
chat.thinkingShimmer #1F7AFF40
chatManagement.sashBorder #1F7AFF
checkbox.background #242A38
checkbox.border #1F7AFF50
checkbox.disabled.background #242A3880
checkbox.disabled.foreground #6B759060
checkbox.foreground #1F7AFF
checkbox.selectBackground #242A38
checkbox.selectBorder #1F7AFF
commandCenter.activeBackground #E2E6EF25
commandCenter.activeBorder #E2E6EF50
commandCenter.activeForeground #E2E6EF
commandCenter.background #E2E6EF15
commandCenter.border #E2E6EF30
commandCenter.debuggingBackground #1F7AFF30
commandCenter.foreground #E2E6EF
commandCenter.inactiveBorder #E2E6EF20
commandCenter.inactiveForeground #6B759080
commentsView.resolvedIcon #5BBF7A
commentsView.unresolvedIcon #E8C84D
contrastActiveBorder #1F7AFF00
contrastBorder #1F7AFF00
debugConsole.errorForeground #F06060
debugConsole.infoForeground #5A9FFF
debugConsole.sourceForeground #6B7590
debugConsole.warningForeground #E8C84D
debugConsoleInputIcon.foreground #1F7AFF
debugExceptionWidget.background #F0606020
debugExceptionWidget.border #F0606080
debugIcon.breakpointCurrentStackframeForeground #E8C84D
debugIcon.breakpointDisabledForeground #6B759080
debugIcon.breakpointForeground #F06060
debugIcon.breakpointStackframeForeground #5BBF7A
debugIcon.breakpointUnverifiedForeground #E8C84D
debugIcon.continueForeground #5BBF7A
debugIcon.disconnectForeground #F06060
debugIcon.pauseForeground #E8C84D
debugIcon.restartForeground #5BBF7A
debugIcon.startForeground #5BBF7A
debugIcon.stepBackForeground #1F7AFF
debugIcon.stepIntoForeground #1F7AFF
debugIcon.stepOutForeground #1F7AFF
debugIcon.stepOverForeground #1F7AFF
debugIcon.stopForeground #F06060
debugTokenExpression.boolean #DA79D0
debugTokenExpression.error #F06060
debugTokenExpression.name #20DCD3
debugTokenExpression.number #DA79D0
debugTokenExpression.string #E8A87C
debugTokenExpression.type #20DCD3
debugTokenExpression.value #E8A87C
debugToolBar.background #141820
debugView.exceptionLabelBackground #F0606080
debugView.exceptionLabelForeground #E2E6EF
debugView.stateLabelBackground #1F7AFF50
debugView.stateLabelForeground #E2E6EF
debugView.valueChangedHighlight #1F7AFF80
descriptionForeground #6B7590
diffEditor.border #1F7AFF20
diffEditor.diagonalFill #1F7AFF20
diffEditor.insertedLineBackground #5BBF7A15
diffEditor.insertedTextBackground #5BBF7A20
diffEditor.insertedTextBorder #5BBF7A50
diffEditor.move.border #1F7AFF80
diffEditor.moveActive.border #1F7AFF
diffEditor.removedLineBackground #F0606015
diffEditor.removedTextBackground #F0606020
diffEditor.removedTextBorder #F0606050
diffEditor.unchangedCodeBackground #181C2680
diffEditor.unchangedRegionBackground #141820
diffEditor.unchangedRegionForeground #6B759080
diffEditor.unchangedRegionShadow #0A0D1430
diffEditorGutter.insertedLineBackground #5BBF7A30
diffEditorGutter.removedLineBackground #F0606030
diffEditorOverview.insertedForeground #5BBF7A80
diffEditorOverview.removedForeground #F0606080
disabledForeground #6B759060
dropdown.background #242A38
dropdown.border #1F7AFF50
dropdown.foreground #E2E6EF
dropdown.listBackground #141820
editor.background #181C26
editor.compositionBorder #1F7AFF
editor.findMatchBackground #1F7AFF80
editor.findMatchBorder #1F7AFF
editor.findMatchForeground #E2E6EF
editor.findMatchHighlightBackground #1F7AFF50
editor.findMatchHighlightBorder #1F7AFF80
editor.findMatchHighlightForeground #E2E6EF
editor.findRangeHighlightBackground #1F7AFF20
editor.findRangeHighlightBorder #1F7AFF00
editor.focusedStackFrameHighlightBackground #5BBF7A30
editor.foldBackground #1F7AFF15
editor.foldPlaceholderForeground #6B759080
editor.foreground #E2E6EF
editor.hoverHighlightBackground #1F7AFF25
editor.inactiveLineHighlightBackground #242A3880
editor.inactiveSelectionBackground #1F7AFF30
editor.inlineValuesBackground #1F7AFF15
editor.inlineValuesForeground #6B7590CC
editor.lineHighlightBackground #242A38
editor.lineHighlightBorder #1F7AFF15
editor.linkedEditingBackground #1F7AFF30
editor.placeholder.foreground #6B759080
editor.rangeHighlightBackground #1F7AFF15
editor.rangeHighlightBorder #1F7AFF00
editor.selectionBackground #1F7AFF50
editor.selectionForeground #E2E6EF
editor.selectionHighlightBackground #1F7AFF30
editor.selectionHighlightBorder #1F7AFF50
editor.stackFrameHighlightBackground #E8C84D30
editor.symbolHighlightBackground #1F7AFF30
editor.symbolHighlightBorder #1F7AFF50
editor.wordHighlightBackground #1F7AFF30
editor.wordHighlightBorder #1F7AFF50
editor.wordHighlightStrongBackground #1F7AFF50
editor.wordHighlightStrongBorder #1F7AFF80
editor.wordHighlightTextBackground #1F7AFF20
editor.wordHighlightTextBorder #1F7AFF40
editorActionList.background #141820
editorActionList.focusBackground #1F7AFF40
editorActionList.focusForeground #E2E6EF
editorActionList.foreground #E2E6EF
editorBracketHighlight.foreground1 #1F7AFF
editorBracketHighlight.foreground2 #20DCD3
editorBracketHighlight.foreground3 #DA79D0
editorBracketHighlight.foreground4 #E8C84D
editorBracketHighlight.foreground5 #5BBF7A
editorBracketHighlight.foreground6 #E8A87C
editorBracketHighlight.unexpectedBracket.foreground #F06060
editorBracketMatch.border #1F7AFF80
editorBracketMatch.foreground #1F7AFF
editorBracketPairGuide.activeBackground1 #1F7AFF80
editorBracketPairGuide.activeBackground2 #20DCD380
editorBracketPairGuide.activeBackground3 #DA79D080
editorBracketPairGuide.activeBackground4 #E8C84D80
editorBracketPairGuide.activeBackground5 #5BBF7A80
editorBracketPairGuide.activeBackground6 #E8A87C80
editorBracketPairGuide.background1 #1F7AFF40
editorBracketPairGuide.background2 #20DCD340
editorBracketPairGuide.background3 #DA79D040
editorBracketPairGuide.background4 #E8C84D40
editorBracketPairGuide.background5 #5BBF7A40
editorBracketPairGuide.background6 #E8A87C40
editorCodeLens.foreground #6B759080
editorCommentsWidget.rangeActiveBackground #1F7AFF20
editorCommentsWidget.rangeBackground #1F7AFF10
editorCommentsWidget.replyInputBackground #242A38
editorCommentsWidget.resolvedBorder #5BBF7A50
editorCommentsWidget.unresolvedBorder #E8C84D
editorCursor.background #181C26
editorCursor.foreground #1F7AFF
editorError.background #F0606015
editorError.border #F0606000
editorError.foreground #F06060
editorGhostText.background #1F7AFF00
editorGhostText.border #1F7AFF00
editorGhostText.foreground #1F7AFF80
editorGroup.border #1F7AFF20
editorGroup.dropBackground #1F7AFF30
editorGroup.dropIntoPromptBackground #141820
editorGroup.dropIntoPromptBorder #1F7AFF50
editorGroup.dropIntoPromptForeground #E2E6EF
editorGroup.emptyBackground #181C26
editorGroup.focusedEmptyBorder #1F7AFF50
editorGroupHeader.border #1F7AFF20
editorGroupHeader.noTabsBackground #181C26
editorGroupHeader.tabsBackground #141820
editorGroupHeader.tabsBorder #1F7AFF20
editorGutter.addedBackground #5BBF7A
editorGutter.addedSecondaryBackground #5BBF7A80
editorGutter.background #181C26
editorGutter.commentDraftGlyphForeground #1F7AFF80
editorGutter.commentGlyphForeground #1F7AFF
editorGutter.commentRangeForeground #6B759050
editorGutter.commentUnresolvedGlyphForeground #E8C84D
editorGutter.deletedBackground #F06060
editorGutter.deletedSecondaryBackground #F0606080
editorGutter.foldingControlForeground #6B759080
editorGutter.itemBackground #141820
editorGutter.itemGlyphForeground #1F7AFF
editorGutter.modifiedBackground #5A9FFF
editorGutter.modifiedSecondaryBackground #5A9FFF80
editorHint.border #5BBF7A00
editorHint.foreground #5BBF7A
editorHoverWidget.background #141820
editorHoverWidget.border #1F7AFF50
editorHoverWidget.foreground #E2E6EF
editorHoverWidget.highlightForeground #1F7AFF
editorHoverWidget.statusBarBackground #1E2330
editorIndentGuide.activeBackground1 #1F7AFF
editorIndentGuide.activeBackground2 #20DCD3
editorIndentGuide.activeBackground3 #DA79D0
editorIndentGuide.activeBackground4 #E8C84D
editorIndentGuide.activeBackground5 #5BBF7A
editorIndentGuide.activeBackground6 #E8A87C
editorIndentGuide.background1 #1F7AFF25
editorIndentGuide.background2 #20DCD325
editorIndentGuide.background3 #DA79D025
editorIndentGuide.background4 #E8C84D25
editorIndentGuide.background5 #5BBF7A25
editorIndentGuide.background6 #E8A87C25
editorInfo.background #5A9FFF15
editorInfo.border #5A9FFF00
editorInfo.foreground #5A9FFF
editorInlayHint.background #242A38
editorInlayHint.foreground #6B7590
editorInlayHint.parameterBackground #242A38
editorInlayHint.parameterForeground #6B7590
editorInlayHint.typeBackground #242A38
editorInlayHint.typeForeground #E8A87C
editorLightBulb.foreground #E8C84D
editorLightBulbAi.foreground #1F7AFF
editorLightBulbAutoFix.foreground #5BBF7A
editorLineNumber.activeForeground #1F7AFF
editorLineNumber.dimmedForeground #6B759050
editorLineNumber.foreground #6B7590
editorLink.activeForeground #1F7AFF
editorMarkerNavigation.background #141820
editorMarkerNavigationError.background #F0606030
editorMarkerNavigationError.headerBackground #F0606020
editorMarkerNavigationInfo.background #5A9FFF30
editorMarkerNavigationInfo.headerBackground #5A9FFF20
editorMarkerNavigationWarning.background #E8C84D30
editorMarkerNavigationWarning.headerBackground #E8C84D20
editorMinimap.inlineChatInserted #5BBF7A40
editorMinimap.inlineChatRemoved #F0606040
editorMultiCursor.primary.background #181C26
editorMultiCursor.primary.foreground #1F7AFF
editorMultiCursor.secondary.background #181C26
editorMultiCursor.secondary.foreground #20DCD3
editorOverviewRuler.addedForeground #5BBF7A
editorOverviewRuler.background #181C26
editorOverviewRuler.border #1F7AFF20
editorOverviewRuler.bracketMatchForeground #1F7AFF80
editorOverviewRuler.commentDraftForeground #1F7AFF60
editorOverviewRuler.commentForeground #1F7AFF40
editorOverviewRuler.commentUnresolvedForeground #E8C84D80
editorOverviewRuler.commonContentForeground #6B759050
editorOverviewRuler.currentContentForeground #5BBF7A80
editorOverviewRuler.deletedForeground #F06060
editorOverviewRuler.errorForeground #F06060
editorOverviewRuler.findMatchForeground #1F7AFFCC
editorOverviewRuler.incomingContentForeground #1F7AFF80
editorOverviewRuler.infoForeground #5A9FFF
editorOverviewRuler.inlineChatInserted #5BBF7A80
editorOverviewRuler.inlineChatRemoved #F0606080
editorOverviewRuler.modifiedForeground #5A9FFF
editorOverviewRuler.rangeHighlightForeground #1F7AFF99
editorOverviewRuler.selectionHighlightForeground #1F7AFF99
editorOverviewRuler.warningForeground #E8C84D
editorOverviewRuler.wordHighlightForeground #1F7AFF99
editorOverviewRuler.wordHighlightStrongForeground #1F7AFFCC
editorOverviewRuler.wordHighlightTextForeground #1F7AFF80
editorPane.background #181C26
editorRuler.foreground #6B759030
editorSnippetFinalTabstopHighlightBackground #5BBF7A30
editorSnippetFinalTabstopHighlightBorder #5BBF7A00
editorSnippetTabstopHighlightBackground #1F7AFF30
editorSnippetTabstopHighlightBorder #1F7AFF00
editorStickyScroll.background #141820
editorStickyScroll.border #1F7AFF20
editorStickyScroll.shadow #0A0D1430
editorStickyScrollGutter.background #141820
editorStickyScrollHover.background #242A38
editorSuggestWidget.background #141820
editorSuggestWidget.border #1F7AFF50
editorSuggestWidget.focusHighlightForeground #1F7AFF
editorSuggestWidget.foreground #E2E6EF
editorSuggestWidget.highlightForeground #1F7AFF
editorSuggestWidget.selectedBackground #1F7AFF50
editorSuggestWidget.selectedForeground #E2E6EF
editorSuggestWidget.selectedIconForeground #E2E6EF
editorSuggestWidgetStatus.foreground #6B759080
editorUnicodeHighlight.background #E8C84D20
editorUnicodeHighlight.border #E8C84D
editorUnnecessaryCode.border #6B759050
editorUnnecessaryCode.opacity #000000AA
editorWarning.background #E8C84D15
editorWarning.border #E8C84D00
editorWarning.foreground #E8C84D
editorWhitespace.foreground #6B759050
editorWidget.background #141820
editorWidget.border #1F7AFF50
editorWidget.foreground #E2E6EF
editorWidget.resizeBorder #1F7AFF
errorForeground #F06060
extensionBadge.remoteBackground #1F7AFF
extensionBadge.remoteForeground #E2E6EF
extensionButton.background #1F7AFF
extensionButton.border #1F7AFF00
extensionButton.foreground #E2E6EF
extensionButton.hoverBackground #1766D9
extensionButton.prominentBackground #1F7AFF
extensionButton.prominentForeground #E2E6EF
extensionButton.prominentHoverBackground #1766D9
extensionButton.separator #E2E6EF40
extensionIcon.preReleaseForeground #1F7AFF
extensionIcon.privateForeground #6B759080
extensionIcon.sponsorForeground #20DCD3
extensionIcon.starForeground #E8C84D
extensionIcon.verifiedForeground #5BBF7A
focusBorder #1F7AFF
foreground #E2E6EF
gauge.background #141820
gauge.border #1F7AFF30
gauge.errorBackground #F0606030
gauge.errorForeground #F06060
gauge.foreground #E2E6EF
gauge.warningBackground #E8C84D30
gauge.warningForeground #E8C84D
git.blame.editorDecorationForeground #6B759060
gitDecoration.addedResourceForeground #5BBF7A
gitDecoration.conflictingResourceForeground #E8C84D
gitDecoration.deletedResourceForeground #F06060
gitDecoration.ignoredResourceForeground #6B759080
gitDecoration.modifiedResourceForeground #5A9FFF
gitDecoration.renamedResourceForeground #1F7AFF
gitDecoration.stageDeletedResourceForeground #F06060CC
gitDecoration.stageModifiedResourceForeground #5A9FFFCC
gitDecoration.submoduleResourceForeground #E8A87C
gitDecoration.untrackedResourceForeground #5BBF7A
icon.foreground #1F7AFF
inlineChat.background #141820
inlineChat.border #1F7AFF50
inlineChat.foreground #E2E6EF
inlineChat.shadow #0A0D1480
inlineChatDiff.inserted #5BBF7A30
inlineChatDiff.removed #F0606030
inlineChatInput.background #242A38
inlineChatInput.border #1F7AFF50
inlineChatInput.focusBorder #1F7AFF
inlineChatInput.placeholderForeground #6B759080
inlineEdit.gutterIndicator.background #141820
inlineEdit.gutterIndicator.primaryBackground #1F7AFF20
inlineEdit.gutterIndicator.primaryBorder #1F7AFF
inlineEdit.gutterIndicator.primaryForeground #1F7AFF
inlineEdit.gutterIndicator.secondaryBackground #20DCD320
inlineEdit.gutterIndicator.secondaryBorder #20DCD3
inlineEdit.gutterIndicator.secondaryForeground #20DCD3
inlineEdit.gutterIndicator.successfulBackground #5BBF7A20
inlineEdit.gutterIndicator.successfulBorder #5BBF7A
inlineEdit.gutterIndicator.successfulForeground #5BBF7A
inlineEdit.modifiedBackground #5A9FFF15
inlineEdit.modifiedBorder #5A9FFF50
inlineEdit.modifiedChangedLineBackground #5A9FFF20
inlineEdit.modifiedChangedTextBackground #5A9FFF30
inlineEdit.originalBackground #F0606010
inlineEdit.originalBorder #F0606030
inlineEdit.originalChangedLineBackground #F0606015
inlineEdit.originalChangedTextBackground #F0606025
inlineEdit.tabWillAcceptModifiedBorder #5BBF7A80
inlineEdit.tabWillAcceptOriginalBorder #F0606050
input.background #242A38
input.border #1F7AFF50
input.foreground #E2E6EF
input.placeholderForeground #6B759080
inputOption.activeBackground #1F7AFF40
inputOption.activeBorder #1F7AFF
inputOption.activeForeground #E2E6EF
inputOption.hoverBackground #1F7AFF20
inputValidation.errorBackground #F0606020
inputValidation.errorBorder #F06060
inputValidation.errorForeground #F06060
inputValidation.infoBackground #5A9FFF20
inputValidation.infoBorder #5A9FFF
inputValidation.infoForeground #5A9FFF
inputValidation.warningBackground #E8C84D20
inputValidation.warningBorder #E8C84D
inputValidation.warningForeground #E8C84D
interactive.activeCodeBorder #1F7AFF
interactive.inactiveCodeBorder #1F7AFF30
keybindingLabel.background #1F7AFF20
keybindingLabel.border #1F7AFF40
keybindingLabel.bottomBorder #1F7AFF60
keybindingLabel.foreground #E2E6EF
keybindingTable.headerBackground #1E2330
keybindingTable.rowsBackground #181C2680
list.activeSelectionBackground #1F7AFF50
list.activeSelectionForeground #E2E6EF
list.activeSelectionIconForeground #E2E6EF
list.deemphasizedForeground #6B759080
list.dropBackground #1F7AFF30
list.dropBetweenBackground #1F7AFF
list.errorForeground #F06060
list.filterMatchBorder #1F7AFF80
list.focusAndSelectionOutline #1F7AFF
list.focusBackground #1F7AFF40
list.focusForeground #E2E6EF
list.focusHighlightForeground #1F7AFF
list.focusOutline #1F7AFF80
list.highlightForeground #1F7AFF
list.hoverBackground #1F7AFF20
list.hoverForeground #E2E6EF
list.inactiveFocusBackground #1F7AFF20
list.inactiveFocusOutline #1F7AFF50
list.inactiveSelectionBackground #1F7AFF30
list.inactiveSelectionForeground #E2E6EF
list.inactiveSelectionIconForeground #E2E6EF
list.invalidItemForeground #F06060
list.warningForeground #E8C84D
listFilterWidget.background #242A38
listFilterWidget.noMatchesOutline #F06060
listFilterWidget.outline #1F7AFF
listFilterWidget.shadow #0A0D1450
markdownAlert.caution.foreground #F06060
markdownAlert.important.foreground #20DCD3
markdownAlert.note.foreground #5A9FFF
markdownAlert.tip.foreground #5BBF7A
markdownAlert.warning.foreground #E8C84D
mcpIcon.starForeground #E8C84D
menu.background #141820
menu.border #1F7AFF20
menu.foreground #E2E6EF
menu.selectionBackground #1F7AFF50
menu.selectionBorder #1F7AFF00
menu.selectionForeground #E2E6EF
menu.separatorBackground #1F7AFF30
menubar.selectionBackground #1F7AFF50
menubar.selectionBorder #1F7AFF00
menubar.selectionForeground #E2E6EF
merge.border #1F7AFF50
merge.commonContentBackground #6B759020
merge.commonHeaderBackground #6B759050
merge.currentContentBackground #5BBF7A20
merge.currentHeaderBackground #5BBF7A50
merge.incomingContentBackground #1F7AFF20
merge.incomingHeaderBackground #1F7AFF50
mergeEditor.change.background #1F7AFF20
mergeEditor.change.word.background #1F7AFF40
mergeEditor.changeBase.background #6B759015
mergeEditor.changeBase.word.background #6B759030
mergeEditor.conflict.handled.minimapOverViewRuler #5BBF7A
mergeEditor.conflict.handledFocused.border #5BBF7A
mergeEditor.conflict.handledUnfocused.border #5BBF7A50
mergeEditor.conflict.input1.background #5BBF7A20
mergeEditor.conflict.input2.background #1F7AFF20
mergeEditor.conflict.unhandled.minimapOverViewRuler #E8C84D
mergeEditor.conflict.unhandledFocused.border #E8C84D
mergeEditor.conflict.unhandledUnfocused.border #E8C84D80
mergeEditor.conflictingLines.background #E8C84D20
minimap.background #181C26
minimap.chatEditHighlight #1F7AFF40
minimap.errorHighlight #F06060
minimap.findMatchHighlight #1F7AFF80
minimap.foregroundOpacity #000000FF
minimap.infoHighlight #5A9FFF
minimap.selectionHighlight #1F7AFF50
minimap.selectionOccurrenceHighlight #1F7AFF40
minimap.warningHighlight #E8C84D
minimapGutter.addedBackground #5BBF7A
minimapGutter.deletedBackground #F06060
minimapGutter.modifiedBackground #5A9FFF
minimapSlider.activeBackground #1F7AFF70
minimapSlider.background #1F7AFF30
minimapSlider.hoverBackground #1F7AFF50
multiDiffEditor.background #181C26
multiDiffEditor.border #1F7AFF20
multiDiffEditor.headerBackground #141820
notebook.cellBorderColor #1F7AFF30
notebook.cellEditorBackground #141820
notebook.cellHoverBackground #242A38
notebook.cellInsertionIndicator #1F7AFF
notebook.cellStatusBarItemHoverBackground #1F7AFF30
notebook.cellToolbarSeparator #1F7AFF20
notebook.editorBackground #181C26
notebook.focusedCellBackground #1E2330
notebook.focusedCellBorder #1F7AFF
notebook.focusedEditorBorder #1F7AFF
notebook.inactiveFocusedCellBorder #1F7AFF50
notebook.inactiveSelectedCellBorder #1F7AFF30
notebook.outputContainerBackgroundColor #10131A
notebook.outputContainerBorderColor #1F7AFF20
notebook.selectedCellBackground #1F7AFF20
notebook.selectedCellBorder #1F7AFF80
notebook.symbolHighlightBackground #1F7AFF30
notebookEditorOverviewRuler.runningCellForeground #1F7AFF
notebookScrollbarSlider.activeBackground #1F7AFF70
notebookScrollbarSlider.background #1F7AFF30
notebookScrollbarSlider.hoverBackground #1F7AFF50
notebookStatusErrorIcon.foreground #F06060
notebookStatusRunningIcon.foreground #1F7AFF
notebookStatusSuccessIcon.foreground #5BBF7A
notificationCenter.border #1F7AFF20
notificationCenterHeader.background #141820
notificationCenterHeader.foreground #E2E6EF
notificationLink.foreground #1F7AFF
notifications.background #141820
notifications.border #1F7AFF20
notifications.foreground #E2E6EF
notificationsErrorIcon.foreground #F06060
notificationsInfoIcon.foreground #5A9FFF
notificationsWarningIcon.foreground #E8C84D
notificationToast.border #1F7AFF20
outputView.background #141820
outputViewStickyScroll.background #141820
panel.background #141820
panel.border #1F7AFF20
panel.dropBorder #1F7AFF
panelInput.border #1F7AFF50
panelSection.border #1F7AFF20
panelSection.dropBackground #1F7AFF30
panelSectionHeader.background #14182080
panelSectionHeader.border #1F7AFF20
panelSectionHeader.foreground #1F7AFF
panelStickyScroll.background #141820
panelStickyScroll.border #1F7AFF20
panelStickyScroll.shadow #0A0D1430
panelTitle.activeBorder #1F7AFF
panelTitle.activeForeground #1F7AFF
panelTitle.border #1F7AFF20
panelTitle.inactiveForeground #6B759080
panelTitleBadge.background #1F7AFF
panelTitleBadge.foreground #E2E6EF
peekView.border #1F7AFF
peekViewEditor.background #181C26
peekViewEditor.matchHighlightBackground #1F7AFF50
peekViewEditor.matchHighlightBorder #1F7AFF80
peekViewEditorGutter.background #181C26
peekViewEditorStickyScroll.background #141820
peekViewEditorStickyScrollGutter.background #141820
peekViewResult.background #141820
peekViewResult.fileForeground #E2E6EF
peekViewResult.lineForeground #6B7590
peekViewResult.matchHighlightBackground #1F7AFF50
peekViewResult.selectionBackground #1F7AFF50
peekViewResult.selectionForeground #E2E6EF
peekViewTitle.background #0A0D14
peekViewTitleDescription.foreground #6B7590
peekViewTitleLabel.foreground #1F7AFF
pickerGroup.border #1F7AFF30
pickerGroup.foreground #1F7AFF
ports.iconRunningProcessForeground #5BBF7A
problemsErrorIcon.foreground #F06060
problemsInfoIcon.foreground #5A9FFF
problemsWarningIcon.foreground #E8C84D
profileBadge.background #1F7AFF
profileBadge.foreground #E2E6EF
profiles.sashBorder #1F7AFF
progressBar.background #1F7AFF
quickInput.background #141820
quickInput.border #1F7AFF30
quickInput.foreground #E2E6EF
quickInputList.focusBackground #1F7AFF40
quickInputList.focusForeground #E2E6EF
quickInputList.focusIconForeground #E2E6EF
quickInputList.hoverBackground #242A38
quickInputTitle.background #1E2330
radio.activeBackground #1F7AFF
radio.activeBorder #1F7AFF
radio.activeForeground #E2E6EF
radio.inactiveBackground #242A38
radio.inactiveBorder #1F7AFF50
radio.inactiveForeground #6B7590
radio.inactiveHoverBackground #242A38
sash.hoverBorder #1F7AFF
scmGraph.foreground1 #1F7AFF
scmGraph.foreground2 #20DCD3
scmGraph.foreground3 #E8A87C
scmGraph.foreground4 #E8C84D
scmGraph.foreground5 #5BBF7A
scmGraph.historyItemBaseRefColor #E8A87C
scmGraph.historyItemHoverAdditionsForeground #5BBF7A
scmGraph.historyItemHoverDeletionsForeground #F06060
scmGraph.historyItemHoverLabelForeground #E2E6EF
scmGraph.historyItemRefColor #1F7AFF
scmGraph.historyItemRemoteRefColor #20DCD3
scrollbar.background #181C2600
scrollbar.shadow #0A0D1450
scrollbarSlider.activeBackground #1F7AFF70
scrollbarSlider.background #1F7AFF30
scrollbarSlider.hoverBackground #1F7AFF50
search.resultsInfoForeground #6B7590
searchEditor.findMatchBackground #1F7AFF40
searchEditor.findMatchBorder #1F7AFF80
searchEditor.textInputBorder #1F7AFF50
selection.background #1F7AFF50
settings.checkboxBackground #242A38
settings.checkboxBorder #1F7AFF50
settings.checkboxForeground #1F7AFF
settings.dropdownBackground #242A38
settings.dropdownBorder #1F7AFF50
settings.dropdownForeground #E2E6EF
settings.dropdownListBorder #1F7AFF30
settings.focusedRowBackground #1F7AFF15
settings.focusedRowBorder #1F7AFF40
settings.headerBorder #1F7AFF20
settings.headerForeground #E2E6EF
settings.modifiedItemIndicator #1F7AFF
settings.numberInputBackground #242A38
settings.numberInputBorder #1F7AFF50
settings.numberInputForeground #E2E6EF
settings.rowHoverBackground #1F7AFF15
settings.sashBorder #1F7AFF
settings.settingsHeaderHoverForeground #1F7AFF
settings.textInputBackground #242A38
settings.textInputBorder #1F7AFF50
settings.textInputForeground #E2E6EF
sideBar.background #141820
sideBar.border #1F7AFF20
sideBar.dropBackground #1F7AFF30
sideBar.foreground #E2E6EF
sideBarActivityBarTop.border #1F7AFF20
sideBarSectionHeader.background #14182080
sideBarSectionHeader.border #1F7AFF20
sideBarSectionHeader.foreground #1F7AFF
sideBarStickyScroll.background #141820
sideBarStickyScroll.border #1F7AFF20
sideBarStickyScroll.shadow #0A0D1430
sideBarTitle.background #141820
sideBarTitle.border #1F7AFF20
sideBarTitle.foreground #1F7AFF
sideBySideEditor.horizontalBorder #1F7AFF20
sideBySideEditor.verticalBorder #1F7AFF20
simpleFindWidget.sashBorder #1F7AFF
statusBar.background #10131A
statusBar.border #10131A
statusBar.debuggingBackground #1F7AFF
statusBar.debuggingBorder #1F7AFF80
statusBar.debuggingForeground #FFFFFF
statusBar.focusBorder #1F7AFF
statusBar.foreground #E2E6EF
statusBar.noFolderBackground #10131A
statusBar.noFolderBorder #10131A
statusBar.noFolderForeground #E2E6EF
statusBarItem.activeBackground #1F7AFF50
statusBarItem.compactHoverBackground #1F7AFF40
statusBarItem.errorBackground #F06060
statusBarItem.errorForeground #E2E6EF
statusBarItem.errorHoverBackground #F06060CC
statusBarItem.errorHoverForeground #E2E6EF
statusBarItem.focusBorder #1F7AFF
statusBarItem.hoverBackground #1F7AFF30
statusBarItem.hoverForeground #E2E6EF
statusBarItem.offlineBackground #6B759080
statusBarItem.offlineForeground #E2E6EF
statusBarItem.offlineHoverBackground #6B759060
statusBarItem.offlineHoverForeground #E2E6EF
statusBarItem.prominentBackground #1F7AFF
statusBarItem.prominentForeground #E2E6EF
statusBarItem.prominentHoverBackground #1766D9
statusBarItem.prominentHoverForeground #E2E6EF
statusBarItem.remoteBackground #20DCD3
statusBarItem.remoteForeground #FFFFFF
statusBarItem.remoteHoverBackground #20DCD3CC
statusBarItem.remoteHoverForeground #FFFFFF
statusBarItem.warningBackground #E8C84D
statusBarItem.warningForeground #10131A
statusBarItem.warningHoverBackground #E8C84DCC
statusBarItem.warningHoverForeground #10131A
symbolIcon.arrayForeground #DA79D0
symbolIcon.booleanForeground #DA79D0
symbolIcon.classForeground #20DCD3
symbolIcon.colorForeground #1F7AFF
symbolIcon.constantForeground #DA79D0
symbolIcon.constructorForeground #5A9FFF
symbolIcon.enumeratorForeground #20DCD3
symbolIcon.enumeratorMemberForeground #DA79D0
symbolIcon.eventForeground #E8C84D
symbolIcon.fieldForeground #1F7AFF
symbolIcon.fileForeground #6B7590
symbolIcon.folderForeground #1F7AFF
symbolIcon.functionForeground #5A9FFF
symbolIcon.interfaceForeground #20DCD3
symbolIcon.keyForeground #1F7AFF
symbolIcon.keywordForeground #20DCD3
symbolIcon.methodForeground #5A9FFF
symbolIcon.moduleForeground #1F7AFF
symbolIcon.namespaceForeground #1F7AFF
symbolIcon.nullForeground #6B759080
symbolIcon.numberForeground #DA79D0
symbolIcon.objectForeground #1F7AFF
symbolIcon.operatorForeground #5A9FFF
symbolIcon.packageForeground #1F7AFF
symbolIcon.propertyForeground #E2E6EF
symbolIcon.referenceForeground #1F7AFF
symbolIcon.snippetForeground #E8A87C
symbolIcon.stringForeground #E8A87C
symbolIcon.structForeground #20DCD3
symbolIcon.textForeground #E2E6EF
symbolIcon.typeParameterForeground #20DCD3
symbolIcon.unitForeground #DA79D0
symbolIcon.variableForeground #E2E6EF
tab.activeBackground #181C26
tab.activeBorder #1F7AFF
tab.activeBorderTop #1F7AFF00
tab.activeForeground #E2E6EF
tab.activeModifiedBorder #5A9FFF
tab.border #1F7AFF20
tab.dragAndDropBorder #1F7AFF
tab.hoverBackground #1E233080
tab.hoverBorder #1F7AFF50
tab.hoverForeground #E2E6EF
tab.inactiveBackground #141820
tab.inactiveForeground #6B759080
tab.inactiveModifiedBorder #5A9FFF80
tab.lastPinnedBorder #1F7AFF40
tab.selectedBackground #181C26
tab.selectedBorderTop #1F7AFF
tab.selectedForeground #E2E6EF
tab.unfocusedActiveBackground #181C26
tab.unfocusedActiveBorder #1F7AFF80
tab.unfocusedActiveBorderTop #1F7AFF00
tab.unfocusedActiveForeground #E2E6EFCC
tab.unfocusedActiveModifiedBorder #5A9FFFCC
tab.unfocusedHoverBackground #1E233060
tab.unfocusedHoverBorder #1F7AFF30
tab.unfocusedHoverForeground #E2E6EFCC
tab.unfocusedInactiveBackground #141820
tab.unfocusedInactiveForeground #6B759060
tab.unfocusedInactiveModifiedBorder #5A9FFF60
terminal.ansiBlack #10131A
terminal.ansiBlue #5A9FFF
terminal.ansiBrightBlack #8892A4
terminal.ansiBrightBlue #7AB4FF
terminal.ansiBrightCyan #40F0E8
terminal.ansiBrightGreen #78D65B
terminal.ansiBrightMagenta #E098DD
terminal.ansiBrightRed #F07070
terminal.ansiBrightWhite #F0F2F8
terminal.ansiBrightYellow #F0D860
terminal.ansiCyan #20DCD3
terminal.ansiGreen #5BBF7A
terminal.ansiMagenta #DA79D0
terminal.ansiRed #F06060
terminal.ansiWhite #E2E6EF
terminal.ansiYellow #E8C84D
terminal.background #181C26
terminal.border #1F7AFF20
terminal.dropBackground #1F7AFF30
terminal.findMatchBackground #1F7AFF80
terminal.findMatchBorder #5A9FFF
terminal.findMatchHighlightBackground #1F7AFF50
terminal.findMatchHighlightBorder #5A9FFF80
terminal.foreground #E2E6EF
terminal.hoverHighlightBackground #1F7AFF30
terminal.inactiveSelectionBackground #1F7AFF30
terminal.initialHintForeground #6B759080
terminal.selectionBackground #1F7AFF50
terminal.selectionForeground #E2E6EF
terminal.tab.activeBorder #1F7AFF
terminalCommandDecoration.defaultBackground #1F7AFF50
terminalCommandDecoration.errorBackground #F0707080
terminalCommandDecoration.successBackground #5BBF7A80
terminalCommandGuide.foreground #1F7AFF30
terminalCursor.background #181C26
terminalCursor.foreground #1F7AFF
terminalOverviewRuler.border #1F7AFF20
terminalOverviewRuler.cursorForeground #1F7AFF
terminalOverviewRuler.findMatchForeground #1F7AFFCC
terminalStickyScroll.background #141820
terminalStickyScroll.border #1F7AFF20
terminalStickyScrollHover.background #242A38
terminalSymbolIcon.aliasForeground #1F7AFF
terminalSymbolIcon.argumentForeground #DA79D0
terminalSymbolIcon.branchForeground #5BBF7A
terminalSymbolIcon.commitForeground #1F7AFF
terminalSymbolIcon.fileForeground #6B7590
terminalSymbolIcon.flagForeground #E8C84D
terminalSymbolIcon.folderForeground #1F7AFF
terminalSymbolIcon.inlineSuggestionForeground #6B759080
terminalSymbolIcon.methodForeground #5A9FFF
terminalSymbolIcon.optionForeground #E2E6EF
terminalSymbolIcon.optionValueForeground #E8A87C
terminalSymbolIcon.pullRequestDoneForeground #5BBF7A
terminalSymbolIcon.pullRequestForeground #1F7AFF
terminalSymbolIcon.remoteForeground #20DCD3
terminalSymbolIcon.stashForeground #5A9FFF
terminalSymbolIcon.symbolicLinkFileForeground #1F7AFF80
terminalSymbolIcon.symbolicLinkFolderForeground #1F7AFF80
terminalSymbolIcon.symbolText #E2E6EF
terminalSymbolIcon.tagForeground #20DCD3
testing.coverCountBadgeBackground #1F7AFF
testing.coverCountBadgeForeground #E2E6EF
testing.coveredBackground #5BBF7A15
testing.coveredBorder #5BBF7A40
testing.coveredGutterBackground #5BBF7A50
testing.iconErrored #F06060
testing.iconErrored.retired #F0606060
testing.iconFailed #F06060
testing.iconFailed.retired #F0606060
testing.iconPassed #5BBF7A
testing.iconPassed.retired #5BBF7A60
testing.iconQueued #E8C84D
testing.iconQueued.retired #E8C84D60
testing.iconSkipped #6B759080
testing.iconSkipped.retired #6B759050
testing.iconUnset #6B759080
testing.iconUnset.retired #6B759050
testing.message.error.badgeBackground #F06060
testing.message.error.badgeBorder #F0606080
testing.message.error.badgeForeground #E2E6EF
testing.message.error.lineBackground #F0606015
testing.message.info.decorationForeground #5A9FFF
testing.message.info.lineBackground #5A9FFF15
testing.messagePeekBorder #5A9FFF
testing.messagePeekHeaderBackground #5A9FFF20
testing.peekBorder #F06060
testing.peekHeaderBackground #F0606020
testing.runAction #5BBF7A
testing.uncoveredBackground #F0606015
testing.uncoveredBorder #F0606040
testing.uncoveredBranchBackground #F0606030
testing.uncoveredGutterBackground #F0606050
textBlockQuote.background #1E2330
textBlockQuote.border #1F7AFF80
textCodeBlock.background #242A38
textLink.activeForeground #1F7AFF
textLink.foreground #1F7AFFCC
textPreformat.background #242A38
textPreformat.border #1F7AFF30
textPreformat.foreground #E8A87C
textSeparator.foreground #1F7AFF30
titleBar.activeBackground #10131A
titleBar.activeForeground #E2E6EF
titleBar.border #10131A
titleBar.inactiveBackground #10131A
titleBar.inactiveForeground #6B759080
toolbar.activeBackground #1F7AFF40
toolbar.hoverBackground #1F7AFF30
toolbar.hoverOutline #1F7AFF00
tree.inactiveIndentGuidesStroke #1F7AFF20
tree.indentGuidesStroke #1F7AFF40
tree.tableColumnsBorder #1F7AFF20
tree.tableOddRowsBackground #181C2650
walkThrough.embeddedEditorBackground #141820
walkthrough.stepTitle.foreground #E2E6EF
welcomePage.background #181C26
welcomePage.progress.background #242A38
welcomePage.progress.foreground #1F7AFF
welcomePage.tileBackground #141820
welcomePage.tileBorder #1F7AFF20
welcomePage.tileHoverBackground #242A38
widget.border #1F7AFF30
widget.shadow #0A0D1450
window.activeBorder #1F7AFF00
window.inactiveBorder #1F7AFF00 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 #5A9FFF —
entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter #F06060 —
entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method #5A9FFF —
meta.block variable.other #E2E6EF —
support.other.variable, string.other.link #E2E6EF —
constant.numeric, constant.language, support.constant, constant.character, constant.escape, variable.parameter, keyword.other.unit, keyword.other #DA79D0 —
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 #E8A87C —
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 #5A9FFF —
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 #5A9FFF —
entity.name.module.js, variable.import.parameter.js, variable.other.class.js #E2E6EF —
variable.language #20DCD3 italic
entity.name.method.js #5A9FFF italic
meta.class-method.js entity.name.function.js, variable.function.constructor #5A9FFF —
entity.other.attribute-name #20DCD3 —
text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name #E8A87C italic
entity.other.attribute-name.class #E8A87C —
source.sass keyword.control #5A9FFF —
constant.character.escape #20DCD3 —
*url*, *link*, *uri* — underline
tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js #5A9FFF italic
source.js constant.other.object.key.js string.unquoted.label.js #E2E6EF italic
source.json meta.structure.dictionary.json support.type.property-name.json #1F7AFF —
source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json #5A9FFF —
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 #E8A87C —
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 #DA79D0 —
text.html.markdown, punctuation.definition.list_item.markdown #E2E6EF —
text.html.markdown markup.inline.raw.markdown #DA79D0 —
text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown #5A9FFF —
markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown #1F7AFF —
markup.italic #20DCD3 italic
markup.bold, markup.bold string #20DCD3 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 #20DCD3 bold
markup.underline #E8A87C underline
markup.quote punctuation.definition.blockquote.markdown #20DCD3 —
string.other.link.title.markdown #5A9FFF —
string.other.link.description.title.markdown #20DCD3 —
constant.other.reference.link.markdown #E8A87C —
markup.raw.block.fenced.markdown #E2E6EF —
punctuation.definition.fenced.markdown #E2E6EF —
markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end #E2E6EF —
variable.language.fenced.markdown #5A9FFF —
meta.separator #1F7AFF bold
Open Editors fetchUser.ts index.ts README.md My-Project src components fetchUser.ts Button.tsx Modal.tsx hooks utils index.ts public package.json tsconfig.json README.md Outline fetchUser.ts
index.ts
README.md
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 $
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}!`;
}