Zen Themes
Publisher: Olivier CuenotThemes in package: 3
Themes with lots of zen
Themes with lots of zen
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 |
|---|---|---|
| — | #474746 | — |
| comment | #CFCDCD | italic |
| keyword, storage | #6E877E | — |
| constant.numeric | #91187B | — |
| constant | #772F29 | — |
| constant.language | #C43E12 | italic |
| variable.language, variable.other | #B51444 | — |
| string | #76AD28 | — |
| constant.character.escape, string source | #8e7541ff | — |
| entity.name.function | #000000 | — |
| entity.name.type | #3B5D87 | — |
| entity.other.inherited-class | #71685eff | — |
| variable.parameter | #6F948B | — |
| storage.type.method | #45464dff | |
| meta.section entity.name.section, declaration.section entity.name.section | #71685eff | |
| support.function | #383d2fff | — |
| support.class, support.type | #777058 | — |
| support.constant | #682f22ff | — |
| support.variable | #000000ff | — |
| keyword.operator.js | #A271B0 | — |
| invalid | #FCF9F9C4 | — |
| invalid.deprecated.trailing-whitespace | #870C27 | — |
| meta.tag.preprocessor.xml | #3f3f3fff | italic |
| meta.tag.sgml.doctype, meta.tag.sgml.doctype entity, meta.tag.preprocessor.xml, meta.tag.preprocessor.xml entity, meta.tag.preprocessor.xml string | #55B6E0 | italic |
| string.quoted.docinfo.doctype.DTD | #7d403aff | italic |
| meta.tag, declaration.tag | #137E91 | — |
| entity.name.tag | #197387 | — |
| entity.other.attribute-name | #917C55 | — |
| entity.other.attribute-name.id.css | #373B40 | bold |
| entity.other.attribute-name.class.css | #226a84ff | bold |
| entity.other.less.mixin | #226a84ff | — |
| meta.attribute-selector.css string | #3AD40F | — |
| entity.name.tag.css | #1597BF | bold |
| entity.other.attribute-name.pseudo-class.css | #6E186B | bold |
| meta.preprocessor.at-rule keyword.control.at-rule | #405950 | — |
| meta.property-value support.constant.named-color.css, meta.property-value constant | #117534 | — |
| meta.constructor.argument.css | #689987 | — |
| source.js meta.brace.curly.js | #91677D | — |
| source.js keyword.control.js | #9B5C9C | — |
| source.js meta.brace.round.js | #B5830E | — |
| punctuation.terminator.statement.js | #B5AAA1 | — |
| source.js support.function.js | #176E51 | — |
| source.js support.constant.dom.js | #1B9FCF | — |
| support.constant.property-value.css | #1FABB5 | — |
| constant.other.color.rgb-value.hex.css | #609E2E | — |
| keyword.other.unit, keyword.other.unit.css, keyword.other.unit.scss | #BF5A35A3 | — |
| constant.numeric.css | #BF5A35 | — |
| punctuation.separator.key-value, punctuation.separator.key-value.css | #C7C9C9 | — |
| punctuation.terminator.rule, punctuation.terminator.rule.css | #D2D4D4 | — |
| source.js meta.brace.square.js | #DE7518 | — |
| source.js meta.class.instance.constructor entity.name.type.instance.js | #279DCF | — |
| text.html.mt meta.tag.any.html string.quoted.double.html | #76AD28 | — |
| text.html.mt meta.tag.sgml.html meta.tag.sgml.doctype.html | #7ED0E6 | — |
| invalid.deprecated | — | underline italic |
| support.type.property-name.css | #777058 | — |
| variable.scss | #C20288 | italic |
| support.function.url.css | #838DD6 | — |
| punctuation.section.function.begin.bracket.round.css, punctuation.section.function.end.bracket.round.css | #B2B6D9 | — |
| variable.parameter.url.css | #2F3EBD | underline |
| punctuation.section.property-list.begin.bracket.curly.css, punctuation.section.property-list.begin.bracket.curly.scss, punctuation.section.property-list.end.bracket.curly.css, punctuation.section.property-list.end.bracket.curly.scss | #D6C5C6 | — |
| meta.attribute.unrecognized.*ngIf.html, meta.attribute.unrecognized.*ngFor.html | — | bold |
| text.html.derivative | #E8CD21 | — |
| constant.other.color.rgb-value.hex.css punctuation.definition.constant.css | #609E2E9E | — |
| punctuation.section.function.begin.bracket.round.css, punctuation.section.function.end.bracket.round.css | #6E186B9E | bold |
| entity.name.tag.reference.scss | #E819E5 | bold |
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}!`;
}