clutterskull Theme
Publisher: Heavy MeadowsThemes in package: 1
Dark theme with bright colors
Dark theme with bright colors
Full workbench mockup using this variant's colors and tokenColors.
Loading...
TextMate scopes and font styles (syntax highlighting rules).
| scope | foreground | fontStyle |
|---|---|---|
| — | #ece4cf | — |
| comment, punctuation.definition.comment | #5F5A60 | italic |
| operator, delimiter, arithmetic, punctuation, meta.brace, keyword.operator, keyword.delimiter, keyword.arithmetic, keyword.comparison, meta.selector, meta.at-rule, entity.name.section | #FFCE83 | — |
| constant, support.constant, string.regex, identifier.class.namespace.type | #FFE78E | — |
| identifier.namespace.type, punctuation.definition.string | #ECFBAF | — |
| string, method-call.string, quoted.string, variable.parameter.misc | #D5E6B3 | — |
| keyword, keyword.control, support.function.misc | #CEABDF | — |
| storage, storage.type, entity.other.attribute-name, punctuation.definition.entity.css | #CCC0E2 | — |
| variable, variable.parameter, identifier.function.paramter, identifier.method.parameter, return-type, support.type.property-name, meta.object-literal.key, meta.link | #B7EAF2 | — |
| support.variable | #85BBF0 | — |
| method-call | #DBF3F1 | — |
| entity.name.function, identifier.function, identifier.method, constant.other.color, constant.other.rgb-value, punctuation.definition.constant, keyword.other.unit | #EFE9D9 | — |
| markup.inline.raw, markup.raw.block | #D2CDBF | — |
| meta.tag | #BF8648 | — |
| entity.name.tag, markup.list | #CCA87D | — |
| #ece4cf | — | |
| markup.italic | #ece4cf | italic |
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}!`;
}