NEVO
Publisher: nevoThemes in package: 16
my boomta5 theme
my boomta5 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 |
|---|---|---|
| — | #bfbdb6 | — |
| comment | #acb6bf8c | — |
| string, constant.other.symbol | #aad94c | — |
| string.regexp, constant.character, constant.other | #95e6cb | — |
| constant.numeric | #d2a6ff | — |
| constant.language | #d2a6ff | — |
| variable, variable.parameter.function-call | #bfbdb6 | — |
| variable.member | #f07178 | — |
| variable.language | #39bae6 | — |
| storage | #ff8f40 | — |
| keyword | #ff8f40 | — |
| keyword, keyword.control, keyword.operator, keyword.other.template, keyword.other.substitution, storage.type.function.arrow, constant.other.color, entity.name.section, markdown.heading, markup.inline.raw punctuation.definition.raw, markup.heading, storage.type.function.pug, storage.type.function.python, storage.type.annotation, punctuation.bracket.angle, keyword.other.new, storage.type.generic.wildcard, source.go keyword.operator, constant.other.symbol.ruby punctuation.definition.constant.ruby, variable.parameter, support.function.builtin.rust, storage.type.function.coffee, entity.name.variable.parameter, punctuation.separator.hash.cs, constant.other.symbol.ruby punctuation.definition.constant.ruby, constant.other.symbol.hashkey.ruby punctuation.definition.constant.ruby, meta.function.parameters variable.other, entity.name.type.annotation.kotlin, storage.type.objc, parameter.variable.function, markup punctuation.definition, punctuation.section.directive, punctuation.definition.preprocessor, source.ruby punctuation.definition.variable, support.function.textbf, source.graphql support.type.builtin, source.ocaml variable.interpolation string, entity.name.function.definition.special.constructor, entity.name.function.definition.special.member.destructor., meta.function.parameters variable punctuation.definition.variable.php, source.wsd keyword.other.activity, keyword.control.class.ruby, keyword.control.def.ruby, keyword.function.go, keyword.other.fn.rust, markup.other.anchor, markup.list.bullet, markup.list punctuation.definition, keyword.control.default, punctuation.section, punctuation.separator, punctuation.terminator, markup.bold.markdown, source.zig storage.type.function | — | bold |
| keyword.operator | #f29668 | — |
| punctuation.separator, punctuation.terminator | #bfbdb6b3 | — |
| punctuation.section | #bfbdb6 | — |
| punctuation.accessor | #f29668 | — |
| punctuation.definition.template-expression | #ff8f40 | — |
| punctuation.section.embedded | #ff8f40 | — |
| meta.embedded | #bfbdb6 | — |
| source.java storage.type, source.haskell storage.type, source.c storage.type | #59c2ff | — |
| entity.other.inherited-class | #39bae6 | — |
| storage.type.function | #ff8f40 | — |
| source.java storage.type.primitive | #39bae6 | — |
| entity.name.function | #ffb454 | — |
| variable.parameter, meta.parameter | #d2a6ff | — |
| variable.function, variable.annotation, meta.function-call.generic, support.function.go | #ffb454 | — |
| support.function, support.macro | #f07178 | — |
| entity.name.import, entity.name.package | #aad94c | — |
| entity.name | #59c2ff | — |
| entity.name.tag, meta.tag.sgml | #39bae6 | — |
| support.class.component | #59c2ff | — |
| punctuation.definition.tag.end, punctuation.definition.tag.begin, punctuation.definition.tag | #39bae680 | — |
| entity.other.attribute-name | #ffb454 | — |
| support.constant | #f29668 | — |
| support.type, support.class, source.go storage.type | #39bae6 | — |
| meta.decorator variable.other, meta.decorator punctuation.decorator, storage.type.annotation | #e6b673 | — |
| invalid | #d95757 | — |
| meta.diff, meta.diff.header | #c594c5 | — |
| source.ruby variable.other.readwrite | #ffb454 | — |
| source.css entity.name.tag, source.sass entity.name.tag, source.scss entity.name.tag, source.less entity.name.tag, source.stylus entity.name.tag | #59c2ff | — |
| source.css support.type, source.sass support.type, source.scss support.type, source.less support.type, source.stylus support.type | #acb6bf8c | — |
| support.type.property-name | #39bae6 | normal |
| constant.numeric.line-number.find-in-files - match | #acb6bf8c | — |
| constant.numeric.line-number.match | #ff8f40 | — |
| entity.name.filename.find-in-files | #aad94c | — |
| message.error | #d95757 | — |
| markup.heading, markup.heading entity.name | #aad94c | bold |
| markup.underline.link, string.other.link | #39bae6 | — |
| markup | #f07178 | — |
| markup.bold | #f07178 | bold |
| markup.raw | — | — |
| markup.raw.inline | — | — |
| meta.separator | #acb6bf8c | bold |
| markup.quote | #95e6cb | — |
| markup.list punctuation.definition.list.begin | #ffb454 | — |
| markup.inserted | #7fd962 | — |
| markup.changed | #73b8ff | — |
| markup.deleted | #f26d78 | — |
| markup.strike | #e6b673 | — |
| markup.table | #39bae6 | — |
| text.html.markdown markup.inline.raw | #f29668 | — |
| text.html.markdown meta.dummy.line-break | #acb6bf8c | — |
| punctuation.definition.markdown | #acb6bf8c | — |
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}!`;
}