Badwolf Paradox Theme
Publisher: thracianThemes in package: 1
Inspired by the Badwolf theme, ported to vscode with some modifications.
Inspired by the Badwolf theme, ported to vscode with some modifications.
Full workbench mockup using this variant's colors and tokenColors.
Loading...
TextMate scopes and font styles (syntax highlighting rules).
| scope | foreground | fontStyle |
|---|---|---|
| — | #f8f6f2 | — |
| bh.highlight | #86e7c8 | — |
| bh.tag | #8cffba | bold |
| comment | #556658 | italic |
| variable, support.other.variable, variable.parameter | #FF8140 | italic |
| string.other.link, string.regexp, entity.other.attribute-name.id.css, entity.other.attribute-name.class.css, entity.other.attribute-name.pseudo-class.css | #86e7c8 | italic |
| entity.name.tag, declaration.tag | #c7915b | |
| meta.tag, punctuation.definition.tag, keyword.other.unit, entity.other.attribute-name.html, text.html.basic meta.tag.other.html, text.html.basic meta.tag.any.html, text.html.basic meta.tag.block.any, text.html.basic meta.tag.inline.any, text.html.basic meta.tag.structure.any.html, text.html.basic source.js.embedded.html, punctuation.separator.key-value.html | #88633f | — |
| constant.numeric, constant.language, support.constant, constant.character, constant.other | #b88853 | bold |
| entity.name.class, entity.name.type.class, support.type, support.class, entity.other.inherited-class | #ffa724 | bold |
| keyword, storage.type.function, storage, entity.name.tag.css | #ff2c4b | bold |
| storage.type.function, storage | — | italic |
| string, constant.other.symbol markup.heading | #F4BD86 | italic |
| entity.name.function, meta.function-call, support.function, keyword.other.special-method, meta.block-level | #ffa724 | bold |
| meta.diff, meta.diff.header | #998f84 | italic |
| markup.deleted | #ff2c4b | — |
| markup.changed | #ffa724 | |
| markup.inserted | #81cebd | — |
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}!`;
}