MultiTheme
Publisher: Arturo ArevaloThemes in package: 336
A collection of themes ported from TextMate
A collection of themes ported from TextMate
Full workbench mockup using this variant's colors and tokenColors.
Loading...
TextMate scopes and font styles (syntax highlighting rules).
| scope | foreground | fontStyle |
|---|---|---|
| — | #ae2ca9 | — |
| comment | #9992b1 | italic |
| constant | #FF3A83 | bold |
| entity | #f169b6 | bold |
| keyword | #4f9aed | bold |
| storage | #f95b80 | |
| string | #65BA3A | |
| support | #b41f2d | |
| variable | #25b4df | |
| invalid | #F8F8F8 | — |
| text source | — | — |
| text.html.ruby source | — | — |
| entity.other.inherited-class | #2298ce | italic |
| string.quoted source | #22a9cc | |
| string constant | #3ec5ba | — |
| string.regexp | #ba5eb3 | — |
| string variable | #d0d36e | — |
| support.function | #ff92ae | |
| support.constant | #EB939A | |
| other.preprocessor.c | #8996A8 | — |
| other.preprocessor.c entity | #AFC4DB | — |
| declaration.tag, declaration.tag entity, meta.tag, meta.tag entity | #85d9da | — |
| meta.selector.css entity.name.tag | #72bbbd | — |
| meta.selector.css entity.other.attribute-name.id | #6794e7 | — |
| meta.selector.css entity.other.attribute-name.class | #eb36bd | — |
| support.type.property-name.css | #8a2dc0 | — |
| meta.property-group support.constant.property-value.css, meta.property-value support.constant.property-value.css | #f47a82 | — |
| meta.preprocessor.at-rule keyword.control.at-rule | #f74763 | — |
| meta.property-value support.constant.named-color.css, meta.property-value constant | #8bb5cb | — |
| meta.constructor.argument.css | #EB939A | — |
| meta.diff, meta.diff.header | #F8F8F8 | italic |
| markup.deleted | #F8F8F8 | — |
| markup.changed | #F8F8F8 | — |
| markup.inserted | #F8F8F8 | — |
| sublimelinter.outline.notes | — | — |
| sublimelinter.outline.illegal | — | — |
| sublimelinter.underline.illegal | — | — |
| sublimelinter.outline.warning | — | — |
| sublimelinter.underline.warning | — | — |
| sublimelinter.outline.violation | — | — |
| sublimelinter.underline.violation | — | — |
| entity.other.attribute-name.id.html | #ff6185 | — |
| entity.other.attribute-name.html | #ac3d9f | — |
| punctuation.definition.tag.end, punctuation.definition.tag.begin, punctuation.definition.tag | #65A4A4 | — |
| keyword.control.at-rule.import.css | #d785f7 | — |
| variable.other.less | #e047c5 | — |
| entity.other.less.mixin | #eb49cb | — |
| source.css.less keyword.unit.css | #EB939A | — |
| entity.other.attribute-name.angular.html, source.angular.embedded.html | #FF3A83 | — |
| constant.character.entity.html | #eb4abc | — |
| variable.other.readwrite.instance.coffee | #f97ddb | — |
| meta.brace.round.coffee, meta.brace.square.coffee | #c07ef6 | — |
| punctuation.section.embedded.coffee | #abdbe6 | — |
| variable.assignment.coffee variable.assignment.coffee | #b73494 | — |
| meta.delimiter.method.period.coffee | #78cbfe | — |
| meta.brace.curly.coffee | #68a3f7 | — |
| meta.tag.sgml.doctype.xml, declaration.sgml.html declaration.doctype, declaration.sgml.html declaration.doctype entity, declaration.sgml.html declaration.doctype string, declaration.xml-processing, declaration.xml-processing entity, declaration.xml-processing string, doctype | #73817D | — |
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}!`;
}