Aroma theme
Publisher: abersagerThemes in package: 1
macOS goes Nord. Dark theme for VS Code and iTerm2
macOS goes Nord. Dark theme for VS Code and iTerm2
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 |
|---|---|---|
| punctuation.definition.block, punctuation.definition.parameters, punctuation.definition.array, punctuation.separator.array, meta.brace.round, meta.brace.square, meta.brace.curly, meta.delimiter.comma, meta.brackets, meta.array.literal, meta.tag.attributes | #656D78 | — |
| comment, punctuation.definition.comment | #6B6B75 | — |
| variable, string constant.other.placeholder | #D8DEE9 | — |
| constant.other.color | #D8DEE9 | — |
| invalid, invalid.illegal | #BF616A | — |
| keyword, storage.type, storage.modifier | #81A1C1 | — |
| keyword.control, constant.other.color, punctuation, meta.tag, punctuation.definition.tag, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.section.embedded, keyword.other.template, keyword.other.substitution | #81A1C1 | — |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #81A1C1 | — |
| entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method | #88C0D0 | — |
| meta.block variable.other | #D8DEE9 | — |
| support.other.variable, string.other.link | #75B3AC | — |
| constant.numeric, constant.language, support.constant, constant.character, constant.escape, variable.parameter, keyword.other.unit, keyword.other | #C98BAD | — |
| string, constant.other.symbol, constant.other.key, entity.other.inherited-class, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js | #A3BE8C | — |
| entity.name, support.type, support.class, support.other.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types | #75B3AC | — |
| support.type | #75B3AC | — |
| source.css support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.less support.type.property-name, source.stylus support.type.property-name, source.postcss support.type.property-name | #C98BAD | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #86B9C7 | — |
| variable.language | #5E81AC | italic |
| entity.name.method.js | #86B9C7 | italic |
| meta.class-method.js entity.name.function.js, variable.function.constructor | #86B9C7 | — |
| entity.other.attribute-name | #75B3AC | — |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #75B3AC | italic |
| entity.other.attribute-name.class | #75B3AC | — |
| source.sass keyword.control | #5E81AC | — |
| markup.inserted | #A3BE8C | — |
| markup.deleted | #BF616A | — |
| markup.changed | #E4BE92 | — |
| string.regexp | #E4BE92 | — |
| constant.character.escape | #E4BE92 | — |
| *url*, *link*, *uri* | — | underline |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #86B9C7 | italic |
| source.js constant.other.object.key.js string.unquoted.label.js | #C98BAD | italic |
| source.json meta.structure.dictionary.json support.type.property-name.json | #81A1C1 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #75B3AC | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #86B9C7 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #5E81AC | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #C98BAD | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #E4BE92 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #A3BE8C | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #81A1C1 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #75B3AC | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #D8DEE9 | — |
| text.html.markdown markup.inline.raw.markdown | #81A1C1 | — |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #4C566A | — |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #86B9C7 | — |
| markup.italic | #D8DEE9 | italic |
| markup.bold, markup.bold string | #D8DEE9 | bold |
| markup.bold markup.italic, markup.italic markup.bold, markup.quote markup.bold, markup.bold markup.italic string, markup.italic markup.bold string, markup.quote markup.bold string | #D8DEE9 | bold italic |
| markup.underline | #C98BAD | underline |
| markup.quote punctuation.definition.blockquote.markdown | #4C566A | — |
| markup.quote | — | italic |
| string.other.link.title.markdown | #86B9C7 | — |
| string.other.link.description.title.markdown | #81A1C1 | — |
| constant.other.reference.link.markdown | #75B3AC | — |
| markup.raw.block | #81A1C1 | — |
| markup.raw.block.fenced.markdown | #4C566A | — |
| punctuation.definition.fenced.markdown | #4C566A | — |
| markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end | #D8DEE9 | — |
| variable.language.fenced.markdown | #5E81AC | — |
| meta.separator | #5E81AC | bold |
| markup.table | #D8DEE9 | — |
| meta.array.literal | #8C98A7 | — |
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}!`;
}