Chromodynamics V3 Theme
Publisher: leelhn2345Themes in package: 2
A dark color scheme originally from Chromodynamics-V2, by yousefabuz17
A dark color scheme originally from Chromodynamics-V2, by yousefabuz17
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 |
|---|---|---|
| text, source, meta.interpolation | #FFFFFF | — |
| git_changes_change | #A29F46 | — |
| git_changes_add | #1f9a12 | — |
| git_changes_del- | #A72822 | — |
| comment | #708090 | — |
| string source, string | #DEB887 | — |
| punctuation.definition.string, string punctuation.definition.string source | #FF6347 | — |
| string.quoted.docstring, string.quoted.docstring punctuation.definition.string | #00FF7F | — |
| string.quoted.docstring string | #00FF7F | — |
| string.quoted.docstring storage | #00FFFF | — |
| constant.numeric | #1E90FF | — |
| constant.language | #1E90FF | — |
| constant.character, constant.other, variable.other.constant | #AB9DF2 | — |
| variable | #FFFFFF | |
| punctuation.separator.key-value.ini | #1E90FF | — |
| keyword | #FF0000 | — |
| comment.line.note, string.quoted.docstring.note | #b14a58 | — |
| storage, storage.type.function.async | #FF0000 | |
| storage.type | #00FFFF | italic |
| meta.function-call.generic | #00FFFF | — |
| entity.name.class | #A6E22E | — |
| entity.other.inherited-class, entity.name.type.class, entity.name.type.module | #00BFFF | underline |
| entity.name.function | #00FA00 | |
| variable.parameter | #FF8C00 | italic |
| entity.name.tag.namespace | #76263a | |
| entity.name.tag, keyword.doctype.xml | #ff0066 | |
| entity.other.attribute-name | #00FFFF | |
| support.function | #A6E22E | |
| support.constant | #00FFFF | |
| support.type | #C71585 | italic |
| support.type.exception | #00FFFF | — |
| support.class, support.other, support.variable | #00BFFF | — |
| support.other.variable | — | |
| invalid | #7C3636 | |
| invalid.deprecated | #99732b | — |
| meta.structure.dictionary.json string.quoted.double.json | #FFFFFF | — |
| meta.diff, meta.diff.header | #75715E | — |
| markup.deleted | #FF0000 | — |
| markup.inserted | #A6E22E | — |
| markup.changed | #E6DB74 | — |
| variable.language, variable.parameter.function.language.special | #FF00F2 | — |
| entity.name.type | #00BFFF | — |
| punctuation.accessor, punctuation.definition.template-expression, punctuation.separator, punctuation.section.function, punctuation.terminator, punctuation.definition.section, punctuation.definition.decorator, punctuation.destructuring, punctuation.definition.interpolation, punctuation.definition.block.tag, punctuation.comma | #FF0000 | — |
| storage.type.function.arrow | #FF0000 | — |
| meta.indexed-name | #66CDAA | |
| meta.object-literal.key | #66CDAA | — |
| punctuation.definition.group | #66CDAA | — |
| punctuation.definition.tag | #939293 | — |
| entity.name.function.operator | #FF0000 | — |
| punctuation.definition.string.template | #FF0000 | — |
| case-clause keyword.control | #569CD6 | — |
| variable.other.env | #66CDAA | — |
| comment.typehint | #888A84 | — |
| comment.typehint.ignore | #7E6461 | — |
| comment.typehint.type | #44727B | — |
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}!`;
}