Angrboða
Publisher: carlssonlokeThemes in package: 2
Beautiful, Dark and Light VSCode theme ⌘
Beautiful, Dark and Light VSCode theme ⌘
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 |
|---|---|---|
| comment, punctuation.definition.comment, string.comment | #b3a8bd60 | — |
| punctuation, meta.tag.inline.any.html, meta.tag.block.any.html, meta.brace | #b3a8bd60 | — |
| constant, entity.name.constant, variable.other.constant, variable.language, meta.definition.variable | #f0eaf8 | — |
| entity, entity.name | #c78fff | — |
| variable.parameter.function | #f0e8f5 | — |
| entity.name.tag | #ff6478 | — |
| entity.name.function | #c78fff | — |
| keyword | #c78fff | — |
| storage, storage.type | #ff6478 | — |
| storage.modifier.package, storage.modifier.import, storage.type.java | #f0e8f5 | — |
| string, punctuation.definition.string, string punctuation.section.embedded source | #ff6478 | — |
| support | #c78fff | — |
| meta.property-name, entity.other.attribute-name, meta.object-literal.key | #c78fff | — |
| variable | #f0eaf8 | — |
| namespace | #f0eaf8 | — |
| keyword.operator | #ff6478 | — |
| invalid.broken | #ff6478 | italic |
| invalid.deprecated | #ff6478 | italic |
| invalid.illegal | #ff6478 | italic |
| invalid.unimplemented | #ff6478 | italic |
| carriage-return | #1e1e1e | italic underline |
| message.error | #ff6478 | — |
| string source | #f0e8f5 | — |
| string variable | #ff6478 | — |
| source.regexp, string.regexp | #ff6478 | — |
| string.regexp.character-class, string.regexp constant.character.escape, string.regexp source.ruby.embedded, string.regexp string.regexp.arbitrary-repitition | #ff6478 | — |
| string.regexp constant.character.escape | #c78fff | bold |
| support.constant | #f0eaf8 | — |
| support.variable | #ff6478 | — |
| constant.numeric | #f0eaf8 | — |
| keyword.other.unit | #ff6478 | — |
| constant.language.boolean | #ff6478 | — |
| meta.module-reference | #ff6478 | — |
| punctuation.definition.list.begin.markdown | #ff6478 | — |
| markup.heading, markup.heading entity.name | #ff6478 | bold |
| markup.quote | #ff6478 | — |
| markup.italic | #f0e8f5 | italic |
| markup.bold | #f0e8f5 | bold |
| markup.raw | #ff6478 | — |
| markup.deleted, meta.diff.header.from-file, punctuation.definition.deleted | #1e1e1e | — |
| markup.inserted, meta.diff.header.to-file, punctuation.definition.inserted | #1e1e1e | — |
| markup.changed, punctuation.definition.changed | #1e1e1e | — |
| markup.ignored, markup.untracked | #f0e8f590 | — |
| meta.diff.range | #c78fff | bold |
| meta.diff.header | #c78fff | — |
| meta.separator | #c78fff | bold |
| meta.output | #c78fff | — |
| brackethighlighter.tag, brackethighlighter.curly, brackethighlighter.round, brackethighlighter.square, brackethighlighter.angle, brackethighlighter.quote | #f0e8f5 | — |
| brackethighlighter.unmatched | #ff6478 | — |
| constant.other.reference.link, string.other.link, punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown | #ff6478 | — |
| markup.underline.link.markdown | #f0e8f590 | underline |
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}!`;
}