๐น Arcade
Publisher: Chris BaileyThemes in package: 2
Somewhere between neon and pastel
Somewhere between neon and pastel
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 |
|---|---|---|
| anchor | #eaf | โ |
| comment | #777 | โ |
| constant | #37c | โ |
| constant.character.escape | #777 | โ |
| constant.language.merge | #eaf | โ |
| entity | #ec7 | โ |
| entity.name.function | #9ef | โ |
| entity.name.type.anchor | #7be | โ |
| entity.name.tag.reference | #7be | โ |
| entity.name.context | #eee | โ |
| source.github-actions-workflow entity.name, source.yaml entity.name, source.helm entity.name | #b97 | โ |
| entity.other.document | #eee | โ |
| entity.other.inherited-class | #ec7 | โ |
| entity.other.attribute-name | #b97 | โ |
| entity.other.attribute-name.attribute | #b97 | โ |
| entity.other.attribute-name.parent-selector-suffix punctuation | #ec7 | โ |
| source.css entity.other.attribute-name | #ec7 | โ |
| text entity.other.attribute-name | #b97 | โ |
| entity.other.ng-binding-name.template entity | #eaf | โ |
| entity.other.ng-binding-name.property entity | #7be | โ |
| entity.other.ng-binding-name.event entity, entity.other.ng-binding-name.two-way entity | #9ef | โ |
| keyword | #aaa | โ |
| keyword.control | #eaf | โ |
| keyword.control.as, case-clause keyword.control | #a8f | โ |
| keyword.control.-, keyword.control.@, keyword.control.-@, keyword.control.import, keyword.control.export, keyword.control.from | #aaa | โ |
| keyword.control.at-rule | #aaa | โ |
| keyword.control.at-rule.media | #eaf | โ |
| keyword.directive | #b97 | โ |
| keyword.operator | #eee | โ |
| keyword.operator.expression | #eaf | โ |
| keyword.operator.expression.import | #aaa | โ |
| keyword.operator.new | #a8f | โ |
| keyword.other.important | #eee | โ |
| keyword.other.debugger | #eaf | โ |
| keyword.other.special-method | #9ef | โ |
| meta.attribute-selector | #7f8 | โ |
| meta.property-name, meta.object-literal.key | #b97 | โ |
| meta.function, meta.function-call | #9ef | โ |
| meta.function support, meta.function-call support | #37c | โ |
| meta.brace | #eee | โ |
| meta.type, meta.selector | #ec7 | โ |
| punctuation | #eee | โ |
| punctuation.definition.comment, punctuation.definition.interpolation, punctuation.definition.string, punctuation.definition.tag, punctuation.definition.template-expression, punctuation.definition.type, punctuation.definition.typeparameters, punctuation.definition.variable | #777 | โ |
| punctuation.definition.anchor | #eaf | โ |
| punctuation.definition.constant | #aaa | โ |
| source.nginx punctuation.definition.variable | #aaa | โ |
| punctuation.section, punctuation.support, punctuation.terminator | #777 | โ |
| punctuation.section.function, punctuation.section.property-list, punctuation.support.function, punctuation.support.property-list, punctuation.terminator.function, punctuation.terminator.property-list | #eee | โ |
| storage | #a8f | โ |
| storage.modifier | #aaa | โ |
| string | #7f8 | โ |
| string.ipaddress | #37c | โ |
| support.constant | #37c | โ |
| support.constant.mathematical-symbols | #eee | โ |
| support.class, support.type | #ec7 | โ |
| support.class.property-name, support.class.map.key, support.type.property-name, support.type.map.key | #b97 | โ |
| support.class.object.module, support.type.object.module | #aaa | โ |
| support.function | #9ef | โ |
| support.variable | #7be | โ |
| text.html | #eee | โ |
| variable | #7be | โ |
| variable.language | #37c | โ |
| variable.parameter.url | #7f8 | โ |
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}!`;
}