Skip to main content
Home Theme VS Code Banjo Loans A bold VS Code colour theme featuring electric blue accents and deep purple backgrounds, inspired by the Banjo Loans visual identity. Built and published by Lucid Labs on behalf of Banjo Loans. All trademarks belong to their respective owners.
Banjo Loans | Coding Theme
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 #3D7AF540 activityBar.activeBackground #1A102450 activityBar.activeBorder #3D7AF5 activityBar.activeFocusBorder #3D7AF5 activityBar.background #120B1A activityBar.border #120B1A tokenColors TextMate scopes and font styles (syntax highlighting rules).
scope foreground fontStyle comment, punctuation.definition.comment #A4A4B880 italic variable, string constant.other.placeholder #E8E4F0 — constant.other.color #3D7AF5 — invalid, invalid.illegal #E06050 — 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}!`;
}
Banjo Loans — Banjo Dark main*
0 1
Copilot
Ln 5, Col 12
Spaces: 2
UTF-8
LF
TypeScript
Dark+
activityBar.dropBorder #3D7AF5
activityBar.foreground #E8E4F0
activityBar.inactiveForeground #A4A4B880
activityBarBadge.background #0039F6
activityBarBadge.foreground #E8E4F0
activityBarTop.activeBackground #1A102450
activityBarTop.activeBorder #3D7AF5
activityBarTop.background #120B1A
activityBarTop.dropBorder #3D7AF5
activityBarTop.foreground #E8E4F0
activityBarTop.inactiveForeground #A4A4B880
activityErrorBadge.background #E06050
activityErrorBadge.foreground #E8E4F0
activityWarningBadge.background #D8A06C
activityWarningBadge.foreground #E8E4F0
agentSessionReadIndicator.foreground #3D7AF5
agentSessionSelectedBadge.border #3D7AF550
agentSessionSelectedUnfocusedBadge.border #E8E4F050
agentStatusIndicator.background #221838
aiCustomizationManagement.sashBorder #3D7AF5
badge.background #0039F6
badge.foreground #E8E4F0
banner.background #3D7AF5
banner.foreground #E8E4F0
banner.iconForeground #E8E4F0
breadcrumb.activeSelectionForeground #3D7AF5
breadcrumb.background #1A1024
breadcrumb.focusForeground #E8E4F0
breadcrumb.foreground #A4A4B8
breadcrumbPicker.background #160E20
button.background #0039F6
button.border #0039F600
button.foreground #E8E4F0
button.hoverBackground #0030D0
button.secondaryBackground #221838
button.secondaryBorder #3D7AF550
button.secondaryForeground #E8E4F0
button.secondaryHoverBackground #2E2242
button.separator #E8E4F040
charts.blue #3D7AF5
charts.foreground #E8E4F0
charts.green #7ABF5B
charts.lines #A4A4B880
charts.orange #D8A06C
charts.purple #6B9BFF
charts.red #E06050
charts.yellow #D8A06C
chat.avatarBackground #3D7AF5
chat.avatarForeground #1A1024
chat.checkpointSeparator #3D7AF550
chat.editedFileForeground #3D7AF5
chat.inputWorkingBorderColor1 #0039F6
chat.inputWorkingBorderColor2 #2A60D0
chat.inputWorkingBorderColor3 #3D7AF5
chat.linesAddedForeground #7ABF5BCC
chat.linesRemovedForeground #E06050CC
chat.requestBackground #221838
chat.requestBorder #3D7AF550
chat.requestBubbleBackground #221838E6
chat.requestBubbleHoverBackground #2E2242E6
chat.requestCodeBorder #3D7AF530
chat.slashCommandBackground #0039F6
chat.slashCommandForeground #E8E4F0
chat.thinkingShimmer #3D7AF540
chatManagement.sashBorder #3D7AF5
checkbox.background #2A1E38
checkbox.border #3D7AF550
checkbox.disabled.background #2A1E3880
checkbox.disabled.foreground #A4A4B860
checkbox.foreground #3D7AF5
checkbox.selectBackground #2A1E38
checkbox.selectBorder #3D7AF5
commandCenter.activeBackground #E8E4F025
commandCenter.activeBorder #E8E4F050
commandCenter.activeForeground #E8E4F0
commandCenter.background #E8E4F015
commandCenter.border #E8E4F030
commandCenter.debuggingBackground #7ABF5B30
commandCenter.foreground #E8E4F0
commandCenter.inactiveBorder #E8E4F020
commandCenter.inactiveForeground #A4A4B880
commentsView.resolvedIcon #7ABF5B
commentsView.unresolvedIcon #D8A06C
contrastActiveBorder #3D7AF500
contrastBorder #3D7AF500
debugConsole.errorForeground #E06050
debugConsole.infoForeground #3D7AF5
debugConsole.sourceForeground #A4A4B8
debugConsole.warningForeground #D8A06C
debugConsoleInputIcon.foreground #3D7AF5
debugExceptionWidget.background #E0605020
debugExceptionWidget.border #E0605080
debugIcon.breakpointCurrentStackframeForeground #D8A06C
debugIcon.breakpointDisabledForeground #A4A4B880
debugIcon.breakpointForeground #E06050
debugIcon.breakpointStackframeForeground #7ABF5B
debugIcon.breakpointUnverifiedForeground #D8A06C
debugIcon.continueForeground #7ABF5B
debugIcon.disconnectForeground #E06050
debugIcon.pauseForeground #D8A06C
debugIcon.restartForeground #7ABF5B
debugIcon.startForeground #7ABF5B
debugIcon.stepBackForeground #3D7AF5
debugIcon.stepIntoForeground #3D7AF5
debugIcon.stepOutForeground #3D7AF5
debugIcon.stepOverForeground #3D7AF5
debugIcon.stopForeground #E06050
debugTokenExpression.boolean #D8A06C
debugTokenExpression.error #E06050
debugTokenExpression.name #6B9BFF
debugTokenExpression.number #D8A06C
debugTokenExpression.string #B1C5A4
debugTokenExpression.type #6B9BFF
debugTokenExpression.value #B1C5A4
debugToolBar.background #160E20
debugView.exceptionLabelBackground #E0605080
debugView.exceptionLabelForeground #E8E4F0
debugView.stateLabelBackground #3D7AF550
debugView.stateLabelForeground #E8E4F0
debugView.valueChangedHighlight #3D7AF580
descriptionForeground #A4A4B8
diffEditor.border #3D7AF520
diffEditor.diagonalFill #3D7AF520
diffEditor.insertedLineBackground #7ABF5B15
diffEditor.insertedTextBackground #7ABF5B20
diffEditor.insertedTextBorder #7ABF5B50
diffEditor.move.border #3D7AF580
diffEditor.moveActive.border #3D7AF5
diffEditor.removedLineBackground #E0605015
diffEditor.removedTextBackground #E0605020
diffEditor.removedTextBorder #E0605050
diffEditor.unchangedCodeBackground #1A102480
diffEditor.unchangedRegionBackground #160E20
diffEditor.unchangedRegionForeground #A4A4B880
diffEditor.unchangedRegionShadow #0A061030
diffEditorGutter.insertedLineBackground #7ABF5B30
diffEditorGutter.removedLineBackground #E0605030
diffEditorOverview.insertedForeground #7ABF5B80
diffEditorOverview.removedForeground #E0605080
disabledForeground #A4A4B860
dropdown.background #2A1E38
dropdown.border #3D7AF550
dropdown.foreground #E8E4F0
dropdown.listBackground #160E20
editor.background #1A1024
editor.compositionBorder #3D7AF5
editor.findMatchBackground #0039F680
editor.findMatchBorder #0039F6
editor.findMatchForeground #E8E4F0
editor.findMatchHighlightBackground #0039F650
editor.findMatchHighlightBorder #0039F680
editor.findMatchHighlightForeground #E8E4F0
editor.findRangeHighlightBackground #3D7AF520
editor.findRangeHighlightBorder #3D7AF500
editor.focusedStackFrameHighlightBackground #7ABF5B30
editor.foldBackground #3D7AF515
editor.foldPlaceholderForeground #A4A4B880
editor.foreground #E8E4F0
editor.hoverHighlightBackground #3D7AF525
editor.inactiveLineHighlightBackground #2A1E3880
editor.inactiveSelectionBackground #3D7AF530
editor.inlineValuesBackground #3D7AF515
editor.inlineValuesForeground #A4A4B8CC
editor.lineHighlightBackground #2A1E38
editor.lineHighlightBorder #3D7AF515
editor.linkedEditingBackground #3D7AF530
editor.placeholder.foreground #A4A4B880
editor.rangeHighlightBackground #3D7AF515
editor.rangeHighlightBorder #3D7AF500
editor.selectionBackground #3D7AF550
editor.selectionForeground #E8E4F0
editor.selectionHighlightBackground #3D7AF530
editor.selectionHighlightBorder #3D7AF550
editor.stackFrameHighlightBackground #D8A06C30
editor.symbolHighlightBackground #3D7AF530
editor.symbolHighlightBorder #3D7AF550
editor.wordHighlightBackground #3D7AF530
editor.wordHighlightBorder #3D7AF550
editor.wordHighlightStrongBackground #3D7AF550
editor.wordHighlightStrongBorder #3D7AF580
editor.wordHighlightTextBackground #3D7AF520
editor.wordHighlightTextBorder #3D7AF540
editorActionList.background #160E20
editorActionList.focusBackground #3D7AF540
editorActionList.focusForeground #E8E4F0
editorActionList.foreground #E8E4F0
editorBracketHighlight.foreground1 #3D7AF5
editorBracketHighlight.foreground2 #D8613C
editorBracketHighlight.foreground3 #D8A06C
editorBracketHighlight.foreground4 #7ABF5B
editorBracketHighlight.foreground5 #C06BDA
editorBracketHighlight.foreground6 #B1C5A4
editorBracketHighlight.unexpectedBracket.foreground #E06050
editorBracketMatch.border #3D7AF580
editorBracketMatch.foreground #3D7AF5
editorBracketPairGuide.activeBackground1 #3D7AF580
editorBracketPairGuide.activeBackground2 #D8613C80
editorBracketPairGuide.activeBackground3 #D8A06C80
editorBracketPairGuide.activeBackground4 #7ABF5B80
editorBracketPairGuide.activeBackground5 #C06BDA80
editorBracketPairGuide.activeBackground6 #B1C5A480
editorBracketPairGuide.background1 #3D7AF540
editorBracketPairGuide.background2 #D8613C40
editorBracketPairGuide.background3 #D8A06C40
editorBracketPairGuide.background4 #7ABF5B40
editorBracketPairGuide.background5 #C06BDA40
editorBracketPairGuide.background6 #B1C5A440
editorCodeLens.foreground #A4A4B880
editorCommentsWidget.rangeActiveBackground #3D7AF520
editorCommentsWidget.rangeBackground #3D7AF510
editorCommentsWidget.replyInputBackground #2A1E38
editorCommentsWidget.resolvedBorder #7ABF5B50
editorCommentsWidget.unresolvedBorder #D8A06C
editorCursor.background #1A1024
editorCursor.foreground #3D7AF5
editorError.background #E0605015
editorError.border #E0605000
editorError.foreground #E06050
editorGhostText.background #3D7AF500
editorGhostText.border #3D7AF500
editorGhostText.foreground #3D7AF580
editorGroup.border #3D7AF520
editorGroup.dropBackground #3D7AF530
editorGroup.dropIntoPromptBackground #160E20
editorGroup.dropIntoPromptBorder #3D7AF550
editorGroup.dropIntoPromptForeground #E8E4F0
editorGroup.emptyBackground #1A1024
editorGroup.focusedEmptyBorder #3D7AF550
editorGroupHeader.border #3D7AF520
editorGroupHeader.noTabsBackground #1A1024
editorGroupHeader.tabsBackground #160E20
editorGroupHeader.tabsBorder #3D7AF520
editorGutter.addedBackground #7ABF5B
editorGutter.addedSecondaryBackground #7ABF5B80
editorGutter.background #1A1024
editorGutter.commentDraftGlyphForeground #3D7AF580
editorGutter.commentGlyphForeground #3D7AF5
editorGutter.commentRangeForeground #A4A4B850
editorGutter.commentUnresolvedGlyphForeground #D8A06C
editorGutter.deletedBackground #E06050
editorGutter.deletedSecondaryBackground #E0605080
editorGutter.foldingControlForeground #A4A4B880
editorGutter.itemBackground #160E20
editorGutter.itemGlyphForeground #3D7AF5
editorGutter.modifiedBackground #3D7AF5
editorGutter.modifiedSecondaryBackground #3D7AF580
editorHint.border #7ABF5B00
editorHint.foreground #7ABF5B
editorHoverWidget.background #160E20
editorHoverWidget.border #3D7AF550
editorHoverWidget.foreground #E8E4F0
editorHoverWidget.highlightForeground #3D7AF5
editorHoverWidget.statusBarBackground #221838
editorIndentGuide.activeBackground1 #3D7AF5
editorIndentGuide.activeBackground2 #D8613C
editorIndentGuide.activeBackground3 #D8A06C
editorIndentGuide.activeBackground4 #7ABF5B
editorIndentGuide.activeBackground5 #C06BDA
editorIndentGuide.activeBackground6 #B1C5A4
editorIndentGuide.background1 #3D7AF525
editorIndentGuide.background2 #D8613C25
editorIndentGuide.background3 #D8A06C25
editorIndentGuide.background4 #7ABF5B25
editorIndentGuide.background5 #C06BDA25
editorIndentGuide.background6 #B1C5A425
editorInfo.background #3D7AF515
editorInfo.border #3D7AF500
editorInfo.foreground #3D7AF5
editorInlayHint.background #2A1E38
editorInlayHint.foreground #A4A4B8
editorInlayHint.parameterBackground #2A1E38
editorInlayHint.parameterForeground #A4A4B8
editorInlayHint.typeBackground #2A1E38
editorInlayHint.typeForeground #B1C5A4
editorLightBulb.foreground #D8A06C
editorLightBulbAi.foreground #3D7AF5
editorLightBulbAutoFix.foreground #7ABF5B
editorLineNumber.activeForeground #3D7AF5
editorLineNumber.dimmedForeground #A4A4B850
editorLineNumber.foreground #A4A4B8
editorLink.activeForeground #3D7AF5
editorMarkerNavigation.background #160E20
editorMarkerNavigationError.background #E0605030
editorMarkerNavigationError.headerBackground #E0605020
editorMarkerNavigationInfo.background #3D7AF530
editorMarkerNavigationInfo.headerBackground #3D7AF520
editorMarkerNavigationWarning.background #D8A06C30
editorMarkerNavigationWarning.headerBackground #D8A06C20
editorMinimap.inlineChatInserted #7ABF5B40
editorMinimap.inlineChatRemoved #E0605040
editorMultiCursor.primary.background #1A1024
editorMultiCursor.primary.foreground #3D7AF5
editorMultiCursor.secondary.background #1A1024
editorMultiCursor.secondary.foreground #6B9BFF
editorOverviewRuler.addedForeground #7ABF5B
editorOverviewRuler.background #1A1024
editorOverviewRuler.border #3D7AF520
editorOverviewRuler.bracketMatchForeground #3D7AF580
editorOverviewRuler.commentDraftForeground #3D7AF560
editorOverviewRuler.commentForeground #3D7AF540
editorOverviewRuler.commentUnresolvedForeground #D8A06C80
editorOverviewRuler.commonContentForeground #A4A4B850
editorOverviewRuler.currentContentForeground #7ABF5B80
editorOverviewRuler.deletedForeground #E06050
editorOverviewRuler.errorForeground #E06050
editorOverviewRuler.findMatchForeground #3D7AF5CC
editorOverviewRuler.incomingContentForeground #0039F680
editorOverviewRuler.infoForeground #3D7AF5
editorOverviewRuler.inlineChatInserted #7ABF5B80
editorOverviewRuler.inlineChatRemoved #E0605080
editorOverviewRuler.modifiedForeground #3D7AF5
editorOverviewRuler.rangeHighlightForeground #3D7AF599
editorOverviewRuler.selectionHighlightForeground #3D7AF599
editorOverviewRuler.warningForeground #D8A06C
editorOverviewRuler.wordHighlightForeground #3D7AF599
editorOverviewRuler.wordHighlightStrongForeground #3D7AF5CC
editorOverviewRuler.wordHighlightTextForeground #3D7AF580
editorPane.background #1A1024
editorRuler.foreground #A4A4B830
editorSnippetFinalTabstopHighlightBackground #7ABF5B30
editorSnippetFinalTabstopHighlightBorder #7ABF5B00
editorSnippetTabstopHighlightBackground #3D7AF530
editorSnippetTabstopHighlightBorder #3D7AF500
editorStickyScroll.background #160E20
editorStickyScroll.border #3D7AF520
editorStickyScroll.shadow #0A061030
editorStickyScrollGutter.background #160E20
editorStickyScrollHover.background #2E2242
editorSuggestWidget.background #160E20
editorSuggestWidget.border #3D7AF550
editorSuggestWidget.focusHighlightForeground #3D7AF5
editorSuggestWidget.foreground #E8E4F0
editorSuggestWidget.highlightForeground #3D7AF5
editorSuggestWidget.selectedBackground #3D7AF550
editorSuggestWidget.selectedForeground #E8E4F0
editorSuggestWidget.selectedIconForeground #E8E4F0
editorSuggestWidgetStatus.foreground #A4A4B880
editorUnicodeHighlight.background #D8A06C20
editorUnicodeHighlight.border #D8A06C
editorUnnecessaryCode.border #A4A4B850
editorUnnecessaryCode.opacity #000000AA
editorWarning.background #D8A06C15
editorWarning.border #D8A06C00
editorWarning.foreground #D8A06C
editorWhitespace.foreground #A4A4B850
editorWidget.background #160E20
editorWidget.border #3D7AF550
editorWidget.foreground #E8E4F0
editorWidget.resizeBorder #3D7AF5
errorForeground #E06050
extensionBadge.remoteBackground #3D7AF5
extensionBadge.remoteForeground #E8E4F0
extensionButton.background #3D7AF5
extensionButton.border #3D7AF500
extensionButton.foreground #E8E4F0
extensionButton.hoverBackground #2A60D0
extensionButton.prominentBackground #3D7AF5
extensionButton.prominentForeground #E8E4F0
extensionButton.prominentHoverBackground #2A60D0
extensionButton.separator #E8E4F040
extensionIcon.preReleaseForeground #3D7AF5
extensionIcon.privateForeground #A4A4B880
extensionIcon.sponsorForeground #6B9BFF
extensionIcon.starForeground #D8A06C
extensionIcon.verifiedForeground #7ABF5B
focusBorder #3D7AF5
foreground #E8E4F0
gauge.background #160E20
gauge.border #3D7AF530
gauge.errorBackground #E0605030
gauge.errorForeground #E06050
gauge.foreground #E8E4F0
gauge.warningBackground #D8A06C30
gauge.warningForeground #D8A06C
git.blame.editorDecorationForeground #A4A4B860
gitDecoration.addedResourceForeground #7ABF5B
gitDecoration.conflictingResourceForeground #D8A06C
gitDecoration.deletedResourceForeground #E06050
gitDecoration.ignoredResourceForeground #A4A4B880
gitDecoration.modifiedResourceForeground #3D7AF5
gitDecoration.renamedResourceForeground #3D7AF5
gitDecoration.stageDeletedResourceForeground #E06050CC
gitDecoration.stageModifiedResourceForeground #3D7AF5CC
gitDecoration.submoduleResourceForeground #B1C5A4
gitDecoration.untrackedResourceForeground #7ABF5B
icon.foreground #3D7AF5
inlineChat.background #160E20
inlineChat.border #3D7AF550
inlineChat.foreground #E8E4F0
inlineChat.shadow #0A061080
inlineChatDiff.inserted #7ABF5B30
inlineChatDiff.removed #E0605030
inlineChatInput.background #2A1E38
inlineChatInput.border #3D7AF550
inlineChatInput.focusBorder #3D7AF5
inlineChatInput.placeholderForeground #A4A4B880
inlineEdit.gutterIndicator.background #160E20
inlineEdit.gutterIndicator.primaryBackground #3D7AF520
inlineEdit.gutterIndicator.primaryBorder #3D7AF5
inlineEdit.gutterIndicator.primaryForeground #3D7AF5
inlineEdit.gutterIndicator.secondaryBackground #6B9BFF20
inlineEdit.gutterIndicator.secondaryBorder #6B9BFF
inlineEdit.gutterIndicator.secondaryForeground #6B9BFF
inlineEdit.gutterIndicator.successfulBackground #7ABF5B20
inlineEdit.gutterIndicator.successfulBorder #7ABF5B
inlineEdit.gutterIndicator.successfulForeground #7ABF5B
inlineEdit.modifiedBackground #3D7AF515
inlineEdit.modifiedBorder #3D7AF550
inlineEdit.modifiedChangedLineBackground #3D7AF520
inlineEdit.modifiedChangedTextBackground #3D7AF530
inlineEdit.originalBackground #E0605010
inlineEdit.originalBorder #E0605030
inlineEdit.originalChangedLineBackground #E0605015
inlineEdit.originalChangedTextBackground #E0605025
inlineEdit.tabWillAcceptModifiedBorder #7ABF5B80
inlineEdit.tabWillAcceptOriginalBorder #E0605050
input.background #2A1E38
input.border #3D7AF550
input.foreground #E8E4F0
input.placeholderForeground #A4A4B880
inputOption.activeBackground #3D7AF540
inputOption.activeBorder #3D7AF5
inputOption.activeForeground #E8E4F0
inputOption.hoverBackground #3D7AF520
inputValidation.errorBackground #E0605020
inputValidation.errorBorder #E06050
inputValidation.errorForeground #E06050
inputValidation.infoBackground #3D7AF520
inputValidation.infoBorder #3D7AF5
inputValidation.infoForeground #3D7AF5
inputValidation.warningBackground #D8A06C20
inputValidation.warningBorder #D8A06C
inputValidation.warningForeground #D8A06C
interactive.activeCodeBorder #3D7AF5
interactive.inactiveCodeBorder #3D7AF530
keybindingLabel.background #3D7AF520
keybindingLabel.border #3D7AF540
keybindingLabel.bottomBorder #3D7AF560
keybindingLabel.foreground #E8E4F0
keybindingTable.headerBackground #221838
keybindingTable.rowsBackground #1A102480
list.activeSelectionBackground #3D7AF550
list.activeSelectionForeground #E8E4F0
list.activeSelectionIconForeground #E8E4F0
list.deemphasizedForeground #A4A4B880
list.dropBackground #3D7AF530
list.dropBetweenBackground #3D7AF5
list.errorForeground #E06050
list.filterMatchBorder #3D7AF580
list.focusAndSelectionOutline #3D7AF5
list.focusBackground #3D7AF540
list.focusForeground #E8E4F0
list.focusHighlightForeground #3D7AF5
list.focusOutline #3D7AF580
list.highlightForeground #3D7AF5
list.hoverBackground #3D7AF520
list.hoverForeground #E8E4F0
list.inactiveFocusBackground #3D7AF520
list.inactiveFocusOutline #3D7AF550
list.inactiveSelectionBackground #3D7AF530
list.inactiveSelectionForeground #E8E4F0
list.inactiveSelectionIconForeground #E8E4F0
list.invalidItemForeground #E06050
list.warningForeground #D8A06C
listFilterWidget.background #2A1E38
listFilterWidget.noMatchesOutline #E06050
listFilterWidget.outline #3D7AF5
listFilterWidget.shadow #0A061050
markdownAlert.caution.foreground #E06050
markdownAlert.important.foreground #6B9BFF
markdownAlert.note.foreground #3D7AF5
markdownAlert.tip.foreground #7ABF5B
markdownAlert.warning.foreground #D8A06C
mcpIcon.starForeground #D8A06C
menu.background #160E20
menu.border #3D7AF520
menu.foreground #E8E4F0
menu.selectionBackground #3D7AF550
menu.selectionBorder #3D7AF500
menu.selectionForeground #E8E4F0
menu.separatorBackground #3D7AF530
menubar.selectionBackground #3D7AF550
menubar.selectionBorder #3D7AF500
menubar.selectionForeground #E8E4F0
merge.border #3D7AF550
merge.commonContentBackground #A4A4B820
merge.commonHeaderBackground #A4A4B850
merge.currentContentBackground #7ABF5B20
merge.currentHeaderBackground #7ABF5B50
merge.incomingContentBackground #0039F620
merge.incomingHeaderBackground #0039F650
mergeEditor.change.background #3D7AF520
mergeEditor.change.word.background #3D7AF540
mergeEditor.changeBase.background #A4A4B815
mergeEditor.changeBase.word.background #A4A4B830
mergeEditor.conflict.handled.minimapOverViewRuler #7ABF5B
mergeEditor.conflict.handledFocused.border #7ABF5B
mergeEditor.conflict.handledUnfocused.border #7ABF5B50
mergeEditor.conflict.input1.background #7ABF5B20
mergeEditor.conflict.input2.background #0039F620
mergeEditor.conflict.unhandled.minimapOverViewRuler #D8A06C
mergeEditor.conflict.unhandledFocused.border #D8A06C
mergeEditor.conflict.unhandledUnfocused.border #D8A06C80
mergeEditor.conflictingLines.background #D8A06C20
minimap.background #1A1024
minimap.chatEditHighlight #3D7AF540
minimap.errorHighlight #E06050
minimap.findMatchHighlight #3D7AF580
minimap.foregroundOpacity #000000FF
minimap.infoHighlight #3D7AF5
minimap.selectionHighlight #3D7AF550
minimap.selectionOccurrenceHighlight #3D7AF540
minimap.warningHighlight #D8A06C
minimapGutter.addedBackground #7ABF5B
minimapGutter.deletedBackground #E06050
minimapGutter.modifiedBackground #3D7AF5
minimapSlider.activeBackground #3D7AF570
minimapSlider.background #3D7AF530
minimapSlider.hoverBackground #3D7AF550
multiDiffEditor.background #1A1024
multiDiffEditor.border #3D7AF520
multiDiffEditor.headerBackground #160E20
notebook.cellBorderColor #3D7AF530
notebook.cellEditorBackground #160E20
notebook.cellHoverBackground #2E2242
notebook.cellInsertionIndicator #3D7AF5
notebook.cellStatusBarItemHoverBackground #3D7AF530
notebook.cellToolbarSeparator #3D7AF520
notebook.editorBackground #1A1024
notebook.focusedCellBackground #221838
notebook.focusedCellBorder #3D7AF5
notebook.focusedEditorBorder #3D7AF5
notebook.inactiveFocusedCellBorder #3D7AF550
notebook.inactiveSelectedCellBorder #3D7AF530
notebook.outputContainerBackgroundColor #120B1A
notebook.outputContainerBorderColor #3D7AF520
notebook.selectedCellBackground #3D7AF520
notebook.selectedCellBorder #3D7AF580
notebook.symbolHighlightBackground #3D7AF530
notebookEditorOverviewRuler.runningCellForeground #3D7AF5
notebookScrollbarSlider.activeBackground #3D7AF570
notebookScrollbarSlider.background #3D7AF530
notebookScrollbarSlider.hoverBackground #3D7AF550
notebookStatusErrorIcon.foreground #E06050
notebookStatusRunningIcon.foreground #3D7AF5
notebookStatusSuccessIcon.foreground #7ABF5B
notificationCenter.border #3D7AF520
notificationCenterHeader.background #160E20
notificationCenterHeader.foreground #E8E4F0
notificationLink.foreground #3D7AF5
notifications.background #160E20
notifications.border #3D7AF520
notifications.foreground #E8E4F0
notificationsErrorIcon.foreground #E06050
notificationsInfoIcon.foreground #3D7AF5
notificationsWarningIcon.foreground #D8A06C
notificationToast.border #3D7AF520
outputView.background #160E20
outputViewStickyScroll.background #160E20
panel.background #160E20
panel.border #3D7AF520
panel.dropBorder #3D7AF5
panelInput.border #3D7AF550
panelSection.border #3D7AF520
panelSection.dropBackground #3D7AF530
panelSectionHeader.background #1A102480
panelSectionHeader.border #3D7AF520
panelSectionHeader.foreground #3D7AF5
panelStickyScroll.background #160E20
panelStickyScroll.border #3D7AF520
panelStickyScroll.shadow #0A061030
panelTitle.activeBorder #3D7AF5
panelTitle.activeForeground #3D7AF5
panelTitle.border #3D7AF520
panelTitle.inactiveForeground #A4A4B880
panelTitleBadge.background #0039F6
panelTitleBadge.foreground #E8E4F0
peekView.border #3D7AF5
peekViewEditor.background #1A1024
peekViewEditor.matchHighlightBackground #3D7AF550
peekViewEditor.matchHighlightBorder #3D7AF580
peekViewEditorGutter.background #1A1024
peekViewEditorStickyScroll.background #160E20
peekViewEditorStickyScrollGutter.background #160E20
peekViewResult.background #160E20
peekViewResult.fileForeground #E8E4F0
peekViewResult.lineForeground #A4A4B8
peekViewResult.matchHighlightBackground #3D7AF550
peekViewResult.selectionBackground #3D7AF550
peekViewResult.selectionForeground #E8E4F0
peekViewTitle.background #0A0610
peekViewTitleDescription.foreground #A4A4B8
peekViewTitleLabel.foreground #3D7AF5
pickerGroup.border #3D7AF530
pickerGroup.foreground #3D7AF5
ports.iconRunningProcessForeground #7ABF5B
problemsErrorIcon.foreground #E06050
problemsInfoIcon.foreground #3D7AF5
problemsWarningIcon.foreground #D8A06C
profileBadge.background #3D7AF5
profileBadge.foreground #E8E4F0
profiles.sashBorder #3D7AF5
progressBar.background #3D7AF5
quickInput.background #160E20
quickInput.border #3D7AF530
quickInput.foreground #E8E4F0
quickInputList.focusBackground #3D7AF540
quickInputList.focusForeground #E8E4F0
quickInputList.focusIconForeground #E8E4F0
quickInputList.hoverBackground #2E2242
quickInputTitle.background #221838
radio.activeBackground #3D7AF5
radio.activeBorder #3D7AF5
radio.activeForeground #E8E4F0
radio.inactiveBackground #2A1E38
radio.inactiveBorder #3D7AF550
radio.inactiveForeground #A4A4B8
radio.inactiveHoverBackground #2E2242
sash.hoverBorder #3D7AF5
scmGraph.foreground1 #3D7AF5
scmGraph.foreground2 #6B9BFF
scmGraph.foreground3 #B1C5A4
scmGraph.foreground4 #D8A06C
scmGraph.foreground5 #7ABF5B
scmGraph.historyItemBaseRefColor #B1C5A4
scmGraph.historyItemHoverAdditionsForeground #7ABF5B
scmGraph.historyItemHoverDeletionsForeground #E06050
scmGraph.historyItemHoverLabelForeground #E8E4F0
scmGraph.historyItemRefColor #3D7AF5
scmGraph.historyItemRemoteRefColor #6B9BFF
scrollbar.background #1A102400
scrollbar.shadow #0A061050
scrollbarSlider.activeBackground #3D7AF570
scrollbarSlider.background #3D7AF530
scrollbarSlider.hoverBackground #3D7AF550
search.resultsInfoForeground #A4A4B8
searchEditor.findMatchBackground #3D7AF540
searchEditor.findMatchBorder #3D7AF580
searchEditor.textInputBorder #3D7AF550
selection.background #3D7AF550
settings.checkboxBackground #2A1E38
settings.checkboxBorder #3D7AF550
settings.checkboxForeground #3D7AF5
settings.dropdownBackground #2A1E38
settings.dropdownBorder #3D7AF550
settings.dropdownForeground #E8E4F0
settings.dropdownListBorder #3D7AF530
settings.focusedRowBackground #3D7AF515
settings.focusedRowBorder #3D7AF540
settings.headerBorder #3D7AF520
settings.headerForeground #E8E4F0
settings.modifiedItemIndicator #3D7AF5
settings.numberInputBackground #2A1E38
settings.numberInputBorder #3D7AF550
settings.numberInputForeground #E8E4F0
settings.rowHoverBackground #3D7AF515
settings.sashBorder #3D7AF5
settings.settingsHeaderHoverForeground #3D7AF5
settings.textInputBackground #2A1E38
settings.textInputBorder #3D7AF550
settings.textInputForeground #E8E4F0
sideBar.background #160E20
sideBar.border #3D7AF520
sideBar.dropBackground #3D7AF530
sideBar.foreground #E8E4F0
sideBarActivityBarTop.border #3D7AF520
sideBarSectionHeader.background #1A102480
sideBarSectionHeader.border #3D7AF520
sideBarSectionHeader.foreground #3D7AF5
sideBarStickyScroll.background #160E20
sideBarStickyScroll.border #3D7AF520
sideBarStickyScroll.shadow #0A061030
sideBarTitle.background #160E20
sideBarTitle.border #3D7AF520
sideBarTitle.foreground #3D7AF5
sideBySideEditor.horizontalBorder #3D7AF520
sideBySideEditor.verticalBorder #3D7AF520
simpleFindWidget.sashBorder #3D7AF5
statusBar.background #120B1A
statusBar.border #120B1A
statusBar.debuggingBackground #7ABF5B
statusBar.debuggingBorder #7ABF5B80
statusBar.debuggingForeground #1A1024
statusBar.focusBorder #3D7AF5
statusBar.foreground #E8E4F0
statusBar.noFolderBackground #120B1A
statusBar.noFolderBorder #120B1A
statusBar.noFolderForeground #E8E4F0
statusBarItem.activeBackground #3D7AF550
statusBarItem.compactHoverBackground #3D7AF540
statusBarItem.errorBackground #E06050
statusBarItem.errorForeground #E8E4F0
statusBarItem.errorHoverBackground #E06050CC
statusBarItem.errorHoverForeground #E8E4F0
statusBarItem.focusBorder #3D7AF5
statusBarItem.hoverBackground #3D7AF530
statusBarItem.hoverForeground #E8E4F0
statusBarItem.offlineBackground #A4A4B880
statusBarItem.offlineForeground #E8E4F0
statusBarItem.offlineHoverBackground #A4A4B860
statusBarItem.offlineHoverForeground #E8E4F0
statusBarItem.prominentBackground #0039F6
statusBarItem.prominentForeground #E8E4F0
statusBarItem.prominentHoverBackground #0030D0
statusBarItem.prominentHoverForeground #E8E4F0
statusBarItem.remoteBackground #6B9BFF
statusBarItem.remoteForeground #1A1024
statusBarItem.remoteHoverBackground #6B9BFFCC
statusBarItem.remoteHoverForeground #1A1024
statusBarItem.warningBackground #D8A06C
statusBarItem.warningForeground #120B1A
statusBarItem.warningHoverBackground #D8A06CCC
statusBarItem.warningHoverForeground #120B1A
symbolIcon.arrayForeground #D8A06C
symbolIcon.booleanForeground #D8A06C
symbolIcon.classForeground #6B9BFF
symbolIcon.colorForeground #3D7AF5
symbolIcon.constantForeground #D8A06C
symbolIcon.constructorForeground #3D7AF5
symbolIcon.enumeratorForeground #6B9BFF
symbolIcon.enumeratorMemberForeground #D8A06C
symbolIcon.eventForeground #D8A06C
symbolIcon.fieldForeground #3D7AF5
symbolIcon.fileForeground #A4A4B8
symbolIcon.folderForeground #3D7AF5
symbolIcon.functionForeground #3D7AF5
symbolIcon.interfaceForeground #6B9BFF
symbolIcon.keyForeground #3D7AF5
symbolIcon.keywordForeground #6B9BFF
symbolIcon.methodForeground #3D7AF5
symbolIcon.moduleForeground #3D7AF5
symbolIcon.namespaceForeground #3D7AF5
symbolIcon.nullForeground #A4A4B880
symbolIcon.numberForeground #D8A06C
symbolIcon.objectForeground #3D7AF5
symbolIcon.operatorForeground #3D7AF5
symbolIcon.packageForeground #3D7AF5
symbolIcon.propertyForeground #E8E4F0
symbolIcon.referenceForeground #3D7AF5
symbolIcon.snippetForeground #B1C5A4
symbolIcon.stringForeground #B1C5A4
symbolIcon.structForeground #6B9BFF
symbolIcon.textForeground #E8E4F0
symbolIcon.typeParameterForeground #6B9BFF
symbolIcon.unitForeground #D8A06C
symbolIcon.variableForeground #E8E4F0
tab.activeBackground #1A1024
tab.activeBorder #3D7AF5
tab.activeBorderTop #3D7AF500
tab.activeForeground #E8E4F0
tab.activeModifiedBorder #3D7AF5
tab.border #3D7AF520
tab.dragAndDropBorder #3D7AF5
tab.hoverBackground #1A102480
tab.hoverBorder #3D7AF550
tab.hoverForeground #E8E4F0
tab.inactiveBackground #160E20
tab.inactiveForeground #A4A4B880
tab.inactiveModifiedBorder #3D7AF580
tab.lastPinnedBorder #3D7AF540
tab.selectedBackground #1A1024
tab.selectedBorderTop #3D7AF5
tab.selectedForeground #E8E4F0
tab.unfocusedActiveBackground #1A1024
tab.unfocusedActiveBorder #3D7AF580
tab.unfocusedActiveBorderTop #3D7AF500
tab.unfocusedActiveForeground #E8E4F0CC
tab.unfocusedActiveModifiedBorder #3D7AF5CC
tab.unfocusedHoverBackground #1A102460
tab.unfocusedHoverBorder #3D7AF530
tab.unfocusedHoverForeground #E8E4F0CC
tab.unfocusedInactiveBackground #160E20
tab.unfocusedInactiveForeground #A4A4B860
tab.unfocusedInactiveModifiedBorder #3D7AF560
terminal.ansiBlack #0A0610
terminal.ansiBlue #3D7AF5
terminal.ansiBrightBlack #999999
terminal.ansiBrightBlue #6B9BFF
terminal.ansiBrightCyan #78D0D4
terminal.ansiBrightGreen #90D470
terminal.ansiBrightMagenta #D898E8
terminal.ansiBrightRed #E87272
terminal.ansiBrightWhite #F0ECF8
terminal.ansiBrightYellow #E8C070
terminal.ansiCyan #5BB8BF
terminal.ansiGreen #7ABF5B
terminal.ansiMagenta #C06BDA
terminal.ansiRed #E06050
terminal.ansiWhite #E8E4F0
terminal.ansiYellow #D8A06C
terminal.background #1A1024
terminal.border #3D7AF520
terminal.dropBackground #3D7AF530
terminal.findMatchBackground #0039F680
terminal.findMatchBorder #3D7AF5
terminal.findMatchHighlightBackground #0039F650
terminal.findMatchHighlightBorder #3D7AF580
terminal.foreground #E8E4F0
terminal.hoverHighlightBackground #3D7AF530
terminal.inactiveSelectionBackground #3D7AF530
terminal.initialHintForeground #A4A4B880
terminal.selectionBackground #3D7AF550
terminal.selectionForeground #E8E4F0
terminal.tab.activeBorder #3D7AF5
terminalCommandDecoration.defaultBackground #3D7AF550
terminalCommandDecoration.errorBackground #E0605080
terminalCommandDecoration.successBackground #7ABF5B80
terminalCommandGuide.foreground #3D7AF530
terminalCursor.background #1A1024
terminalCursor.foreground #3D7AF5
terminalOverviewRuler.border #3D7AF520
terminalOverviewRuler.cursorForeground #3D7AF5
terminalOverviewRuler.findMatchForeground #3D7AF5CC
terminalStickyScroll.background #160E20
terminalStickyScroll.border #3D7AF520
terminalStickyScrollHover.background #2E2242
terminalSymbolIcon.aliasForeground #3D7AF5
terminalSymbolIcon.argumentForeground #D8A06C
terminalSymbolIcon.branchForeground #7ABF5B
terminalSymbolIcon.commitForeground #3D7AF5
terminalSymbolIcon.fileForeground #A4A4B8
terminalSymbolIcon.flagForeground #D8A06C
terminalSymbolIcon.folderForeground #3D7AF5
terminalSymbolIcon.inlineSuggestionForeground #A4A4B880
terminalSymbolIcon.methodForeground #3D7AF5
terminalSymbolIcon.optionForeground #E8E4F0
terminalSymbolIcon.optionValueForeground #B1C5A4
terminalSymbolIcon.pullRequestDoneForeground #7ABF5B
terminalSymbolIcon.pullRequestForeground #3D7AF5
terminalSymbolIcon.remoteForeground #6B9BFF
terminalSymbolIcon.stashForeground #3D7AF5
terminalSymbolIcon.symbolicLinkFileForeground #3D7AF580
terminalSymbolIcon.symbolicLinkFolderForeground #3D7AF580
terminalSymbolIcon.symbolText #E8E4F0
terminalSymbolIcon.tagForeground #6B9BFF
testing.coverCountBadgeBackground #3D7AF5
testing.coverCountBadgeForeground #E8E4F0
testing.coveredBackground #7ABF5B15
testing.coveredBorder #7ABF5B40
testing.coveredGutterBackground #7ABF5B50
testing.iconErrored #E06050
testing.iconErrored.retired #E0605060
testing.iconFailed #E06050
testing.iconFailed.retired #E0605060
testing.iconPassed #7ABF5B
testing.iconPassed.retired #7ABF5B60
testing.iconQueued #D8A06C
testing.iconQueued.retired #D8A06C60
testing.iconSkipped #A4A4B880
testing.iconSkipped.retired #A4A4B850
testing.iconUnset #A4A4B880
testing.iconUnset.retired #A4A4B850
testing.message.error.badgeBackground #E06050
testing.message.error.badgeBorder #E0605080
testing.message.error.badgeForeground #E8E4F0
testing.message.error.lineBackground #E0605015
testing.message.info.decorationForeground #3D7AF5
testing.message.info.lineBackground #3D7AF515
testing.messagePeekBorder #3D7AF5
testing.messagePeekHeaderBackground #3D7AF520
testing.peekBorder #E06050
testing.peekHeaderBackground #E0605020
testing.runAction #7ABF5B
testing.uncoveredBackground #E0605015
testing.uncoveredBorder #E0605040
testing.uncoveredBranchBackground #E0605030
testing.uncoveredGutterBackground #E0605050
textBlockQuote.background #221838
textBlockQuote.border #3D7AF580
textCodeBlock.background #2A1E38
textLink.activeForeground #3D7AF5
textLink.foreground #3D7AF5CC
textPreformat.background #2A1E38
textPreformat.border #3D7AF530
textPreformat.foreground #B1C5A4
textSeparator.foreground #3D7AF530
titleBar.activeBackground #120B1A
titleBar.activeForeground #E8E4F0
titleBar.border #120B1A
titleBar.inactiveBackground #120B1A
titleBar.inactiveForeground #A4A4B880
toolbar.activeBackground #3D7AF540
toolbar.hoverBackground #3D7AF530
toolbar.hoverOutline #3D7AF500
tree.inactiveIndentGuidesStroke #3D7AF520
tree.indentGuidesStroke #3D7AF540
tree.tableColumnsBorder #3D7AF520
tree.tableOddRowsBackground #1A102450
walkThrough.embeddedEditorBackground #160E20
walkthrough.stepTitle.foreground #E8E4F0
welcomePage.background #1A1024
welcomePage.progress.background #2A1E38
welcomePage.progress.foreground #3D7AF5
welcomePage.tileBackground #160E20
welcomePage.tileBorder #3D7AF520
welcomePage.tileHoverBackground #2E2242
widget.border #3D7AF530
widget.shadow #0A061050
window.activeBorder #3D7AF500
window.inactiveBorder #3D7AF500 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 #3D7AF5 —
entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter #D8613C —
entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method #3D7AF5 —
meta.block variable.other #E8E4F0 —
support.other.variable, string.other.link #E8E4F0 —
constant.numeric, constant.language, support.constant, constant.character, constant.escape, variable.parameter, keyword.other.unit, keyword.other #D8A06C —
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 #B1C5A4 —
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 #3D7AF5 —
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 #3D7AF5 —
entity.name.module.js, variable.import.parameter.js, variable.other.class.js #E8E4F0 —
variable.language #6B9BFF italic
entity.name.method.js #3D7AF5 italic
meta.class-method.js entity.name.function.js, variable.function.constructor #3D7AF5 —
entity.other.attribute-name #6B9BFF —
text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name #D8A06C italic
entity.other.attribute-name.class #D8A06C —
source.sass keyword.control #3D7AF5 —
constant.character.escape #7ABF5B —
*url*, *link*, *uri* — underline
tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js #3D7AF5 italic
source.js constant.other.object.key.js string.unquoted.label.js #E8E4F0 italic
source.json meta.structure.dictionary.json support.type.property-name.json #3D7AF5 —
source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json #6B9BFF —
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 #B1C5A4 —
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 #D8A06C —
text.html.markdown, punctuation.definition.list_item.markdown #E8E4F0 —
text.html.markdown markup.inline.raw.markdown #D8A06C —
text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown #3D7AF5 —
markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown #3D7AF5 —
markup.italic #6B9BFF italic
markup.bold, markup.bold string #6B9BFF 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 #6B9BFF bold
markup.underline #B1C5A4 underline
markup.quote punctuation.definition.blockquote.markdown #A4A4B8 —
string.other.link.title.markdown #3D7AF5 —
string.other.link.description.title.markdown #6B9BFF —
constant.other.reference.link.markdown #B1C5A4 —
markup.raw.block.fenced.markdown #E8E4F0 —
punctuation.definition.fenced.markdown #E8E4F0 —
markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end #E8E4F0 —
variable.language.fenced.markdown #3D7AF5 —
meta.separator #3D7AF5 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}!`;
}