Arbiter
Publisher: wonderpandaThemes in package: 1
A cool theme
A cool theme
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 |
|---|---|---|
| #a2aabc | — | |
| comment, punctuation.definition.comment | #8695b799 | italic |
| variable, string constant.other.placeholder, source | #a2aabc | — |
| constant.other.color, punctuation.definition.entity, constant.character.entity, punctuation.definition.template-expression | #c3a6ff | — |
| invalid, invalid.illegal | #ef6b73 | — |
| keyword, storage.type, storage.modifier, constant.numeric, constant.language, support.constant, constant.character, constant.escape | #c3a6ff | — |
| punctuation, punctuation.definition.tag, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.section.embedded, keyword.other.template, keyword.other.substitution, meta.brace, meta.block, meta.jsx, meta.embedded.expression | #a2aabc | — |
| punctuation.separator.key-value.html, meta.tag, keyword.control, keyword.operator, constant.other.color, punctuation.definition.constant, meta.function.block.start.handlebars, meta.function.inline.other, meta.property-value, support.constant.mathematical-symbols, support.constant.vendored.property-value, punctuation.definition.keyword, punctuation.accessor, punctuation.separator.property | #ffae57 | — |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter, support.variable.dom, meta.import, meta.export, meta.export.default, support.class.builtin, support.class.component | #5ccfe6 | — |
| entity.name.function, variable.function, support.function, keyword.other.special-method, meta.function-call | #ffd580 | — |
| meta.block variable.other | #a2aabc | — |
| support.other.variable, string.other.link | #ef6b73 | — |
| variable.parameter, text.html, punctuation.section.property-list, meta.property-value.scss punctuation, meta.property-list, keyword.operator.type.annotation | #a2aabc | — |
| string, constant.other.symbol, constant.other.key, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js, punctuation.definition.string, entity.name.section.markdown, meta.attribute-selector | #bae67e | — |
| entity.name, support.type, support.class, support.orther.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types, meta.object-literal.key | #ffd580 | — |
| support.type, support.class.console, keyword.other.debugger, entity.other.inherited-class, meta.property-name, punctuation.definition.raw.markdown | #5ccfe6 | — |
| source.css support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.less support.type.property-name, source.stylus support.type.property-name, source.postcss support.type.property-name, support.type.property-name | #5ccfe6 | — |
| entity.name.module.js, variable.import.parameter.js | #ef6b73 | — |
| variable.language | #5ccfe6 | italic |
| entity.name.method.js | #5ccfe6 | italic |
| meta.class-method.js entity.name.function.js, variable.function.constructor | #5ccfe6 | — |
| entity.other.attribute-name | #ffae57 | — |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #ffae57 | — |
| entity.other.attribute-name.class, punctuation.definition.entity.css | #ffae57 | — |
| source.sass keyword.control | #5ccfe6 | — |
| markup.inserted | #bae67e | — |
| markup.deleted | #ef6b73 | — |
| markup.changed | #c3a6ff | — |
| string.regexp | #bae67e | — |
| constant.character.escape | #bae67e | — |
| *url*, *link*, *uri* | — | underline |
| meta.decorator, tag.decorator.js entity.name.tag, tag.decorator.js punctuation.definition.tag | #5ccfe6 | — |
| source.js constant.other.object.key.js string.unquoted.label.js | #ef6b73 | italic |
| source.json meta.structure.dictionary.json support.type.property-name.json | #5ccfe6 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #5ccfe6 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #ffae57 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #5ccfe6 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #ffae57 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #5ccfe6 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #ffae57 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #5ccfe6 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #ffae57 | — |
| markup.italic | #ef6b73 | italic |
| markup.bold | #ef6b73 | bold |
| markup.underline | #c3a6ff | underline |
| markup.strike | #ffcc66 | italic |
| markup.quote | #5ccfe6 | italic |
| markup.raw.block | #ffae57 | — |
| markup.table | #5ccfe6 | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #a2aabc | — |
| text.html.markdown markup.raw.inline, text.html.markdown markup.inline.raw.string.markdown | #5ccfe6 | — |
| text.html.markdown meta.dummy.line-break | #a2aabc | — |
| markdown.heading, markup.heading, markup.heading entity.name, markup.heading.markdown, punctuation.definition.heading.markdown | #bae67e | — |
| markup.quote, punctuation.definition.blockquote.markdown | #5ccfe6 | italic |
| string.other.link.title.markdown | #ffcc66 | underline |
| markup.raw.block.fenced.markdown | #d7dce2 | — |
| punctuation.definition.fenced.markdown, variable.language.fenced.markdown | #a2aabc | — |
| variable.language.fenced.markdown | #a2aabc | |
| meta.separator | #a2aabc | |
| token.info-token | #5ccfe6 | — |
| token.warn-token | #ffcc66 | — |
| token.error-token | #ef6b73 | — |
| token.debug-token | #c3a6ff | — |
| storage.type | #0FA7C3 | — |
| variable.other.readwrite.alias.ts | #D4BFFF | — |
| keyword.control.import.ts | — | italic |
| keyword.control.export.ts | — | italic |
| storage.modifier | — | italic |
| meta.decorator.ts | #f18b1c | — |
| comment.block.documentation.ts | — | italic |
| keyword.control | — | italic |
| variable | #C8F3FB | — |
| meta.block variable.other | #C8F3FB | — |
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}!`;
}