Paro Paro Themes
Publisher: Paro-ParoThemes in package: 3
VS Code Themes by @paro-paro
VS Code Themes by @paro-paro
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 |
|---|---|---|
| meta.embedded, source.groovy.embedded, string meta.image.inline.markdown | #839496 | — |
| comment, string.quoted.docstring | #586E75 | italic |
| string | #2AA198 | — |
| string.regexp | #DC322F | — |
| constant.numeric | #D33682 | — |
| variable.language, variable.other | #268BD2 | — |
| keyword | #859900 | — |
| storage | #93A1A1 | bold |
| entity.name.class, entity.name.type, entity.name.namespace, entity.name.scope-resolution | #CB4B16 | |
| entity.name.function | #268BD2 | — |
| punctuation.definition.variable | #859900 | — |
| punctuation.section.embedded.begin, punctuation.section.embedded.end | #DC322F | — |
| constant.language, meta.preprocessor | #B58900 | — |
| support.function.construct, keyword.other.new | #CB4B16 | — |
| constant.character, constant.other | #CB4B16 | — |
| entity.other.inherited-class | #6C71C4 | — |
| variable.parameter | — | — |
| entity.name.tag | #268BD2 | — |
| punctuation.definition.tag | #586E75 | — |
| entity.other.attribute-name | #93A1A1 | — |
| support.function | #268BD2 | — |
| punctuation.separator.continuation | #DC322F | — |
| support.constant, support.variable | — | — |
| support.type, support.class | #859900 | — |
| support.type.exception | #CB4B16 | — |
| support.other.variable | — | — |
| invalid | #DC322F | — |
| meta.diff, meta.diff.header | #268BD2 | italic |
| markup.deleted | #DC322F | |
| markup.changed | #CB4B16 | |
| markup.inserted | #859900 | — |
| markup.quote | #859900 | — |
| markup.list | #B58900 | — |
| markup.bold, markup.italic | #D33682 | — |
| markup.bold | — | bold |
| markup.italic | — | italic |
| markup.strikethrough | — | strikethrough |
| markup.inline.raw | #2AA198 | |
| markup.heading | #268BD2 | bold |
| markup.heading.setext | #268BD2 | |
| punctuation | #f5f5f5 | — |
| comment | #4A4A4A | italic |
| comment punctuation.definition.comment, string.quoted.docstring | #4A4A4A | italic |
| string | #C3E88D | — |
| constant.character.escape, text.html constant.character.entity.named | #f5f5f5 | — |
| constant.numeric | #F78C6C | — |
| constant.language | #F78C6C | — |
| meta.brace.round | #f5f5f5 | — |
| variable, variable.parameter, variable.language, support.constant, meta.definition.variable entity.name.function, meta.function-call.arguments | #f5f5f5 | — |
| support.variable | #FFCB6B | italic |
| entity.name.function | #82AAFF | — |
| entity.name.function, support.function | #82AAFF | — |
| meta.function entity.name.function | #82AAFF | — |
| entity.name.function.call | #82AAFF | — |
| variable.parameter | — | italic |
| entity.name, entity.name.type.class, support.type, support.class, meta.use | #FFCB6B | — |
| variable.object.property, meta.field.declaration entity.name.function | #F07178 | — |
| meta.definition.method entity.name.function | #F07178 | — |
| support.type, constant.other.key | #FFCB6B | — |
| entity.name.type, entity.other.inherited-class, entity.other | #FFCB6B | — |
| support.module, support.node | #F07178 | italic |
| keyword, modifier, support.type.object | #89DDFF | — |
| variable.language.this, variable.language.super | #F07178 | italic |
| keyword.other | #F78C6C | — |
| keyword.control | #89DDFF | italic |
| constant.keyword | #89DDFF | italic |
| storage.type, storage.modifier, storage.control | #C792EA | |
| variable.language, variable.other | #f5f5f5 | — |
| template.expression.begin, template.expression.end, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end | #89DDFF | — |
| meta.embedded, source.groovy.embedded, meta.template.expression | #f5f5f5 | — |
| support.type.property-name.json, punctuation.support.type.property-name.begin.json, punctuation.support.type.property-name.end.json | #9CDCFE | — |
| string.quoted.double.json, punctuation.definition.string.begin.json, punctuation.definition.string.end.json | #CE9178 | — |
| constant.numeric.json | #CE9178 | — |
| constant.language.json | #CE9178 | — |
| entity.name.tag.yaml | #9CDCFE | |
| string.quoted.single.yaml, string.quoted.double.yaml, string.unquoted.plain.out.yaml, punctuation.definition.string.begin.yaml, punctuation.definition.string.end.yaml | #CE9178 | — |
| constant.numeric.float.yaml, constant.numeric.integer.yaml | #569CD6 | — |
| constant.language.boolean.yaml | #569CD6 | — |
| source.yaml, meta.flow-mapping.yaml, meta.flow-mapping.yaml, string.unquoted.plain.in.yaml | #f5f5f5 | — |
| meta.tag, punctuation.definition.tag | #89DDFF | — |
| entity.name.tag | #F07178 | — |
| entity.other.attribute-name | #C792EA | — |
| punctuation.definition.entity.html | #f5f5f5 | — |
| entity.other.attribute-name.class | #FFCB6B | — |
| entity.other.attribute-name.id | #F78C6C | — |
| source.css entity.name.tag | #FFCB6B | — |
| support.type.property-name.css | #B2CCD6 | — |
| variable.parameter.function.language.special.self.python | #F07178 | italic |
| constant.character.format.placeholder.other.python | #F78C6C | — |
| source.python meta.member.access.python | #F07178 | — |
| source.python meta.function-call.python, meta.function-call.arguments | #82AAFF | — |
| token.info-token | #6796E6 | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #F44747 | — |
| token.debug-token | #B267E6 | — |
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}!`;
}