Selva Misionera Theme
Publisher: fivanparedesThemes in package: 2
Rainforest-inspired VS Code color themes from Misiones, Argentina. Deep jungle greens, tierra colorada earth tones, and arroyo water blues. Dark and light variants.
Rainforest-inspired VS Code color themes from Misiones, Argentina. Deep jungle greens, tierra colorada earth tones, and arroyo water blues. Dark and light variants.
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 | #6b8d72 | italic |
| string, markup.inline.raw, string.tag | #e39a67 | — |
| constant.numeric, constant.language, constant.character, constant.other | #dcb170 | — |
| keyword, storage, storage.type, storage.modifier | #4fa15a | — |
| keyword.operator, punctuation.separator, punctuation.accessor | #86b07f | — |
| entity.name.function, support.function, meta.function-call, variable.function | #c9a028 | — |
| entity.name.type, entity.name.class, entity.other.inherited-class, entity.other.inherited-class.php, entity.other.inherited-classname, entity.other.inherited-classname.php, entity.name.namespace, support.type, support.class | #c4905c | — |
| variable, meta.definition.variable.name, entity.name.variable | #8adde8 | — |
| variable.language, variable.parameter, meta.parameter | #c8a5e0 | — |
| variable.other.constant, variable.other.enummember | #d0e89a | — |
| entity.other.attribute-name, support.type.property-name, meta.object-literal.key | #ec8f65 | — |
| support.type.property-name.json, support.type.property-name.jsonc | #7ecfdc | — |
| entity.name.tag, punctuation.definition.tag | #5aab5f | — |
| markup.heading, markup.bold | #c9a028 | bold |
| markup.italic, emphasis | #dcb170 | italic |
| markup.inserted, markup.deleted, markup.changed | #e57e61 | — |
| invalid, invalid.illegal | #f7e9e4 | — |
| regexp, string.regexp | #b8df71 | — |
| punctuation.section.embedded.begin, punctuation.section.embedded.end | #4fa15a | — |
| support.other.namespace, meta.use, entity.name.type.namespace, storage.type.namespace | #c4905c | — |
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}!`;
}