Cloud9 JetStream Theme
Publisher: Uğur OkumusThemes in package: 1
Cloud9 JetStream color theme converted from the JetBrains IDE theme.
Cloud9 JetStream color theme converted from the JetBrains IDE theme.
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 | #3A506B | italic |
| keyword, storage.type, storage.modifier | #3D9BC9 | bold |
| string | #E2B55A | — |
| constant.character.escape | #00D4FF | bold |
| constant.numeric | #AECBEB | — |
| entity.name.function, support.function | #58A6FF | — |
| entity.name.type, entity.name.class, support.class, support.type | #56CFE1 | — |
| storage.type.annotation, entity.name.type.annotation, meta.annotation | #818CF8 | — |
| variable.parameter | #AECBEB | — |
| variable.other.property, variable.other.object.property | #A5D6E0 | — |
| constant.language, constant.other, variable.other.constant | #C084FC | bold |
| keyword.operator | #3D9BC9 | — |
| punctuation | #6B8CAE | — |
| invalid | #FF6B6B | — |
| keyword, storage.modifier, storage.type | #3D9BC9 | bold |
| string | #E2B55A | — |
| constant.character.escape, string | #00D4FF | bold |
| constant.character.escape, string | #FF6B6B | — |
| constant.numeric | #AECBEB | — |
| comment | #3A506B | italic |
| comment | #4A6580 | italic |
| comment, comment.documentation entity.name.tag | #58A6FF | bold italic |
| comment, comment.documentation entity.name.tag | #AECBEB | italic |
| markup | #58A6FF | — |
| entity.name.function, support.function | #58A6FF | bold |
| meta.function-call entity.name.function, support.function | #58A6FF | — |
| meta.function-call entity.name.function, support.function | #58A6FF | italic |
| entity.name.class, entity.name.type, support.class, support.type | #56CFE1 | — |
| entity.name.class, entity.name.type, support.class, support.type | #56CFE1 | italic |
| entity.name.class, entity.name.type, support.class, support.type, variable.parameter | #56CFE1 | italic |
| entity.name.type.annotation, meta.annotation, storage.type.annotation | #818CF8 | — |
| entity.name.type.annotation, entity.other.attribute-name, meta.annotation, storage.type.annotation | #A78BFA | — |
| variable.other.readwrite | #D4E4F7 | — |
| variable.other.global | #AECBEB | — |
| variable.parameter | #AECBEB | — |
| variable.other.object.property, variable.other.property | #A5D6E0 | — |
| variable.other.object.property, variable.other.property | #A5D6E0 | italic |
| constant.language, constant.other, variable.other.constant | #C084FC | bold |
| variable.other.readwrite | #D4E4F7 | underline |
| variable.parameter | #AECBEB | underline |
| constant.language, constant.other, variable.other.constant, variable.other.object.property, variable.other.property | #C084FC | bold italic |
| punctuation | #6B8CAE | — |
| keyword.operator | #3D9BC9 | — |
| variable.other.readwrite | — | underline |
| variable.other.readwrite | — | underline |
| comment TODO, keyword.other.todo | #E2B55A | bold italic |
| invalid | #FF6B6B | — |
| markup.underline.link | #3D9BC9 | underline |
| markup.underline.link | #58A6FF | underline |
| markup.underline.link | #3A506B | underline |
| variable.parameter | #3A506B | — |
| meta.prompt | #3D9BC9 | — |
| markup.changed | #E2B55A | — |
| entity.name.tag | #48BFE3 | — |
| entity.other.attribute-name | #A5D6E0 | — |
| entity.other.attribute-name | #E2B55A | — |
| entity.name.tag, text.xml | #48BFE3 | — |
| entity.other.attribute-name, text.xml | #A5D6E0 | — |
| entity.other.attribute-name, text.xml | #E2B55A | — |
| entity.name.tag, text.xml | #D4E4F7 | — |
| text.xml | #00D4FF | — |
| text.xml | #818CF8 | — |
| source.json | #3D9BC9 | — |
| source.json, string | #E2B55A | — |
| constant.numeric, source.json | #AECBEB | — |
| keyword, source.json, storage.modifier, storage.type | #3D9BC9 | bold |
| comment, source.json | #3A506B | italic |
| markup | #D4E4F7 | bold |
| markup | #D4E4F7 | italic |
| markup.underline.link | #3D9BC9 | — |
| markup.underline.link | #58A6FF | — |
| punctuation | #3D9BC9 | bold |
| variable.parameter | #AECBEB | bold |
| variable.other.object.property, variable.other.property | #A5D6E0 | bold |
| meta.function-call entity.name.function, support.function | #58A6FF | underline |
| variable.parameter | #3D9BC9 | italic |
| entity.name.type.annotation, meta.annotation, storage.type.annotation | #56CFE1 | — |
| keyword, source.js, source.ts, storage.modifier, storage.type | #3D9BC9 | bold |
| source.js, source.ts, string | #E2B55A | — |
| constant.numeric, source.js, source.ts | #AECBEB | — |
| source.js, source.ts | #3D9BC9 | — |
| source.js, source.ts | #58A6FF | bold |
| source.js, source.ts, variable.other.global | #AECBEB | — |
| source.js, source.ts, variable.other.readwrite | #D4E4F7 | — |
| source.js, source.ts, variable.parameter | #AECBEB | — |
| source.js, source.ts | #58A6FF | — |
| source.js, source.ts | #56CFE1 | — |
| source.js, source.ts | #58A6FF | bold italic |
| source.js, source.ts | #E2B55A | — |
| source.js, source.ts | — | bold |
| keyword, source.sql, storage.modifier, storage.type | #3D9BC9 | bold |
| source.sql, string | #E2B55A | — |
| constant.numeric, source.sql | #AECBEB | — |
| source.sql | #D4E4F7 | — |
| source.sql | #56CFE1 | — |
| source.sql | #56CFE1 | italic |
| source.sql | #818CF8 | — |
| source.sql | #AECBEB | italic |
| source.sql | #58A6FF | bold |
| source.sql, variable.parameter | #AECBEB | — |
| source.sql | #A78BFA | — |
| source.sql | #4A6580 | italic |
| source.css | #3D9BC9 | — |
| source.css | #AECBEB | — |
| source.css | #00D4FF | — |
| source.css | #E2B55A | — |
| source.css, string | #E2B55A | — |
| constant.numeric, source.css | #AECBEB | — |
| source.css | #58A6FF | — |
| entity.name.tag, source.css | #48BFE3 | — |
| source.css | #D4E4F7 | — |
| entity.name.class, entity.name.type, source.css, support.class, support.type | #A78BFA | — |
| source.css | #56CFE1 | bold |
| source.css | #818CF8 | italic |
| entity.other.attribute-name, source.css | #D4E4F7 | — |
| source.css | #FF6B6B | bold |
| keyword, source.css, storage.modifier, storage.type | #3D9BC9 | bold |
| source.css | #56CFE1 | italic |
| punctuation | #58A6FF | — |
| punctuation | #58A6FF | italic |
| comment, source.js, source.ts | #3A506B | italic |
| comment, source.sql | #3A506B | italic |
| comment, source.css | #3A506B | italic |
| source.js, source.ts | #A5D6E0 | — |
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}!`;
}