Apathy Theme
Publisher: Cooper MaruyamaThemes in package: 4
A dark, sophisticated color theme with purple/black backgrounds and vibrant neon-like syntax highlighting.
A dark, sophisticated color theme with purple/black backgrounds and vibrant neon-like syntax highlighting.
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 |
|---|---|---|
| source | #949ab0e0 | — |
| text | #949ab0e0 | — |
| comment | #353a4aff | italic |
| punctuation.definition.comment | #353a4aff | italic |
| string | #7cb57dff | — |
| string.regexp | #ff6976ff | italic |
| constant.character.escape | #7cb57dff | — |
| constant.other.placeholder | #7cb57dff | — |
| separator.border | #2c2d3433 | — |
| focusBorder | #39425873 | — |
| gauge.border | #5e62750f | — |
| sash.hoverBorder | #39425873 | — |
| editorGroup.border | #31333838 | — |
| punctuation.definition.template-expression | #7cb57dff | — |
| meta.template.expression | #7cb57dff | — |
| constant | #6cb2bcff | — |
| constant.numeric | #6cb2bcff | — |
| constant.language | #6cb2bcff | — |
| quickInput.background | #040507ff | — |
| quickInput.foreground | #949ab0e0 | — |
| quickInput.focusBackground | #040507ff | — |
| quickInput.focusForeground | #949ab0e0 | — |
| quickInputList.background | #040507ff | — |
| quickInputList.foreground | #949ab0e0 | — |
| quickInputList.focusBackground | #040507ff | — |
| quickInputList.focusForeground | #949ab0e0 | — |
| list.hoverBackground | #090a1194 | — |
| list.hoverForeground | #949ab0e0 | — |
| keyword | #8ac3cbcf | — |
| keyword.control | #e3e1e8a8 | — |
| keyword.control.conditional | #e3e1e8a8 | — |
| keyword.control.loop | #e3e1e8a8 | — |
| keyword.control.flow | #e3e1e8a8 | — |
| keyword.control.import | #b8acf2ff | — |
| keyword.control.export | #b8acf2ff | — |
| keyword.operator | #c900cbff | — |
| keyword.operator.logical | #c900cbff | — |
| keyword.operator.assignment | #c900cbff | — |
| keyword.operator.arithmetic | #c900cbff | — |
| keyword.operator.comparison | #c900cbff | — |
| keyword.operator.wordlike | #c900cbff | — |
| storage | #5b6467ff | — |
| storage.type | #5b6467ff | — |
| storage.type.function | #63687bff | — |
| storage.type.class | #63687bff | — |
| storage.modifier | #5b6467ff | — |
| storage.type.primitive | #dba1d8ff | — |
| variable | #e3e1e8c7 | — |
| variable.other | #808599ff | — |
| variable.parameter | #7785abff | italic |
| variable.language | #ff9454ff | italic |
| variable.language.this | #ff9454ff | italic |
| variable.language.super | #ff9454ff | italic |
| entity.name.function | #f5e0dcff | — |
| support.function | #96d1d0ff | — |
| meta.function-call.generic | #f5e0dcff | — |
| entity.name.class | #dba1d8ff | bold underline |
| entity.other.inherited-class | #dba1d8ff | bold underline |
| support.class | #dba1d8ff | — |
| entity.name.type | #dba1d8ff | — |
| support.type | #dba1d8ff | — |
| entity.name.tag | #dba1d8ff | — |
| support.class.component | #353a4aff | — |
| support.class.component.jsx | #353a4aff | — |
| entity.other.attribute-name | #808599ff | — |
| meta.tag keyword.operator.assignment | #808599ff | — |
| meta.tag.attributes | #808599ff | — |
| support.type.property-name | #808599ff | — |
| support.type.property-name.css | #808599ff | — |
| meta.object-literal.key | #808599ff | — |
| variable.other.property | #808599ff | — |
| list.hoverBackground | #090a1194 | — |
| list.hoverForeground | #949ab0e0 | — |
| support.type.property-name.css | #808599ff | — |
| meta.property-name | #808599ff | — |
| support.constant.property-value | #6cb2bcff | — |
| constant.other.color | #6cb2bcff | — |
| meta.property-value | #6cb2bcff | — |
| meta.selector | #dba1d8ff | — |
| entity.name.tag.css | #dba1d8ff | — |
| entity.other.attribute-name.class.css | #dba1d8ff | — |
| entity.other.attribute-name.id.css | #dba1d8ff | — |
| punctuation | #424758ff | — |
| punctuation.definition | #362942ff | — |
| punctuation.separator | #424758ff | — |
| punctuation.terminator | #424758ff | — |
| punctuation.accessor | #6177b6ff | — |
| punctuation.definition.tag | #362942ff | — |
| meta.brace | #362942ff | — |
| meta.brace.round | #362942ff | — |
| meta.brace.square | #362942ff | — |
| meta.brace.curly | #362942ff | — |
| entity.name.function.decorator | #eea8ece6 | — |
| punctuation.definition.decorator | #eea8ece6 | — |
| markup.heading | #dba1d8ff | bold |
| entity.name.section.markdown | #dba1d8ff | bold |
| markup.bold | #8ac3cbcf | bold |
| markup.italic | #7cb57dff | italic |
| markup.inline.raw | #7cb57dff | — |
| markup.fenced_code.block.markdown | #7cb57dff | — |
| markup.quote | #353a4aff | italic |
| markup.underline.link | #f5e0dcff | underline |
| markup.inserted | #358989ff | — |
| markup.inserted.git_gutter | #358989ff | — |
| markup.changed | #6177b6ff | — |
| markup.changed.git_gutter | #6177b6ff | — |
| markup.deleted | #9a4f53ff | — |
| markup.deleted.git_gutter | #9a4f53ff | — |
| invalid | #ff6976ff | — |
| invalid.illegal | #ff6976ff | — |
| invalid.deprecated | #353a4aff | — |
| comment.line.todo | #eea8ece6 | bold |
| comment.block.todo | #eea8ece6 | bold |
| comment.line.fixme | #f9d460ff | bold |
| comment.block.fixme | #f9d460ff | bold |
| comment.line.note | #93b9bfff | bold |
| comment.block.note | #93b9bfff | bold |
| string.quoted.docstring | #353a4aff | italic |
| string.quoted.docstring.multi.python | #353a4aff | italic |
| string.quoted.docstring.raw.multi.python | #353a4aff | italic |
| source.yaml | #949ab0e0 | — |
| entity.name.tag.yaml | #808599ff | — |
| string.unquoted.plain.out.yaml | #7cb57dff | — |
| string.quoted.single.yaml | #7cb57dff | — |
| meta.structure.dictionary.key.json | #808599ff | — |
| support.type.property-name.json | #808599ff | — |
| meta.structure.dictionary.value.json | #7cb57dff | — |
| meta.property-list.css | #808599ff | — |
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}!`;
}