M Tech Themes
Publisher: M-TechThemes in package: 23
✨ Professional dark & light theme + icon pack, from the author of the original M Tech color scheme.
✨ Professional dark & light theme + icon pack, from the author of the original M Tech color scheme.
Full workbench mockup using this variant's colors and tokenColors.
Workbench UI color keys from the theme JSON colors map.
TextMate scopes and font styles (syntax highlighting rules).
| scope | foreground | fontStyle |
|---|---|---|
| comment, punctuation.definition.comment | #575d69 | italic |
| constant, entity.name.constant, variable.other.constant, variable.language | #6D28D9 | — |
| entity, entity.name | #047857 | — |
| variable.parameter.function | #0F172A | — |
| entity.name.tag | #B91C1C | — |
| keyword | #0E7490 | — |
| storage, storage.type | #0E7490 | — |
| storage.modifier.package, storage.modifier.import, storage.type.java | #0F172A | — |
| string, punctuation.definition.string | #047857 | — |
| support | #0E7490 | — |
| meta.property-name | #0E7490 | — |
| variable | #0F172A | — |
| variable.other | #0F172A | — |
| invalid.broken | #B91C1C | italic |
| invalid.deprecated | #B91C1C | italic |
| invalid.illegal | #B91C1C | italic |
| invalid.unimplemented | #B91C1C | italic |
| carriage-return | #FFFFFF | italic underline |
| message.error | #B91C1C | — |
| string source | #0F172A | — |
| string variable | #0E7490 | — |
| source.regexp, string.regexp | #047857 | — |
| string.regexp.character-class, string.regexp constant.character.escape, string.regexp source.ruby.embedded, string.regexp string.regexp.arbitrary-repitition | #047857 | — |
| string.regexp constant.character.escape | #047857 | bold |
| support.constant | #B45309 | — |
| support.variable | #0E7490 | — |
| meta.module-reference | #0E7490 | — |
| punctuation.definition.list.begin.markdown | #B45309 | — |
| markup.heading, markup.heading entity.name | #0E7490 | bold |
| markup.quote | #047857 | — |
| markup.italic | #0F172A | italic |
| markup.bold | #0F172A | bold |
| markup.raw | #0E7490 | — |
| markup.deleted, meta.diff.header.from-file, punctuation.definition.deleted | #B91C1C | — |
| markup.inserted, meta.diff.header.to-file, punctuation.definition.inserted | #047857 | — |
| markup.changed, punctuation.definition.changed | #B45309 | — |
| markup.ignored, markup.untracked | #F1F5F9 | — |
| meta.diff.range | #6D28D9 | bold |
| meta.diff.header | #0E7490 | — |
| meta.separator | #0E7490 | bold |
| meta.output | #0E7490 | — |
| brackethighlighter.tag, brackethighlighter.curly, brackethighlighter.round, brackethighlighter.square, brackethighlighter.angle, brackethighlighter.quote | #64748B | — |
| brackethighlighter.unmatched | #B91C1C | — |
| constant.other.reference.link, string.other.link | #047857 | underline |
TypeScript sample highlighted with this variant's colors and tokenColors.
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}!`;
}