mz-colors
Publisher: Agustin MendezThemes in package: 2
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 |
|---|---|---|
| emphasis | — | italic |
| strong | — | bold |
| header | #000080 | — |
| constant.numeric | #6897BB | — |
| constant.regexp | #646695 | — |
| entity.name.tag.css | #d7ba7d | — |
| entity.other.attribute-name | #BABABA | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.class.mixin.css, entity.other.attribute-name.id.css, entity.other.attribute-name.parent-selector.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.attribute.scss, entity.other.attribute-name.scss | #d7ba7d | — |
| invalid | #f44747 | — |
| markup.underline | — | underline |
| markup.italic | — | italic |
| markup.inserted | #b5cea8 | — |
| markup.deleted | #ce9178 | — |
| beginning.punctuation.definition.quote.markdown | #608b4e | — |
| beginning.punctuation.definition.list.markdown | #6796e6 | — |
| markup.inline.raw | #ce9178 | — |
| meta.selector | #d7ba7d | — |
| meta.preprocessor.string | #ce9178 | — |
| meta.preprocessor.numeric | #b5cea8 | — |
| keyword.other.phpdoc.php, keyword.other.type.php, storage.type.class.jsdoc, entity.name.type.instance.jsdoc, variable.other.jsdoc | #808080 | — |
| keyword | #CC7832 | bold |
| keyword.control, storage.control.clojure | #CC7832 | bold |
| storage | #CC7832 | — |
| storage.modifier | #CC7832 | bold |
| constant.language | #CC7832 | bold |
| meta.preprocessor | #CC7832 | — |
| meta.diff.header | #CC7832 | — |
| storage.type | #CC7832 | bold |
| punctuation.section.embedded.begin.metatag.php, punctuation.section.embedded.end.metatag.php | #CC7832 | — |
| variable.language | #CC7832 | bold underline |
| keyword.control | #CC7832 | bold |
| string | #6A8759 | — |
| string.tag | #6A8759 | — |
| string.value | #6A8759 | — |
| string.regexp | #6A8759 | — |
| keyword.other.unit | #b5cea8 | — |
| constant.sha.git-rebase | #b5cea8 | — |
| storage.modifier.import.java, storage.modifier.package.java | #d4d4d4 | — |
| entity.name.function, support.function, support.constant.handlebars | #FFC66D | — |
| entity.name.tag | #FFC66D | — |
| punctuation.definition.tag | #FFC66D | — |
| meta.return-type, support.type, entity.name.type, entity.name.class, storage.type.cs, storage.type.generic.cs, storage.type.modifier.cs, storage.type.variable.cs, storage.type.annotation.java, storage.type.generic.java, storage.type.java, storage.type.object.array.java, storage.type.primitive.array.java, storage.type.primitive.java, storage.type.token.java, storage.type.groovy, storage.type.annotation.groovy, storage.type.parameters.groovy, storage.type.generic.groovy, storage.type.object.array.groovy, storage.type.primitive.array.groovy, storage.type.primitive.groovy, meta.type.cast.expr, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class, meta.type.new.expr, support.class.builtin, support.class.console, meta.metadata.simple.clojure, meta.symbol.namespace | #4EC9B0 | |
| support.class.console, keyword.other.debugger | #4EC9B0 | bold |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | #CE9178 | — |
| token.info-token | #6796e6 | — |
| token.warn-token | #cd9731 | — |
| token.error-token | #f44747 | — |
| token.debug-token | #b267e6 | — |
| markup | #c4c4c4 | — |
| markup.bold | #ffffff | bold |
| markup.italic | #fea | italic |
| string | #6a8759 | — |
| markup.quote | #787 | — |
| markup.heading | #ffffff | bold |
| comment | #66606b | italic |
| comment.line | #66606b | — |
| comment.block.documentation | #629755 | — |
| constant.other | #9876AA | italic |
| constant.keyword | #9876AA | — |
| support.variable | #9876aa | italic |
| variable | #9876AA | — |
| meta.object-literal.key, meta.object-literal.key entity.name.function | #9876AA | — |
| support.function.git-rebase | #9876AA | — |
| support.type.vendored.property-name, support.type.property-name, variable.css, variable.scss, variable.other.less | #9876AA | — |
| variable.other.property, support.variable.property.dom | #9876AA | — |
| meta.structure.dictionary.key.python | #9876AA | — |
| markup.changed | #A9B7C6 | — |
| punctuation.definition.template-expression.begin.js, punctuation.definition.template-expression.begin.ts, punctuation.definition.template-expression.end.ts, punctuation.definition.template-expression.end.js | #A9B7C6 | — |
| variable.other.object, variable.other.object.property, meta.function-call, entity.name.type.module, variable.other.readwrite, variable.other.constant.ts, variable.parameter, variable.other.readwrite.alias, entity.global.clojure, meta.symbol.clojure | #A9B7C6 | |
| meta.definition.variable.name, support.variable | #A9B7C6 | — |
| keyword.operator, storage.type.function.arrow | #c4c4c4 | |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.expression.instanceof, keyword.operator.logical.python | #CC7832 | 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}!`;
}