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 |
|---|---|---|
| — | #DEDEDE | — |
| comment | #87AE86 | — |
| meta.preprocessor.c | #FD8003 | — |
| keyword.other.phpdoc | #568E4D | — |
| punctuation.definition.comment, punctuation.whitespace.comment | #A0CFA1 | — |
| punctuation.section.embedded | #898989 | — |
| source.ruby.embedded | #CC9495 | — |
| keyword.other.directive | #DEDEDE | bold |
| keyword.other.directive.line-number | — | underline |
| constant.character | #FF8080 | — |
| string, string.unquoted | #D68686 | — |
| string.unquoted.heredoc | #D6D6D6 | — |
| constant.numeric | #87D6D5 | — |
| constant.language, support.constant.core | #D6D6AE | bold |
| constant.character, constant.other, support.constant | #CC9495 | — |
| keyword, keyword.control, meta.selector.css, entity.other.attribute-name | #FED6AF | — |
| entity.name.module, support.other.module | #FF8000 | bold |
| keyword.operator | #ECECEC | — |
| source.ocaml keyword.operator.symbol.infix.floating-point | — | underline |
| source.ocaml keyword.operator.symbol.prefix.floating-point | — | underline |
| storage.type, storage.modifier, support.type | #FFFB9D | — |
| entity.name.class.variant | #4080A0 | — |
| storage | — | — |
| entity.name.type, entity.other | #D6D6D6 | — |
| entity.other.inherited-class | #D78D1B | — |
| storage.type.user-defined, meta.property-list | #FFE000 | — |
| entity.name.type, entity.name.type.class, entity.other.attribute-name.class.css, support.class | #F4A020 | — |
| variable.parameter | — | — |
| invalid | #FF5274 | bold italic underline |
| entity.other.attribute-name.html | #D6D7AF | bold |
| entity.name.tag | #D6D7AF | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #898989 | — |
| variable, variable.parameter, variable.other | #FED6AF | — |
| support.function.construct | #FED6AF | — |
| punctuation.definition.variable | #FED6AF | — |
| support.function, meta.function-name, entity.name.function | #FFFD87 | — |
| support.function | #C7BA18 | — |
| meta.brace | #78CECC80 | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #D6D6D680 | — |
| punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, meta.tag.structure.any.html | #FED5AE94 | bold |
| entity.name.tag.yaml | #FED6AF | bold |
| punctuation.definition.entry | #D6D6D6 | — |
| keyword.other.DML.sql, keyword.other.data-integrity.sql | #B7B7B7 | bold |
| source.sql, constant.other.database-name.sql, constant.other.table-name.sql, keyword.operator.star | #95BFF3 | bold |
| source.diff | #FFFFFF | — |
| source.diff meta.diff.comment, source.diff meta.toc-list.comment.diff | #FFFFFF | — |
| meta.diff.header.from-file | #CA7172 | bold |
| meta.diff.header.to-file | #60B38A | bold |
| meta.diff.range.unified | #8CD0D3 | — |
| markup.inserted.diff | #60B38A | — |
| markup.deleted.diff | #CA7172 | — |
| string.regexp | #C76F41 | — |
| string.regexp.arbitrary-repitition | #9E6A5F | — |
| punctuation.definition.arbitrary-repitition | #FFFFFF5E | — |
| string.regexp.character-class | #CB8E81 | — |
| punctuation.definition.character-class | #FFFFFF5E | — |
| markup.raw.inline.markdown | #FED6AF | — |
| markup.heading.markdown, punctuation.definition.heading | #FFFFFF | bold |
| markup.list | #DEDEDE | — |
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}!`;
}