Azure Iris Themes
Publisher: LieliskThemes in package: 6
A modern dark theme with azure blue and golden yellow accents for VS Code
A modern dark theme with azure blue and golden yellow accents for VS Code
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 | #7a869a | italic |
| entity.name.tag.html, entity.name.tag.xml, punctuation.definition.tag.html, punctuation.definition.tag.xml | #cba6f7 | — |
| entity.other.attribute-name.html, entity.other.attribute-name.xml | #f9e2af | — |
| support.type.property-name.css, support.type.property-name.scss, support.type.property-name.less | #89b4fa | — |
| support.constant.property-value.css, support.constant.property-value.scss, support.constant.property-value.less | #a6e3a1 | — |
| support.type.property-name.json | #ffd700 | — |
| string.quoted.double.json | #ff9800 | — |
| variable, string constant.other.placeholder | #74c7ec | — |
| keyword, storage.type, storage.modifier, keyword.control, constant.language, support.type.primitive | #f9e2af | — |
| entity.name.function, meta.function-call, support.function, variable.function | #89b4fa | — |
| variable.parameter, meta.parameter, meta.function.parameters.js, meta.parameters.js, variable.other.readwrite | #ff6347 | — |
| string, string.quoted, string.quoted.single, string.quoted.double, string.quoted.triple | #f5c2e7 | — |
| constant.numeric, constant.numeric.integer, constant.numeric.float, constant.numeric.hex, constant.numeric.binary, constant.numeric.octal | #fab387 | — |
| constant, constant.character, constant.character.escape, constant.other | #fab387 | — |
| keyword.operator, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.logical | #ffffff | — |
| meta.object-literal.key, meta.object-literal.key.js, meta.object-literal.key.ts, meta.object-literal.key.json, support.type.property-name.json, support.type.property-name.object, variable.object.property | #f9e2af | — |
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}!`;
}