Clay Terminal
A warm dark/light VS Code theme with a coral terminal-inspired accent.
A warm dark/light VS Code theme with a coral terminal-inspired accent.
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 |
|---|---|---|
| — | #e4e3dd | — |
| comment, punctuation.definition.comment | #7b7974 | italic |
| string, string.quoted, string.template | #9dbb7d | — |
| string.regexp | #db9300 | — |
| constant.character.escape | #cbcadb | — |
| punctuation.definition.template-expression | #629987 | — |
| constant.numeric, constant.language, constant.character, support.constant | #ebc9b7 | — |
| keyword, storage.type, storage.modifier, keyword.control | #d97757 | — |
| keyword.operator | #898781 | — |
| variable.language | #c6613f | italic |
| entity.name.function, support.function, meta.function-call | #e0b473 | — |
| entity.name.class, entity.name.type, support.class, support.type, entity.name.namespace, entity.other.inherited-class | #bcd1ca | — |
| entity.name.function.decorator, meta.decorator, punctuation.decorator | #827dbd | — |
| variable, variable.other | #e4e3dd | — |
| variable.parameter | #c3c2b7 | — |
| variable.other.property, meta.object-literal.key, support.type.property-name | #cbcadb | — |
| entity.other.attribute-name | #cbcadb | — |
| entity.name.tag | #d97757 | — |
| punctuation, meta.brace | #898781 | — |
| invalid | #ec7e7e | — |
| markup.bold | — | bold |
| markup.italic | — | italic |
| markup.heading | #d97757 | bold |
| markup.quote | #898781 | italic |
| markup.underline.link | #629987 | — |
| markup.inserted, diff.inserted | #0ca30c | — |
| markup.deleted, diff.deleted | #d03b3b | — |
| markup.changed, diff.changed | #db9300 | — |
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 |
|---|---|---|
| — | #ffffff | — |
| comment, punctuation.definition.comment | #c3c2b7 | italic |
| string, string.quoted, string.template | #a8d98a | — |
| string.regexp | #fab219 | — |
| constant.character.escape | #cbcadb | — |
| constant.numeric, constant.language, constant.character, support.constant | #ebc9b7 | — |
| keyword, storage.type, storage.modifier, keyword.control | #f0a878 | — |
| keyword.operator | #e4e3dd | — |
| variable.language | #f0b48c | italic |
| entity.name.function, support.function, meta.function-call | #f0cf99 | — |
| entity.name.class, entity.name.type, support.class, support.type, entity.name.namespace, entity.other.inherited-class | #bcd1ca | — |
| entity.name.function.decorator, meta.decorator, punctuation.decorator | #c3befa | — |
| variable, variable.other | #ffffff | — |
| variable.parameter | #e4e3dd | — |
| variable.other.property, meta.object-literal.key, support.type.property-name | #cbcadb | — |
| entity.other.attribute-name | #cbcadb | — |
| entity.name.tag | #f0a878 | — |
| punctuation, meta.brace | #e4e3dd | — |
| invalid | #ec7e7e | — |
| markup.bold | — | bold |
| markup.italic | — | italic |
| markup.heading | #f0a878 | bold |
| markup.quote | #e4e3dd | italic |
| markup.underline.link | #bcd1ca | — |
| markup.inserted, diff.inserted | #5cc95c | — |
| markup.deleted, diff.deleted | #ec7e7e | — |
| markup.changed, diff.changed | #fab219 | — |
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 |
|---|---|---|
| — | #0b0b0b | — |
| comment, punctuation.definition.comment | #7b7974 | italic |
| string, string.quoted, string.template | #2a7a2a | — |
| string.regexp | #92400e | — |
| constant.character.escape | #5b5a8a | — |
| punctuation.definition.template-expression | #3f7562 | — |
| constant.numeric, constant.language, constant.character, support.constant | #9a6a44 | — |
| keyword, storage.type, storage.modifier, keyword.control | #c6613f | — |
| keyword.operator | #52514e | — |
| variable.language | #a94f31 | italic |
| entity.name.function, support.function, meta.function-call | #8a5a1e | — |
| entity.name.class, entity.name.type, support.class, support.type, entity.name.namespace, entity.other.inherited-class | #3f7562 | — |
| entity.name.function.decorator, meta.decorator, punctuation.decorator | #615ba0 | — |
| variable, variable.other | #0b0b0b | — |
| variable.parameter | #383835 | — |
| variable.other.property, meta.object-literal.key, support.type.property-name | #5b5a8a | — |
| entity.other.attribute-name | #5b5a8a | — |
| entity.name.tag | #c6613f | — |
| punctuation, meta.brace | #52514e | — |
| invalid | #b93535 | — |
| markup.bold | — | bold |
| markup.italic | — | italic |
| markup.heading | #c6613f | bold |
| markup.quote | #52514e | italic |
| markup.underline.link | #3f7562 | — |
| markup.inserted, diff.inserted | #1a8633 | — |
| markup.deleted, diff.deleted | #b93535 | — |
| markup.changed, diff.changed | #92400e | — |
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 |
|---|---|---|
| — | #000000 | — |
| comment, punctuation.definition.comment | #52514e | italic |
| string, string.quoted, string.template | #0b6b1e | — |
| string.regexp | #8a5a00 | — |
| constant.character.escape | #4a4593 | — |
| constant.numeric, constant.language, constant.character, support.constant | #8a5a1e | — |
| keyword, storage.type, storage.modifier, keyword.control | #9a4a28 | — |
| keyword.operator | #20201f | — |
| variable.language | #7a3820 | italic |
| entity.name.function, support.function, meta.function-call | #6b4600 | — |
| entity.name.class, entity.name.type, support.class, support.type, entity.name.namespace, entity.other.inherited-class | #0b6b46 | — |
| entity.name.function.decorator, meta.decorator, punctuation.decorator | #4a4593 | — |
| variable, variable.other | #000000 | — |
| variable.parameter | #20201f | — |
| variable.other.property, meta.object-literal.key, support.type.property-name | #3a3970 | — |
| entity.other.attribute-name | #3a3970 | — |
| entity.name.tag | #9a4a28 | — |
| punctuation, meta.brace | #20201f | — |
| invalid | #b93535 | — |
| markup.bold | — | bold |
| markup.italic | — | italic |
| markup.heading | #9a4a28 | bold |
| markup.quote | #20201f | italic |
| markup.underline.link | #0b6b46 | — |
| markup.inserted, diff.inserted | #1a8633 | — |
| markup.deleted, diff.deleted | #b93535 | — |
| markup.changed, diff.changed | #8a5a00 | — |
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}!`;
}
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}!`;
}
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}!`;
}
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}!`;
}