JetVibe
Publisher: Igor HersonThemes in package: 1
Sets up VSCode to Jetbrains style and includes ready-to-use extras.
Sets up VSCode to Jetbrains style and includes ready-to-use extras.
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 | #8A9099 | italic |
| comment.block.documentation, comment.documentation | #72B26A | italic |
| keyword, storage.type, storage.modifier, keyword.operator.new, keyword.control | #FF8F3A | — |
| keyword.operator, punctuation.separator, punctuation.accessor | #E2E8F0 | — |
| string, meta.embedded.assembly, constant.other.symbol | #8DCB6C | — |
| string.regexp | #6FD2F0 | — |
| constant.numeric | #8FBCEB | — |
| constant.language, variable.language, support.constant | #FF8F3A | — |
| variable.other.constant | #B28DD6 | — |
| variable, meta.definition.variable | #E2E8F0 | — |
| variable.parameter | #E2E8F0 | italic |
| variable.property | #E2E8F0 | — |
| entity.name.type, entity.name.class, support.class | #E2E8F0 | — |
| entity.name.namespace, support.other.namespace | #E2E8F0 | — |
| entity.name.function, meta.function-call, support.function | #FFD173 | — |
| meta.method, entity.name.function.method | #FFD173 | — |
| entity.name.tag, support.class.component | #FFCB6B | — |
| entity.other.attribute-name | #D9DEE4 | — |
| support.type.property-name, meta.object-literal.key, support.type.property-name.json | #E2E8F0 | — |
| punctuation.definition.string, punctuation.definition.parameters, punctuation.section.embedded | #CED4DA | — |
| invalid, invalid.illegal | #FFFFFF | — |
| markup.heading | #7FB8FF | bold |
| markup.bold | — | bold |
| markup.italic | — | italic |
| markup.inline.raw | #8FBCEB | — |
| source.php variable.other | #E2E8F0 | — |
| source.php support.function | #FFD173 | — |
| source.php keyword | #FF8F3A | — |
| source.php storage.type, source.php storage.modifier | #FF8F3A | — |
| source.php entity.name.type.class | #E2E8F0 | — |
| comment.block.documentation.phpdoc | #72B26A | italic |
| source.blade support.function.directive.blade | #FF8F3A | — |
| source.blade variable.other.blade | #E2E8F0 | — |
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}!`;
}