White Omarchy
Publisher: BjarneThemes in package: 1
A monochromatic light theme with luminance-based hierarchy
A monochromatic light theme with luminance-based hierarchy
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 | #6e6e6e | italic |
| keyword, keyword.control, keyword.other, storage.modifier | #000000 | bold |
| storage.type, keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.as | #1a1a1a | — |
| entity.name.function, support.function, meta.function-call | #000000 | bold |
| entity.name.type, entity.name.class, entity.name.namespace, entity.name.struct, entity.name.enum, entity.name.interface, entity.name.union, support.type, support.class | #1a1a1a | bold |
| entity.name.type.parameter | #1a1a1a | — |
| variable, variable.other, variable.other.readwrite, variable.other.object | #2e2e2e | — |
| variable.parameter, variable.other.jsdoc | #1a1a1a | — |
| variable.other.property, variable.other.object.property, variable.other.constant.property, support.variable.property, meta.object-literal.key | #2e2e2e | — |
| variable.other.constant, constant.language, support.constant, variable.language | #000000 | — |
| string, string.quoted, string.template | #3a3a3a | — |
| constant.character.escape | #2e2e2e | — |
| string.regexp | #3e3e3e | — |
| constant.numeric, constant.language.boolean | #3a3a3a | — |
| keyword.operator, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.comparison, keyword.operator.logical, keyword.operator.ternary, keyword.operator.spread, keyword.operator.rest, keyword.operator.type | #4a4a4a | |
| punctuation.definition.block, punctuation.definition.parameters, punctuation.definition.array, punctuation.definition.typeparameters, punctuation.separator, punctuation.terminator, punctuation.accessor, punctuation.section, meta.brace | #4a4a4a | — |
| punctuation.definition.string, punctuation.definition.template-expression | #3a3a3a | — |
| entity.name.tag, support.class.component | #1a1a1a | — |
| entity.other.attribute-name | #2e2e2e | — |
| punctuation.definition.tag | #4a4a4a | — |
| entity.name.function.preprocessor, meta.preprocessor, keyword.control.directive, punctuation.definition.directive | #3e3e3e | — |
| meta.decorator, punctuation.decorator, meta.annotation | #3e3e3e | — |
| entity.name.function.constructor, support.class.constructor | #2e2e2e | — |
| support.function.builtin, support.variable, support.type.builtin | #3e3e3e | — |
| entity.name.label | #1a1a1a | — |
| storage.type.class.jsdoc, keyword.other.documentation, variable.other.jsdoc | #1a1a1a | — |
| markup.heading, entity.name.section | #000000 | bold |
| markup.bold | #000000 | bold |
| markup.italic | — | italic |
| markup.underline.link | #5a5a5a | — |
| markup.inline.raw, markup.fenced_code, markup.raw | #3a3a3a | — |
| markup.list, punctuation.definition.list | #4a4a4a | — |
| markup.quote | #6e6e6e | italic |
| markup.inserted | #2e2e2e | — |
| markup.deleted | #000000 | — |
| markup.changed | #3a3a3a | — |
| invalid, invalid.illegal | #000000 | underline |
| support.type.property-name.css, support.type.vendored.property-name.css | #2e2e2e | — |
| support.constant.property-value.css, support.constant.color.css, constant.other.color.rgb-value.css | #3a3a3a | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.id.css | #1a1a1a | — |
| entity.name.tag.css, entity.name.tag.wildcard.css | #1a1a1a | — |
| support.function.css, support.constant.font-name.css | #3e3e3e | — |
| support.type.property-name.json | #1a1a1a | — |
| entity.name.tag.yaml | #1a1a1a | — |
| support.type.property-name.toml, entity.name.tag.toml | #1a1a1a | — |
| entity.other.attribute-name.table.toml, entity.other.attribute-name.table.array.toml | #000000 | bold |
| variable.other.normal.shell, variable.other.special.shell, variable.other.positional.shell | #2e2e2e | — |
| entity.name.function.target.makefile | #000000 | bold |
| keyword.other.DML.sql, keyword.other.DDL.sql | #000000 | bold |
TypeScript sample highlighted with this variant's colors and tokenColors.
Loading...
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}!`;
}