GelGel Theme
Publisher: Lance WilhelmThemes in package: 1
Color theme filled with darkness, sprinkles, and happiness. Orange is begrudingly included sparsely.
Color theme filled with darkness, sprinkles, and happiness. Orange is begrudingly included sparsely.
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 | #D7D9CB4D | italic |
| variable | #D0B8E8 | — |
| constant | #75BFFD | — |
| constant.character.escape | #F67FC9 | — |
| entity.name | #6AF891 | — |
| entity.name.function | #F67FC9 | — |
| entity.name.tag | #D0B8E8 | — |
| entity.name.type, storage.type.cs | #D0B8E8 | — |
| entity.other.attribute-name | #F5EB73 | italic |
| entity.other.inherited-class | #F5EB73 | — |
| entity.other.attribute-name.id | #F67FC9 | — |
| entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class | #75BFFD | — |
| entity.name.variable, variable | #D0B8E8 | — |
| variable.other.constant | #F5EB73 | — |
| keyword | #F5EB73 | italic |
| keyword.operator | #D7D9CB | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.logical, keyword.operator.delete | #9CE9CF | — |
| keyword.other.unit | #D0B8E8 | — |
| markup.quote | #75BFFD | italic |
| markup.heading, entity.name.section | #D0B8E8 | — |
| markup.bold | #9CE9CF | bold |
| markup.italic | #F67FC9 | italic |
| markup.inline.raw, markup.fenced_code.block | #D0B8E8 | — |
| markup.underline.link | #75BFFD | — |
| storage | #9CE9CF | italic |
| string.quoted, string.template, string.unquoted | #75BFFD | — |
| string.regexp | #D0B8E8 | — |
| string.other.link | #D0B8E8 | — |
| support | #9CE9CF | — |
| support.function | #F67FC9 | — |
| support.variable | #FBB67F | — |
| support.type.property-name, meta.object-literal.key | #D0B8E8 | — |
| support.type.property-name.css | #D7D9CB | — |
| variable.language | #FBB67F | italic |
| variable.parameter | — | italic |
| string.template meta.embedded | #D7D9CB | — |
| punctuation.definition.tag | #D0B8E8 | — |
| punctuation.separator | #D7D9CB | — |
| punctuation.definition.template-expression | #9CE9CF | — |
| punctuation.section.embedded | #9CE9CF | — |
| punctuation.definition.list | #D7D9CB | — |
| meta.function-call.generic.python | #F67FC9 | — |
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}!`;
}