Joker Dark Theme
Publisher: Luis GustavoThemes in package: 1
Joker inspired theme
Joker inspired 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 |
|---|---|---|
| comment, punctuation.definition.comment | #546E7A | italic |
| variable, string constant.other.placeholder | #ffff | italic |
| constant.other.color | #ffffff | — |
| invalid, invalid.illegal | #DA4A4A | — |
| keyword, storage.type, storage.modifier | #65E065 | — |
| keyword.control, constant.other.color, meta.tag, punctuation.definition.tag, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.section.embedded, keyword.other.template, keyword.other.substitution | #65E065 | — |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #A176f6 | — |
| entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method | #65E065 | — |
| support.other.variable, string.other.link | #f07178 | — |
| constant.language, support.constant, constant.character, constant.escape, variable.parameter, keyword.other.unit, keyword.other | #65E065 | — |
| 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 | #F3FA9A | — |
| entity.other.inherited-class | #A176f6 | — |
| support.class, support.other.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types | #A176f6 | — |
| support.type | #A176f6 | — |
| constant.numeric | #DA4A4A | bold |
| variable.language | #A176f6 | italic |
| variable.other.property.js | #ffff | italic |
| variable.other.property.ts | #ffff | italic |
| variable.parameter.js | #A176f6 | italic |
| variable.parameter.ts | #A176f6 | italic |
| meta.block, variable.other, variable.other.object.js | #D24E01 | italic |
| entity.name.type.class.js | #A176f6 | — |
| meta.block, variable.other, variable.other.object.ts | #A176f6 | italic |
| variable.other.constant.js | #A176f6 | — |
| variable.other.object.js | #A176f6 | — |
| variable.other.constant.ts | #A176f6 | — |
| entity.name.type.class.ts | #A176f6 | — |
| entity.name.type.interface.ts | #A176f6 | — |
| entity.name.type.class.java | #A176f6 | — |
| variable.other.definition.java | #ffff | — |
| variable.other.object.property.java | #ffff | — |
| entity.name.type.class.php | #A176f6 | — |
| variable.other.php | #ffff | — |
| keyword.other.type.php | #A176f6 | — |
| variable.other.property.php | #ffff | — |
| entity.name.type.class.cs | #A176f6 | — |
| keyword.type.cs | #A176f6 | — |
| constant.character.escape | #D24E01 | — |
| *url*, *link*, *uri* | — | underline |
| source.json meta.structure.dictionary.json support.type.property-name.json | #A176f6 | — |
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}!`;
}