Jurassic Park Theme
Publisher: Andrea RagalziThemes in package: 1
A VS Code color theme inspired by the lush jungles, amber gold, and retro tech terminals of the 1993 classic, Jurassic Park. Optimized for readability across many languages.
A VS Code color theme inspired by the lush jungles, amber gold, and retro tech terminals of the 1993 classic, Jurassic Park. Optimized for readability across many languages.
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 | #627252 | italic |
| keyword, storage.type, storage.modifier, variable.language.self, variable.language.this, keyword.operator.new, variable.language.super | #D4AF37 | bold |
| string, punctuation.definition.string, markup.inline.raw | #87b358 | italic |
| entity.name.type, entity.name.class, support.class, entity.other.inherited-class, meta.class, support.type.primitive, storage.type.built-in, entity.name.struct, storage.type.struct, entity.name.type.typedef, storage.type.typedef, support.type, entity.name.type.alias, entity.name.tag, punctuation.definition.tag, punctuation.definition.tag.begin, punctuation.definition.tag.end, support.type.property-name, entity.name.tag.yaml, support.type.json.property-name | #ec1b31 | bold |
| meta.jsx.children, meta.jsx.children.tsx | #dcdcdc | |
| entity.name.function, meta.function-call, support.function | #E0C97E | — |
| variable, variable.parameter, variable.other.readwrite, meta.definition.variable, variable.other.local, variable.other, entity.name.variable.parameter | #a8c0a8 | — |
| constant.numeric, constant.language, support.constant, constant.character, constant.escape | #ff8c42 | — |
| meta.decorator, punctuation.decorator, entity.name.function.decorator, meta.decorator entity.name.function, entity.name.annotation, meta.annotation, punctuation.definition.annotation, storage.type.annotation, storage.modifier.annotation, support.type.attribute | #5F8E80 | — |
| entity.other.attribute-name.html, entity.other.attribute-name.jsx, entity.other.attribute-name.tsx | #ff8c42 | — |
| markup.heading, punctuation.definition.heading | #D4AF37 | bold |
| keyword.operator, punctuation.separator, punctuation.accessor, punctuation.terminator, punctuation.definition.variable | #a8c0a8 | — |
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}!`;
}