Evil Red Theme
Publisher: FerThemes in package: 1
A dark-ish red theme for Visual Studio Code
A dark-ish red theme for Visual Studio Code
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 |
|---|---|---|
| — | #F8F8F8 | — |
| comment | #ad9191 | italic |
| constant | #ffb452 | |
| keyword | #72e3ff | |
| entity | #ff9cfa | |
| storage | #ff6262ff | bold |
| string | #e8ffe5 | bold |
| support | #ff4747 | bold |
| variable | #bfe791 | italic |
| invalid | #ffffffff | — |
| text source | — | — |
| text.html.ruby source | — | — |
| entity.other.inherited-class | #aa5507ff | underline |
| string.quoted source | #9df39fff | |
| string constant | #ffe862ff | |
| string.regexp | #ffb454ff | — |
| string variable | #edef7dff | — |
| support.function | #ffb454ff | |
| support.constant | #eb939aff | |
| 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 | #73817dff | |
| declaration.tag, meta.tag | #ff8250 | bold |
| declaration.tag.inline, declaration.tag.inline entity, source entity.name.tag, source entity.other.attribute-name, meta.tag.inline, meta.tag.inline entity, entity.other.bracket | #ff8250 | bold |
| meta.tag, entity.other | #fee | bold |
| declaration.tag attribute-name, meta.tag entity.other.attribute-name | #9aff57 | bold |
| meta.selector.css entity.name.tag | #aa5507ff | |
| meta.selector.css entity.other.attribute-name.id | #fec758ff | — |
| meta.selector.css entity.other.attribute-name.class | #41a83eff | |
| support.type.property-name.css | #96dd3bff | |
| meta.property-group support.constant.property-value.css, meta.property-value support.constant.property-value.css | #ffe862ff | italic |
| meta.property-value support.constant.named-color.css, meta.property-value constant | #ffe862ff | |
| meta.preprocessor.at-rule keyword.control.at-rule | #fd6209ff | — |
| meta.constructor.argument.css | #ec9799ff | |
| meta.diff, meta.diff.header | #f8f8f8ff | italic |
| markup.deleted | #ec9799ff | — |
| markup.changed | #f8f8f8ff | — |
| markup.inserted | #41a83eff | — |
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}!`;
}