Celestial
Publisher: Varun A PThemes in package: 1
VS Code theme for all the people who love to code in deep dark spaces.
VS Code theme for all the people who love to code in deep dark spaces.
Full workbench mockup using 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}!`;
}
Celestial is a very dark theme. Background is #0b0c0f.
Comments are #BBBBBB4D. Keywords are #B877DBE6. Functions are #25B0BCE6. Types are #FAC29AE6. Variables are #E95678E6.
Workbench UI color keys from the theme JSON colors map.
| key | HEX | RGB | RGBA |
|---|---|---|---|
activityBar.background | |||
activityBar.dropBackground | |||
activityBar.foreground | |||
activityBarBadge.background | |||
activityBarBadge.foreground | |||
badge.background | |||
badge.foreground | |||
breadcrumbPicker.background | |||
button.background | |||
debugToolBar.background | |||
diffEditor.insertedTextBackground | |||
diffEditor.removedTextBackground | |||
dropdown.background | |||
dropdown.listBackground | |||
editor.background | |||
editor.findMatchBackground | |||
editor.findMatchHighlightBackground | |||
editor.findRangeHighlightBackground | |||
editor.hoverHighlightBackground | |||
editor.lineHighlightBackground | |||
editor.rangeHighlightBackground | |||
editor.selectionBackground | |||
editor.selectionHighlightBackground | |||
editor.wordHighlightBackground | |||
editor.wordHighlightStrongBackground | |||
editorBracketMatch.background | |||
editorBracketMatch.border | |||
editorCodeLens.foreground | |||
editorCursor.background | |||
editorCursor.foreground | |||
editorError.foreground | |||
editorGroup.border | |||
editorGroup.dropBackground | |||
editorGroupHeader.tabsBackground | |||
editorGutter.addedBackground | |||
editorGutter.deletedBackground | |||
editorGutter.modifiedBackground | |||
editorIndentGuide.activeBackground | |||
editorIndentGuide.background | |||
editorLineNumber.activeForeground | |||
editorLineNumber.foreground | |||
editorOverviewRuler.addedForeground | |||
editorOverviewRuler.border | |||
editorOverviewRuler.bracketMatchForeground | |||
editorOverviewRuler.deletedForeground | |||
editorOverviewRuler.errorForeground | |||
editorOverviewRuler.findMatchForeground | |||
editorOverviewRuler.modifiedForeground | |||
editorOverviewRuler.warningForeground | |||
editorRuler.foreground | |||
editorSuggestWidget.highlightForeground | |||
editorWarning.foreground | |||
editorWidget.background | |||
editorWidget.border | |||
errorForeground | |||
extensionButton.prominentBackground | |||
extensionButton.prominentHoverBackground | |||
focusBorder | |||
foreground | |||
gitDecoration.addedResourceForeground | |||
gitDecoration.deletedResourceForeground | |||
gitDecoration.ignoredResourceForeground | |||
gitDecoration.modifiedResourceForeground | |||
gitDecoration.untrackedResourceForeground | |||
input.background | |||
inputOption.activeBorder | |||
inputValidation.errorBackground | |||
inputValidation.errorBorder | |||
list.activeSelectionBackground | |||
list.activeSelectionForeground | |||
list.dropBackground | |||
list.errorForeground | |||
list.focusBackground | |||
list.focusForeground | |||
list.highlightForeground | |||
list.hoverBackground | |||
list.hoverForeground | |||
list.inactiveFocusBackground | |||
list.inactiveSelectionBackground | |||
list.inactiveSelectionForeground | |||
list.warningForeground | |||
notifications.background | |||
panelTitle.activeBorder | |||
peekView.border | |||
peekViewEditor.background | |||
peekViewEditor.matchHighlightBackground | |||
peekViewResult.background | |||
peekViewResult.matchHighlightBackground | |||
peekViewResult.selectionBackground | |||
peekViewTitle.background | |||
pickerGroup.foreground | |||
progressBar.background | |||
scrollbar.shadow | |||
scrollbarSlider.activeBackground | |||
scrollbarSlider.background | |||
scrollbarSlider.hoverBackground | |||
selection.background | |||
sideBar.background | |||
sideBar.dropBackground | |||
sideBar.foreground | |||
sideBarSectionHeader.background | |||
sideBarSectionHeader.foreground | |||
statusBar.background | |||
statusBar.debuggingBackground | |||
statusBar.debuggingForeground | |||
statusBar.foreground | |||
statusBar.noFolderBackground | |||
statusBarItem.hoverBackground | |||
statusBarItem.prominentBackground | |||
statusBarItem.prominentHoverBackground | |||
tab.activeBorder | |||
tab.border | |||
tab.inactiveBackground | |||
terminal.ansiBlue | |||
terminal.ansiBrightBlue | |||
terminal.ansiBrightCyan | |||
terminal.ansiBrightGreen | |||
terminal.ansiBrightMagenta | |||
terminal.ansiBrightRed | |||
terminal.ansiBrightYellow | |||
terminal.ansiCyan | |||
terminal.ansiGreen | |||
terminal.ansiMagenta | |||
terminal.ansiRed | |||
terminal.ansiYellow | |||
terminal.foreground | |||
terminal.selectionBackground | |||
terminalCursor.background | |||
terminalCursor.foreground | |||
textLink.activeForeground | |||
textLink.foreground | |||
titleBar.activeBackground | |||
titleBar.inactiveBackground | |||
walkThrough.embeddedEditorBackground | |||
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.method | |||
entity.name.namespace | |||
entity.name.section | |||
entity.name.selector | |||
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 | |||
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.heading | |||
markup.inline.raw | |||
markup.italic | |||
markup.quote | |||
markup.underline | |||
markup.underline.link | |||
meta | |||
punctuation.separator | |||
punctuation.separator.continuation | |||
storage | |||
storage.modifier | |||
storage.type | |||
string | |||
string.other | |||
string.quoted | |||
string.quoted.double | |||
string.quoted.other | |||
string.quoted.single | |||
string.quoted.triple | |||
string.regexp | |||
string.template | |||
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 |