KIDS THEME
Publisher: Kids ThemeThemes in package: 2
🎨 A pitch-black theme, designed to follow the color standards of VS Code itself — perfect for those who find VS Code themes too light. Also supports .cfg files!
🎨 A pitch-black theme, designed to follow the color standards of VS Code itself — perfect for those who find VS Code themes too light. Also supports .cfg files!
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 | #139b01c2 | — |
| keyword | #bd62fa | — |
| string | #7deb41d0 | — |
| entity.name.function | #f3f350f3 | — |
| variable | #7cf3fcbb | — |
| constant.numeric | #96df6f | — |
| storage.type, entity.name.type | #ff4141ec | — |
| storage.modifier.php, keyword.other.class.php, keyword.other.use.php, storage.modifier.extends.php, keyword.other.new.php, meta.function.php, meta.class.body.php, meta.class.php, text.html.php | #bd62fa | — |
| meta.use.php | #DDDDDD | — |
| keyword.operator.class.php, meta.method-call.static.php, meta.embedded.block.php, text.html.php | #DDDDDD | — |
| keyword.operator.class.php | #5cc1e9 | — |
| support.type.property-name.json, string.json, meta.structure.dictionary.json, meta.structure.dictionary.value.json, meta.structure.dictionary.json, source.json, support.type.property-name.json.comments, string.json.comments, meta.structure.dictionary.json.comments, meta.structure.dictionary.value.json.comments, meta.structure.dictionary.json.comments, source.json.comments | #9CDCFE | — |
| string.quoted.double.html | #ce8163 | — |
| entity.other.attribute-name.html, meta.attribute.stop-color.html, meta.element.inline.svg.stop.html, meta.element.structure.svg.linearGradient.html, meta.element.structure.svg.html | #5cc1e9 | — |
| entity.name.tag.html, entity.name.tag.attribute, entity.name.tag.attribute.end | #783fc4 | — |
| string.quoted.double.json, meta.structure.dictionary.value.json, meta.structure.dictionary.json, meta.structure.dictionary.value.json, meta.structure.dictionary.json, source.json, string.quoted.double.json.comments, meta.structure.dictionary.value.json.comments, meta.structure.dictionary.json.comments, meta.structure.dictionary.value.json.comments, meta.structure.dictionary.json.comments, source.json.comments | #7DEB41D0 | — |
| support.function.mail.php, meta.function-call.php, source.php, meta.embedded.block.php, text.html.php | #F3F350F3 | — |
| punctuation.section.embedded.begin.php, meta.embedded.block.php, text.html.php, punctuation.section.embedded.end.php, meta.embedded.block.php, text.html.php | #569CD6 | — |
| source.cpp | #720072 | — |
| source.cpp | #720072 | — |
| punctuation.definition.comment.cpp, comment.line.double-slash.cpp, punctuation.definition.comment.documentation.cpp, comment.line.double-slash.documentation.cpp | #c8df00 | — |
| punctuation.terminator.statement.cpp, punctuation.definition.comment.begin.cpp, punctuation.definition.comment.end.cpp, comment.block.cpp | #003803 | — |
| punctuation.definition.string.begin.cpp, punctuation.definition.string.end.cpp | #001b64 | — |
| punctuation.separator.dot-access.cpp, variable.other.object.access.cpp, variable.other.property.cpp | #a55d00 | — |
| string.quoted.double.cpp | #06837d | — |
| keyword.operator.addition.cpp | #00ff00 | — |
| keyword.operator.subtraction.cpp | #ff0000 | — |
| keyword.operator.arithmetic.cpp, keyword.operator.logical.cpp | #57e234 | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #6796E6 | — |
| markdown.heading, markup.heading, markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #F1E05A | — |
| markup.quote punctuation.definition.blockquote.markdown | #FFCB6B | — |
| markup.quote | #00FF20 | italic bold |
| meta.paragraph.markdown | #FFFFFF | — |
| text.html.markdown markup.inline.raw.markdown | #700070F78C6C | — |
| markup.inline.raw.string.markdown | #C792EA | — |
| punctuation.definition.raw.markdown | #D4A5A5 | — |
| markup.italic.markdown | #D4A5A5 | italic |
| markup.bold.markdown | #D4A5A5 | bold |
| punctuation.definition.bold.markdown | #500015 | bold |
| punctuation.definition.italic.markdown | #500015 | italic |
| string.other.link.title.markdown | #11CCCC | — |
| markup.underline.link.markdown | #7DEB41 | — |
| string.other.link.description.title.markdown, markup.underline.link.image.markdown | #7DEB41 | — |
| string.other.link.description.markdown | #11CCCC | — |
| constant.other.reference.link.markdown | #FFCB6B | — |
| markup.fenced_code.block.markdown | #F78C6C | — |
| punctuation.definition.fenced.markdown | #928374 | — |
| meta.separator | #FF6F61 | bold |
| markup.table | #D8DEE9 | — |
| punctuation.definition.markdown, markup.fenced_code.block.markdown | #700070 | — |
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}!`;
}