Parsinta Exclusive
Publisher: ParsintaThemes in package: 2
A theme that suits your eyes.
A theme that suits your eyes.
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.background | |||
activityBar.border | |||
activityBar.foreground | |||
activityBar.inactiveForeground | |||
activityBarBadge.background | |||
activityBarBadge.foreground | |||
badge.background | |||
badge.foreground | |||
button.background | |||
button.foreground | |||
button.hoverBackground | |||
debugToolBar.background | |||
debugToolBar.border | |||
dropdown.background | |||
editor.background | |||
editor.foreground | |||
editorGroup.emptyBackground | |||
editorGroupHeader.border | |||
editorGroupHeader.noTabsBackground | |||
editorGroupHeader.tabsBackground | |||
editorGutter.background | |||
editorLineNumber.activeForeground | |||
editorLineNumber.foreground | |||
editorWidget.background | |||
editorWidget.border | |||
input.background | |||
input.border | |||
input.foreground | |||
input.placeholderForeground | |||
inputOption.activeBackground | |||
inputOption.activeBorder | |||
inputOption.hoverBackground | |||
keybindingLabel.background | |||
keybindingLabel.border | |||
keybindingLabel.bottomBorder | |||
keybindingTable.headerBackground | |||
keybindingTable.rowsBackground | |||
list.activeSelectionBackground | |||
list.activeSelectionForeground | |||
list.focusOutline | |||
list.hoverBackground | |||
list.inactiveSelectionBackground | |||
list.inactiveSelectionForeground | |||
minimap.background | |||
minimap.findMatchHighlight | |||
minimap.selectionHighlight | |||
panel.background | |||
panel.border | |||
panelTitle.activeBorder | |||
panelTitle.activeForeground | |||
panelTitle.inactiveForeground | |||
quickInput.background | |||
quickInputList.focusBackground | |||
quickInputList.focusForeground | |||
scrollbar.shadow | |||
sideBar.background | |||
sideBar.border | |||
sideBar.foreground | |||
statusBar.background | |||
tab.activeBackground | |||
tab.inactiveBackground | |||
tab.unfocusedHoverForeground | |||
terminal.ansiBrightBlue | |||
terminal.ansiBrightCyan | |||
terminal.ansiBrightGreen | |||
terminal.ansiBrightRed | |||
terminal.ansiGreen | |||
terminal.ansiYellow | |||
terminal.background | |||
terminal.dropBackground | |||
terminal.foreground | |||
terminal.selectionBackground | |||
terminal.selectionForeground | |||
terminalCursor.foreground | |||
titleBar.activeBackground | |||
titleBar.activeForeground | |||
titleBar.border | |||
titleBar.inactiveBackground | |||
titleBar.inactiveForeground |
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.numeric | |||
entity | |||
entity.name | |||
entity.name.function | |||
entity.name.tag | |||
entity.name.type | |||
entity.name.type.enum | |||
entity.other | |||
entity.other.attribute-name | |||
entity.other.inherited-class | |||
keyword | |||
keyword.control | |||
keyword.operator | |||
keyword.operator.new | |||
keyword.operator.logical | |||
keyword.other | |||
meta | |||
meta.function | |||
meta.selector | |||
meta.tag | |||
punctuation.terminator | |||
storage | |||
storage.modifier | |||
storage.type | |||
string | |||
string.quoted | |||
string.quoted.double | |||
string.quoted.single | |||
string.template | |||
support | |||
support.class | |||
support.constant | |||
support.function | |||
support.other | |||
support.type | |||
support.type.property-name | |||
variable | |||
variable.language | |||
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}!`;
}