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 |
|---|---|---|
| — | #CAD9E3 | — |
| comment | #515E66 | italic |
| string | #3790DE | — |
| constant.numeric | #2E6FD9 | — |
| constant.language | #2E6FD9 | — |
| constant.character, constant.other | #DE333C | — |
| variable | — | italic |
| keyword | #FFFFFF | bold |
| storage | #2E6FD9 | |
| storage.type | #de333c | italic |
| entity.name.class | #2E6FD9 | bold |
| entity.other.inherited-class | #2E6FD9 | italic underline |
| entity.name.function | #ffffff | bold |
| variable.parameter | #00A8C6 | italic |
| entity.name.tag | #DE333C | |
| entity.other.attribute-name | #2e6fd9 | |
| support.function | #DE333C | italic |
| support.constant | #2E6FD9 | |
| support.type, support.class | #00a8c6 | italic bold |
| support.other.variable | — | |
| invalid | #f8f8f0 | |
| invalid.deprecated | #f8f8f0 | — |
| meta.structure.dictionary.json string.quoted.double.json | #3790DE | — |
| meta.diff, meta.diff.header | #75715E | — |
| markup.deleted | #00A8C6 | — |
| markup.inserted | #A6E22E | — |
| markup.changed | #E6DB74 | — |
| constant.numeric.line-number.find-in-files - match | #8FBE00A0 | — |
| entity.name.filename.find-in-files | #E6DB74 | — |
| keyword.other | #798b96 | — |
| meta.property-value, support.constant.property-value, constant.other.color | #3790DE | — |
| meta.structure.dictionary.json string.quoted.double.json | #2E6FD9 | — |
| meta.structure.dictionary.value.json string.quoted.double.json | #3790DE | — |
| meta.property-name support.type.property-name | — | normal |
| meta.property-value punctuation.separator.key-value | #CAD9E3 | — |
| keyword.other.use, keyword.other.function.use, keyword.other.namespace, keyword.other.new, keyword.other.special-method, keyword.other.unit | #DE333C | — |
| meta.use support.class.builtin, meta.other.inherited-class support.class.builtin | #CAD9E3 | normal |
| variable.other | normal | |
| markup.bold | #00A8C6 | bold |
| markup.italic | — | italic |
| markup.underline | — | underline |
| markup.underline.link | #00A8C6 | underline italic |
| markup.heading | #FFFFFF | bold |
| markup.list | #DE333C | — |
| markup.raw | #CAD9E3 | — |
| markup.quote | #75715E | italic |
| meta.separator | — | — |
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}!`;
}