iLoveAgents - Azure AI Foundry Themes
Publisher: iLoveAgentsThemes in package: 4
Professional color themes for AI developers
Professional color themes for AI developers
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 | #6a7581 | italic |
| keyword, storage.type, storage.modifier | #60a5fa | — |
| keyword.control, constant.other.color | #c084fc | — |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #60a5fa | — |
| entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method | #a78bfa | — |
| support.other.variable, string.other.link | #f44747 | — |
| constant.numeric, constant.language, support.constant, constant.character, constant.escape | #11a194 | — |
| 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 | #f472b6 | — |
| entity.name, support.type, support.class, support.orther.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types | #22d3ee | — |
| variable.parameter.function.language.special, variable.parameter | #93c5fd | — |
| constant.other.symbol.hashkey.ruby, entity.other.attribute-name.id | #4fc1ff | — |
| entity.other.attribute-name.class.css | #a78bfa | — |
| source.sass keyword.control | #d4d4d4 | — |
| markup.inserted | #14b8a6 | — |
| markup.deleted | #ce9178 | — |
| markup.changed | #569cd6 | — |
| string.regexp | #d16969 | — |
| constant.character.escape | #d7ba7d | — |
| *url*, *link*, *uri* | — | underline |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #4ec9b0 | italic |
| source.js constant.other.object.key.js string.unquoted.label.js | #9cdcfe | italic |
| meta.class-method.js entity.name.function.js, variable.function.constructor | #dcdcaa | — |
| entity.other.attribute-name | #9cdcfe | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #d4d4d4 | — |
| text.html.markdown markup.inline.raw.markdown | #ce9178 | — |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #569cd6 | — |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #569cd6 | — |
| markup.italic | #d4d4d4 | italic |
| markup.bold, markup.bold string | #d4d4d4 | 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 | — | bold italic |
| markup.underline | — | underline |
| markup.quote punctuation.definition.blockquote.markdown | #6A9955 | — |
| markup.quote | — | italic |
| string.other.link.title.markdown | #569cd6 | — |
| string.other.link.description.title.markdown | #c586c0 | — |
| constant.other.reference.link.markdown | #a78bfa | — |
| markup.raw.block | #ce9178 | — |
| punctuation.definition.tag | #808080 | — |
| meta.preprocessor, entity.name.function.preprocessor | #569cd6 | — |
| meta.diff.header | #569cd6 | — |
| source.ruby variable.other.readwrite | #9cdcfe | — |
| source.css support.property-name, source.sass support.property-name, source.scss support.property-name, source.less support.property-name, source.stylus support.property-name, source.postcss support.property-name | #9cdcfe | — |
| entity.name.type.namespace | #22d3ee | — |
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}!`;
}