QB64PE Theme
Publisher: grymmjackThemes in package: 2
QB64PE Theme - A modern take on retro for QB64PE vscode development.
QB64PE Theme - A modern take on retro for QB64PE vscode development.
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 |
|---|---|---|
| meta.embedded, source.groovy.embedded | #6688CC | — |
| comment | #384887 | — |
| string | #22AA44 | — |
| constant.numeric | #F280D0 | — |
| constant.language | #F280D0 | — |
| constant.character, constant.other | #F280D0 | — |
| variable | — | |
| keyword | #225588 | — |
| storage | #225588 | |
| storage.type | #9966B8 | italic |
| entity.name.class, entity.name.type | #FFEEBB | underline |
| entity.other.inherited-class | #DDBB88 | italic underline |
| entity.name.function | #DDBB88 | |
| variable.parameter | #2277FF | italic |
| entity.name.tag | #225588 | |
| entity.other.attribute-name | #DDBB88 | |
| support.function | #9966B8 | |
| support.constant | #9966B8 | |
| support.type, support.class | #9966B8 | italic |
| support.other.variable | — | |
| invalid | #F8F8F0 | |
| invalid.deprecated | #F8F8F0 | — |
| meta.diff, meta.diff.header | #E0EDDD | italic |
| markup.deleted | #DC322F | |
| markup.changed | #CB4B16 | |
| markup.inserted | #219186 | — |
| markup.quote | #22AA44 | — |
| markup.bold, markup.italic | #22AA44 | — |
| markup.inline.raw | #9966B8 | |
| markup.heading.setext | #DDBB88 | |
| token.info-token | #6796E6 | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #F44747 | — |
| token.debug-token | #B267E6 | — |
| comment | #808080 | — |
| string | #FFFF00 | — |
| keyword | #5ED8F0 | — |
| keyword.control | #5ED8F0 | — |
| storage | #5ED8F0 | — |
| storage.type | #5ED8F0 | — |
| constant.numeric | #FF00FF | — |
| entity.name.type | #FFFFFF | — |
| entity.name.class | #FFFFFF | — |
| support.type | #FFFFFF | — |
| support.class | #FFFFFF | — |
| entity.name.function | #00FF00 | — |
| variable | #FFFFFF | — |
| comment, comment.block, comment.block.documentation, comment.line, constant, constant.character, constant.character.escape, constant.numeric, constant.numeric.integer, constant.numeric.float, constant.numeric.hex, constant.numeric.octal, constant.other, constant.regexp, constant.rgb-value, emphasis, entity, entity.name, entity.name.class, entity.name.function, entity.name.method, entity.name.section, entity.name.selector, entity.name.tag, entity.name.type, entity.other, entity.other.attribute-name, entity.other.inherited-class, invalid, invalid.deprecated, invalid.illegal, keyword, keyword.control, keyword.operator, keyword.operator.new, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.logical, keyword.other, markup, markup.bold, markup.changed, markup.deleted, markup.heading, markup.inline.raw, markup.inserted, markup.italic, markup.list, markup.list.numbered, markup.list.unnumbered, markup.other, markup.quote, markup.raw, markup.underline, markup.underline.link, meta, meta.block, meta.cast, meta.class, meta.function, meta.function-call, meta.preprocessor, meta.return-type, meta.selector, meta.tag, meta.type.annotation, meta.type, punctuation.definition.string.begin, punctuation.definition.string.end, punctuation.separator, punctuation.separator.continuation, punctuation.terminator, storage, storage.modifier, storage.type, string, string.interpolated, string.other, string.quoted, string.quoted.double, string.quoted.other, string.quoted.single, string.quoted.triple, string.regexp, string.unquoted, strong, support, support.class, support.constant, support.function, support.other, support.type, support.type.property-name, support.variable, variable, variable.language, variable.name, variable.other, variable.other.readwrite, variable.parameter | — | |
| comment | #8681C9 | — |
| punctuation.definition.comment | #8681C9 | — |
| string | #FFFF55 | — |
| meta.embedded.assembly | #FFFF55 | — |
| keyword - keyword.operator | #FFFFFF | — |
| keyword.control | #FFFFFF | — |
| storage | #FFFFFF | — |
| storage.type | #FFFFFF | — |
| constant.numeric | #FF85A7 | — |
| entity.name.type | #59DDF5 | — |
| entity.name.class | #59DDF5 | — |
| support.type | #59DDF5 | — |
| support.class | #59DDF5 | — |
| entity.name.function | #52DD7C | — |
| support.function | #52DD7C | — |
| variable | #59DDF5 | — |
| entity.name.variable | #59DDF5 | — |
| comment, comment.block, comment.block.documentation, comment.line, constant, constant.character, constant.character.escape, constant.numeric, constant.numeric.integer, constant.numeric.float, constant.numeric.hex, constant.numeric.octal, constant.other, constant.regexp, constant.rgb-value, emphasis, entity, entity.name, entity.name.class, entity.name.function, entity.name.method, entity.name.section, entity.name.selector, entity.name.tag, entity.name.type, entity.other, entity.other.attribute-name, entity.other.inherited-class, invalid, invalid.deprecated, invalid.illegal, keyword, keyword.control, keyword.operator, keyword.operator.new, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.logical, keyword.other, markup, markup.bold, markup.changed, markup.deleted, markup.heading, markup.inline.raw, markup.inserted, markup.italic, markup.list, markup.list.numbered, markup.list.unnumbered, markup.other, markup.quote, markup.raw, markup.underline, markup.underline.link, meta, meta.block, meta.cast, meta.class, meta.function, meta.function-call, meta.preprocessor, meta.return-type, meta.selector, meta.tag, meta.type.annotation, meta.type, punctuation.definition.string.begin, punctuation.definition.string.end, punctuation.separator, punctuation.separator.continuation, punctuation.terminator, storage, storage.modifier, storage.type, string, string.interpolated, string.other, string.quoted, string.quoted.double, string.quoted.other, string.quoted.single, string.quoted.triple, string.regexp, string.unquoted, strong, support, support.class, support.constant, support.function, support.other, support.type, support.type.property-name, support.variable, variable, variable.language, variable.name, variable.other, variable.other.readwrite, variable.parameter | — | |
| keyword.all.QB64PE, keywords.all.QB64PE, keyword.QB64PE | #E2FFFF | — |
| graphics.QB64PE, entity.name.function.QB64PE | #DF77FF | — |
| sound.QB64PE | #FFBB00 | — |
| keyword.control.QB64PE | #95EBF1 | — |
| debug.QB64PE, metacommand.QB64PE | #FF85A7 | — |
| entity.name.tag | #FFFFFF | — |
| userfunctions.QB64PE | #52DD7C | — |
| entity.name.tag.css | #55FF55 | — |
| entity.other.attribute-name | #55FFFF | — |
| string.quoted.double | #FFFF55 | — |
| comment.line.double-slash | #55FFFF | — |
| variable.parameter | #FFFF55 | — |
| entity.other.attribute-name | #55FF55 | — |
| variable.other.readwrite | #59DDF5 | — |
| support.constant.property-value | #93C4EB | — |
| support.constant.value | #93C4EB | — |
| support.constant.font-name.css | #93C4EB | — |
| support.constant.color.w3c-extended-color-name.css | #93C4EB | — |
| support.constant.color.w3c-standard-color-name.css | #93C4EB | — |
| variable.other.QB64PE | #FEFFE6 | |
| keyword.other.unit, meta.link.inline, storage.modifier.async.js | #FF85A7 | — |
| markup.heading.markdown, markup.heading.setext | #55FF55 | — |
| markup.fenced_code.block, punctuation.definition.list, markup.list | #FFFF55 | — |
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}!`;
}