killico-theme
Publisher: KillicoThemes in package: 1
2077 by Endormi fork
2077 by Endormi fork
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.quoted.docstring.multi.python | #00aeff | italic |
| string | #89a6f5 | — |
| constant.numeric | #eb4242 | — |
| constant.language | #eb4242 | — |
| constant.character, constant.other | #ff478e | — |
| variable | #16c591 | |
| keyword | #7b00ff | — |
| storage | #7b00ff | |
| storage.type | #7b00ff | |
| meta | #16c591 | — |
| meta.jsx.children, meta.jsx.children.js, meta.jsx.children.tsx | #16c591 | — |
| variable.other.object.js, variable.other.object.jsx, variable.object.property.js, variable.object.property.jsx | #16c591 | — |
| punctuation.definition.parameters | #ff0055 | — |
| punctuation.definition.template-expression | #ad305a | — |
| entity.name.class, entity.name.type.class | #17c43c | |
| entity | #b100e7 | — |
| entity.other.inherited-class, meta.other.inherited-class.php | #67a179 | italic |
| entity.name.function - meta.function-call | #24e063 | |
| variable.parameter | #00a3b8 | |
| entity.name.tag | #c2209f | |
| entity.other.attribute-name | #b100e7 | |
| support.function | #b100e7 | |
| support.constant | #39ff6b | |
| support.type, support.class | #cc1a82 | italic |
| support.other.variable | #39c0ff | |
| support.variable.property.dom | #67b3ff | — |
| invalid | #9e0a52 | |
| invalid.deprecated | #00d7e2 | — |
| meta.diff, meta.diff.header | #009af3 | — |
| markup.deleted | #ec107b | — |
| markup.inserted | #dbcd00 | — |
| markup.changed | #029fcf | — |
| constant.numeric.line-number.find-in-files - match | #e92778 | — |
| entity.name.filename.find-in-files | #ff2e97 | — |
| keyword.other | #7b00ff | — |
| meta.property-value, support.constant.property-value, constant.other.color | #44a1fd | — |
| meta.structure.dictionary.json string.quoted.double.json | #FF0081 | — |
| support.type.property-name.json | #16c591 | |
| meta.structure.dictionary.value.json string.quoted.double.json | #89a6f5 | — |
| meta.property-name support.type.property-name | #16c591 | |
| meta.property-value punctuation.separator.key-value | #44a1fd | — |
| keyword.other.use, keyword.other.function.use, keyword.other.namespace, keyword.other.new, keyword.other.special-method, keyword.other.unit, keyword.other.use-as | #7b00ff | — |
| support.other.namespace.php | #973dfd | — |
| meta.use | #2fb3ff | |
| variable.other | #16c591 | |
| keyword.other.phpdoc.php | #35a3fd | |
| variable.parameter.function.coffee | #ff2e97 | |
| source.python | #16c591 | — |
| variable.parameter.function.language.special.self.python, variable.language.special.self.python | #8c51f8 | — |
| meta.function-call.generic.python, meta.function-call.python, entity.name.function.python | #b100e7 | — |
| meta.function-call.arguments.python | #16c591 | — |
| source.python meta.attribute.python | #3760e7 | — |
| source.python punctuation.definition.decorator.python, entity.name.function.decorator.python | #5dddee | — |
| entity.tag.tagbraces.django | #16c591 | — |
| source.mojo | #c2209f | — |
| entity.name.function.cs | #b100e7 | — |
| entity.name.variable.parameter.cs | #00A3B8 | — |
| variable.other.object.cs, entity.name.variable.local.cs, entity.name.variable.enum-member.cs, entity.name.variable.field.cs | #16c591 | — |
| entity.name.type.cs, keyword.type.cs, entity.name.type.enum.cs, entity.name.type.namespace.cs, entity.name.type.interface.cs | #c2209f | — |
| variable.other.object.property.cs, entity.name.variable.property.cs | #5ba8ff | — |
| source.cs keyword.other.this.cs | #8c51f8 | — |
| entity.name.function.java | #b100e7 | — |
| entity.name.variable.parameter.java | #00A3B8 | — |
| variable.other.object.java, variable.other.definition.java, constant.other.enum.java | #16c591 | — |
| storage.type.primitive.java, storage.type.java, entity.name.type.enum.java, storage.type.generic.java | #c2209f | — |
| variable.other.object.property.java, entity.name.variable.property.java | #5ba8ff | — |
| variable.language.this.java | #8c51f8 | — |
| storage.modifier.import.java | #16c591 | — |
| storage.type.annotation.java, punctuation.definition.annotation.java | #5dddee | — |
| variable.language.this.ts | #8c51f8 | — |
| source.ts entity.name.type | #c2209f | — |
| source.ts keyword | #7b00ff | — |
| entity.name.function.ts | #b100e7 | — |
| source.ts punctuation.definition.parameters | #dbcd00 | — |
| meta.arrow.ts punctuation.definition.parameters | #ffee80 | — |
| source.ts storage | #7b00ff | — |
| variable.language, entity.name.type.class.ts, entity.name.type.class.tsx | #13a733 | — |
| entity.other.inherited-class.ts, entity.other.inherited-class.tsx | #dbcd00 | — |
| source.js storage.type.function | #7b00ff | — |
| variable.language, entity.name.type.class.js | #13a733 | — |
| entity.other.inherited-class.js | #ff15ef | — |
| entity.name.function.js | #b100e7 | — |
| text.html.vue-html | #ffd400 | — |
| entity.name.section.markdown | #13a733 | — |
| string.other.link.title.markdown | #13a733 | — |
| punctuation.definition.heading.markdown | #7b00ff | — |
| markup.raw.inline.markdown | #e9e9e9 | — |
| punctuation.definition.bold.markdown, punctuation.definition.italic.markdown | #7b00ff | — |
| punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown | #7b00ff | — |
| punctuation.definition.metadata.markdown | #7b00ff | — |
| markup.underline.link.markdown, markup.underline.link.image.markdown, meta.image.inline.markdown | #4374fd | |
| markup.bold.markdown, markup.italic.markdown | #13a733 | — |
| markup.italic.markdown | — | italic |
| markup.bold.markdown | — | bold |
| fenced_code.block.language, markup.inline.raw.markdown | #2ec4ff | — |
| fenced_code.block.language, markup.inline.raw.markdown | #2ec4ff | — |
| meta.paragraph.markdown | #e1efff | — |
| markup.raw.block.markdown | #e1efff | — |
| markup.deleted.git_gutter | #e700d8 | — |
| markup.inserted.git_gutter | #ffd400 | — |
| markup.changed.git_gutter | #0685fc | — |
| meta.template.expression | #18b6ff | — |
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}!`;
}