Coldark
Publisher: Armand PhilippotThemes in package: 2
A blue-grey theme with light & dark versions.
A blue-grey theme with light & dark versions.
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 |
|---|---|---|
| strong, markup.bold | — | bold |
| emphasis, markup.italic | — | italic |
| comment | #8da1b9 | — |
| constant.character | #f4adf4 | — |
| constant.character.escape | #f4adf4 | — |
| constant.language | #e6d37a | — |
| constant.numeric | #e6d37a | — |
| constant.other | #6cb8e6 | — |
| constant.other.color | #91d076 | — |
| constant.other.color punctuation.definition | #91d076 | — |
| constant.regexp | #f4adf4 | — |
| entity.name.function | #c699e3 | — |
| entity.name.namespace | #6cb8e6 | — |
| entity.name.section.group-title | #6cb8e6 | — |
| entity.name.tag | #66cccc | — |
| entity.name.type | #6cb8e6 | — |
| entity.name.type.class | #6cb8e6 | — |
| entity.name.type.instance | #f4adf4 | — |
| entity.name.type.namespace | #6cb8e6 | — |
| entity.name.variable.parameter | #66cccc | — |
| entity.other.attribute-name.pseudo-class | #e9ae7e | — |
| entity.other.attribute-name.pseudo-element | #e9ae7e | — |
| entity.other.attribute-name | #e6d37a | — |
| entity.other.inherited-class | #6cb8e6 | bold |
| invalid | #cd6660 | — |
| keyword | #e9ae7e | — |
| keyword.other.doctype | #66cccc | — |
| keyword.other.type | #f4adf4 | — |
| markup.changed | #e6d37a | — |
| markup.deleted | #cd6660 | — |
| markup.fenced_code.block fenced_code.block.language | #c699e3 | — |
| markup.fenced_code.block punctuation.definition | #66cccc | — |
| markup.heading | #6cb8e6 | bold |
| markup.inline.raw | #66cccc | — |
| markup.inserted | #91d076 | — |
| markup.italic markup.bold, markup.bold markup.italic | — | italic bold |
| markup.list punctuation.definition.list | #f4adf4 | — |
| markup.quote | — | italic |
| markup.quote punctuation.definition.quote | #f4adf4 | — |
| markup.underline.link | #e6d37a | — |
| meta.diff.header | #6cb8e6 | — |
| meta.diff.header punctuation.definition.from-file | #cd6660 | — |
| meta.diff.header punctuation.definition.to-file | #91d076 | — |
| meta.diff.index | #8da1b9 | — |
| meta.diff.range | #c699e3 | — |
| meta.diff.range punctuation.definition.range | #c699e3 | — |
| meta.function-call | #c699e3 | — |
| meta.function-call.arguments | #66cccc | — |
| meta.function support.function.magic | #c699e3 | — |
| meta.object-literal.key | #66cccc | — |
| meta.property-name support.type.property-name | #6cb8e6 | — |
| meta.scope.prerequisites | #e9ae7e | — |
| meta.scope.recipe | #66cccc | — |
| meta.tag.sgml.doctype | #66cccc | — |
| punctuation | #e3eaf2 | — |
| punctuation.definition.comment | #8da1b9 | — |
| punctuation.definition.heading | #6cb8e6 | — |
| punctuation.definition.keyword | #e9ae7e | — |
| punctuation.definition.tag | #66cccc | — |
| punctuation.definition.variable | #6cb8e6 | — |
| punctuation.section.embedded | #66cccc | — |
| punctuation.section.tag | #66cccc | — |
| storage.modifier | #f4adf4 | — |
| storage.type | #e9ae7e | — |
| storage.type punctuation.definition | #e9ae7e | — |
| storage.type.modifier | #f4adf4 | — |
| string | #91d076 | — |
| string.quoted punctuation.definition.string | #91d076 | — |
| string.regexp | #f4adf4 | — |
| support.constant | #66cccc | — |
| support.constant.font-name | #91d076 | — |
| support.class | #f4adf4 | — |
| support.function | #f4adf4 | — |
| support.type | #f4adf4 | — |
| support.type.property-name | #6cb8e6 | — |
| support.type.vendored.property-name | #6cb8e6ca | — |
| support.variable | #6cb8e6 | — |
| support.variable.property | #f4adf4 | — |
| variable.language | #6cb8e6 | bold |
| variable.object | #66cccc | — |
| variable.other | #6cb8e6 | — |
| variable.parameter | #66cccc | — |
| source.css entity.other.attribute-name.class, source.css entity.other.attribute-name.class punctuation | #c699e3 | — |
| source.css entity.other.attribute-name.id, source.css entity.other.attribute-name.id punctuation | #c699e3 | — |
| source.css meta.attribute-selector | #91d076 | — |
| source.css meta.property-name | #6cb8e6 | — |
| source.css support.constant.property-value | #f4adf4 | — |
| source.css variable | #66cccc | — |
| meta.separator.markdown | #6cb8e6 | — |
| source.rust meta.attribute | #66cccc | — |
| source.shell comment.line.number-sign.shebang | #66cccc | — |
| source.shell meta.scope.case-pattern | #e6d37a | — |
| source.shell punctuation.definition.comment.shebang | #66cccc | — |
| source.shell punctuation.terminator.case-clause | #e9ae7e | — |
| source.yaml entity.name.tag | #6cb8e6 | — |
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}!`;
}