Popping and Locking Black Theme
Publisher: Phil SinatraThemes in package: 1
A variation of the original popping-and-locking theme that uses black as the primary background color
A variation of the original popping-and-locking theme that uses black as the primary background color
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 |
|---|---|---|
| emphasis | — | italic |
| strong | — | bold |
| header | #458588 | — |
| comment, punctuation.definition.comment | #506899 | italic |
| constant, variable.arguments | #d3869b | — |
| constant.rgb-value | #ebdbb2 | — |
| entity.name.selector | #7ec16e | — |
| entity.other.attribute-name | #7ec16e | italic |
| entity.other.attribute-name.css | #fe8019 | — |
| invalid | #cc241d | — |
| markup.underline | — | underline |
| markup.bold | #fe8019 | bold |
| markup.heading | #fe8019 | bold |
| markup.italic | — | italic |
| markup.inserted | #b8bb26 | — |
| markup.deleted | #d65d0e | — |
| markup.changed | #fe8019 | — |
| markup.punctuation.quote.beginning | #98971a | — |
| markup.punctuation.list.beginning | #99c6ca | — |
| markup.inline.raw | #d65d0e | — |
| meta.selector | #7ec16e | — |
| #d79921 | — | |
| meta.preprocessor | #fe8019 | — |
| meta.preprocessor.string | #b8bb26 | — |
| meta.preprocessor.numeric | #b8bb26 | — |
| meta.structure.dictionary.key.python | #689d6a | — |
| meta.header.diff | #fe8019 | — |
| storage | #f42c3e | — |
| storage.modifier | #fe8019 | — |
| string | #b8bb26 | — |
| string.tag | #b8bb26 | — |
| string.value | #b8bb26 | — |
| string.regexp | #fe8019 | — |
| string.escape | #f42c3e | — |
| string.quasi | #7ec16e | — |
| string.entity | #b8bb26 | — |
| object | #ebdbb2 | — |
| module.node | #99c6ca | — |
| support.type.property-name | #99c6ca | — |
| keyword | #f42c3e | — |
| keyword.control | #f42c3e | — |
| keyword.control.module | #7ec16e | — |
| keyword.control.less | #d79921 | — |
| keyword.operator | #7ec16e | — |
| keyword.operator.new | #fe8019 | — |
| keyword.other.unit | #b8bb26 | — |
| metatag.php | #fe8019 | — |
| support.function.git-rebase | #689d6a | — |
| constant.sha.git-rebase | #b8bb26 | — |
| storage.modifier.import.java, storage.modifier.package.java | #ebdbb2 | — |
| meta.type.name, meta.return.type, meta.return-type, meta.cast, meta.type.annotation, support.type, storage.type.cs, storage.type.java, variable.class | #fabd2f | — |
| variable.this | #d3869b | — |
| entity.name, entity.static, entity.name.class.static.function, entity.name.function, entity.name.class, entity.name.type | #fabd2f | — |
| storage.type.function, entity.function, entity.name.function.static | #7ec16e | — |
| variable.language | #d3869b | italic |
| entity.name.function.function-call | #7ec16e | — |
| entity.name.method, entity.name.method.function-call, entity.name.static.function-call | #689d6a | — |
| brace | #d5c4a1 | — |
| meta.parameter.type.variable, variable.parameter, variable, variable.name, variable.other | #99c6ca | — |
| support.property-value, constant.rgb-value, support.property-value.scss, constant.rgb-value.scss | #d65d0e | — |
| prototype | #d3869b | — |
| storage.type.class | #f42c3e | — |
| support.type.property-name.css | #99c6ca | italic |
| meta.property-group, support.constant.property-value.css | #b8bb26 | — |
| entity.name.tag, punctuation.tag | #fabd2f | — |
| punctuation | #ebdbb2 | — |
| punctuation.quasi | #f42c3e | — |
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}!`;
}