Zenburn In Grays
Publisher: Nicola GranataThemes in package: 19
Theme with Zenburn TokenColors on Gray Backgrounds (Cold / Flat / Warm / Midnight / Nirvana / Low Blue).
Theme with Zenburn TokenColors on Gray Backgrounds (Cold / Flat / Warm / 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 | #87a77bff | — |
| meta.preprocessor, punctuation.definition.preprocessor | #e8b486ff | — |
| keyword.other.phpdoc | #568847ff | — |
| punctuation.definition.comment, punctuation.whitespace.comment | #a0c794ff | — |
| punctuation.section.embedded | #89847eff | — |
| source.ruby.embedded | #cc8e89ff | — |
| keyword.other.directive | #ded5ccff | bold |
| keyword.other.directive.line-number | — | underline |
| string, string.unquoted | #d6817bff | — |
| string.unquoted.heredoc | #d6cdc5ff | — |
| support.constant.numeric, constant.numeric | #87cdc4ff | — |
| constant, support.constant | #d6cda0ff | bold |
| constant.character, constant.other | #cc8e89ff | — |
| variable.other.constant | #d6cda0ff | — |
| keyword, keyword.control, meta.selector.css, entity.other.attribute-name | #fecda1ff | — |
| variable.other.readwrite.instance | #fecda1ff | — |
| entity.name.module, support.other.module | #ff7b00ff | bold |
| keyword.operator | #ece3d9ff | — |
| keyword.operator.symbol.infix.floating-point | — | underline |
| source.ocaml, keyword.operator.symbol.prefix.floating-point | — | underline |
| storage.type, storage.modifier, support.type | #fff190ff | — |
| entity.name.class.variant | #407b93ff | — |
| entity.other | #d6cdc5ff | — |
| entity.other.inherited-class | #d78719ff | — |
| storage.type.user-defined, meta.property-list | #ffd700ff | — |
| entity.name.type, entity.name.type.class, entity.other.attribute-name.class.css, support.class, entity.name.class | #f49a1dff | — |
| invalid | #ffc4dbff | bold italic underline |
| entity.other.attribute-name.html | #d6cea1ff | bold |
| entity.name.tag | #d6cea1ff | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #89847eff | — |
| support.function.construct | #fecda1ff | — |
| punctuation.definition.variable | #fecda1ff | — |
| meta.function-name, entity.name.function | #fff37cff | — |
| support.function | #c7b316ff | — |
| meta.brace | #78c6bc80 | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #d6cdc580 | — |
| punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, meta.tag.structure.any.html | #fecca094 | bold |
| entity.name.tag.yaml | #fecda1ff | bold |
| punctuation.definition.entry | #d6cdc5ff | — |
| keyword.other.DML.sql, keyword.other.data-integrity.sql | #b7b0a8ff | bold |
| source.sql, constant.other.database-name.sql, constant.other.table-name.sql, keyword.operator.star | #95b7e0ff | bold |
| source.diff, meta.diff.comment, meta.toc-list.comment.diff | #fff5ebff | — |
| meta.diff.header.from-file | #ca6c69ff | bold |
| meta.diff.header.to-file | #60ac7fff | bold |
| meta.diff.range.unified | #8cc8c2ff | — |
| markup.inserted.diff | #60ac7fff | — |
| markup.deleted.diff | #ca6c69ff | — |
| string.regexp | #c76b3cff | — |
| string.regexp.arbitrary-repitition | #9e6657ff | — |
| punctuation.definition.arbitrary-repitition | #fff5eb5e | — |
| string.regexp.character-class | #cb8877ff | — |
| punctuation.definition.character-class | #fff5eb5e | — |
| markup.raw.inline.markdown | #fecda1ff | — |
| markup.heading.markdown, punctuation.definition.heading | #fff5ebff | bold |
| markup.list | #ded5ccff | — |
| sublimelinter.mark.warning | #ddb000ff | — |
| sublimelinter.gutter-mark | #fff5ebff | — |
| sublimelinter.mark.error | #d01f00ff | — |
| doctype | #c8c6bcff | — |
| entity | #c8c6bcff | — |
| hyperlink | #548993ff | — |
| invisibles | #fff5ebff | — |
| level0 | #234220ff | — |
| level1 | #23223fff | — |
| level10 | #415f5bff | — |
| level2 | #454220ff | — |
| level3 | #45223fff | — |
| level4 | #23423fff | — |
| level5 | #633e3cff | — |
| level6 | #415f3cff | — |
| level7 | #413e5bff | — |
| level8 | #635f3cff | — |
| level9 | #633e5bff | — |
| markup | #d3cbc2ff | — |
| match | #ffc45eff | — |
| meta | #bca793ff | — |
| none | #7c6264ff | — |
| property | #8794a7ff | — |
| punctuation | #ffca62ff | bold |
| source | #dcd3caff | — |
| storage | #7d3e5bff | — |
| support | #ea9edcff | — |
| text | #dcd3caff | — |
| variable | #e7c7a6ff | — |
| wordhighlight | #77f510ff | — |
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}!`;
}