HearthCode Theme
Warmth or structure, with meaning kept clear across Dark and Light. Includes calibrated Ember and Moss themes plus the built-in Theme Forge.
Warmth or structure, with meaning kept clear across Dark and Light. Includes calibrated Ember and Moss themes plus the built-in Theme Forge.
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 | #756958 | italic |
| keyword, storage.type, storage.modifier, keyword.control | #ca5b41 | bold |
| keyword.operator, keyword.operator.assignment | #9c978f | |
| meta.function-call entity.name.function, meta.function-call.js entity.name.function.js, meta.function-call.ts entity.name.function.ts, meta.function-call.py entity.name.function.py, meta.function-call.python entity.name.function.python, meta.function-call.go entity.name.function.go, meta.function-call.rust entity.name.function.rust | #6f94a4 | — |
| meta.method-call entity.name.function, meta.method-call.js entity.name.function.js, meta.method-call.ts entity.name.function.ts, meta.method-call.py entity.name.function.py, meta.method-call.python entity.name.function.python, meta.method-call.go entity.name.function.go, meta.method-call.rust entity.name.function.rust | #ad6a45 | — |
| entity.name.function, support.function, meta.function-call.generic | #6f94a4 | — |
| entity.name.function.member, entity.name.function.member.python, entity.name.function.member.go, entity.name.function.member.rust | #ad6a45 | — |
| variable.other.property, variable.other.member, meta.property-name, support.type.property-name | #788058 | — |
| string, string.quoted, string.template, string.regexp | #c39b69 | — |
| constant.numeric, constant.language.boolean, constant.language.null, constant.language.undefined | #aa7a94 | — |
| entity.name.type, entity.name.class, storage.type.java, storage.type.primitive.java, entity.name.struct.rust, entity.name.type.class, support.type, support.type.builtin, support.class | #99904c | italic |
| variable, variable.other.readwrite, variable.other.constant | #c3bfb9 | — |
| meta.object-literal.key | #b7774f | — |
| entity.other.attribute-name | #5ea2c4 | — |
| entity.name.tag, punctuation.definition.tag | #af513b | — |
| meta.decorator, punctuation.decorator | #caa46c | italic |
| punctuation, meta.brace | #a29663 | — |
| constant.other.color, support.constant | #aa7a94 | — |
| markup.heading | #e1ba73 | bold |
| markup.bold | #c26f59 | bold |
| markup.italic | #c89254 | italic |
| markup.inline.raw, markup.fenced_code | #8fbd79 | — |
| markup.underline.link | #8fbd79 | — |
| invalid.deprecated | #ca8364 | strikethrough |
| invalid.illegal | #ca8364 | underline |
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 | #83776d | italic |
| keyword, storage.type, storage.modifier, keyword.control | #b6442f | bold |
| keyword.operator, keyword.operator.assignment | #64675f | |
| meta.function-call entity.name.function, meta.function-call.js entity.name.function.js, meta.function-call.ts entity.name.function.ts, meta.function-call.py entity.name.function.py, meta.function-call.python entity.name.function.python, meta.function-call.go entity.name.function.go, meta.function-call.rust entity.name.function.rust | #2e6f8f | — |
| meta.method-call entity.name.function, meta.method-call.js entity.name.function.js, meta.method-call.ts entity.name.function.ts, meta.method-call.py entity.name.function.py, meta.method-call.python entity.name.function.python, meta.method-call.go entity.name.function.go, meta.method-call.rust entity.name.function.rust | #a46746 | — |
| entity.name.function, support.function, meta.function-call.generic | #2e6f8f | — |
| entity.name.function.member, entity.name.function.member.python, entity.name.function.member.go, entity.name.function.member.rust | #a46746 | — |
| variable.other.property, variable.other.member, meta.property-name, support.type.property-name | #5c6447 | — |
| string, string.quoted, string.template, string.regexp | #7a4f21 | — |
| constant.numeric, constant.language.boolean, constant.language.null, constant.language.undefined | #8d5e75 | — |
| entity.name.type, entity.name.class, storage.type.java, storage.type.primitive.java, entity.name.struct.rust, entity.name.type.class, support.type, support.type.builtin, support.class | #736a18 | italic |
| variable, variable.other.readwrite, variable.other.constant | #4a453f | — |
| meta.object-literal.key | #894c20 | — |
| entity.other.attribute-name | #005bbb | — |
| entity.name.tag, punctuation.definition.tag | #77291e | — |
| meta.decorator, punctuation.decorator | #8a4700 | italic |
| punctuation, meta.brace | #8c804a | — |
| constant.other.color, support.constant | #8d5e75 | — |
| markup.heading | #854d00 | bold |
| markup.bold | #b02d21 | bold |
| markup.italic | #8d4600 | italic |
| markup.inline.raw, markup.fenced_code | #006b00 | — |
| markup.underline.link | #006b00 | — |
| invalid.deprecated | #ad2402 | strikethrough |
| invalid.illegal | #ad2402 | underline |
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 | #817566 | italic |
| keyword, storage.type, storage.modifier, keyword.control | #d4b84f | bold |
| keyword.operator, keyword.operator.assignment | #979087 | |
| meta.function-call entity.name.function, meta.function-call.js entity.name.function.js, meta.function-call.ts entity.name.function.ts, meta.function-call.py entity.name.function.py, meta.function-call.python entity.name.function.python, meta.function-call.go entity.name.function.go, meta.function-call.rust entity.name.function.rust | #93ce75 | — |
| meta.method-call entity.name.function, meta.method-call.js entity.name.function.js, meta.method-call.ts entity.name.function.ts, meta.method-call.py entity.name.function.py, meta.method-call.python entity.name.function.python, meta.method-call.go entity.name.function.go, meta.method-call.rust entity.name.function.rust | #68bca3 | — |
| entity.name.function, support.function, meta.function-call.generic | #93ce75 | — |
| entity.name.function.member, entity.name.function.member.python, entity.name.function.member.go, entity.name.function.member.rust | #68bca3 | — |
| variable.other.property, variable.other.member, meta.property-name, support.type.property-name | #8ebb7f | — |
| string, string.quoted, string.template, string.regexp | #caa46c | — |
| constant.numeric, constant.language.boolean, constant.language.null, constant.language.undefined | #77a7d2 | — |
| entity.name.type, entity.name.class, storage.type.java, storage.type.primitive.java, entity.name.struct.rust, entity.name.type.class, support.type, support.type.builtin, support.class | #68adc1 | italic |
| variable, variable.other.readwrite, variable.other.constant | #c3bfb9 | — |
| meta.object-literal.key | #b7774f | — |
| entity.other.attribute-name | #5ea2c4 | — |
| entity.name.tag, punctuation.definition.tag | #c5bf56 | — |
| meta.decorator, punctuation.decorator | #caa46c | italic |
| punctuation, meta.brace | #b47a8b | — |
| constant.other.color, support.constant | #77a7d2 | — |
| markup.heading | #e1ba73 | bold |
| markup.bold | #c26f59 | bold |
| markup.italic | #c89254 | italic |
| markup.inline.raw, markup.fenced_code | #8fbd79 | — |
| markup.underline.link | #8fbd79 | — |
| invalid.deprecated | #ca8364 | strikethrough |
| invalid.illegal | #ca8364 | underline |
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 | #7f766a | italic |
| keyword, storage.type, storage.modifier, keyword.control | #83640f | bold |
| keyword.operator, keyword.operator.assignment | #5f5c57 | |
| meta.function-call entity.name.function, meta.function-call.js entity.name.function.js, meta.function-call.ts entity.name.function.ts, meta.function-call.py entity.name.function.py, meta.function-call.python entity.name.function.python, meta.function-call.go entity.name.function.go, meta.function-call.rust entity.name.function.rust | #3e752b | — |
| meta.method-call entity.name.function, meta.method-call.js entity.name.function.js, meta.method-call.ts entity.name.function.ts, meta.method-call.py entity.name.function.py, meta.method-call.python entity.name.function.python, meta.method-call.go entity.name.function.go, meta.method-call.rust entity.name.function.rust | #0e7963 | — |
| entity.name.function, support.function, meta.function-call.generic | #3e752b | — |
| entity.name.function.member, entity.name.function.member.python, entity.name.function.member.go, entity.name.function.member.rust | #0e7963 | — |
| variable.other.property, variable.other.member, meta.property-name, support.type.property-name | #46703f | — |
| string, string.quoted, string.template, string.regexp | #7e5a2a | — |
| constant.numeric, constant.language.boolean, constant.language.null, constant.language.undefined | #1768a6 | — |
| entity.name.type, entity.name.class, storage.type.java, storage.type.primitive.java, entity.name.struct.rust, entity.name.type.class, support.type, support.type.builtin, support.class | #237296 | italic |
| variable, variable.other.readwrite, variable.other.constant | #46423d | — |
| meta.object-literal.key | #80441b | — |
| entity.other.attribute-name | #0067c5 | — |
| entity.name.tag, punctuation.definition.tag | #5f6b24 | — |
| meta.decorator, punctuation.decorator | #8c4c02 | italic |
| punctuation, meta.brace | #935e79 | — |
| constant.other.color, support.constant | #1768a6 | — |
| markup.heading | #7a4500 | bold |
| markup.bold | #a2251d | bold |
| markup.italic | #914b00 | italic |
| markup.inline.raw, markup.fenced_code | #007301 | — |
| markup.underline.link | #007301 | — |
| invalid.deprecated | #b53616 | strikethrough |
| invalid.illegal | #b53616 | underline |
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}!`;
}