Yohualli Theme
Midnight color scheme with elegant colors.
Midnight color scheme with elegant colors.
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 |
|---|---|---|
| variable, variable.other.readwrite, entity.name.variable, meta.jsx.children, variable.other.constant, constant.other.color.rgb-value.hex, text.html | #ffb5e0 | — |
| variable.other.property, variable.object.property, support.variable.property, entity.other.attribute-name, meta.object-literal.key, support.type.property-name, constant.numeric, meta.definition.property, variable.other.constant.property, markup.list.unnumbered.markdown, markup.list.numbered.markdown | #ffbba6 | — |
| keyword, storage, punctuation.*, punctuation.definition.tag, punctuation.terminator, punctuation.separator, punctuation.accessor, punctuation.separator.continuation, punctuation.definition.string.begin, punctuation.definition.string.end, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.definition.entity, punctuation.other.period, punctuation.other.comma, punctuation.other, punctuation.section, punctuation.support.type.property-name, punctuation.definition.decorator, punctuation.definition.annotation.java, punctuation.definition.block.sequence.item.yaml, markup.heading.markdown, fenced_code.block.language.markdown | #ff66a6 | — |
| entity.name.function, entity.name.method, entity.name.function.member, meta.function, support.function, variable.language.super, entity.name.function.preprocessor, support.function.misc, support.function.magic.python, storage.type.annotation.java | #fc7af1 | — |
| entity.name.type, support.type, support.type.vendored.property-name, support.constant.vendored.property-value, meta.property-list, keyword.other.unit, variable.other.enummember, entity.name.type.interface, entity.name.type.parameter | #ff9494 | — |
| variable.parameter, constant.other.placeholder, meta.property-name, meta.at-rule.media.header, constant.other.reference.link | #f0a6ff | — |
| keyword.operator, punctuation.separator, punctuation.accessor, keyword.operator.arithmetic, keyword.operator.logical, keyword.operator.channel, keyword.operator.increment, keyword.operator.decrement, support.type.primitive, storage.type.numeric, storage.type.string, storage.type.boolean, storage.type.primitive.java, meta.class, meta.type, entity.name.type.any, entity.name.function.operator, storage.type.built-in.primitive | #fc7ac6 | — |
| entity.name.type.enum, variable.other.readwrite.alias, support.class.component, entity.name.type.package.go, entity.name.import.go, entity.name.namespace, string.quoted.other.lt-gt.include, support.type.property-name.table.toml, markup.underline.link | #ebce99 | — |
| entity.name.type.class, variable.other.readwrite.alias, support.class, support.function, support.variable, support.constant, variable.other.object, variable.other.global.cpp, meta.function-call, meta.tag, variable.language.this, constant.character.escape, meta.brace.round, meta.block, punctuation.parenthesis, punctuation.definition, punctuation.definition.typeparameters, punctuation.definition.parameters, punctuation.section.embedded, punctuation.bracket, meta.brace.square, entity.name.tag, entity.other.attribute-name.pseudo-class, constant.language, variable.parameter.function.language.special | #b588e9 | — |
| string.other, string.quoted, string.unquoted, string.quoted.double, string.quoted.other, string.quoted.single, string.quoted.triple, string.regexp | #daa1e2 | — |
| constant.numeric, constant.numeric.css | #7aaac0 | — |
| comment, punctuation.definition.comment, comment.block.css | #b6789c | — |
| string.interpolated, punctuation.definition.template-expression, string, support.constant.font-name, string.quoted.raw.go, string.interpolated.python, constant.other.time, markup.italic.markdown | #b785d4 | — |
| comment.block, comment.block.documentation, entity.other.attribute-name.class | #7f86c7 | — |
| markup.italic.markdown | — | italic |
| markup.bold.markdown | — | bold |
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 |
|---|---|---|
| variable, variable.other.readwrite, entity.name.variable, meta.jsx.children, variable.other.constant, constant.other.color.rgb-value.hex, text.html | #bea8ee | — |
| variable.other.property, variable.object.property, support.variable.property, entity.other.attribute-name, meta.object-literal.key, support.type.property-name, constant.numeric, meta.definition.property, variable.other.constant.property, markup.list.unnumbered.markdown, markup.list.numbered.markdown | #ce8ff8 | — |
| keyword, storage, punctuation.*, punctuation.definition.tag, punctuation.terminator, punctuation.separator, punctuation.accessor, punctuation.separator.continuation, punctuation.definition.string.begin, punctuation.definition.string.end, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.definition.entity, punctuation.other.period, punctuation.other.comma, punctuation.other, punctuation.section, punctuation.support.type.property-name, punctuation.definition.decorator, punctuation.definition.annotation.java, punctuation.definition.block.sequence.item.yaml, markup.heading.markdown, fenced_code.block.language.markdown | #ae89ff | — |
| entity.name.function, entity.name.method, entity.name.function.member, meta.function, support.function, variable.language.super, entity.name.function.preprocessor, support.function.misc, support.function.magic.python, storage.type.annotation.java | #927eeb | — |
| entity.name.type, support.type, support.type.vendored.property-name, support.constant.vendored.property-value, meta.property-list, keyword.other.unit, variable.other.enummember, entity.name.type.interface, entity.name.type.parameter | #faa1c6 | — |
| variable.parameter, constant.other.placeholder, meta.property-name, meta.at-rule.media.header, constant.other.reference.link | #f0a6ff | — |
| keyword.operator, punctuation.separator, punctuation.accessor, keyword.operator.arithmetic, keyword.operator.logical, keyword.operator.channel, keyword.operator.increment, keyword.operator.decrement, support.type.primitive, storage.type.numeric, storage.type.string, storage.type.boolean, storage.type.primitive.java, meta.class, meta.type, entity.name.type.any, entity.name.function.operator, storage.type.built-in.primitive | #ee71ff | — |
| entity.name.type.enum, variable.other.readwrite.alias, support.class.component, entity.name.type.package.go, entity.name.import.go, entity.name.namespace, string.quoted.other.lt-gt.include, support.type.property-name.table.toml, markup.underline.link | #95b1f0 | — |
| entity.name.type.class, variable.other.readwrite.alias, support.class, support.function, support.variable, support.constant, variable.other.object, variable.other.global.cpp, meta.function-call, meta.tag, variable.language.this, constant.character.escape, meta.brace.round, meta.block, punctuation.parenthesis, punctuation.definition, punctuation.definition.typeparameters, punctuation.definition.parameters, punctuation.section.embedded, punctuation.bracket, meta.brace.square, entity.name.tag, entity.other.attribute-name.pseudo-class, constant.language, variable.parameter.function.language.special | #fd7cb2 | — |
| string.other, string.quoted, string.unquoted, string.quoted.double, string.quoted.other, string.quoted.single, string.quoted.triple, string.regexp | #79c2cc | — |
| constant.numeric, constant.numeric.css | #fcb59f | — |
| comment, punctuation.definition.comment, comment.block.css | #88aeb3 | — |
| string.interpolated, punctuation.definition.template-expression, string, support.constant.font-name, string.quoted.raw.go, string.interpolated.python, constant.other.time, markup.italic.markdown | #94b180 | — |
| comment.block, comment.block.documentation, entity.other.attribute-name.class | #99c6d4 | — |
| markup.italic.markdown | — | italic |
| markup.bold.markdown | — | bold |
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 |
|---|---|---|
| variable, variable.other.readwrite, entity.name.variable, meta.jsx.children, variable.other.constant, constant.other.color.rgb-value.hex, text.html | #ccb5ff | — |
| variable.other.property, variable.object.property, support.variable.property, entity.other.attribute-name, meta.object-literal.key, support.type.property-name, constant.numeric, meta.definition.property, variable.other.constant.property, markup.list.unnumbered.markdown, markup.list.numbered.markdown | #ffbba6 | — |
| keyword, storage, punctuation.*, punctuation.definition.tag, punctuation.terminator, punctuation.separator, punctuation.accessor, punctuation.separator.continuation, punctuation.definition.string.begin, punctuation.definition.string.end, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.definition.entity, punctuation.other.period, punctuation.other.comma, punctuation.other, punctuation.section, punctuation.support.type.property-name, punctuation.definition.decorator, punctuation.definition.annotation.java, punctuation.definition.block.sequence.item.yaml, markup.heading.markdown, fenced_code.block.language.markdown | #ae89ff | — |
| entity.name.function, entity.name.method, entity.name.function.member, meta.function, support.function, variable.language.super, entity.name.function.preprocessor, support.function.misc, support.function.magic.python, storage.type.annotation.java | #94b9ff | — |
| entity.name.type, support.type, support.type.vendored.property-name, support.constant.vendored.property-value, meta.property-list, keyword.other.unit, variable.other.enummember, entity.name.type.interface, entity.name.type.parameter | #ff9494 | — |
| variable.parameter, constant.other.placeholder, meta.property-name, meta.at-rule.media.header, constant.other.reference.link | #f0a6ff | — |
| keyword.operator, punctuation.separator, punctuation.accessor, keyword.operator.arithmetic, keyword.operator.logical, keyword.operator.channel, keyword.operator.increment, keyword.operator.decrement, support.type.primitive, storage.type.numeric, storage.type.string, storage.type.boolean, storage.type.primitive.java, meta.class, meta.type, entity.name.type.any, entity.name.function.operator, storage.type.built-in.primitive | #ebce99 | — |
| entity.name.type.enum, variable.other.readwrite.alias, support.class.component, entity.name.type.package.go, entity.name.import.go, entity.name.namespace, string.quoted.other.lt-gt.include, support.type.property-name.table.toml, markup.underline.link | #de7efc | — |
| entity.name.type.class, variable.other.readwrite.alias, support.class, support.function, support.variable, support.constant, variable.other.object, variable.other.global.cpp, meta.function-call, meta.tag, variable.language.this, constant.character.escape, meta.brace.round, meta.block, punctuation.parenthesis, punctuation.definition, punctuation.definition.typeparameters, punctuation.definition.parameters, punctuation.section.embedded, punctuation.bracket, meta.brace.square, entity.name.tag, entity.other.attribute-name.pseudo-class, constant.language, variable.parameter.function.language.special | #ff66a6 | — |
| string.other, string.quoted, string.unquoted, string.quoted.double, string.quoted.other, string.quoted.single, string.quoted.triple, string.regexp | #a1e2b7 | — |
| constant.numeric, constant.numeric.css | #ebce99 | — |
| comment, punctuation.definition.comment, comment.block.css | #5daf6f | — |
| string.interpolated, punctuation.definition.template-expression, string, support.constant.font-name, string.quoted.raw.go, string.interpolated.python, constant.other.time, markup.italic.markdown | #a1e2dd | — |
| comment.block, comment.block.documentation, entity.other.attribute-name.class | #7dc1d6 | — |
| markup.italic.markdown | — | italic |
| markup.bold.markdown | — | bold |
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 |
|---|---|---|
| variable, variable.other.readwrite, entity.name.variable, meta.jsx.children, variable.other.constant, constant.other.color.rgb-value.hex, text.html | #b0a6ce | — |
| variable.other.property, variable.object.property, support.variable.property, entity.other.attribute-name, meta.object-literal.key, support.type.property-name, constant.numeric, meta.definition.property, variable.other.constant.property, markup.list.unnumbered.markdown, markup.list.numbered.markdown | #b292c7 | — |
| keyword, storage, punctuation.*, punctuation.definition.tag, punctuation.terminator, punctuation.separator, punctuation.accessor, punctuation.separator.continuation, punctuation.definition.string.begin, punctuation.definition.string.end, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.definition.entity, punctuation.other.period, punctuation.other.comma, punctuation.other, punctuation.section, punctuation.support.type.property-name, punctuation.definition.decorator, punctuation.definition.annotation.java, punctuation.definition.block.sequence.item.yaml, markup.heading.markdown, fenced_code.block.language.markdown | #a08acf | — |
| entity.name.function, entity.name.method, entity.name.function.member, meta.function, support.function, variable.language.super, entity.name.function.preprocessor, support.function.misc, support.function.magic.python, storage.type.annotation.java | #968bc7 | — |
| entity.name.type, support.type, support.type.vendored.property-name, support.constant.vendored.property-value, meta.property-list, keyword.other.unit, variable.other.enummember, entity.name.type.interface, entity.name.type.parameter | #be8ba3 | — |
| variable.parameter, constant.other.placeholder, meta.property-name, meta.at-rule.media.header, constant.other.reference.link | #b58cbe | — |
| keyword.operator, punctuation.separator, punctuation.accessor, keyword.operator.arithmetic, keyword.operator.logical, keyword.operator.channel, keyword.operator.increment, keyword.operator.decrement, support.type.primitive, storage.type.numeric, storage.type.string, storage.type.boolean, storage.type.primitive.java, meta.class, meta.type, entity.name.type.any, entity.name.function.operator, storage.type.built-in.primitive | #c47cc9 | — |
| entity.name.type.enum, variable.other.readwrite.alias, support.class.component, entity.name.type.package.go, entity.name.import.go, entity.name.namespace, string.quoted.other.lt-gt.include, support.type.property-name.table.toml, markup.underline.link | #92a2c9 | — |
| entity.name.type.class, variable.other.readwrite.alias, support.class, support.function, support.variable, support.constant, variable.other.object, variable.other.global.cpp, meta.function-call, meta.tag, variable.language.this, constant.character.escape, meta.brace.round, meta.block, punctuation.parenthesis, punctuation.definition, punctuation.definition.typeparameters, punctuation.definition.parameters, punctuation.section.embedded, punctuation.bracket, meta.brace.square, entity.name.tag, entity.other.attribute-name.pseudo-class, constant.language, variable.parameter.function.language.special | #c57596 | — |
| string.other, string.quoted, string.unquoted, string.quoted.double, string.quoted.other, string.quoted.single, string.quoted.triple, string.regexp | #99b6a4 | — |
| constant.numeric, constant.numeric.css | #ceaba1 | — |
| comment, punctuation.definition.comment, comment.block.css | #969b97 | — |
| string.interpolated, punctuation.definition.template-expression, string, support.constant.font-name, string.quoted.raw.go, string.interpolated.python, constant.other.time, markup.italic.markdown | #9db4b2 | — |
| comment.block, comment.block.documentation, entity.other.attribute-name.class | #80a7af | — |
| markup.italic.markdown | — | italic |
| markup.bold.markdown | — | bold |
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}!`;
}