TurboGPT Theme
Publisher: xRiskLabThemes in package: 2
Retro GPT 3.5 inspired theme with elegant teal/cyan tones and warm accents - optimized for JSON, TypeScript, and YAML
Retro GPT 3.5 inspired theme with elegant teal/cyan tones and warm accents - optimized for JSON, TypeScript, and YAML
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 | #64748b | italic |
| source.python meta.function.parameters.python support.type.python, source.python meta.function.python support.type.python, source.python support.type.python, meta.function.parameters.python support.type.python, meta.function.python support.type.python, support.type.python | #A64D79 | — |
| storage.type.function, storage.type.function.python, storage.type.function.js, storage.type.function.ts | #2563A8 | — |
| keyword, storage.type, storage.modifier, keyword.control, keyword.operator.new | #b8845a | — |
| punctuation.definition.string.begin, punctuation.definition.string.end, punctuation.definition.string, string.quoted.single punctuation.definition.string, string.quoted.double punctuation.definition.string, string.quoted.triple punctuation.definition.string | #0f9b8e | — |
| string, string.quoted.single, string.quoted.double, string.template, string.quoted.triple | #0f9b8e | — |
| support.type.property-name.json, string.quoted.double.json punctuation.definition.string.json, string.quoted.double.json meta.structure.dictionary.json support.type.property-name.json | #b8845a | — |
| source.json string.quoted.double, source.json meta.structure.dictionary.value string.quoted.double | #0f9b8e | — |
| entity.name.tag.yaml, source.yaml entity.name.tag | #b8845a | — |
| source.yaml string.quoted, source.yaml string.unquoted | #0f9b8e | — |
| source.python entity.name.type, source.python storage.type, entity.name.type.python | #A64D79 | — |
| entity.name.type, entity.name.class, support.type, support.class, entity.name.type.alias, entity.name.type.interface, entity.name.type.enum | #2563A8 | — |
| storage.type.typescript, storage.type.interface.typescript, storage.type.type.typescript | #b8845a | — |
| meta.function-call entity.name.function, support.function | #b8845a | — |
| entity.name.function, entity.name.method | #b8845a | — |
| entity.name.function.definition, meta.function.definition entity.name.function | #1a202c | — |
| variable.parameter, variable.parameter.function, variable.parameter.function.language.python, meta.function.parameters.python variable.parameter, meta.function.python variable.parameter | #1a202c | — |
| variable, variable.other, variable.other.readwrite, variable.other.object.property | #334155 | — |
| variable.other.property, variable.other.object.property, entity.name.attribute, meta.object-literal.key | #b8845a | — |
| constant.numeric, constant.language.boolean, constant.language.null | #0f9b8e | — |
| constant.character.format.placeholder.other.python, constant.character.format.placeholder.python, meta.format.brace.python constant.character.format.placeholder, string.quoted.single.python constant.character.format.placeholder, string.quoted.double.python constant.character.format.placeholder, meta.function-call.arguments.python constant.character.format.placeholder | #0f9b8e | — |
| constant, constant.character, constant.other, constant.language | #0f9b8e | — |
| source.python meta.function-call.python meta.function-call.arguments.python meta.member.access.python punctuation.definition.arguments.end.python, source.python meta.function-call.python meta.function-call.arguments.python punctuation.definition.arguments.end.python, source.python meta.function-call.python meta.function-call.arguments.python punctuation.definition.arguments.begin.python, source.python meta.function-call.python meta.member.access.python punctuation.definition.arguments.end.python, source.python meta.function-call.python punctuation.definition.arguments.end.python, source.python meta.function-call.python punctuation.definition.arguments.begin.python, meta.function-call.python meta.function-call.arguments.python meta.member.access.python punctuation.definition.arguments.end.python, meta.function-call.python meta.function-call.arguments.python punctuation.definition.arguments.end.python, meta.function-call.python meta.function-call.arguments.python punctuation.definition.arguments.begin.python, meta.function-call.python meta.member.access.python punctuation.definition.arguments.end.python, meta.function-call.python punctuation.definition.arguments.end.python, meta.function-call.python punctuation.definition.arguments.begin.python, punctuation.definition.arguments.end.python, punctuation.definition.arguments.begin.python, punctuation.definition.arguments.end, punctuation.definition.arguments.begin, punctuation.definition.arguments | #A64D79 | — |
| punctuation.separator.colon, punctuation.separator.key-value | #A64D79 | — |
| punctuation.section.parens, punctuation.section.parens.begin, punctuation.section.parens.end, meta.group | #A64D79 | — |
| punctuation.section.braces, punctuation.section.braces.begin, punctuation.section.braces.end, meta.brace | #A64D79 | — |
| keyword.operator, punctuation.accessor, punctuation.separator, punctuation.section.brackets, punctuation.section.brackets.begin, punctuation.section.brackets.end, punctuation.terminator, punctuation.definition.parameters, punctuation.definition.parameters.begin, punctuation.definition.parameters.end, punctuation, punctuation.definition, punctuation.section, meta.bracket | #1a202c | — |
| entity.name.tag, punctuation.definition.tag | #b8845a | — |
| punctuation.definition.decorator, entity.name.function.decorator | #0a7c72 | — |
| keyword.control.import, keyword.control.from, keyword.control.export, keyword.control.default | #2563A8 | — |
| markup.heading | #0a7c72 | bold |
| markup.inline.raw, markup.fenced_code.block | #1a202c | — |
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}!`;
}