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 | #6b7280 | italic |
| keyword, storage.type, storage.modifier, keyword.control | #1E90FF | — |
| entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method | #7B68EE | — |
| string, constant.other.symbol, constant.other.key, entity.other.inherited-class, markup.heading, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js | #FF1493 | — |
| constant.numeric, constant.language, support.constant, constant.character, constant.escape | #00CED1 | — |
| entity.name, support.type, support.class, support.other.namespace, entity.name.type.namespace | #4FC3F7 | — |
| variable.parameter, variable.parameter.function.language.special | #42A5F5 | — |
| meta.decorator, tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #7A64E3 | italic |
| markup.inserted, markup.inserted.git_gutter | #0FA8A0 | — |
| markup.deleted | #E84855 | — |
| markup.changed | #5637C9 | — |
| punctuation.definition.tag | #6A7581 | — |
| invalid, invalid.illegal | #ffffff | — |
| string.regexp | #F03A95 | — |
| constant.character.escape | #E8C27A | — |
| *url*, *link*, *uri* | — | underline |
| markup.bold | — | bold |
| markup.italic | — | italic |
| markup.bold markup.italic, markup.italic markup.bold | — | bold italic |
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}!`;
}