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 | #7ca07bff | — |
| meta.preprocessor, punctuation.definition.preprocessor | #d5ad86ff | — |
| keyword.other.phpdoc | #4f8347ff | — |
| punctuation.definition.comment, punctuation.whitespace.comment | #93be94ff | — |
| punctuation.section.embedded | #7e7e7eff | — |
| source.ruby.embedded | #bc8889ff | — |
| keyword.other.directive | #ccccccff | bold |
| keyword.other.directive.line-number | — | underline |
| string, string.unquoted | #c57b7bff | — |
| string.unquoted.heredoc | #c5c5c5ff | — |
| support.constant.numeric, constant.numeric | #7cc5c4ff | — |
| constant, support.constant | #c5c5a0ff | bold |
| constant.character, constant.other | #bc8889ff | — |
| variable.other.constant | #c5c5a0ff | — |
| keyword, keyword.control, meta.selector.css, entity.other.attribute-name | #eac5a1ff | — |
| variable.other.readwrite.instance | #eac5a1ff | — |
| entity.name.module, support.other.module | #eb7600ff | bold |
| keyword.operator | #d9d9d9ff | — |
| keyword.operator.symbol.infix.floating-point | — | underline |
| source.ocaml, keyword.operator.symbol.prefix.floating-point | — | underline |
| storage.type, storage.modifier, support.type | #ebe790ff | — |
| entity.name.class.variant | #3b7693ff | — |
| entity.other | #c5c5c5ff | — |
| entity.other.inherited-class | #c68219ff | — |
| storage.type.user-defined, meta.property-list | #ebce00ff | — |
| entity.name.type, entity.name.type.class, entity.other.attribute-name.class.css, support.class, entity.name.class | #e0931dff | — |
| invalid | #ebbcdbff | bold italic underline |
| entity.other.attribute-name.html | #c5c6a1ff | bold |
| entity.name.tag | #c5c6a1ff | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #7e7e7eff | — |
| support.function.construct | #eac5a1ff | — |
| punctuation.definition.variable | #eac5a1ff | — |
| meta.function-name, entity.name.function | #ebe97cff | — |
| support.function | #b7ab16ff | — |
| meta.brace | #6ebebc80 | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #c5c5c580 | — |
| punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, meta.tag.structure.any.html | #eac4a094 | bold |
| entity.name.tag.yaml | #eac5a1ff | bold |
| punctuation.definition.entry | #c5c5c5ff | — |
| keyword.other.DML.sql, keyword.other.data-integrity.sql | #a8a8a8ff | bold |
| source.sql, constant.other.database-name.sql, constant.other.table-name.sql, keyword.operator.star | #89b0e0ff | bold |
| source.diff, meta.diff.comment, meta.toc-list.comment.diff | #ebebebff | — |
| meta.diff.header.from-file | #ba6869ff | bold |
| meta.diff.header.to-file | #58a57fff | bold |
| meta.diff.range.unified | #81bfc2ff | — |
| markup.inserted.diff | #58a57fff | — |
| markup.deleted.diff | #ba6869ff | — |
| string.regexp | #b7663cff | — |
| string.regexp.arbitrary-repitition | #916257ff | — |
| punctuation.definition.arbitrary-repitition | #ebebeb5e | — |
| string.regexp.character-class | #bb8377ff | — |
| punctuation.definition.character-class | #ebebeb5e | — |
| markup.raw.inline.markdown | #eac5a1ff | — |
| markup.heading.markdown, punctuation.definition.heading | #ebebebff | bold |
| markup.list | #ccccccff | — |
| sublimelinter.mark.warning | #cba800ff | — |
| sublimelinter.gutter-mark | #ebebebff | — |
| sublimelinter.mark.error | #bf1d00ff | — |
| doctype | #b8bebcff | — |
| entity | #b8bebcff | — |
| hyperlink | #4d8493ff | — |
| invisibles | #ebebebff | — |
| level0 | #203f20ff | — |
| level1 | #20203fff | — |
| level10 | #3c5b5bff | — |
| level2 | #3f3f20ff | — |
| level3 | #3f203fff | — |
| level4 | #203f3fff | — |
| level5 | #5b3c3cff | — |
| level6 | #3c5b3cff | — |
| level7 | #3c3c5bff | — |
| level8 | #5b5b3cff | — |
| level9 | #5b3c5bff | — |
| markup | #c2c2c2ff | — |
| match | #ebbc5eff | — |
| meta | #ada093ff | — |
| none | #725e64ff | — |
| property | #7c8ea7ff | — |
| punctuation | #ebc162ff | bold |
| source | #cacacaff | — |
| storage | #733c5bff | — |
| support | #d798dcff | — |
| text | #cacacaff | — |
| variable | #d5bea6ff | — |
| wordhighlight | #6deb10ff | — |
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}!`;
}