Jinhsi: Thawborn Renewal Theme
Publisher: cryoimpact7Themes in package: 2
Visual Studio Code theme inspired by Jinhsi from Wuthering Waves
Visual Studio Code theme inspired by Jinhsi from Wuthering Waves
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 |
|---|---|---|
| — | #839496 | — |
| meta.embedded, source.groovy.embedded, string meta.image.inline.markdown, variable.legacy.builtin.python | #839496 | — |
| comment | #586E75 | italic |
| string | #ffffff | — |
| string.regexp | #b9b5b5 | — |
| constant.numeric | #d1d1d1 | — |
| variable.language, variable.other | #c9cacc | — |
| keyword | #f38d8d | bold |
| storage | #ffeb77 | bold |
| entity.name.class, entity.name.type, entity.name.namespace, entity.name.scope-resolution | #ffffff | |
| entity.name.function | #6fddff | — |
| punctuation.definition.variable | #ffffff | — |
| punctuation.section.embedded.begin, punctuation.section.embedded.end | #DC322F | — |
| constant.language, meta.preprocessor | #f9ffa4 | — |
| support.function.construct, keyword.other.new | #9c86ff | — |
| constant.character, constant.other | #d1d1d1 | — |
| entity.other.inherited-class | #85d8ff | — |
| entity.name.tag | #b8b8b8 | — |
| punctuation.definition.tag | #586E75 | — |
| entity.other.attribute-name | #93A1A1 | — |
| support.function | #8bcbff | — |
| punctuation.separator.continuation | #90c4ff | — |
| support.type, support.class | #b9aef7 | — |
| support.type.exception | #fff672 | — |
| invalid | #DC322F | — |
| meta.diff, meta.diff.header | #2ddab4 | italic |
| markup.deleted | #DC322F | |
| markup.changed | #CB4B16 | |
| markup.inserted | #2fa57d | — |
| markup.quote | #fa3556 | — |
| markup.list | #a1cef2 | — |
| markup.bold, markup.italic | #83faf4 | — |
| markup.bold | — | bold |
| markup.italic | — | italic |
| markup.strikethrough | #ff0000 | strikethrough |
| markup.inline.raw | #b0f1fa | |
| markup.heading | #e0f38d | bold |
| markup.heading.setext | #1c97bd | |
| source.json meta.structure.dictionary.json support.type.property-name.json | #f3fd95 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #f09999 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #fd6666 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #ae91fd | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #f3fd95 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #f09999 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #fd6666 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #ae91fd | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #f3fd95 | — |
| entity.name.function, support.function, support.constant.handlebars | #ffffff | — |
| entity.name.function.python | #f58888 | bold |
| constant.numeric, constant.language, support.constant, constant.character, constant.escape, variable.parameter, keyword.other.unit, keyword.other, meta.item-access.arguments.python, | #e6e497 | — |
| keyword.control | #f74242 | — |
| keyword.control, constant.other.color, punctuation, meta.tag, punctuation.definition.tag, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.section.embedded, keyword.other.template, keyword.other.substitution, keyword.operator.new.ts, meta.object-literal.key.ts | #e08282 | — |
| comment.line.double-slash.cs, comment.block.cs, punctuation.definition.comment.json.comments, comment.line.double-slash.js, meta.structure.array.json.comments, meta.structure.dictionary.value.json.comments, meta.structure.dictionary.json.comments, source.json.comments, comment.block.css, comment.block.html, meta.property-list.css, comment.line.number-sign.python, punctuation.definition.comment.cs, comment.block.documentation.cs, punctuation.definition.comment.ts, comment.line.double-slash.ts, comment.line.scss, comment.block.ts, comment.block.scss, comment.block.documentation.ts, comment.line.double-slash.tsx, comment.block.tsx | #bdbdbd | — |
| support.variable, constant.numeric, support.constant | #f9ffaa | bold |
| meta.return-type, support.class, support.type, entity.name.type, entity.name.class, source.cs storage.type | #f7ffae | — |
| 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, variable.object.property.ts | #fca6c2 | — |
| meta.function-call.generic.python | #ffe694 | bold |
| support.type | #d4d4d4 | — |
| storage.type | #ffbbbb | — |
| constant.character.escape | #608cc5 | — |
| variable.language | #ff686f | italic |
| string.quoted.single, string.quoted.triple, string.quoted.other | #ffffff | — |
| variable, meta.definition.variable.name, support.variable | #acf5ff | — |
| meta.structure.dictionary.key.python | #8ebbff | — |
| *url*, *link*, *uri* | #ffffff | italic underline |
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}!`;
}