Wombatish Theme
Publisher: Vlad SalingThemes in package: 1
Wombatish Theme ported from the Wombatish TextMate/Sublime Theme.
Wombatish Theme ported from the Wombatish TextMate/Sublime Theme.
Full workbench mockup using this variant's colors and tokenColors.
Loading...
TextMate scopes and font styles (syntax highlighting rules).
| scope | foreground | fontStyle |
|---|---|---|
| — | #F6F3E8 | — |
| comment | #999999 | italic |
| keyword.other.directive | — | bold |
| keyword.other.directive.line-number | — | underline |
| constant.character | #95E454 | italic |
| string | #C7D485 | — |
| constant.numeric | #65D9DB | — |
| constant.language | #E5786D | — |
| constant.character, constant.other | #65D9DB | — |
| variable.parameter, variable.other | #B282FA | — |
| keyword | #3BB4F5 | — |
| keyword | #D5F505 | — |
| variable.php | #75DDFF | — |
| entity.name.module, support.other.module | #F2B888 | |
| keyword.operator | #44BCFC | — |
| source.ocaml keyword.operator.symbol.infix.floating-point | — | underline |
| source.ocaml keyword.operator.symbol.prefix.floating-point | — | underline |
| storage.type | #CAE682 | — |
| entity.name.class.variant | #CAE682 | — |
| storage | #CAE682 | — |
| entity.name.type | #CAE682 | — |
| entity.function.meta.name.js | #90FFE2 | |
| entity.other.inherited-class | #CAE682 | — |
| entity.name.function | #CAE682 | |
| storage.type.user-defined | #CAE682 | — |
| entity.name.type.class.type | #CAE682 | — |
| variable.parameter | — | italic |
| meta.diff, meta.diff.header | #75715E | — |
| markup.deleted | #FF5C64 | — |
| markup.inserted | #A6E22E | — |
| markup.changed | #E6DB74 | — |
| entity.name.tag | #82CFFF | — |
| punctuation.definition.tag | #6B9FBF | — |
| entity.other.attribute-name, entity.name.selector.sass | #99FF00 | — |
| support.function | #CAE682 | — |
| support.constant, support.property-value.sass | #FF5C64 | — |
| support.type, support.class | #82E699 | — |
| control.at-rule.sass | #C77FF7 | — |
| function.name.sass | #BBFF76 | — |
| variable.decl.sass, variable.ref.sass | #44BCFC | — |
| literal.sass | #FF5219 | — |
| support.variable | #CAE682 | — |
| invalid | — | — |
| text.html.basic | #ffffff | |
| js | #C56FFF | — |
| meta | #C7D485 | — |
| meta.string | #C7D485 | — |
| name.parameter.type.variable.js | #40BFBB | — |
| meta.storage.type.var.js | #C56FFF | — |
| meta.operator.js | #ffffff | — |
| token.block.constant.decl.function.language.meta.this.js | #C56FFF | — |
| storage.type.function.js | #A6E22E | — |
| constant.numeric.js | #269186 | — |
| meta.brace.square.js | #A6E22E | — |
| storage.type.js | #A6E22E | — |
| meta.brace.round, punctuation.definition.parameters.begin.js, punctuation.definition.parameters.end.js | #93A1A1 | — |
| meta.brace.curly.js | #A6E22E | — |
| constant.numeric.line-number.find-in-files - match | #65D9DBA0 | — |
| entity.name.filename.find-in-files | #A6E22E | — |
| comment | #999999 | — |
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}!`;
}