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 | #00D4FF | bold |
| keyword.other.mvbasic, storage.type.mvbasic, keyword.declaration.mvbasic | #D4A5FF | bold |
| keyword.operator.mvbasic, keyword.operator.logical.mvbasic | #FF6B9D | bold |
| support.function.builtin.relational.mvbasic | #FF6B9D | bold |
| variable.mvbasic | #00C8FF | — |
| variable.parameter.mvbasic | #B084F7 | — |
| variable.other.constant.atvar.mvbasic, constant.language.mvbasic | #FF6B9D | bold |
| constant.language.system-variable.mvbasic | #FF6B9D | bold |
| punctuation.definition.mvbasic | #8BE9FD | — |
| constant.numeric.mvbasic | #8BE9FD | bold |
| entity.name.function.mvbasic, entity.name.function.external.mvbasic, support.function.external.mvbasic | #BD93F9 | italic |
| meta.function-call.mvbasic entity.name.function, meta.function-call.external.mvbasic | #BD93F9 | italic |
| support.function.builtin.mvbasic, support.function.system.mvbasic, entity.name.function.builtin.mvbasic | #BD93F9 | italic |
| keyword.control.gosub.mvbasic, support.function.gosub.mvbasic | #00D4FF | bold |
| meta.function-call.gosub.mvbasic, support.function.gosub.mvbasic variable.other.label.mvbasic, keyword.control.gosub.mvbasic + variable.other.mvbasic, variable.other.readwrite.mvbasic, entity.name.function.gosub.mvbasic, meta.gosub.mvbasic entity.name.label.reference.mvbasic | #FF79C6 | bold italic |
| entity.name.function.gosub-reference.mvbasic | #FF79C6 | bold italic |
| entity.name.label.mvbasic, meta.label.mvbasic | #FF79C6 | bold italic underline |
| string.quoted.mvbasic | #F1FA8C | — |
| string.quoted.single.mvbasic | #F1FA8C | bold |
| comment.line.mvbasic | #7A88C2 | italic |
| support.function.system.mvbasic, variable.other.system.mvbasic | #FF6B9D | bold |
| punctuation.definition.system.mvbasic | #8BE9FD | bold |
| keyword.operator.at.mvbasic | #FF6B9D | bold |
| meta.function-call.system.mvbasic, support.function.at-function.mvbasic | #00D4FF | bold underline |
| punctuation.section.function.begin.mvbasic, punctuation.section.parens.begin.mvbasic | #8BE9FD | — |
| punctuation.separator.mvbasic, punctuation.terminator.mvbasic | #D4A5FF | — |
| keyword.operator.mvbasic.at | #FF6B9D | bold |
| keyword.control.directive.mvbasic | #FFD700 | bold italic |
| keyword.declaration.fucntion.mvbasic, storage.type.function.mvbasic | #D4A5FF | bold underline |
| keyword.other.builtin.system.mvbasic | #FF6B9D | bold |
| keyword.other.io.mvbasic | #00D4FF | bold |
| keyword.other.misc.mvbasic | #FF9500 | — |
| keyword.other.nls.mvbasic | #D4A5FF | italic |
| keyword.other.select.mvbasic | #00D4FF | bold |
| support.function.builtin.conversion.mvbasic | #8BE9FD | bold |
| support.function.builtin.math.mvbasic | #8BE9FD | bold |
| support.function.builtin.rpc.mvbasic | #FF6B9D | bold italic |
| punctuation.section.parens.begin.mvbasic, punctuation.section.parens.end.mvbasic | #8BE9FD | bold |
| punctuation.separator.mvbasic, punctuation.terminator.mvbasic | #D4A5FF | — |
| entity.name.constant.marks.mvbasic | #FF6B9D | bold underline |
| entity.name.tag.mvbasic | #FF79C6 | bold italic underline |
| storage.type, keyword.declaration.type.mvbasic | #D4A5FF | bold |
| meta.function-call.user.mvbasic, variable.function.user.mvbasic | #BD93F9 | bold |
| variable.other.identifier.uppercase.mvbasic | #00C8FF | bold |
| keyword.other.io.mvbasic | #00D4FF | bold |
| keyword.other.mvbasic | #00D4FF | bold |
| keyword.control.conditional.mvbasic | #00D4FF | bold |
| keyword.other.statement.mvbasic | #00D4FF | bold |
| support.function.io.mvbasic | #00D4FF | bold |
| variable.other.mvbasic | #00D4FF | bold |
| entity.name.type.file-handle.mvbasic | #FFD700 | bold underline |
| text.mvbasic | #00D4FF | bold |
| source.mvbasic entity.name | #BD93F9 | bold |
| entity.name.label.mvbasic, meta.label.mvbasic, entity.name.label.definition.mvbasic | #FF79C6 | bold italic underline |
| string.unquoted.gosub.mvbasic, entity.name.gosub.mvbasic, variable.gosub.mvbasic | #FF79C6 | bold italic |
| keyword.control.gosub.mvbasic + entity.name, keyword.control.gosub.mvbasic + variable, support.function.gosub.mvbasic + entity.name, support.function.gosub.mvbasic + variable | #FF79C6 | bold italic |
| variable.other.label-reference.mvbasic, entity.name.function.label-reference.mvbasic, meta.gosub.mvbasic variable.other.mvbasic, support.function.gosub.mvbasic variable.other.mvbasic, keyword.control.gosub.mvbasic ~ variable.other.mvbasic, meta.statement.gosub.mvbasic variable.other.mvbasic, source.mvbasic variable.other.readwrite.mvbasic, source.mvbasic entity.name.function.call.mvbasic | #FF79C6 | bold italic |
| entity.name.tag.mvbasic | #FF79C6 | bold italic underline |
| entity.name.function.external.mvbasic, support.function.external.mvbasic, support.function.builtin.mvbasic, support.function.system.mvbasic, entity.name.function.builtin.mvbasic, meta.function-call.external.mvbasic entity.name.function, support.function.builtin.relational.mvbasic, support.function.builtin.conversion.mvbasic, support.function.builtin.math.mvbasic, support.function.io.mvbasic, entity.name.function.call.mvbasic, support.function.call.mvbasic, variable.function.mvbasic | #BD93F9 | italic |
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}!`;
}