Sonic Inspired Theme
Publisher: AndreLuizJPolesThemes in package: 2
Unofficial fan color themes and character file icons. Four Command Palette modes (Dark/Light × with or without icons). Free, non-profit, not affiliated with SEGA.
Unofficial fan color themes and character file icons. Four Command Palette modes (Dark/Light × with or without icons). Free, non-profit, not affiliated with SEGA.
Full workbench mockup using this variant's colors and tokenColors.
Loading...
Workbench UI color keys from the theme JSON colors map.
TextMate scopes and font styles (syntax highlighting rules).
| scope | foreground | fontStyle |
|---|---|---|
| comment, punctuation.definition.comment | #5BC8D4 | italic |
| keyword, storage.type, storage.modifier, keyword.control | #4D8CFF | bold |
| string, constant.other.symbol | #FFD700 | — |
| constant.numeric, constant.language | #F0C040 | — |
| constant.language.boolean | #FF6B9D | — |
| entity.name.function, support.function, meta.function-call | #7DD3FC | — |
| entity.name.type, entity.name.class, support.type, support.class | #FF9EAA | bold |
| variable, variable.other, variable.parameter | #C8D8FF | — |
| variable.other.property, support.variable.property | #A8C4FF | — |
| entity.name.tag | #FF7A45 | — |
| entity.other.attribute-name | #FFD700 | — |
| keyword.operator | #8B96B8 | — |
| punctuation, meta.brace | #8B96B8 | — |
| entity.name.namespace, support.type.namespace | #FF9EAA | bold |
| meta.decorator, entity.name.function.decorator | #FFD700 | italic |
| keyword.control.import, keyword.control.export, keyword.control.from | #3DDBA8 | — |
| string.regexp | #FF6B9D | — |
| constant.character.escape | #7DD3FC | — |
| invalid, invalid.illegal | #FF7A45 | underline |
| markup.heading, entity.name.section.markdown | #4D8CFF | bold |
| markup.bold | #FFD700 | bold |
| markup.italic | #7DD3FC | italic |
| markup.underline.link | #3DDBA8 | — |
| markup.inline.raw, markup.fenced_code.block | #F0C040 | — |
| support.type.property-name.json | #4D8CFF | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.id.css | #FFD700 | — |
| support.type.property-name.css | #4D8CFF | — |
| support.constant.property-value.css | #F0C040 | — |
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}!`;
}