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 | #8ba171ff | — |
| meta.preprocessor, punctuation.definition.preprocessor | #deb681ff | — |
| keyword.other.phpdoc | #5d8248ff | — |
| punctuation.definition.comment, punctuation.whitespace.comment | #a5c188ff | — |
| punctuation.section.embedded | #87826eff | — |
| source.ruby.embedded | #c1927cff | — |
| keyword.other.directive | #dbd3b1ff | bold |
| keyword.other.directive.line-number | — | underline |
| string, string.unquoted | #c78672ff | — |
| string.unquoted.heredoc | #d3cbaaff | — |
| support.constant.numeric, constant.numeric | #92c5a5ff | — |
| constant, support.constant | #d2ca93ff | bold |
| constant.character, constant.other | #c1927cff | — |
| variable.other.constant | #d2ca93ff | — |
| keyword, keyword.control, meta.selector.css, entity.other.attribute-name | #f4ce98ff | — |
| variable.other.readwrite.instance | #f4ce98ff | — |
| entity.name.module, support.other.module | #e9852aff | bold |
| keyword.operator | #e9e0bcff | — |
| keyword.operator.symbol.infix.floating-point | — | underline |
| source.ocaml, keyword.operator.symbol.prefix.floating-point | — | underline |
| storage.type, storage.modifier, support.type | #f9ed93ff | — |
| entity.name.class.variant | #4b7675ff | — |
| entity.other | #d3cbaaff | — |
| entity.other.inherited-class | #c88c36ff | — |
| storage.type.user-defined, meta.property-list | #f5d536ff | — |
| entity.name.type, entity.name.type.class, entity.other.attribute-name.class.css, support.class, entity.name.class | #e39e3eff | — |
| invalid | #f4c7bbff | bold italic underline |
| entity.other.attribute-name.html | #d3cb94ff | bold |
| entity.name.tag | #d3cb94ff | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #87826eff | — |
| support.function.construct | #f4ce98ff | — |
| punctuation.definition.variable | #f4ce98ff | — |
| meta.function-name, entity.name.function | #faee86ff | — |
| support.function | #c1b039ff | — |
| meta.brace | #85be9e80 | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #d3cbaa80 | — |
| punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, meta.tag.structure.any.html | #f4cd9794 | bold |
| entity.name.tag.yaml | #f4ce98ff | bold |
| punctuation.definition.entry | #d3cbaaff | — |
| keyword.other.DML.sql, keyword.other.data-integrity.sql | #b4ae92ff | bold |
| source.sql, constant.other.database-name.sql, constant.other.table-name.sql, keyword.operator.star | #9bb3b4ff | bold |
| source.diff, meta.diff.comment, meta.toc-list.comment.diff | #fbf2cbff | — |
| meta.diff.header.from-file | #bb7363ff | bold |
| meta.diff.header.to-file | #6ca471ff | bold |
| meta.diff.range.unified | #96c1a3ff | — |
| markup.inserted.diff | #6ca471ff | — |
| markup.deleted.diff | #bb7363ff | — |
| string.regexp | #b77147ff | — |
| string.regexp.arbitrary-repitition | #946953ff | — |
| punctuation.definition.arbitrary-repitition | #fbf2cb5e | — |
| string.regexp.character-class | #bf8c70ff | — |
| punctuation.definition.character-class | #fbf2cb5e | — |
| markup.raw.inline.markdown | #f4ce98ff | — |
| markup.heading.markdown, punctuation.definition.heading | #fbf2cbff | bold |
| markup.list | #dbd3b1ff | — |
| sublimelinter.mark.warning | #d3af2dff | — |
| sublimelinter.gutter-mark | #fbf2cbff | — |
| sublimelinter.mark.error | #b9341dff | — |
| doctype | #c6c3a3ff | — |
| entity | #c6c3a3ff | — |
| hyperlink | #5d8478ff | — |
| invisibles | #fbf2cbff | — |
| level0 | #283f21ff | — |
| level1 | #232230ff | — |
| level10 | #465c4dff | — |
| level2 | #444123ff | — |
| level3 | #402533ff | — |
| level4 | #284035ff | — |
| level5 | #5d4137ff | — |
| level6 | #455b39ff | — |
| level7 | #413f48ff | — |
| level8 | #615d3cff | — |
| level9 | #5d424bff | — |
| markup | #d0c8a8ff | — |
| match | #f3c56cff | — |
| meta | #b7a684ff | — |
| none | #776358ff | — |
| property | #899189ff | — |
| punctuation | #f3c96fff | bold |
| source | #d9d1b0ff | — |
| storage | #73444dff | — |
| support | #dea4b5ff | — |
| text | #d9d1b0ff | — |
| variable | #e0c698ff | — |
| wordhighlight | #8ae73bff | — |
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}!`;
}