Skip to main content
Home Theme VS Code New South Wales A professional theme for Visual Studio Code featuring New South Wales' iconic blue and waratah red colour palette.
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 #00266430 activityBar.activeBackground #D7153A15 activityBar.activeBorder #D7153A activityBar.activeFocusBorder #D7153A activityBar.background #F5F5F5 activityBar.border #D7153A30 tokenColors TextMate scopes and font styles (syntax highlighting rules).
scope foreground fontStyle comment, punctuation.definition.comment #6E6F74 italic variable, string constant.other.placeholder #0D0E14 — constant.other.color #002664 — invalid, invalid.illegal #E22339 — 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}!`;
}
New South Wales — New South Wales Light main*
0 1
Copilot
Ln 5, Col 12
Spaces: 2
UTF-8
LF
TypeScript
Light+
activityBar.dropBorder #D7153A
activityBar.foreground #0D0E14
activityBar.inactiveForeground #44444470
activityBarBadge.background #002664
activityBarBadge.foreground #FFFFFF
activityBarTop.activeBackground #D7153A15
activityBarTop.activeBorder #D7153A
activityBarTop.background #F5F5F5
activityBarTop.dropBorder #D7153A
activityBarTop.foreground #0D0E14
activityBarTop.inactiveForeground #44444470
activityErrorBadge.background #E22339
activityErrorBadge.foreground #FFFFFF
activityWarningBadge.background #B38800
activityWarningBadge.foreground #FFFFFF
agentSessionReadIndicator.foreground #002664
agentSessionSelectedBadge.border #00266440
agentSessionSelectedUnfocusedBadge.border #0D0E1440
agentStatusIndicator.background #EBEBEB
aiCustomizationManagement.sashBorder #002664
badge.background #002664
badge.foreground #FFFFFF
banner.background #002664
banner.foreground #FFFFFF
banner.iconForeground #FFFFFF
breadcrumb.activeSelectionForeground #002664
breadcrumb.background #FFFFFF
breadcrumb.focusForeground #0D0E14
breadcrumb.foreground #78797E
breadcrumbPicker.background #FFFFFF
button.background #002664
button.border #00266400
button.foreground #FFFFFF
button.hoverBackground #001A4A
button.secondaryBackground #EBEBEB
button.secondaryBorder #00266440
button.secondaryForeground #0D0E14
button.secondaryHoverBackground #E0E0E0
button.separator #FFFFFF40
charts.blue #002664
charts.foreground #0D0E14
charts.green #339D37
charts.lines #78797E
charts.orange #006A8F
charts.purple #D7153A
charts.red #E22339
charts.yellow #B38800
chat.avatarBackground #002664
chat.avatarForeground #FFFFFF
chat.checkpointSeparator #00266430
chat.editedFileForeground #002664
chat.inputWorkingBorderColor1 #002664
chat.inputWorkingBorderColor2 #001A4A
chat.inputWorkingBorderColor3 #002664
chat.linesAddedForeground #339D37CC
chat.linesRemovedForeground #E22339CC
chat.requestBackground #F5F5F5
chat.requestBorder #00266430
chat.requestBubbleBackground #F5F5F5E6
chat.requestBubbleHoverBackground #E0E0E0E6
chat.requestCodeBorder #00266420
chat.slashCommandBackground #002664
chat.slashCommandForeground #FFFFFF
chat.thinkingShimmer #00266430
chatManagement.sashBorder #002664
checkbox.background #FFFFFF
checkbox.border #00266450
checkbox.disabled.background #F5F5F5
checkbox.disabled.foreground #78797E
checkbox.foreground #002664
checkbox.selectBackground #FFFFFF
checkbox.selectBorder #002664
commandCenter.activeBackground #0D0E1425
commandCenter.activeBorder #0D0E1450
commandCenter.activeForeground #0D0E14
commandCenter.background #0D0E1415
commandCenter.border #0D0E1430
commandCenter.debuggingBackground #339D3720
commandCenter.foreground #0D0E14
commandCenter.inactiveBorder #0D0E1415
commandCenter.inactiveForeground #44444470
commentsView.resolvedIcon #339D37
commentsView.unresolvedIcon #B38800
contrastActiveBorder #00266400
contrastBorder #00266400
debugConsole.errorForeground #E22339
debugConsole.infoForeground #5B9BD5
debugConsole.sourceForeground #78797E
debugConsole.warningForeground #B38800
debugConsoleInputIcon.foreground #002664
debugExceptionWidget.background #E2233915
debugExceptionWidget.border #E2233960
debugIcon.breakpointCurrentStackframeForeground #B38800
debugIcon.breakpointDisabledForeground #78797E
debugIcon.breakpointForeground #E22339
debugIcon.breakpointStackframeForeground #339D37
debugIcon.breakpointUnverifiedForeground #B38800
debugIcon.continueForeground #339D37
debugIcon.disconnectForeground #E22339
debugIcon.pauseForeground #B38800
debugIcon.restartForeground #339D37
debugIcon.startForeground #339D37
debugIcon.stepBackForeground #002664
debugIcon.stepIntoForeground #002664
debugIcon.stepOutForeground #002664
debugIcon.stepOverForeground #002664
debugIcon.stopForeground #E22339
debugTokenExpression.boolean #006A8F
debugTokenExpression.error #E22339
debugTokenExpression.name #D7153A
debugTokenExpression.number #006A8F
debugTokenExpression.string #0A690D
debugTokenExpression.type #D7153A
debugTokenExpression.value #0A690D
debugToolBar.background #FFFFFF
debugView.exceptionLabelBackground #E22339
debugView.exceptionLabelForeground #FFFFFF
debugView.stateLabelBackground #002664
debugView.stateLabelForeground #FFFFFF
debugView.valueChangedHighlight #00266460
descriptionForeground #78797E
diffEditor.border #D7153A20
diffEditor.diagonalFill #78797E15
diffEditor.insertedLineBackground #339D3710
diffEditor.insertedTextBackground #339D3720
diffEditor.insertedTextBorder #339D3750
diffEditor.move.border #00266460
diffEditor.moveActive.border #002664
diffEditor.removedLineBackground #E2233910
diffEditor.removedTextBackground #E2233920
diffEditor.removedTextBorder #E2233950
diffEditor.unchangedCodeBackground #FFFFFF80
diffEditor.unchangedRegionBackground #F5F5F5
diffEditor.unchangedRegionForeground #78797E
diffEditor.unchangedRegionShadow #0D0E1415
diffEditorGutter.insertedLineBackground #339D3720
diffEditorGutter.removedLineBackground #E2233920
diffEditorOverview.insertedForeground #339D3760
diffEditorOverview.removedForeground #E2233960
disabledForeground #78797E
dropdown.background #FFFFFF
dropdown.border #00266450
dropdown.foreground #0D0E14
dropdown.listBackground #FFFFFF
editor.background #FFFFFF
editor.compositionBorder #002664
editor.findMatchBackground #00266450
editor.findMatchBorder #002664
editor.findMatchForeground #0D0E14
editor.findMatchHighlightBackground #00266430
editor.findMatchHighlightBorder #00266460
editor.findMatchHighlightForeground #0D0E14
editor.findRangeHighlightBackground #00266415
editor.findRangeHighlightBorder #00266400
editor.focusedStackFrameHighlightBackground #339D3720
editor.foldBackground #00266410
editor.foldPlaceholderForeground #78797E
editor.foreground #0D0E14
editor.hoverHighlightBackground #00266415
editor.inactiveLineHighlightBackground #F5F5F580
editor.inactiveSelectionBackground #00266420
editor.inlineValuesBackground #00266410
editor.inlineValuesForeground #78797E
editor.lineHighlightBackground #F5F5F5
editor.lineHighlightBorder #00266410
editor.linkedEditingBackground #00266420
editor.placeholder.foreground #78797E
editor.rangeHighlightBackground #00266410
editor.rangeHighlightBorder #00266400
editor.selectionBackground #00266430
editor.selectionForeground #0D0E14
editor.selectionHighlightBackground #00266420
editor.selectionHighlightBorder #00266440
editor.stackFrameHighlightBackground #B3880020
editor.symbolHighlightBackground #00266420
editor.symbolHighlightBorder #00266440
editor.wordHighlightBackground #00266420
editor.wordHighlightBorder #00266440
editor.wordHighlightStrongBackground #00266430
editor.wordHighlightStrongBorder #00266460
editor.wordHighlightTextBackground #00266415
editor.wordHighlightTextBorder #00266430
editorActionList.background #FFFFFF
editorActionList.focusBackground #00266430
editorActionList.focusForeground #0D0E14
editorActionList.foreground #0D0E14
editorBracketHighlight.foreground1 #002664
editorBracketHighlight.foreground2 #D7153A
editorBracketHighlight.foreground3 #B38800
editorBracketHighlight.foreground4 #0A690D
editorBracketHighlight.foreground5 #5B9BD5
editorBracketHighlight.foreground6 #006A8F
editorBracketHighlight.unexpectedBracket.foreground #E22339
editorBracketMatch.border #00266460
editorBracketMatch.foreground #002664
editorBracketPairGuide.activeBackground1 #00266480
editorBracketPairGuide.activeBackground2 #D7153A80
editorBracketPairGuide.activeBackground3 #B3880080
editorBracketPairGuide.activeBackground4 #0A690D80
editorBracketPairGuide.activeBackground5 #5B9BD580
editorBracketPairGuide.activeBackground6 #006A8F80
editorBracketPairGuide.background1 #00266440
editorBracketPairGuide.background2 #D7153A40
editorBracketPairGuide.background3 #B3880040
editorBracketPairGuide.background4 #0A690D40
editorBracketPairGuide.background5 #5B9BD540
editorBracketPairGuide.background6 #006A8F40
editorCodeLens.foreground #78797E
editorCommentsWidget.rangeActiveBackground #00266415
editorCommentsWidget.rangeBackground #00266408
editorCommentsWidget.replyInputBackground #FFFFFF
editorCommentsWidget.resolvedBorder #339D3750
editorCommentsWidget.unresolvedBorder #B38800
editorCursor.background #FFFFFF
editorCursor.foreground #002664
editorError.background #E2233910
editorError.border #E2233900
editorError.foreground #E22339
editorGhostText.background #00266400
editorGhostText.border #00266400
editorGhostText.foreground #0D0E1466
editorGroup.border #D7153A20
editorGroup.dropBackground #00266420
editorGroup.dropIntoPromptBackground #FFFFFF
editorGroup.dropIntoPromptBorder #00266450
editorGroup.dropIntoPromptForeground #0D0E14
editorGroup.emptyBackground #FFFFFF
editorGroup.focusedEmptyBorder #00266440
editorGroupHeader.border #D7153A15
editorGroupHeader.noTabsBackground #FFFFFF
editorGroupHeader.tabsBackground #F5F5F5
editorGroupHeader.tabsBorder #D7153A20
editorGutter.addedBackground #339D37
editorGutter.addedSecondaryBackground #339D3760
editorGutter.background #FFFFFF
editorGutter.commentDraftGlyphForeground #00266480
editorGutter.commentGlyphForeground #002664
editorGutter.commentRangeForeground #78797E40
editorGutter.commentUnresolvedGlyphForeground #B38800
editorGutter.deletedBackground #E22339
editorGutter.deletedSecondaryBackground #E2233960
editorGutter.foldingControlForeground #78797E
editorGutter.itemBackground #FFFFFF
editorGutter.itemGlyphForeground #002664
editorGutter.modifiedBackground #002664
editorGutter.modifiedSecondaryBackground #00266460
editorHint.border #339D3700
editorHint.foreground #339D37
editorHoverWidget.background #FFFFFF
editorHoverWidget.border #00266450
editorHoverWidget.foreground #0D0E14
editorHoverWidget.highlightForeground #002664
editorHoverWidget.statusBarBackground #F5F5F5
editorIndentGuide.activeBackground1 #002664
editorIndentGuide.activeBackground2 #D7153A
editorIndentGuide.activeBackground3 #B38800
editorIndentGuide.activeBackground4 #0A690D
editorIndentGuide.activeBackground5 #5B9BD5
editorIndentGuide.activeBackground6 #006A8F
editorIndentGuide.background1 #00266420
editorIndentGuide.background2 #D7153A20
editorIndentGuide.background3 #B3880020
editorIndentGuide.background4 #0A690D20
editorIndentGuide.background5 #5B9BD520
editorIndentGuide.background6 #006A8F20
editorInfo.background #5B9BD510
editorInfo.border #5B9BD500
editorInfo.foreground #5B9BD5
editorInlayHint.background #F5F5F5
editorInlayHint.foreground #44444470
editorInlayHint.parameterBackground #F5F5F5
editorInlayHint.parameterForeground #44444470
editorInlayHint.typeBackground #F5F5F5
editorInlayHint.typeForeground #0D0E14
editorLightBulb.foreground #B38800
editorLightBulbAi.foreground #002664
editorLightBulbAutoFix.foreground #339D37
editorLineNumber.activeForeground #002664
editorLineNumber.dimmedForeground #78797E50
editorLineNumber.foreground #D7153A
editorLink.activeForeground #002664
editorMarkerNavigation.background #FFFFFF
editorMarkerNavigationError.background #E2233920
editorMarkerNavigationError.headerBackground #E2233915
editorMarkerNavigationInfo.background #5B9BD520
editorMarkerNavigationInfo.headerBackground #5B9BD515
editorMarkerNavigationWarning.background #B3880020
editorMarkerNavigationWarning.headerBackground #B3880015
editorMinimap.inlineChatInserted #339D3730
editorMinimap.inlineChatRemoved #E2233930
editorMultiCursor.primary.background #FFFFFF
editorMultiCursor.primary.foreground #002664
editorMultiCursor.secondary.background #FFFFFF
editorMultiCursor.secondary.foreground #D7153A
editorOverviewRuler.addedForeground #339D37
editorOverviewRuler.background #FFFFFF
editorOverviewRuler.border #00266420
editorOverviewRuler.bracketMatchForeground #00266460
editorOverviewRuler.commentDraftForeground #00266450
editorOverviewRuler.commentForeground #00266430
editorOverviewRuler.commentUnresolvedForeground #B3880060
editorOverviewRuler.commonContentForeground #78797E40
editorOverviewRuler.currentContentForeground #339D3760
editorOverviewRuler.deletedForeground #E22339
editorOverviewRuler.errorForeground #E22339
editorOverviewRuler.findMatchForeground #002664CC
editorOverviewRuler.incomingContentForeground #00266460
editorOverviewRuler.infoForeground #5B9BD5
editorOverviewRuler.inlineChatInserted #339D3760
editorOverviewRuler.inlineChatRemoved #E2233960
editorOverviewRuler.modifiedForeground #002664
editorOverviewRuler.rangeHighlightForeground #00266499
editorOverviewRuler.selectionHighlightForeground #00266499
editorOverviewRuler.warningForeground #B38800
editorOverviewRuler.wordHighlightForeground #00266499
editorOverviewRuler.wordHighlightStrongForeground #002664CC
editorOverviewRuler.wordHighlightTextForeground #00266460
editorPane.background #FFFFFF
editorRuler.foreground #E0E0E030
editorSnippetFinalTabstopHighlightBackground #339D3720
editorSnippetFinalTabstopHighlightBorder #339D3700
editorSnippetTabstopHighlightBackground #00266420
editorSnippetTabstopHighlightBorder #00266400
editorStickyScroll.background #F5F5F5
editorStickyScroll.border #D7153A15
editorStickyScroll.shadow #0D0E1415
editorStickyScrollGutter.background #F5F5F5
editorStickyScrollHover.background #E0E0E0
editorSuggestWidget.background #FFFFFF
editorSuggestWidget.border #00266450
editorSuggestWidget.focusHighlightForeground #002664
editorSuggestWidget.foreground #0D0E14
editorSuggestWidget.highlightForeground #002664
editorSuggestWidget.selectedBackground #00266450
editorSuggestWidget.selectedForeground #0D0E14
editorSuggestWidget.selectedIconForeground #0D0E14
editorSuggestWidgetStatus.foreground #78797E
editorUnicodeHighlight.background #B3880015
editorUnicodeHighlight.border #B38800
editorUnnecessaryCode.border #78797E40
editorUnnecessaryCode.opacity #00000077
editorWarning.background #B3880010
editorWarning.border #B3880000
editorWarning.foreground #B38800
editorWhitespace.foreground #E0E0E050
editorWidget.background #FFFFFF
editorWidget.border #00266450
editorWidget.foreground #0D0E14
editorWidget.resizeBorder #002664
errorForeground #E22339
extensionBadge.remoteBackground #002664
extensionBadge.remoteForeground #FFFFFF
extensionButton.background #002664
extensionButton.border #00266400
extensionButton.foreground #FFFFFF
extensionButton.hoverBackground #001A4A
extensionButton.prominentBackground #002664
extensionButton.prominentForeground #FFFFFF
extensionButton.prominentHoverBackground #001A4A
extensionButton.separator #FFFFFF40
extensionIcon.preReleaseForeground #002664
extensionIcon.privateForeground #78797E
extensionIcon.sponsorForeground #D7153A
extensionIcon.starForeground #B38800
extensionIcon.verifiedForeground #339D37
focusBorder #002664
foreground #0D0E14
gauge.background #FFFFFF
gauge.border #00266420
gauge.errorBackground #E2233920
gauge.errorForeground #E22339
gauge.foreground #0D0E14
gauge.warningBackground #B3880020
gauge.warningForeground #B38800
git.blame.editorDecorationForeground #78797E80
gitDecoration.addedResourceForeground #339D37
gitDecoration.conflictingResourceForeground #B38800
gitDecoration.deletedResourceForeground #E22339
gitDecoration.ignoredResourceForeground #78797E
gitDecoration.modifiedResourceForeground #002664
gitDecoration.renamedResourceForeground #002664
gitDecoration.stageDeletedResourceForeground #E22339CC
gitDecoration.stageModifiedResourceForeground #002664CC
gitDecoration.submoduleResourceForeground #006A8F
gitDecoration.untrackedResourceForeground #339D37
icon.foreground #002664
inlineChat.background #F5F5F5
inlineChat.border #00266430
inlineChat.foreground #0D0E14
inlineChat.shadow #0D0E1420
inlineChatDiff.inserted #339D3720
inlineChatDiff.removed #E2233915
inlineChatInput.background #FFFFFF
inlineChatInput.border #00266450
inlineChatInput.focusBorder #002664
inlineChatInput.placeholderForeground #44444470
inlineEdit.gutterIndicator.background #FFFFFF
inlineEdit.gutterIndicator.primaryBackground #00266415
inlineEdit.gutterIndicator.primaryBorder #002664
inlineEdit.gutterIndicator.primaryForeground #002664
inlineEdit.gutterIndicator.secondaryBackground #D7153A15
inlineEdit.gutterIndicator.secondaryBorder #D7153A
inlineEdit.gutterIndicator.secondaryForeground #D7153A
inlineEdit.gutterIndicator.successfulBackground #339D3715
inlineEdit.gutterIndicator.successfulBorder #339D37
inlineEdit.gutterIndicator.successfulForeground #339D37
inlineEdit.modifiedBackground #00266410
inlineEdit.modifiedBorder #00266440
inlineEdit.modifiedChangedLineBackground #00266415
inlineEdit.modifiedChangedTextBackground #00266425
inlineEdit.originalBackground #E2233908
inlineEdit.originalBorder #E2233925
inlineEdit.originalChangedLineBackground #E2233910
inlineEdit.originalChangedTextBackground #E2233920
inlineEdit.tabWillAcceptModifiedBorder #339D3760
inlineEdit.tabWillAcceptOriginalBorder #E2233940
input.background #FFFFFF
input.border #00266450
input.foreground #0D0E14
input.placeholderForeground #78797E
inputOption.activeBackground #00266430
inputOption.activeBorder #002664
inputOption.activeForeground #0D0E14
inputOption.hoverBackground #00266415
inputValidation.errorBackground #E2233915
inputValidation.errorBorder #E22339
inputValidation.errorForeground #E22339
inputValidation.infoBackground #5B9BD515
inputValidation.infoBorder #5B9BD5
inputValidation.infoForeground #5B9BD5
inputValidation.warningBackground #B3880015
inputValidation.warningBorder #B38800
inputValidation.warningForeground #B38800
interactive.activeCodeBorder #002664
interactive.inactiveCodeBorder #00266420
keybindingLabel.background #00266415
keybindingLabel.border #00266430
keybindingLabel.bottomBorder #00266450
keybindingLabel.foreground #0D0E14
keybindingTable.headerBackground #F5F5F5
keybindingTable.rowsBackground #F5F5F580
list.activeSelectionBackground #00266440
list.activeSelectionForeground #FFFFFF
list.activeSelectionIconForeground #FFFFFF
list.deemphasizedForeground #78797E
list.dropBackground #00266420
list.dropBetweenBackground #002664
list.errorForeground #E22339
list.filterMatchBorder #00266460
list.focusAndSelectionOutline #002664
list.focusBackground #00266430
list.focusForeground #0D0E14
list.focusHighlightForeground #002664
list.focusOutline #00266460
list.highlightForeground #002664
list.hoverBackground #00266415
list.hoverForeground #0D0E14
list.inactiveFocusBackground #00266415
list.inactiveFocusOutline #00266440
list.inactiveSelectionBackground #00266420
list.inactiveSelectionForeground #0D0E14
list.inactiveSelectionIconForeground #0D0E14
list.invalidItemForeground #E22339
list.warningForeground #B38800
listFilterWidget.background #FFFFFF
listFilterWidget.noMatchesOutline #E22339
listFilterWidget.outline #002664
listFilterWidget.shadow #0D0E1430
markdownAlert.caution.foreground #E22339
markdownAlert.important.foreground #D7153A
markdownAlert.note.foreground #5B9BD5
markdownAlert.tip.foreground #339D37
markdownAlert.warning.foreground #B38800
mcpIcon.starForeground #B38800
menu.background #FFFFFF
menu.border #00266430
menu.foreground #0D0E14
menu.selectionBackground #00266430
menu.selectionBorder #00266400
menu.selectionForeground #0D0E14
menu.separatorBackground #00266420
menubar.selectionBackground #00266430
menubar.selectionBorder #00266400
menubar.selectionForeground #0D0E14
merge.border #00266450
merge.commonContentBackground #78797E15
merge.commonHeaderBackground #78797E30
merge.currentContentBackground #339D3720
merge.currentHeaderBackground #339D3750
merge.incomingContentBackground #00266420
merge.incomingHeaderBackground #00266450
mergeEditor.change.background #00266415
mergeEditor.change.word.background #00266430
mergeEditor.changeBase.background #78797E10
mergeEditor.changeBase.word.background #78797E20
mergeEditor.conflict.handled.minimapOverViewRuler #339D37
mergeEditor.conflict.handledFocused.border #339D37
mergeEditor.conflict.handledUnfocused.border #339D3740
mergeEditor.conflict.input1.background #339D3715
mergeEditor.conflict.input2.background #00266415
mergeEditor.conflict.unhandled.minimapOverViewRuler #B38800
mergeEditor.conflict.unhandledFocused.border #B38800
mergeEditor.conflict.unhandledUnfocused.border #B3880060
mergeEditor.conflictingLines.background #B3880015
minimap.background #FFFFFF
minimap.chatEditHighlight #00266430
minimap.errorHighlight #E22339
minimap.findMatchHighlight #00266480
minimap.foregroundOpacity #000000FF
minimap.infoHighlight #5B9BD5
minimap.selectionHighlight #00266450
minimap.selectionOccurrenceHighlight #00266430
minimap.warningHighlight #B38800
minimapGutter.addedBackground #339D37
minimapGutter.deletedBackground #E22339
minimapGutter.modifiedBackground #002664
minimapSlider.activeBackground #00266470
minimapSlider.background #00266430
minimapSlider.hoverBackground #00266450
multiDiffEditor.background #FFFFFF
multiDiffEditor.border #D7153A20
multiDiffEditor.headerBackground #F5F5F5
notebook.cellBorderColor #D7153A20
notebook.cellEditorBackground #FFFFFF
notebook.cellHoverBackground #E0E0E0
notebook.cellInsertionIndicator #002664
notebook.cellStatusBarItemHoverBackground #00266420
notebook.cellToolbarSeparator #D7153A15
notebook.editorBackground #FFFFFF
notebook.focusedCellBackground #F5F5F5
notebook.focusedCellBorder #002664
notebook.focusedEditorBorder #002664
notebook.inactiveFocusedCellBorder #00266440
notebook.inactiveSelectedCellBorder #00266420
notebook.outputContainerBackgroundColor #F5F5F5
notebook.outputContainerBorderColor #D7153A15
notebook.selectedCellBackground #00266415
notebook.selectedCellBorder #00266460
notebook.symbolHighlightBackground #00266420
notebookEditorOverviewRuler.runningCellForeground #002664
notebookScrollbarSlider.activeBackground #00266470
notebookScrollbarSlider.background #00266430
notebookScrollbarSlider.hoverBackground #00266450
notebookStatusErrorIcon.foreground #E22339
notebookStatusRunningIcon.foreground #002664
notebookStatusSuccessIcon.foreground #339D37
notificationCenter.border #00266420
notificationCenterHeader.background #F5F5F5
notificationCenterHeader.foreground #0D0E14
notificationLink.foreground #002664
notifications.background #FFFFFF
notifications.border #00266420
notifications.foreground #0D0E14
notificationsErrorIcon.foreground #E22339
notificationsInfoIcon.foreground #5B9BD5
notificationsWarningIcon.foreground #B38800
notificationToast.border #00266420
outputView.background #F5F5F5
outputViewStickyScroll.background #F5F5F5
panel.background #F5F5F5
panel.border #D7153A20
panel.dropBorder #D7153A
panelInput.border #00266450
panelSection.border #D7153A20
panelSection.dropBackground #00266420
panelSectionHeader.background #D7153A15
panelSectionHeader.border #D7153A20
panelSectionHeader.foreground #001A4A
panelStickyScroll.background #F5F5F5
panelStickyScroll.border #D7153A15
panelStickyScroll.shadow #0D0E1415
panelTitle.activeBorder #D7153A
panelTitle.activeForeground #D7153A
panelTitle.border #D7153A15
panelTitle.inactiveForeground #44444460
panelTitleBadge.background #002664
panelTitleBadge.foreground #FFFFFF
peekView.border #002664
peekViewEditor.background #1A1B24
peekViewEditor.matchHighlightBackground #00266450
peekViewEditor.matchHighlightBorder #00266480
peekViewEditorGutter.background #1A1B24
peekViewEditorStickyScroll.background #1A1B24
peekViewEditorStickyScrollGutter.background #1A1B24
peekViewResult.background #0D0E14
peekViewResult.fileForeground #FFFFFF
peekViewResult.lineForeground #B0BEC5
peekViewResult.matchHighlightBackground #00266450
peekViewResult.selectionBackground #00266450
peekViewResult.selectionForeground #FFFFFF
peekViewTitle.background #060710
peekViewTitleDescription.foreground #B0BEC5
peekViewTitleLabel.foreground #002664
pickerGroup.border #00266420
pickerGroup.foreground #002664
ports.iconRunningProcessForeground #339D37
problemsErrorIcon.foreground #E22339
problemsInfoIcon.foreground #5B9BD5
problemsWarningIcon.foreground #B38800
profileBadge.background #002664
profileBadge.foreground #FFFFFF
profiles.sashBorder #002664
progressBar.background #002664
quickInput.background #FFFFFF
quickInput.border #00266425
quickInput.foreground #0D0E14
quickInputList.focusBackground #00266430
quickInputList.focusForeground #0D0E14
quickInputList.focusIconForeground #0D0E14
quickInputList.hoverBackground #E0E0E0
quickInputTitle.background #F5F5F5
radio.activeBackground #002664
radio.activeBorder #002664
radio.activeForeground #FFFFFF
radio.inactiveBackground #FFFFFF
radio.inactiveBorder #00266440
radio.inactiveForeground #0D0E14
radio.inactiveHoverBackground #E0E0E0
sash.hoverBorder #002664
scmGraph.foreground1 #002664
scmGraph.foreground2 #D7153A
scmGraph.foreground3 #0A690D
scmGraph.foreground4 #B38800
scmGraph.foreground5 #339D37
scmGraph.historyItemBaseRefColor #0A690D
scmGraph.historyItemHoverAdditionsForeground #339D37
scmGraph.historyItemHoverDeletionsForeground #E22339
scmGraph.historyItemHoverLabelForeground #0D0E14
scmGraph.historyItemRefColor #002664
scmGraph.historyItemRemoteRefColor #D7153A
scrollbar.background #FFFFFF00
scrollbar.shadow #0D0E1450
scrollbarSlider.activeBackground #00266470
scrollbarSlider.background #00266430
scrollbarSlider.hoverBackground #00266450
search.resultsInfoForeground #78797E
searchEditor.findMatchBackground #00266430
searchEditor.findMatchBorder #00266460
searchEditor.textInputBorder #00266450
selection.background #00266450
settings.checkboxBackground #FFFFFF
settings.checkboxBorder #00266450
settings.checkboxForeground #002664
settings.dropdownBackground #FFFFFF
settings.dropdownBorder #00266450
settings.dropdownForeground #0D0E14
settings.dropdownListBorder #00266420
settings.focusedRowBackground #00266410
settings.focusedRowBorder #00266430
settings.headerBorder #D7153A15
settings.headerForeground #0D0E14
settings.modifiedItemIndicator #002664
settings.numberInputBackground #FFFFFF
settings.numberInputBorder #00266450
settings.numberInputForeground #0D0E14
settings.rowHoverBackground #00266410
settings.sashBorder #002664
settings.settingsHeaderHoverForeground #002664
settings.textInputBackground #FFFFFF
settings.textInputBorder #00266450
settings.textInputForeground #0D0E14
sideBar.background #F5F5F5
sideBar.border #D7153A30
sideBar.dropBackground #00266420
sideBar.foreground #0D0E14
sideBarActivityBarTop.border #D7153A20
sideBarSectionHeader.background #D7153A15
sideBarSectionHeader.border #D7153A20
sideBarSectionHeader.foreground #001A4A
sideBarStickyScroll.background #F5F5F5
sideBarStickyScroll.border #D7153A15
sideBarStickyScroll.shadow #0D0E1415
sideBarTitle.background #F5F5F5
sideBarTitle.border #D7153A15
sideBarTitle.foreground #D7153A
sideBySideEditor.horizontalBorder #D7153A20
sideBySideEditor.verticalBorder #D7153A20
simpleFindWidget.sashBorder #002664
statusBar.background #002664
statusBar.border #001A4A
statusBar.debuggingBackground #339D37
statusBar.debuggingBorder #339D37CC
statusBar.debuggingForeground #FFFFFF
statusBar.focusBorder #002664
statusBar.foreground #FFFFFF
statusBar.noFolderBackground #001A4A
statusBar.noFolderBorder #001A4A
statusBar.noFolderForeground #FFFFFF
statusBarItem.activeBackground #001A4A80
statusBarItem.compactHoverBackground #001A4A60
statusBarItem.errorBackground #E22339
statusBarItem.errorForeground #FFFFFF
statusBarItem.errorHoverBackground #E22339CC
statusBarItem.errorHoverForeground #FFFFFF
statusBarItem.focusBorder #002664
statusBarItem.hoverBackground #001A4A80
statusBarItem.hoverForeground #FFFFFF
statusBarItem.offlineBackground #78797E
statusBarItem.offlineForeground #FFFFFF
statusBarItem.offlineHoverBackground #78797ECC
statusBarItem.offlineHoverForeground #FFFFFF
statusBarItem.prominentBackground #002664
statusBarItem.prominentForeground #FFFFFF
statusBarItem.prominentHoverBackground #001A4A
statusBarItem.prominentHoverForeground #FFFFFF
statusBarItem.remoteBackground #002664
statusBarItem.remoteForeground #FFFFFF
statusBarItem.remoteHoverBackground #002664CC
statusBarItem.remoteHoverForeground #FFFFFF
statusBarItem.warningBackground #B38800
statusBarItem.warningForeground #FFFFFF
statusBarItem.warningHoverBackground #B38800CC
statusBarItem.warningHoverForeground #FFFFFF
symbolIcon.arrayForeground #006A8F
symbolIcon.booleanForeground #006A8F
symbolIcon.classForeground #D7153A
symbolIcon.colorForeground #002664
symbolIcon.constantForeground #006A8F
symbolIcon.constructorForeground #002664
symbolIcon.enumeratorForeground #D7153A
symbolIcon.enumeratorMemberForeground #006A8F
symbolIcon.eventForeground #B38800
symbolIcon.fieldForeground #002664
symbolIcon.fileForeground #78797E
symbolIcon.folderForeground #002664
symbolIcon.functionForeground #002664
symbolIcon.interfaceForeground #D7153A
symbolIcon.keyForeground #002664
symbolIcon.keywordForeground #D7153A
symbolIcon.methodForeground #002664
symbolIcon.moduleForeground #002664
symbolIcon.namespaceForeground #002664
symbolIcon.nullForeground #78797E
symbolIcon.numberForeground #006A8F
symbolIcon.objectForeground #002664
symbolIcon.operatorForeground #002664
symbolIcon.packageForeground #002664
symbolIcon.propertyForeground #0D0E14
symbolIcon.referenceForeground #002664
symbolIcon.snippetForeground #0A690D
symbolIcon.stringForeground #0A690D
symbolIcon.structForeground #D7153A
symbolIcon.textForeground #0D0E14
symbolIcon.typeParameterForeground #D7153A
symbolIcon.unitForeground #006A8F
symbolIcon.variableForeground #0D0E14
tab.activeBackground #FFFFFF
tab.activeBorder #D7153A
tab.activeBorderTop #D7153A00
tab.activeForeground #0D0E14
tab.activeModifiedBorder #002664
tab.border #D7153A20
tab.dragAndDropBorder #D7153A
tab.hoverBackground #F5F5F5
tab.hoverBorder #D7153A40
tab.hoverForeground #0D0E14
tab.inactiveBackground #F5F5F5
tab.inactiveForeground #44444470
tab.inactiveModifiedBorder #00266460
tab.lastPinnedBorder #D7153A30
tab.selectedBackground #FFFFFF
tab.selectedBorderTop #D7153A
tab.selectedForeground #0D0E14
tab.unfocusedActiveBackground #FFFFFF
tab.unfocusedActiveBorder #D7153A60
tab.unfocusedActiveBorderTop #D7153A00
tab.unfocusedActiveForeground #0D0E14CC
tab.unfocusedActiveModifiedBorder #002664CC
tab.unfocusedHoverBackground #F5F5F5
tab.unfocusedHoverBorder #D7153A30
tab.unfocusedHoverForeground #0D0E14CC
tab.unfocusedInactiveBackground #F5F5F5
tab.unfocusedInactiveForeground #44444450
tab.unfocusedInactiveModifiedBorder #00266450
terminal.ansiBlack #0D0E14
terminal.ansiBlue #002664
terminal.ansiBrightBlack #78797E
terminal.ansiBrightBlue #001A4A
terminal.ansiBrightCyan #5B9BD5
terminal.ansiBrightGreen #339D37
terminal.ansiBrightMagenta #5A1222
terminal.ansiBrightRed #8A1220
terminal.ansiBrightWhite #FFFFFF
terminal.ansiBrightYellow #FFCC2C
terminal.ansiCyan #006A8F
terminal.ansiGreen #0A690D
terminal.ansiMagenta #8B1A4A
terminal.ansiRed #D7153A
terminal.ansiWhite #FFFFFF
terminal.ansiYellow #B38800
terminal.background #FFFFFF
terminal.border #D7153A20
terminal.dropBackground #00266420
terminal.findMatchBackground #00266460
terminal.findMatchBorder #002664
terminal.findMatchHighlightBackground #00266440
terminal.findMatchHighlightBorder #00266480
terminal.foreground #0D0E14
terminal.hoverHighlightBackground #00266420
terminal.inactiveSelectionBackground #00266420
terminal.initialHintForeground #78797E
terminal.selectionBackground #00266440
terminal.selectionForeground #0D0E14
terminal.tab.activeBorder #D7153A
terminalCommandDecoration.defaultBackground #00266440
terminalCommandDecoration.errorBackground #E2233960
terminalCommandDecoration.successBackground #339D3760
terminalCommandGuide.foreground #00266420
terminalCursor.background #FFFFFF
terminalCursor.foreground #002664
terminalOverviewRuler.border #D7153A20
terminalOverviewRuler.cursorForeground #002664
terminalOverviewRuler.findMatchForeground #002664CC
terminalStickyScroll.background #F5F5F5
terminalStickyScroll.border #D7153A15
terminalStickyScrollHover.background #E0E0E0
terminalSymbolIcon.aliasForeground #002664
terminalSymbolIcon.argumentForeground #006A8F
terminalSymbolIcon.branchForeground #339D37
terminalSymbolIcon.commitForeground #002664
terminalSymbolIcon.fileForeground #78797E
terminalSymbolIcon.flagForeground #B38800
terminalSymbolIcon.folderForeground #002664
terminalSymbolIcon.inlineSuggestionForeground #78797E
terminalSymbolIcon.methodForeground #002664
terminalSymbolIcon.optionForeground #0D0E14
terminalSymbolIcon.optionValueForeground #0A690D
terminalSymbolIcon.pullRequestDoneForeground #339D37
terminalSymbolIcon.pullRequestForeground #002664
terminalSymbolIcon.remoteForeground #D7153A
terminalSymbolIcon.stashForeground #002664
terminalSymbolIcon.symbolicLinkFileForeground #00266480
terminalSymbolIcon.symbolicLinkFolderForeground #00266480
terminalSymbolIcon.symbolText #0D0E14
terminalSymbolIcon.tagForeground #D7153A
testing.coverCountBadgeBackground #002664
testing.coverCountBadgeForeground #FFFFFF
testing.coveredBackground #339D3710
testing.coveredBorder #339D3730
testing.coveredGutterBackground #339D3740
testing.iconErrored #E22339
testing.iconErrored.retired #E2233950
testing.iconFailed #E22339
testing.iconFailed.retired #E2233950
testing.iconPassed #339D37
testing.iconPassed.retired #339D3750
testing.iconQueued #B38800
testing.iconQueued.retired #B3880050
testing.iconSkipped #78797E
testing.iconSkipped.retired #78797E50
testing.iconUnset #78797E
testing.iconUnset.retired #78797E50
testing.message.error.badgeBackground #E22339
testing.message.error.badgeBorder #E2233960
testing.message.error.badgeForeground #FFFFFF
testing.message.error.lineBackground #E2233910
testing.message.info.decorationForeground #5B9BD5
testing.message.info.lineBackground #5B9BD510
testing.messagePeekBorder #5B9BD5
testing.messagePeekHeaderBackground #5B9BD515
testing.peekBorder #E22339
testing.peekHeaderBackground #E2233915
testing.runAction #339D37
testing.uncoveredBackground #E2233910
testing.uncoveredBorder #E2233930
testing.uncoveredBranchBackground #E2233920
testing.uncoveredGutterBackground #E2233940
textBlockQuote.background #F5F5F5
textBlockQuote.border #00266460
textCodeBlock.background #F5F5F5
textLink.activeForeground #002664
textLink.foreground #002664
textPreformat.background #F5F5F5
textPreformat.border #00266420
textPreformat.foreground #0A690D
textSeparator.foreground #00266420
titleBar.activeBackground #F5F5F5
titleBar.activeForeground #0D0E14
titleBar.border #D7153A30
titleBar.inactiveBackground #F5F5F5
titleBar.inactiveForeground #44444470
toolbar.activeBackground #00266430
toolbar.hoverBackground #00266420
toolbar.hoverOutline #00266400
tree.inactiveIndentGuidesStroke #D7153A15
tree.indentGuidesStroke #D7153A30
tree.tableColumnsBorder #D7153A15
tree.tableOddRowsBackground #F5F5F580
walkThrough.embeddedEditorBackground #F5F5F5
walkthrough.stepTitle.foreground #0D0E14
welcomePage.background #FFFFFF
welcomePage.progress.background #F5F5F5
welcomePage.progress.foreground #002664
welcomePage.tileBackground #F5F5F5
welcomePage.tileBorder #D7153A15
welcomePage.tileHoverBackground #E0E0E0
widget.border #00266420
widget.shadow #0D0E1430
window.activeBorder #00266400
window.inactiveBorder #00266400 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 #002664 —
entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter #D7153A —
entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method #002664 —
meta.block variable.other #0D0E14 —
support.other.variable, string.other.link #0D0E14 —
constant.numeric, constant.language, support.constant, constant.character, constant.escape, variable.parameter, keyword.other.unit, keyword.other #006A8F —
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 #0A690D —
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 #002664 —
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 #002664 —
entity.name.module.js, variable.import.parameter.js, variable.other.class.js #0D0E14 —
variable.language #D7153A italic
entity.name.method.js #002664 italic
meta.class-method.js entity.name.function.js, variable.function.constructor #002664 —
entity.other.attribute-name #D7153A —
text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name #002664 italic
entity.other.attribute-name.class #002664 —
source.sass keyword.control #002664 —
constant.character.escape #0A690D —
*url*, *link*, *uri* — underline
tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js #002664 italic
source.js constant.other.object.key.js string.unquoted.label.js #0D0E14 italic
source.json meta.structure.dictionary.json support.type.property-name.json #002664 —
source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json #D7153A —
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 #0A690D —
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 #006A8F —
text.html.markdown, punctuation.definition.list_item.markdown #0D0E14 —
text.html.markdown markup.inline.raw.markdown #D7153A —
text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown #002664 —
markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown #002664 —
markup.italic #D7153A italic
markup.bold, markup.bold string #D7153A 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 #D7153A bold
markup.underline #0A690D underline
markup.quote punctuation.definition.blockquote.markdown #5B9BD5 —
string.other.link.title.markdown #002664 —
string.other.link.description.title.markdown #D7153A —
constant.other.reference.link.markdown #0A690D —
markup.raw.block.fenced.markdown #0D0E14 —
punctuation.definition.fenced.markdown #0D0E14 —
markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end #0D0E14 —
variable.language.fenced.markdown #002664 —
meta.separator #002664 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}!`;
}
New South Wales | Coding Theme