Tablely Color Theme
Publisher: EdgarAldairThemes in package: 1
A dark theme with floating glass panels, rounded corners, pill-shaped activity bar, and smooth transitions. Ember Dark palette built around warm orange-amber tones.
A dark theme with floating glass panels, rounded corners, pill-shaped activity bar, and smooth transitions. Ember Dark palette built around warm orange-amber tones.
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 |
|---|---|---|
| support.type.property-name, support.variable, variable | #dbd6cc | — |
| markup.inline.raw, storage.type, support.constant, support.type, support.class | #c8892a | — |
| constant, keyword.other.unit | #6ab8c0 | — |
| comment | #5a4f48 | italic |
| meta.brace, punctuation.definition.array, punctuation.definition.binding-pattern, punctuation.definition.block, punctuation.definition.dictionary, punctuation.definition.string, punctuation.definition.tag, punctuation.section, punctuation.separator, punctuation.support, punctuation.terminator | #4a7c70 | — |
| string, markup.quote | #d4683a | — |
| entity.name.class, entity.name.function, entity.name.type, entity.other.attribute-name, entity.other.inherited-class, markup.heading.setext, support.function | #e8a070 | — |
| entity.name.tag, storage, variable.language | #d9624a | — |
| keyword, punctuation.definition.keyword | #c55e35 | — |
| markup.bold, markup.bold.markdown, punctuation.definition.bold.markdown | #e8a070 | bold |
| markup.italic, markup.italic.markdown, punctuation.definition.italic.markdown | #c8892a | 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}!`;
}