Vaporwave Watermelon Theme
Publisher: AnhhTuannThemes in package: 1
A chill pastel Vaporwave Watermelon theme (Pink & Green) for VS Code and Oh My Posh.
A chill pastel Vaporwave Watermelon theme (Pink & Green) for VS Code and Oh My Posh.
Full workbench mockup using this variant's colors and tokenColors.
Loading...
Workbench UI color keys from the theme JSON colors map.
| key | HEX | RGB | RGBA |
|---|---|---|---|
activityBar.activeBackground | |||
activityBar.activeBorder | |||
activityBar.activeFocusBorder | |||
activityBar.background | |||
activityBar.border | |||
activityBar.foreground | |||
activityBar.inactiveForeground | |||
activityBarBadge.background | |||
activityBarBadge.foreground | |||
badge.background | |||
badge.foreground | |||
breadcrumb.activeSelectionForeground | |||
breadcrumb.focusForeground | |||
breadcrumb.foreground | |||
breadcrumbPicker.background | |||
button.background | |||
button.foreground | |||
button.hoverBackground | |||
charts.blue | |||
charts.green | |||
charts.orange | |||
charts.purple | |||
charts.red | |||
charts.yellow | |||
chat.requestBackground | |||
chat.slashCommandForeground | |||
commandCenter.activeBackground | |||
commandCenter.activeBorder | |||
commandCenter.background | |||
commandCenter.border | |||
commandCenter.foreground | |||
debugConsole.errorForeground | |||
debugConsole.infoForeground | |||
debugConsole.sourceForeground | |||
debugConsole.warningForeground | |||
debugIcon.breakpointDisabledForeground | |||
debugIcon.breakpointForeground | |||
debugIcon.breakpointStackframeForeground | |||
debugIcon.breakpointUnverifiedForeground | |||
debugIcon.continueForeground | |||
debugIcon.pauseForeground | |||
debugIcon.restartForeground | |||
debugIcon.startForeground | |||
debugIcon.stepBackForeground | |||
debugIcon.stepIntoForeground | |||
debugIcon.stepOutForeground | |||
debugIcon.stepOverForeground | |||
debugIcon.stopForeground | |||
debugTokenExpression.boolean | |||
debugTokenExpression.error | |||
debugTokenExpression.name | |||
debugTokenExpression.number | |||
debugTokenExpression.string | |||
debugTokenExpression.value | |||
debugToolBar.background | |||
debugToolBar.border | |||
diffEditor.diagonalFill | |||
diffEditor.insertedLineBackground | |||
diffEditor.insertedTextBackground | |||
diffEditor.removedLineBackground | |||
diffEditor.removedTextBackground | |||
editor.background | |||
editor.findMatchBackground | |||
editor.findMatchBorder | |||
editor.findMatchHighlightBackground | |||
editor.findRangeHighlightBackground | |||
editor.foreground | |||
editor.inactiveSelectionBackground | |||
editor.lineHighlightBackground | |||
editor.selectionBackground | |||
editor.wordHighlightBackground | |||
editor.wordHighlightBorder | |||
editor.wordHighlightStrongBackground | |||
editor.wordHighlightStrongBorder | |||
editor.wordHighlightTextBackground | |||
editorBracketHighlight.foreground1 | |||
editorBracketHighlight.foreground2 | |||
editorBracketHighlight.foreground3 | |||
editorBracketHighlight.foreground4 | |||
editorBracketHighlight.foreground5 | |||
editorBracketHighlight.foreground6 | |||
editorBracketMatch.background | |||
editorBracketMatch.border | |||
editorCursor.foreground | |||
editorError.background | |||
editorError.foreground | |||
editorGroup.border | |||
editorGroupHeader.tabsBackground | |||
editorGroupHeader.tabsBorder | |||
editorGutter.addedBackground | |||
editorGutter.deletedBackground | |||
editorGutter.foldingControlForeground | |||
editorGutter.modifiedBackground | |||
editorHint.foreground | |||
editorHoverWidget.background | |||
editorHoverWidget.border | |||
editorHoverWidget.foreground | |||
editorIndentGuide.activeBackground1 | |||
editorIndentGuide.background1 | |||
editorInfo.background | |||
editorInfo.foreground | |||
editorLightBulb.foreground | |||
editorLightBulbAutoFix.foreground | |||
editorLineNumber.activeForeground | |||
editorLineNumber.foreground | |||
editorOverviewRuler.addedForeground | |||
editorOverviewRuler.bracketMatchForeground | |||
editorOverviewRuler.deletedForeground | |||
editorOverviewRuler.errorForeground | |||
editorOverviewRuler.findMatchForeground | |||
editorOverviewRuler.infoForeground | |||
editorOverviewRuler.modifiedForeground | |||
editorOverviewRuler.selectionHighlightForeground | |||
editorOverviewRuler.warningForeground | |||
editorOverviewRuler.wordHighlightForeground | |||
editorOverviewRuler.wordHighlightStrongForeground | |||
editorOverviewRuler.wordHighlightTextForeground | |||
editorSuggestWidget.background | |||
editorSuggestWidget.border | |||
editorSuggestWidget.foreground | |||
editorSuggestWidget.highlightForeground | |||
editorSuggestWidget.selectedBackground | |||
editorWarning.background | |||
editorWarning.foreground | |||
editorWhitespace.foreground | |||
editorWidget.background | |||
editorWidget.border | |||
editorWidget.foreground | |||
editorWidget.resizeBorder | |||
extensionBadge.remoteBackground | |||
extensionBadge.remoteForeground | |||
extensionButton.prominentBackground | |||
extensionButton.prominentForeground | |||
extensionButton.prominentHoverBackground | |||
focusBorder | |||
gitDecoration.conflictingResourceForeground | |||
gitDecoration.deletedResourceForeground | |||
gitDecoration.ignoredResourceForeground | |||
gitDecoration.modifiedResourceForeground | |||
gitDecoration.untrackedResourceForeground | |||
inlineChat.background | |||
inlineChat.border | |||
inlineChatDiff.inserted | |||
inlineChatDiff.removed | |||
input.background | |||
input.border | |||
input.foreground | |||
inputOption.activeBorder | |||
keybindingLabel.background | |||
keybindingLabel.border | |||
keybindingLabel.bottomBorder | |||
keybindingLabel.foreground | |||
list.activeSelectionBackground | |||
list.activeSelectionForeground | |||
list.highlightForeground | |||
list.hoverBackground | |||
list.inactiveSelectionBackground | |||
menu.background | |||
menu.foreground | |||
menu.selectionBackground | |||
menu.selectionForeground | |||
menu.separatorBackground | |||
menubar.selectionBackground | |||
menubar.selectionForeground | |||
minimap.errorHighlight | |||
minimap.findMatchHighlight | |||
minimap.selectionHighlight | |||
minimap.warningHighlight | |||
minimapGutter.addedBackground | |||
minimapGutter.deletedBackground | |||
minimapGutter.modifiedBackground | |||
notebook.cellBorderColor | |||
notebook.cellHoverBackground | |||
notebook.cellToolbarSeparator | |||
notebook.editorBackground | |||
notebook.focusedCellBorder | |||
notificationCenterHeader.background | |||
notificationCenterHeader.foreground | |||
notificationLink.foreground | |||
notifications.background | |||
notifications.border | |||
notifications.foreground | |||
notificationToast.border | |||
panel.background | |||
panel.border | |||
panelTitle.activeBorder | |||
panelTitle.activeForeground | |||
panelTitle.inactiveForeground | |||
peekView.border | |||
peekViewEditor.background | |||
peekViewEditor.matchHighlightBackground | |||
peekViewResult.background | |||
peekViewResult.matchHighlightBackground | |||
peekViewResult.selectionBackground | |||
peekViewResult.selectionForeground | |||
peekViewTitle.background | |||
peekViewTitleDescription.foreground | |||
peekViewTitleLabel.foreground | |||
ports.iconRunningProcessForeground | |||
problemsErrorIcon.foreground | |||
problemsInfoIcon.foreground | |||
problemsWarningIcon.foreground | |||
quickInput.background | |||
quickInput.foreground | |||
quickInputList.focusBackground | |||
quickInputTitle.background | |||
sash.hoverBorder | |||
scrollbarSlider.activeBackground | |||
scrollbarSlider.background | |||
scrollbarSlider.hoverBackground | |||
searchEditor.findMatchBackground | |||
searchEditor.findMatchBorder | |||
settings.checkboxBackground | |||
settings.checkboxBorder | |||
settings.checkboxForeground | |||
settings.dropdownBackground | |||
settings.dropdownBorder | |||
settings.dropdownForeground | |||
settings.headerForeground | |||
settings.modifiedItemIndicator | |||
settings.numberInputBackground | |||
settings.numberInputForeground | |||
settings.textInputBackground | |||
settings.textInputBorder | |||
settings.textInputForeground | |||
sideBar.background | |||
sideBar.border | |||
sideBar.foreground | |||
sideBarSectionHeader.background | |||
sideBarSectionHeader.foreground | |||
sideBarTitle.foreground | |||
statusBar.background | |||
statusBar.border | |||
statusBar.debuggingBackground | |||
statusBar.debuggingForeground | |||
statusBar.foreground | |||
statusBar.noFolderBackground | |||
statusBarItem.errorBackground | |||
statusBarItem.errorForeground | |||
statusBarItem.remoteBackground | |||
statusBarItem.remoteForeground | |||
statusBarItem.warningBackground | |||
statusBarItem.warningForeground | |||
symbolIcon.arrayForeground | |||
symbolIcon.booleanForeground | |||
symbolIcon.classForeground | |||
symbolIcon.colorForeground | |||
symbolIcon.constantForeground | |||
symbolIcon.constructorForeground | |||
symbolIcon.enumeratorForeground | |||
symbolIcon.enumeratorMemberForeground | |||
symbolIcon.eventForeground | |||
symbolIcon.fieldForeground | |||
symbolIcon.fileForeground | |||
symbolIcon.folderForeground | |||
symbolIcon.functionForeground | |||
symbolIcon.interfaceForeground | |||
symbolIcon.keyForeground | |||
symbolIcon.keywordForeground | |||
symbolIcon.methodForeground | |||
symbolIcon.moduleForeground | |||
symbolIcon.namespaceForeground | |||
symbolIcon.nullForeground | |||
symbolIcon.numberForeground | |||
symbolIcon.objectForeground | |||
symbolIcon.operatorForeground | |||
symbolIcon.packageForeground | |||
symbolIcon.propertyForeground | |||
symbolIcon.referenceForeground | |||
symbolIcon.snippetForeground | |||
symbolIcon.stringForeground | |||
symbolIcon.structForeground | |||
symbolIcon.textForeground | |||
symbolIcon.typeParameterForeground | |||
symbolIcon.unitForeground | |||
symbolIcon.variableForeground | |||
tab.activeBackground | |||
tab.activeBorderTop | |||
tab.activeForeground | |||
tab.border | |||
tab.hoverBackground | |||
tab.inactiveBackground | |||
tab.inactiveForeground | |||
terminal.ansiBlack | |||
terminal.ansiBlue | |||
terminal.ansiBrightBlack | |||
terminal.ansiBrightBlue | |||
terminal.ansiBrightCyan | |||
terminal.ansiBrightGreen | |||
terminal.ansiBrightMagenta | |||
terminal.ansiBrightRed | |||
terminal.ansiBrightWhite | |||
terminal.ansiBrightYellow | |||
terminal.ansiCyan | |||
terminal.ansiGreen | |||
terminal.ansiMagenta | |||
terminal.ansiRed | |||
terminal.ansiWhite | |||
terminal.ansiYellow | |||
terminal.background | |||
terminal.foreground | |||
terminal.selectionBackground | |||
terminal.tab.activeBorder | |||
terminalCommandDecoration.defaultBackground | |||
terminalCommandDecoration.errorBackground | |||
terminalCommandDecoration.successBackground | |||
terminalCursor.foreground | |||
testing.iconErrored | |||
testing.iconFailed | |||
testing.iconPassed | |||
testing.iconQueued | |||
testing.iconSkipped | |||
testing.iconUnset | |||
testing.message.error.lineBackground | |||
testing.message.info.decorationForeground | |||
testing.runAction | |||
textBlockQuote.background | |||
textBlockQuote.border | |||
textLink.activeForeground | |||
textLink.foreground | |||
textPreformat.foreground | |||
textSeparator.foreground | |||
titleBar.activeBackground | |||
titleBar.activeForeground | |||
titleBar.border | |||
titleBar.inactiveBackground | |||
walkThrough.embeddedEditorBackground | |||
walkthrough.stepTitle.foreground | |||
welcomePage.background | |||
welcomePage.tileBackground | |||
welcomePage.tileBorder | |||
welcomePage.tileHoverBackground | |||
widget.shadow |
Foregrounds this theme assigns to the token scope catalog. A rule with only a font style is skipped, and a longer matching scope wins. Italic and bold rules are not listed — the preview above shows them in the code.
| scope | HEX | RGB | RGBA |
|---|---|---|---|
comment | |||
comment.block | |||
comment.block.documentation | |||
comment.line | |||
constant | |||
constant.character | |||
constant.character.escape | |||
constant.numeric | |||
constant.numeric.integer | |||
constant.numeric.float | |||
constant.numeric.hex | |||
constant.numeric.octal | |||
constant.other | |||
constant.other.placeholder | |||
entity | |||
entity.name | |||
entity.name.class | |||
entity.name.function | |||
entity.name.method | |||
entity.name.namespace | |||
entity.name.section | |||
entity.name.tag | |||
entity.name.type | |||
entity.name.type.enum | |||
entity.name.type.interface | |||
entity.name.type.struct | |||
entity.other | |||
entity.other.attribute-name | |||
entity.other.inherited-class | |||
invalid | |||
invalid.deprecated | |||
invalid.illegal | |||
keyword | |||
keyword.control | |||
keyword.control.flow | |||
keyword.operator | |||
keyword.operator.new | |||
keyword.operator.assignment | |||
keyword.operator.arithmetic | |||
keyword.operator.logical | |||
keyword.other | |||
markup | |||
markup.bold | |||
markup.deleted | |||
markup.heading | |||
markup.inline.raw | |||
markup.inserted | |||
markup.italic | |||
markup.list | |||
markup.list.numbered | |||
markup.list.unnumbered | |||
markup.quote | |||
markup.raw | |||
markup.underline | |||
markup.underline.link | |||
meta | |||
meta.class | |||
meta.function-call | |||
meta.tag | |||
meta.type.annotation | |||
meta.type | |||
punctuation.definition.bracket | |||
punctuation.definition.comment | |||
punctuation.definition.string.begin | |||
punctuation.definition.string.end | |||
punctuation.separator | |||
punctuation.separator.continuation | |||
punctuation.terminator | |||
storage | |||
storage.modifier | |||
storage.type | |||
string | |||
string.interpolated | |||
string.other | |||
string.quoted | |||
string.quoted.double | |||
string.quoted.other | |||
string.quoted.single | |||
string.quoted.triple | |||
string.regexp | |||
string.template | |||
string.unquoted | |||
support | |||
support.class | |||
support.constant | |||
support.function | |||
support.other | |||
support.type | |||
support.type.primitive | |||
support.type.property-name | |||
support.variable | |||
variable | |||
variable.function | |||
variable.language | |||
variable.name | |||
variable.other | |||
variable.other.constant | |||
variable.other.property | |||
variable.other.readwrite | |||
variable.parameter |
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}!`;
}