Foreglow Theme Pack
Publisher: William N. JohnsonThemes in package: 4
Theme pack for Visual Studio Code (includes Foreglow, Afterglow, Alpenglow, and Airglow with optional glow effects)
Theme pack for Visual Studio Code (includes Foreglow, Afterglow, Alpenglow, and Airglow with optional glow effects)
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.background | |||
activityBar.border | |||
activityBar.foreground | |||
activityBar.inactiveForeground | |||
activityBarBadge.background | |||
activityBarBadge.foreground | |||
badge.background | |||
badge.foreground | |||
breadcrumb.background | |||
breadcrumb.focusForeground | |||
breadcrumb.foreground | |||
button.background | |||
button.foreground | |||
button.hoverBackground | |||
button.secondaryForeground | |||
chat.background | |||
chat.border | |||
chat.copilotMessageBackground | |||
chat.copilotMessageBorder | |||
chat.copilotMessageForeground | |||
chat.foreground | |||
chat.inputBackground | |||
chat.inputTextColor | |||
chat.reasoningBackground | |||
chat.reasoningBorder | |||
chat.reasoningForeground | |||
chatAvatarBackground | |||
chatAvatarForeground | |||
checkbox.activeBackground | |||
checkbox.border | |||
checkbox.foreground | |||
debugConsole.errorForeground | |||
debugConsole.infoForeground | |||
debugConsole.sourceForeground | |||
debugConsole.warningForeground | |||
debugConsoleInput.background | |||
debugConsoleInput.foreground | |||
debugExceptionWidget.background | |||
debugExceptionWidget.border | |||
debugToolBar.background | |||
debugToolBar.border | |||
descriptionForeground | |||
diffEditor.insertedTextBackground | |||
diffEditor.removedTextBackground | |||
dropdown.background | |||
dropdown.border | |||
dropdown.foreground | |||
dropdown.listBackground | |||
editor.background | |||
editor.findMatchBackground | |||
editor.findMatchHighlightBackground | |||
editor.findRangeHighlightBackground | |||
editor.foreground | |||
editor.hoverHighlightBackground | |||
editor.inactiveSelectionBackground | |||
editor.inactiveSelectionForeground | |||
editor.lineHighlightBackground | |||
editor.lineHighlightBorder | |||
editor.rangeHighlightBackground | |||
editor.selectionBackground | |||
editor.selectionForeground | |||
editor.selectionHighlightBackground | |||
editor.wordHighlightBackground | |||
editor.wordHighlightStrongBackground | |||
editorBracketMatch.background | |||
editorBracketMatch.border | |||
editorCursor.foreground | |||
editorGroup.background | |||
editorGroup.border | |||
editorGroup.dropBackground | |||
editorGroupHeader.background | |||
editorGroupHeader.noTabsBackground | |||
editorGroupHeader.tabsActiveForeground | |||
editorGroupHeader.tabsBackground | |||
editorGroupHeader.tabsForeground | |||
editorGutter.addedBackground | |||
editorGutter.background | |||
editorGutter.deletedBackground | |||
editorGutter.modifiedBackground | |||
editorHoverWidget.background | |||
editorHoverWidget.border | |||
editorHoverWidget.foreground | |||
editorIndentGuide.activeBackground | |||
editorIndentGuide.background | |||
editorLineNumber.activeForeground | |||
editorLineNumber.foreground | |||
editorOverviewRuler.bracketMatchForeground | |||
editorSuggestWidget.background | |||
editorSuggestWidget.border | |||
editorSuggestWidget.focusHighlightForeground | |||
editorSuggestWidget.foreground | |||
editorSuggestWidget.highlightForeground | |||
editorSuggestWidget.selectedBackground | |||
editorSuggestWidget.selectedForeground | |||
editorSuggestWidget.statusForeground | |||
editorWhitespace.foreground | |||
editorWidget.background | |||
extensionAuthor.foreground | |||
extensionButton.foreground | |||
extensionButton.hoverForeground | |||
extensionDescription.foreground | |||
extensionName.foreground | |||
inlineSuggest.background | |||
inlineSuggest.border | |||
inlineSuggest.foreground | |||
input.background | |||
input.border | |||
input.foreground | |||
input.placeholderForeground | |||
inputOption.activeBorder | |||
list.activeSelectionBackground | |||
list.activeSelectionForeground | |||
list.filterMatchBackground | |||
list.focusBackground | |||
list.highlightForeground | |||
list.hoverBackground | |||
list.hoverForeground | |||
list.inactiveSelectionBackground | |||
list.inactiveSelectionForeground | |||
menubar.selectionBackground | |||
menubar.selectionForeground | |||
merge.currentBackground | |||
merge.currentHeaderBackground | |||
merge.incomingBackground | |||
merge.incomingHeaderBackground | |||
minimap.findMatchHighlight | |||
minimap.selectionHighlight | |||
notebook.cellEditorBackground | |||
notebook.cellToolbarSeparator | |||
notebook.focusedEditorBorder | |||
notebook.outputContainerBackground | |||
notebook.selectedCellBackground | |||
notebook.selectedCellBorder | |||
notebook.unfocusedEditorBorder | |||
notificationCenterHeader.background | |||
notificationCenterHeader.foreground | |||
notificationLink.foreground | |||
notifications.background | |||
notifications.foreground | |||
panel.background | |||
panel.border | |||
panelSection.border | |||
panelSection.dropBackground | |||
panelSectionHeader.background | |||
panelSectionHeader.foreground | |||
panelTitle.activeBorder | |||
panelTitle.activeForeground | |||
panelTitle.inactiveForeground | |||
peekView.border | |||
peekViewEditor.background | |||
peekViewEditor.matchHighlightBackground | |||
peekViewResult.background | |||
peekViewResult.fileForeground | |||
peekViewResult.lineForeground | |||
peekViewResult.matchHighlightBackground | |||
peekViewResult.selectionBackground | |||
peekViewResult.selectionForeground | |||
peekViewTitle.background | |||
peekViewTitleDescription.foreground | |||
peekViewTitleLabel.foreground | |||
pickerGroup.border | |||
pickerGroup.foreground | |||
problemsErrorIcon.foreground | |||
problemsInfoIcon.foreground | |||
problemsWarningIcon.foreground | |||
progressBar.background | |||
quickInput.background | |||
quickInput.border | |||
quickInput.descriptionBackground | |||
quickInput.descriptionForeground | |||
quickInput.foreground | |||
quickInput.listBackground | |||
quickInput.listFocusBackground | |||
quickInput.listFocusForeground | |||
quickInput.listHoverBackground | |||
quickInput.listHoverForeground | |||
quickInput.titleBackground | |||
quickInput.titleForeground | |||
sash.hoverBorder | |||
scrollbar.shadow | |||
scrollbarSlider.activeBackground | |||
scrollbarSlider.background | |||
scrollbarSlider.hoverBackground | |||
selection.background | |||
settings.checkboxForeground | |||
settings.descriptionForeground | |||
settings.dropdownForeground | |||
settings.headerForeground | |||
settings.inputForeground | |||
settings.textForeground | |||
sideBar.background | |||
sideBar.foreground | |||
sideBarSectionHeader.background | |||
sideBarSectionHeader.foreground | |||
sideBarTitle.foreground | |||
statusBar.background | |||
statusBar.border | |||
statusBar.debuggingBackground | |||
statusBar.foreground | |||
statusBar.noFolderBackground | |||
statusBarItem.activeBackground | |||
statusBarItem.hoverBackground | |||
statusBarItem.prominentBackground | |||
statusBarItem.prominentHoverBackground | |||
statusBarItem.remoteBackground | |||
surface.border | |||
tab.activeBackground | |||
tab.activeBorderTop | |||
tab.activeForeground | |||
tab.activeModifiedBorder | |||
tab.border | |||
tab.inactiveBackground | |||
tab.inactiveForeground | |||
tab.lastPinnedBorder | |||
tab.unfocusedActiveBackground | |||
tab.unfocusedActiveBorderTop | |||
tab.unfocusedActiveForeground | |||
tab.unfocusedInactiveBackground | |||
tab.unfocusedInactiveForeground | |||
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.findMatchBackground | |||
terminal.findMatchBorder | |||
terminal.foreground | |||
terminal.hoverBackground | |||
terminal.selectionBackground | |||
terminal.tab.activeBackground | |||
terminal.tab.activeForeground | |||
terminal.tab.inactiveBackground | |||
terminal.tab.inactiveForeground | |||
terminalPanel.dropBackground | |||
terminalPanel.findMatchBackground | |||
terminalPanel.findMatchBorder | |||
terminalPanel.settingsDescription.foreground | |||
terminalPanel.settingsHeading.foreground | |||
terminalPanelHeader.background | |||
textLink.activeForeground | |||
textLink.foreground | |||
textPreformat.foreground | |||
titleBar.activeBackground | |||
titleBar.activeForeground | |||
titleBar.inactiveBackground | |||
titleBar.inactiveForeground | |||
tooltip.background | |||
tooltip.border | |||
tooltip.foreground | |||
tree.findMatchForeground | |||
tree.indentGuidesStroke | |||
walkThrough.embeddedEditorBackground | |||
walkthrough.foreground | |||
walkthrough.stepTitle.foreground | |||
welcomePage.foreground | |||
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 | |||
constant.regexp | |||
constant.rgb-value | |||
entity | |||
entity.name | |||
entity.name.class | |||
entity.name.function | |||
entity.name.tag | |||
entity.name.type | |||
entity.name.type.enum | |||
entity.name.type.interface | |||
entity.name.type.struct | |||
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.changed | |||
markup.deleted | |||
markup.heading | |||
markup.inserted | |||
markup.raw | |||
meta | |||
meta.function-call | |||
meta.tag | |||
punctuation.definition.comment | |||
punctuation.definition.string.begin | |||
punctuation.definition.string.end | |||
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.function | |||
support.type | |||
support.type.primitive | |||
support.type.property-name | |||
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}!`;
}