Onoyama Extensions
Publisher: OnoyamaNekoThemes in package: 2
Light font color with dark background makes writing code easier and more comfortable for the eyes. Snippets Support for HTML/Css
Light font color with dark background makes writing code easier and more comfortable for the eyes. Snippets Support for HTML/Css
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.foreground | |||
activityBar.inactiveForeground | |||
activityBarBadge.background | |||
activityBarBadge.foreground | |||
badge.background | |||
badge.foreground | |||
breadcrumb.background | |||
breadcrumb.focusForeground | |||
breadcrumb.foreground | |||
breadcrumbPicker.background | |||
button.background | |||
button.border | |||
button.foreground | |||
button.hoverBackground | |||
button.secondaryBackground | |||
button.secondaryForeground | |||
button.secondaryHoverBackground | |||
contrastActiveBorder | |||
descriptionForeground | |||
disabledForeground | |||
editor.background | |||
editor.findMatchBackground | |||
editor.findMatchHighlightBackground | |||
editor.findRangeHighlightBackground | |||
editor.foreground | |||
editor.hoverHighlightBackground | |||
editor.lineHighlightBackground | |||
editor.lineHighlightBorder | |||
editor.selectionBackground | |||
editor.selectionHighlightBackground | |||
editor.selectionHighlightBorder | |||
editorBracketHighlight.foreground1 | |||
editorBracketHighlight.foreground2 | |||
editorBracketHighlight.foreground3 | |||
editorBracketHighlight.foreground4 | |||
editorBracketHighlight.foreground5 | |||
editorBracketHighlight.foreground6 | |||
editorBracketMatch.background | |||
editorBracketMatch.border | |||
editorBracketPairGuide.activeBackground1 | |||
editorBracketPairGuide.activeBackground2 | |||
editorBracketPairGuide.activeBackground3 | |||
editorBracketPairGuide.activeBackground4 | |||
editorBracketPairGuide.activeBackground5 | |||
editorBracketPairGuide.activeBackground6 | |||
editorBracketPairGuide.background1 | |||
editorBracketPairGuide.background2 | |||
editorBracketPairGuide.background3 | |||
editorBracketPairGuide.background4 | |||
editorBracketPairGuide.background5 | |||
editorBracketPairGuide.background6 | |||
editorCursor.foreground | |||
editorError.background | |||
editorError.foreground | |||
editorGhostText.foreground | |||
editorGroup.dropBackground | |||
editorGroupHeader.tabsBackground | |||
editorGutter.foldingControlForeground | |||
editorHoverWidget.background | |||
editorHoverWidget.foreground | |||
editorLineNumber.activeForeground | |||
editorLineNumber.foreground | |||
editorSuggestWidget.background | |||
editorSuggestWidget.focusHighlightForeground | |||
editorSuggestWidget.foreground | |||
editorSuggestWidget.highlightForeground | |||
editorSuggestWidget.selectedBackground | |||
editorSuggestWidget.selectedForeground | |||
editorSuggestWidget.selectedIconForeground | |||
editorWidget.background | |||
extensionIcon.preReleaseForeground | |||
extensionIcon.starForeground | |||
extensionIcon.verifiedForeground | |||
focusBorder | |||
foreground | |||
icon.foreground | |||
input.background | |||
input.foreground | |||
input.placeholderForeground | |||
keybindingLabel.background | |||
keybindingLabel.foreground | |||
list.activeSelectionBackground | |||
list.activeSelectionForeground | |||
list.activeSelectionIconForeground | |||
list.focusAndSelectionOutline | |||
list.focusOutline | |||
list.hoverBackground | |||
list.hoverForeground | |||
list.inactiveSelectionBackground | |||
list.inactiveSelectionForeground | |||
list.inactiveSelectionIconForeground | |||
menu.background | |||
menu.foreground | |||
menu.selectionBackground | |||
menu.selectionForeground | |||
menu.separatorBackground | |||
menubar.selectionBackground | |||
menubar.selectionForeground | |||
minimap.background | |||
minimap.errorHighlight | |||
minimap.findMatchHighlight | |||
minimap.foregroundOpacity | |||
minimap.selectionHighlight | |||
minimapSlider.activeBackground | |||
minimapSlider.background | |||
minimapSlider.hoverBackground | |||
pickerGroup.border | |||
pickerGroup.foreground | |||
ports.iconRunningProcessForeground | |||
progressBar.background | |||
quickInput.background | |||
quickInput.foreground | |||
quickInputList.focusBackground | |||
scrollbar.shadow | |||
scrollbarSlider.activeBackground | |||
scrollbarSlider.background | |||
scrollbarSlider.hoverBackground | |||
selection.background | |||
settings.checkboxForeground | |||
settings.dropdownBackground | |||
settings.dropdownForeground | |||
settings.focusedRowBackground | |||
settings.headerForeground | |||
settings.modifiedItemIndicator | |||
settings.numberInputForeground | |||
settings.rowHoverBackground | |||
settings.settingsHeaderHoverForeground | |||
settings.textInputForeground | |||
sideBar.background | |||
sideBar.foreground | |||
sideBarSectionHeader.background | |||
sideBarSectionHeader.border | |||
sideBarSectionHeader.foreground | |||
sideBarTitle.foreground | |||
statusBar.background | |||
statusBar.focusBorder | |||
statusBar.foreground | |||
statusBarItem.hoverBackground | |||
tab.activeBackground | |||
tab.activeBorder | |||
tab.activeBorderTop | |||
tab.activeForeground | |||
tab.hoverBackground | |||
tab.hoverBorder | |||
tab.inactiveBackground | |||
tab.inactiveForeground | |||
terminalCursor.foreground | |||
textLink.activeForeground | |||
textLink.foreground | |||
titleBar.activeBackground | |||
titleBar.activeForeground | |||
titleBar.inactiveBackground | |||
titleBar.inactiveForeground | |||
welcomePage.background | |||
welcomePage.progress.background | |||
welcomePage.progress.foreground | |||
welcomePage.tileBackground | |||
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.line | |||
constant | |||
constant.numeric | |||
constant.other | |||
entity | |||
entity.name | |||
entity.name.function | |||
entity.name.tag | |||
entity.other | |||
entity.other.attribute-name | |||
invalid | |||
invalid.deprecated | |||
keyword | |||
keyword.control | |||
keyword.control.flow | |||
keyword.operator | |||
keyword.operator.new | |||
keyword.operator.assignment | |||
keyword.operator.arithmetic | |||
keyword.operator.logical | |||
keyword.other | |||
meta | |||
punctuation.definition.string.begin | |||
punctuation.definition.string.end | |||
punctuation.separator | |||
storage | |||
storage.type | |||
string | |||
string.quoted | |||
string.quoted.double | |||
string.quoted.single | |||
string.unquoted | |||
support | |||
support.constant | |||
support.function | |||
support.type | |||
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}!`;
}