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 | #87a564ff | — |
| meta.preprocessor, punctuation.definition.preprocessor | #e8b36dff | — |
| keyword.other.phpdoc | #56873aff | — |
| punctuation.definition.comment, punctuation.whitespace.comment | #a0c579ff | — |
| punctuation.section.embedded | #898267ff | — |
| source.ruby.embedded | #cc8d70ff | — |
| keyword.other.directive | #ded3a6ff | bold |
| keyword.other.directive.line-number | — | underline |
| string, string.unquoted | #d67f64ff | — |
| string.unquoted.heredoc | #d6cba0ff | — |
| support.constant.numeric, constant.numeric | #87cba0ff | — |
| constant, support.constant | #d6cb82ff | bold |
| constant.character, constant.other | #cc8d70ff | — |
| variable.other.constant | #d6cb82ff | — |
| keyword, keyword.control, meta.selector.css, entity.other.attribute-name | #fecb83ff | — |
| variable.other.readwrite.instance | #fecb83ff | — |
| entity.name.module, support.other.module | #ff7a00ff | bold |
| keyword.operator | #ece0b1ff | — |
| keyword.operator.symbol.infix.floating-point | — | underline |
| source.ocaml, keyword.operator.symbol.prefix.floating-point | — | underline |
| storage.type, storage.modifier, support.type | #ffee76ff | — |
| entity.name.class.variant | #407a78ff | — |
| entity.other | #d6cba0ff | — |
| entity.other.inherited-class | #d78614ff | — |
| storage.type.user-defined, meta.property-list | #ffd500ff | — |
| entity.name.type, entity.name.type.class, entity.other.attribute-name.class.css, support.class, entity.name.class | #f49818ff | — |
| invalid | #ffc2b2ff | bold italic underline |
| entity.other.attribute-name.html | #d6cc83ff | bold |
| entity.name.tag | #d6cc83ff | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #898267ff | — |
| support.function.construct | #fecb83ff | — |
| punctuation.definition.variable | #fecb83ff | — |
| meta.function-name, entity.name.function | #fff065ff | — |
| support.function | #c7b112ff | — |
| meta.brace | #78c49980 | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #d6cba080 | — |
| punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, meta.tag.structure.any.html | #feca8294 | bold |
| entity.name.tag.yaml | #fecb83ff | bold |
| punctuation.definition.entry | #d6cba0ff | — |
| keyword.other.DML.sql, keyword.other.data-integrity.sql | #b7ae89ff | bold |
| source.sql, constant.other.database-name.sql, constant.other.table-name.sql, keyword.operator.star | #95b5b6ff | bold |
| source.diff, meta.diff.comment, meta.toc-list.comment.diff | #fff2bfff | — |
| meta.diff.header.from-file | #ca6b55ff | bold |
| meta.diff.header.to-file | #60aa67ff | bold |
| meta.diff.range.unified | #8cc69eff | — |
| markup.inserted.diff | #60aa67ff | — |
| markup.deleted.diff | #ca6b55ff | — |
| string.regexp | #c76931ff | — |
| string.regexp.arbitrary-repitition | #9e6547ff | — |
| punctuation.definition.arbitrary-repitition | #fff2bf5e | — |
| string.regexp.character-class | #cb8761ff | — |
| punctuation.definition.character-class | #fff2bf5e | — |
| markup.raw.inline.markdown | #fecb83ff | — |
| markup.heading.markdown, punctuation.definition.heading | #fff2bfff | bold |
| markup.list | #ded3a6ff | — |
| sublimelinter.mark.warning | #ddae00ff | — |
| sublimelinter.gutter-mark | #fff2bfff | — |
| sublimelinter.mark.error | #d01e00ff | — |
| doctype | #c8c499ff | — |
| entity | #c8c499ff | — |
| hyperlink | #548878ff | — |
| invisibles | #fff2bfff | — |
| level0 | #23421aff | — |
| level1 | #232134ff | — |
| level10 | #415e4aff | — |
| level2 | #45421aff | — |
| level3 | #452134ff | — |
| level4 | #234234ff | — |
| level5 | #633e31ff | — |
| level6 | #415e31ff | — |
| level7 | #413e4aff | — |
| level8 | #635e31ff | — |
| level9 | #633e4aff | — |
| markup | #d3c89eff | — |
| match | #ffc24cff | — |
| meta | #bca578ff | — |
| none | #7c6152ff | — |
| property | #879288ff | — |
| punctuation | #ffc74fff | bold |
| source | #dcd1a5ff | — |
| storage | #7d3e4aff | — |
| support | #ea9db3ff | — |
| text | #dcd1a5ff | — |
| variable | #e7c587ff | — |
| wordhighlight | #77f20dff | — |
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}!`;
}