Hearth
A warm color theme that keeps the interface calm and lights the code with a single ember.
A warm color theme that keeps the interface calm and lights the code with a single ember.
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, string.comment | #626269 | italic |
| string, string.quoted, string.template, punctuation.definition.string, meta.attribute-selector string | #dfbda0 | — |
| string.regexp, constant.character.escape, constant.other.placeholder | #f66335 | — |
| constant.numeric, constant.language, constant.language.boolean, constant.character, constant.other, variable.other.constant, support.constant | #f66335 | — |
| keyword, keyword.control, keyword.other, storage, storage.type, storage.modifier, keyword.operator.new, keyword.operator.expression, keyword.operator.logical, keyword.control.flow, keyword.control.import, keyword.control.from | #f87c49 | — |
| variable.language, variable.language.this, keyword.other.self | #f87c49 | italic |
| keyword.operator, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.comparison, punctuation, punctuation.separator, punctuation.terminator, punctuation.definition.parameters, meta.brace.round, meta.brace.square, punctuation.section, punctuation.accessor | #808085 | — |
| variable, variable.other, variable.other.readwrite, variable.parameter, meta.definition.variable, support.variable | #d7d7db | — |
| variable.other.property, variable.other.object.property, meta.object-literal.key, support.type.property-name, support.type.property-name.json | #c4c4c9 | — |
| entity.name.function, support.function, meta.function-call.generic, meta.function-call, entity.name.function.member, variable.function | #f5f5f6 | — |
| entity.name.type, entity.name.class, entity.name.namespace, entity.other.inherited-class, support.type, support.class, entity.name.type.class | #f5f5f6 | italic |
| meta.decorator, entity.name.function.decorator, punctuation.decorator | #f66335 | italic |
| entity.name.tag, meta.tag, support.class.component | #f87c49 | — |
| entity.other.attribute-name, meta.attribute.class, meta.attribute.id | #dfbda0 | italic |
| punctuation.definition.tag, meta.tag punctuation.definition.tag | #808085 | — |
| support.type.property-name.css, meta.property-name.css | #c4c4c9 | — |
| support.constant.property-value.css, meta.property-value.css, constant.numeric.css | #dfbda0 | — |
| entity.other.attribute-name.class.css, entity.name.tag.css | #f87c49 | — |
| entity.other.attribute-name.id.css | #f66335 | — |
| markup.heading, markup.heading entity.name, entity.name.section.markdown | #f5f5f6 | bold |
| markup.bold, punctuation.definition.bold | #fafafb | bold |
| markup.italic, punctuation.definition.italic | #d7d7db | italic |
| markup.inline.raw, markup.raw.block, markup.fenced_code | #dfbda0 | — |
| markup.underline.link, markup.link, string.other.link | #f05a29 | underline |
| markup.quote | #a4a4a9 | italic |
| markup.list punctuation.definition.list, punctuation.definition.list.begin.markdown | #f87c49 | — |
| markup.inserted, meta.diff.header.to-file | #dfbda0 | — |
| markup.deleted, meta.diff.header.from-file | #f87171 | — |
| invalid, invalid.illegal | #f87171 | — |
| invalid.deprecated | #f87171 | strikethrough |
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, string.comment | #626269 | italic |
| string, string.quoted, string.template, punctuation.definition.string, meta.attribute-selector string | #dfbda0 | — |
| string.regexp, constant.character.escape, constant.other.placeholder | #f66335 | — |
| constant.numeric, constant.language, constant.language.boolean, constant.character, constant.other, variable.other.constant, support.constant | #f66335 | — |
| keyword, keyword.control, keyword.other, storage, storage.type, storage.modifier, keyword.operator.new, keyword.operator.expression, keyword.operator.logical, keyword.control.flow, keyword.control.import, keyword.control.from | #f87c49 | — |
| variable.language, variable.language.this, keyword.other.self | #f87c49 | italic |
| keyword.operator, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.comparison, punctuation, punctuation.separator, punctuation.terminator, punctuation.definition.parameters, meta.brace.round, meta.brace.square, punctuation.section, punctuation.accessor | #808085 | — |
| variable, variable.other, variable.other.readwrite, variable.parameter, meta.definition.variable, support.variable | #d7d7db | — |
| variable.other.property, variable.other.object.property, meta.object-literal.key, support.type.property-name, support.type.property-name.json | #c4c4c9 | — |
| entity.name.function, support.function, meta.function-call.generic, meta.function-call, entity.name.function.member, variable.function | #2eb3e5 | — |
| entity.name.type, entity.name.class, entity.name.namespace, entity.other.inherited-class, support.type, support.class, entity.name.type.class | #7dc9ec | italic |
| meta.decorator, entity.name.function.decorator, punctuation.decorator | #f66335 | italic |
| entity.name.tag, meta.tag, support.class.component | #f87c49 | — |
| entity.other.attribute-name, meta.attribute.class, meta.attribute.id | #dfbda0 | italic |
| punctuation.definition.tag, meta.tag punctuation.definition.tag | #808085 | — |
| support.type.property-name.css, meta.property-name.css | #c4c4c9 | — |
| support.constant.property-value.css, meta.property-value.css, constant.numeric.css | #dfbda0 | — |
| entity.other.attribute-name.class.css, entity.name.tag.css | #f87c49 | — |
| entity.other.attribute-name.id.css | #f66335 | — |
| markup.heading, markup.heading entity.name, entity.name.section.markdown | #f5f5f6 | bold |
| markup.bold, punctuation.definition.bold | #fafafb | bold |
| markup.italic, punctuation.definition.italic | #d7d7db | italic |
| markup.inline.raw, markup.raw.block, markup.fenced_code | #dfbda0 | — |
| markup.underline.link, markup.link, string.other.link | #f05a29 | underline |
| markup.quote | #a4a4a9 | italic |
| markup.list punctuation.definition.list, punctuation.definition.list.begin.markdown | #f87c49 | — |
| markup.inserted, meta.diff.header.to-file | #dfbda0 | — |
| markup.deleted, meta.diff.header.from-file | #f87171 | — |
| invalid, invalid.illegal | #f87171 | — |
| invalid.deprecated | #f87171 | strikethrough |
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, string.comment | #626269 | italic |
| string, string.quoted, string.template, punctuation.definition.string, meta.attribute-selector string | #dfbda0 | — |
| string.regexp, constant.character.escape, constant.other.placeholder | #f66335 | — |
| constant.numeric, constant.language, constant.language.boolean, constant.character, constant.other, variable.other.constant, support.constant | #f66335 | — |
| keyword, keyword.control, keyword.other, storage, storage.type, storage.modifier, keyword.operator.new, keyword.operator.expression, keyword.operator.logical, keyword.control.flow, keyword.control.import, keyword.control.from | #f87c49 | — |
| variable.language, variable.language.this, keyword.other.self | #f87c49 | italic |
| keyword.operator, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.comparison, punctuation, punctuation.separator, punctuation.terminator, punctuation.definition.parameters, meta.brace.round, meta.brace.square, punctuation.section, punctuation.accessor | #808085 | — |
| variable, variable.other, variable.other.readwrite, variable.parameter, meta.definition.variable, support.variable | #d7d7db | — |
| variable.other.property, variable.other.object.property, meta.object-literal.key, support.type.property-name, support.type.property-name.json | #c4c4c9 | — |
| entity.name.function, support.function, meta.function-call.generic, meta.function-call, entity.name.function.member, variable.function | #4cd0b8 | — |
| entity.name.type, entity.name.class, entity.name.namespace, entity.other.inherited-class, support.type, support.class, entity.name.type.class | #8bddcb | italic |
| meta.decorator, entity.name.function.decorator, punctuation.decorator | #f66335 | italic |
| entity.name.tag, meta.tag, support.class.component | #f87c49 | — |
| entity.other.attribute-name, meta.attribute.class, meta.attribute.id | #dfbda0 | italic |
| punctuation.definition.tag, meta.tag punctuation.definition.tag | #808085 | — |
| support.type.property-name.css, meta.property-name.css | #c4c4c9 | — |
| support.constant.property-value.css, meta.property-value.css, constant.numeric.css | #dfbda0 | — |
| entity.other.attribute-name.class.css, entity.name.tag.css | #f87c49 | — |
| entity.other.attribute-name.id.css | #f66335 | — |
| markup.heading, markup.heading entity.name, entity.name.section.markdown | #f5f5f6 | bold |
| markup.bold, punctuation.definition.bold | #fafafb | bold |
| markup.italic, punctuation.definition.italic | #d7d7db | italic |
| markup.inline.raw, markup.raw.block, markup.fenced_code | #dfbda0 | — |
| markup.underline.link, markup.link, string.other.link | #f05a29 | underline |
| markup.quote | #a4a4a9 | italic |
| markup.list punctuation.definition.list, punctuation.definition.list.begin.markdown | #f87c49 | — |
| markup.inserted, meta.diff.header.to-file | #dfbda0 | — |
| markup.deleted, meta.diff.header.from-file | #f87171 | — |
| invalid, invalid.illegal | #f87171 | — |
| invalid.deprecated | #f87171 | strikethrough |
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, string.comment | #717178 | italic |
| string, string.quoted, string.template, punctuation.definition.string, meta.attribute-selector string | #89552a | — |
| string.regexp, constant.character.escape, constant.other.placeholder | #9f2e00 | — |
| constant.numeric, constant.language, constant.language.boolean, constant.character, constant.other, variable.other.constant, support.constant | #9f2e00 | — |
| keyword, keyword.control, keyword.other, storage, storage.type, storage.modifier, keyword.operator.new, keyword.operator.expression, keyword.operator.logical, keyword.control.flow, keyword.control.import, keyword.control.from | #b23c00 | — |
| variable.language, variable.language.this, keyword.other.self | #b23c00 | italic |
| keyword.operator, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.comparison, punctuation, punctuation.separator, punctuation.terminator, punctuation.definition.parameters, meta.brace.round, meta.brace.square, punctuation.section, punctuation.accessor | #5d5d63 | — |
| variable, variable.other, variable.other.readwrite, variable.parameter, meta.definition.variable, support.variable | #2d2d33 | — |
| variable.other.property, variable.other.object.property, meta.object-literal.key, support.type.property-name, support.type.property-name.json | #48484e | — |
| entity.name.function, support.function, meta.function-call.generic, meta.function-call, entity.name.function.member, variable.function | #16161a | — |
| entity.name.type, entity.name.class, entity.name.namespace, entity.other.inherited-class, support.type, support.class, entity.name.type.class | #16161a | italic |
| meta.decorator, entity.name.function.decorator, punctuation.decorator | #9f2e00 | italic |
| entity.name.tag, meta.tag, support.class.component | #b23c00 | — |
| entity.other.attribute-name, meta.attribute.class, meta.attribute.id | #89552a | italic |
| punctuation.definition.tag, meta.tag punctuation.definition.tag | #5d5d63 | — |
| support.type.property-name.css, meta.property-name.css | #48484e | — |
| support.constant.property-value.css, meta.property-value.css, constant.numeric.css | #89552a | — |
| entity.other.attribute-name.class.css, entity.name.tag.css | #b23c00 | — |
| entity.other.attribute-name.id.css | #9f2e00 | — |
| markup.heading, markup.heading entity.name, entity.name.section.markdown | #16161a | bold |
| markup.bold, punctuation.definition.bold | #16161a | bold |
| markup.italic, punctuation.definition.italic | #2d2d33 | italic |
| markup.inline.raw, markup.raw.block, markup.fenced_code | #89552a | — |
| markup.underline.link, markup.link, string.other.link | #b23c00 | underline |
| markup.quote | #747479 | italic |
| markup.list punctuation.definition.list, punctuation.definition.list.begin.markdown | #b23c00 | — |
| markup.inserted, meta.diff.header.to-file | #6f4420 | — |
| markup.deleted, meta.diff.header.from-file | #c0362a | — |
| invalid, invalid.illegal | #c0362a | — |
| invalid.deprecated | #c0362a | strikethrough |
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}!`;
}