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.language | #e47464 | bold |
| entity.name.tag | #ffffff | — |
| entity.name.tag.css | #ffffff | — |
| entity.other.attribute-name | #ffffff | — |
| 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 | #ed2c3e | — |
| markup.underline | — | underline |
| markup.bold | #FFFFFF | — |
| markup.heading | #ffffff | — |
| markup.italic | — | italic |
| markup.inserted | #b5cea8 | — |
| markup.deleted | #ce9178 | — |
| markup.changed | #ffffff | — |
| punctuation, beginning.punctuation.definition.quote.markdown, beginning.punctuation.definition.list.markdown, keyword.operator.type.annotation, punctuation.definition.tag, meta.brace | #c4c4c4 | — |
| markup.inline.raw | #ce9178 | — |
| meta.selector | #d7ba7d | — |
| meta.preprocessor | #e47464 | — |
| meta.structure.dictionary.key.python | #ffffff | — |
| meta.diff.header | #e47464 | — |
| storage | #ff0000 | — |
| storage.type | #e47464 | bold |
| keyword.other.phpdoc.php, keyword.other.type.php, storage.type.class.jsdoc, entity.name.type.instance.jsdoc, variable.other.jsdoc | #e47464 | — |
| storage.modifier | #e47464 | bold |
| support.type.vendored.property-name, support.type.property-name, variable.css, variable.scss, variable.other.less, variable.other.property, support.variable.property.dom, entity.other.inherited-class | #c4c4c4 | — |
| entity.name.type.module | #66606b | — |
| variable.other.object, variable.other.object.property, support.class.dom, meta.function-call, variable.other.readwrite, variable.other.constant.ts, variable.parameter, variable.other.readwrite.alias | #c4c4c4 | — |
| keyword, keyword.control | #e47464 | bold |
| keyword.operator | #e47464 | |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.logical.python, punctuation.section.embedded.begin.metatag.php, punctuation.section.embedded.end.metatag.php, storage.type.function.arrow | #e47464 | |
| keyword.other.unit | #b5cea8 | — |
| support.function.git-rebase | #ffffff | — |
| constant.sha.git-rebase | #b5cea8 | — |
| storage.modifier.import.java, storage.modifier.package.java | #d4d4d4 | — |
| variable.language | #e47464 | bold |
| entity.name.function, support.function, support.constant.handlebars | #ffffff | — |
| constant.numeric, meta.preprocessor.numeric, constant.other.color.rgb-value, constant.other.rgb-value | #72dec2 | — |
| punctuation.definition.template-expression.begin.js, punctuation.definition.template-expression.begin.ts, punctuation.definition.string.template.begin, punctuation.definition.string.template.end, punctuation.definition.string.begin, punctuation.definition.string.end, punctuation.definition.template-expression.end.ts, punctuation.definition.template-expression.end.js, punctuation.support.type.property-name.begin.json, punctuation.support.type.property-name.end.json | #6A8759 | — |
| string, string.tag, string.value, string.regexp, support.type.property-name.json, constant.regexp, meta.preprocessor.string, support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, support.constant.color | #6A8759 | — |
| meta.return-type, support.class, 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, support.class, entity.name.class, support.type, entity.name.type, meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json | #ffb545 | — |
| storage.type.function.arrow | #e47464 | — |
| keyword.control | #e47464 | bold |
| meta.definition.variable.name, support.variable | #ffffff | — |
| variable | #c4c4c4 | — |
| meta.object-literal.key, meta.object-literal.key entity.name.function | #ffffff | — |
| token.info-token | #6796e6 | — |
| token.warn-token | #cd9731 | — |
| token.error-token | #f44747 | — |
| token.debug-token | #b267e6 | — |
| markup | #bbb | — |
| markup.bold | #ffffff | bold |
| markup.italic | #c4c4c4 | italic |
| markup.quote | #66606b | — |
| markup.heading | #fff | bold |
| comment | #66606b | italic |
| comment.line | #66606b | — |
| comment.block.documentation | #66606b | — |
| constant.other | #c4c4c4 | — |
| support.variable | #c4c4c4 | — |
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}!`;
}