MVBasic Synthwave
Publisher: BelahamThemes in package: 3
A vibrant synthwave-inspired theme for Rocket MVBasic development with neon colors and dark aesthetics.
A vibrant synthwave-inspired theme for Rocket MVBasic development with neon colors and dark aesthetics.
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 |
|---|---|---|
| keyword.control.mvbasic, keyword.control.flow.mvbasic, keyword.control.conditional.flow.mvbasic | #00FFFF | bold |
| keyword.other.mvbasic, storage.type.mvbasic, keyword.declaration.mvbasic | #FF00FF | bold |
| keyword.operator.mvbasic, keyword.operator.logical.mvbasic | #FF0000 | bold |
| support.function.builtin.relational.mvbasic | #FF0000 | bold |
| variable.mvbasic | #FFFFFF | — |
| variable.parameter.mvbasic | #FF00FF | bold |
| variable.other.constant.atvar.mvbasic, constant.language.mvbasic | #FF0000 | bold |
| constant.language.system-variable.mvbasic | #FF0000 | bold |
| punctuation.definition.mvbasic | #00FFFF | bold |
| constant.numeric.mvbasic | #00AAFF | bold |
| entity.name.function.mvbasic | #FFAA00 | bold |
| meta.function-call.mvbasic entity.name.function | #FFAA00 | bold |
| meta.function-call.gosub.mvbasic, support.function.gosub.mvbasic variable.other.label.mvbasic, keyword.control.gosub.mvbasic + variable.other.mvbasic | #FF00FF | bold italic |
| entity.name.function.gosub-reference.mvbasic | #FF00FF | bold italic |
| entity.name.label.mvbasic, meta.label.mvbasic | #FF00FF | bold italic underline |
| string.quoted.mvbasic | #FFFF00 | bold |
| string.quoted.single.mvbasic, string.quoted.double.mvbasic | #FFFF00 | bold |
| comment.line.mvbasic | #808080 | italic |
| support.function.system.mvbasic, variable.other.system.mvbasic | #FF0000 | bold |
| punctuation.definition.system.mvbasic | #00FFFF | bold |
| keyword.operator.at.mvbasic | #FF00FF | bold |
| meta.function-call.system.mvbasic, support.function.at-function.mvbasic | #00FFFF | bold underline |
| punctuation.section.function.begin.mvbasic, punctuation.section.parens.begin.mvbasic | #00AAFF | — |
| punctuation.separator.mvbasic, punctuation.terminator.mvbasic | #FF00FF | — |
| keyword.operator.mvbasic.at | #FF0000 | bold |
| keyword.control.directive.mvbasic | #FFFF00 | bold italic |
| entity.name.type.file-handle.mvbasic | #FFFF00 | bold underline |
| variable.other.label-reference.mvbasic, entity.name.function.label-reference.mvbasic, meta.gosub.mvbasic variable.other.mvbasic, support.function.gosub.mvbasic variable.other.mvbasic | #FF00FF | bold italic |
| entity.name.label.mvbasic, meta.label.mvbasic, entity.name.tag.mvbasic, variable.other.tag.mvbasic | #FF00FF | bold italic underline |
| meta.function-call.external.mvbasic, entity.name.function.external.mvbasic, support.function.external.mvbasic | #FFAA00 | bold |
| variable.other.system.mvbasic, support.function.system.mvbasic, variable.language.mvbasic | #FF0000 | bold |
| entity.name.type.file-handle.mvbasic, variable.other.file-handle.mvbasic, constant.other.file-handle.mvbasic | #FFFF00 | bold underline |
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}!`;
}