Zenburn Cold Gray (deprecated in favor of *Zenburn In Grays*)
Publisher: Nicola GranataThemes in package: 11
Theme with Zenburn TokenColors on Gray Backgrounds (Cold / Midnight / Nirvana / Low Blue).
Theme with Zenburn TokenColors on Gray Backgrounds (Cold / Midnight / Nirvana / Low Blue).
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 | #6e8f6dff | — |
| meta.preprocessor, punctuation.definition.preprocessor | #c29e7bff | — |
| keyword.other.phpdoc | #42713bff | — |
| punctuation.definition.comment, punctuation.whitespace.comment | #86ac87ff | — |
| punctuation.section.embedded | #6e6e6eff | — |
| source.ruby.embedded | #a97a7bff | — |
| keyword.other.directive | #bcbcbcff | bold |
| keyword.other.directive.line-number | — | underline |
| string, string.unquoted | #b06e6eff | — |
| string.unquoted.heredoc | #b5b5b5ff | — |
| support.constant.numeric, constant.numeric | #71b3b2ff | — |
| constant, support.constant | #b5b593ff | bold |
| constant.character, constant.other | #a97a7bff | — |
| variable.other.constant | #b5b593ff | — |
| keyword, keyword.control, meta.selector.css, entity.other.attribute-name | #d7b695ff | — |
| variable.other.readwrite.instance | #d7b695ff | — |
| entity.name.module, support.other.module | #d36a0eff | bold |
| keyword.operator | #c9c9c9ff | — |
| keyword.operator.symbol.infix.floating-point | — | underline |
| source.ocaml, keyword.operator.symbol.prefix.floating-point | — | underline |
| storage.type, storage.modifier, support.type | #dad688ff | — |
| entity.name.class.variant | #30657fff | — |
| entity.other | #b5b5b5ff | — |
| entity.other.inherited-class | #b17415ff | — |
| storage.type.user-defined, meta.property-list | #d8be13ff | — |
| entity.name.type, entity.name.type.class, entity.other.attribute-name.class.css, support.class, entity.name.class | #ca851bff | — |
| invalid | #d8aecaff | bold italic underline |
| entity.other.attribute-name.html | #b5b694ff | bold |
| entity.name.tag | #b5b694ff | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #6e6e6eff | — |
| support.function.construct | #d7b695ff | — |
| punctuation.definition.variable | #d7b695ff | — |
| meta.function-name, entity.name.function | #dad876ff | — |
| support.function | #a59a14ff | — |
| meta.brace | #64acaa80 | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #b5b5b580 | — |
| punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, meta.tag.structure.any.html | #d7b59494 | bold |
| entity.name.tag.yaml | #d7b695ff | bold |
| punctuation.definition.entry | #b5b5b5ff | — |
| keyword.other.DML.sql, keyword.other.data-integrity.sql | #989898ff | bold |
| source.sql, constant.other.database-name.sql, constant.other.table-name.sql, keyword.operator.star | #7da0cbff | bold |
| source.diff, meta.diff.comment, meta.toc-list.comment.diff | #dbdbdbff | — |
| meta.diff.header.from-file | #a55b5cff | bold |
| meta.diff.header.to-file | #4d9371ff | bold |
| meta.diff.range.unified | #76adb0ff | — |
| markup.inserted.diff | #4d9371ff | — |
| markup.deleted.diff | #a55b5cff | — |
| string.regexp | #a25933ff | — |
| string.regexp.arbitrary-repitition | #7e544aff | — |
| punctuation.definition.arbitrary-repitition | #dbdbdb5e | — |
| string.regexp.character-class | #a7756aff | — |
| punctuation.definition.character-class | #dbdbdb5e | — |
| markup.raw.inline.markdown | #d7b695ff | — |
| markup.heading.markdown, punctuation.definition.heading | #dbdbdbff | bold |
| markup.list | #bcbcbcff | — |
| sublimelinter.mark.warning | #b8980fff | — |
| sublimelinter.gutter-mark | #dbdbdbff | — |
| sublimelinter.mark.error | #a7150aff | — |
| doctype | #a8aeacff | — |
| entity | #a8aeacff | — |
| hyperlink | #417380ff | — |
| invisibles | #dbdbdbff | — |
| level0 | #122e12ff | — |
| level1 | #11112cff | — |
| level10 | #2e4a4aff | — |
| level2 | #2f2f13ff | — |
| level3 | #2e122eff | — |
| level4 | #122e2eff | — |
| level5 | #492d2dff | — |
| level6 | #2e4a2eff | — |
| level7 | #2c2c48ff | — |
| level8 | #4b4b2fff | — |
| level9 | #492d49ff | — |
| markup | #b2b2b2ff | — |
| match | #d7ad58ff | — |
| meta | #9c9085ff | — |
| none | #614f54ff | — |
| property | #6e7e94ff | — |
| punctuation | #d7b25cff | bold |
| source | #bababaff | — |
| storage | #602e4aff | — |
| support | #c48bc8ff | — |
| text | #bababaff | — |
| variable | #c3ae99ff | — |
| wordhighlight | #65d712ff | — |
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}!`;
}