Neo Kiro Theme
Publisher: jeanluc243Themes in package: 2
🎨 A refined, full-featured visual theme inspired by the official Kiro IDE
🎨 A refined, full-featured visual theme inspired by the official Kiro IDE
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 | #352f3d99 | — |
| comment.line, comment.block.documentation | #352f3d99 | italic |
| constant.language.boolean.false | #993333 | — |
| constant.language.boolean.true | #993333 | — |
| constant.language.import-export-all | #2d6a9f | — |
| constant.language.null | #993333 | — |
| constant.language.symbol | #c80e5c | — |
| constant.numeric | #e21067 | — |
| entity.name.tag | #2d6a9f | — |
| entity.name.tag.reference | #876eb1 | — |
| entity.name.tag.yaml | #d08025 | — |
| entity.name.type.module | #d08025 | — |
| entity.name.function | #2d6a9f | — |
| entity.other.attribute-name.id | #d08025 | — |
| entity.other.attribute-name.class | #dbb90f | — |
| entity.other.attribute-name | #d08025 | — |
| keyword | #876eb1 | — |
| keyword.control, keyword.control.import, keyword.control.from, keyword.control.flow | #7559a6 | — |
| keyword.operator, keyword.operator.logical | #352f3dcc | — |
| keyword.unit, keyword.other.unit | #e21067 | — |
| markup.bold | #7559a6 | — |
| markup.italic | #2d6a9f | italic |
| markup.fenced_code | #352f3dcc | — |
| markup.heading | #352f3dcc | bold |
| markup.quote | #352f3dcc | italic |
| markup.underline_link | #0c9aa7 | — |
| meta.class | #c80e5c | — |
| meta.jsx.children | #352f3dcc | — |
| meta.object | #0c9aa7 | — |
| meta.property-name.css | #2b36ab | — |
| meta.property-value.css | #2b36ab | — |
| meta.selector | #367c53 | — |
| meta.structure.dictionary | #2b36ab | — |
| meta.tag.attributes | #0c9aa7 | — |
| meta.type.parameters | #303cc1 | — |
| meta.var.expr | #303cc1 | — |
| punctuation.accessor, punctuation.definition.array, punctuation.definition.block, punctuation.definition.dictionary, punctuation.definition.parameters, punctuation.definition.tag, punctuation.definition.typeparameters, punctuation.separator | #352f3dcc | — |
| punctuation.definition.heading | #d08025 | — |
| punctuation.definition.string | #367c53 | — |
| punctuation.definition.template-expression | #993333 | — |
| punctuation.selection, punctuation.terminator | #352f3d99 | — |
| storage | #7559a6 | — |
| string | #367c53 | — |
| support.class, support.class.component | #c80e5c | — |
| support.constant.color, support.constant.font-name, support.constant.property-value | #3277b3 | — |
| support.function | #303cc1 | — |
| support.type.property-name | #876eb1 | — |
| support.type.property-name.css | #352f3dcc | — |
| support.type.vendored | #dbb90f | — |
| variable | #0c9aa7 | — |
| variable.language.super | #3d8c5e | italic |
| variable.language.this | #0dadbc | 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}!`;
}