Panceta Rose Theme
Publisher: Javier FernandezThemes in package: 1
Panceta Rose Theme is relaxing and soft but it makes you feel inside your own world
Panceta Rose Theme is relaxing and soft but it makes you feel inside your own world
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 |
|---|---|---|
| keyword, keyword.control, keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.logical, keyword.operator.wordlike | #ff9cee | — |
| storage.type, storage.modifier, storage.control | #ff9cee | — |
| entity.name.function, support.function, meta.function-call, meta.method-call | #e4a6ff | — |
| variable, variable.other, variable.parameter, variable.language | #d4c5d8 | — |
| constant, constant.numeric, constant.language, constant.character, constant.other | #ffa6d9 | — |
| string, string.quoted, string.template, string.interpolated | #89c4ff | — |
| punctuation.definition.string.begin, punctuation.definition.string.end, punctuation.definition.template-expression | #89c4ff | — |
| comment, comment.line, comment.block | #8b6d94 | italic |
| entity.name.type, support.type, support.class | #ffa6d9 | — |
| punctuation.separator, punctuation.terminator, punctuation.section | #d4c5d8 | — |
| meta.brace, meta.brackets, meta.parentheses | #d4c5d8 | — |
| entity.name.namespace, entity.name.package, entity.name.module | #e4a6ff | — |
| markup.heading, markup.bold, markup.italic | #ff9cee | — |
| markup.list, markup.quote, markup.raw | #e4a6ff | — |
| meta.diff, meta.diff.header | #ffa6d9 | — |
| comment, punctuation.definition.comment | #8b6d94 | italic |
| comment.block.documentation, comment.block.documentation.js, comment.block.documentation.ts, comment.block.documentation.python | #a183aa | italic |
| keyword | #9228b3 | — |
| string | #89c4ff | — |
| string.regexp | #6eb5ff | — |
| number | #f5b0ef | — |
| function | #c080c0 | — |
| variable | #d4c5d8 | — |
| support.function.builtin.python, support.function.magic.python | #b45ed8 | — |
| support.type.python | #d670ff | — |
| support.class.python | #c27fd6 | — |
| meta.function-call.python | #aa66cc | — |
| constant.language.python | #66c2cd | — |
| support.function.builtin.js, support.function.builtin.ts, support.class.builtin.js, support.class.builtin.ts | #b45ed8 | — |
| support.type.primitive.ts, support.type.builtin.ts | #d670ff | — |
| variable.other.property | #b191d4 | — |
| variable.other.object | #66c2cd | — |
| keyword.other.DML.sql, keyword.other.DDL.create.sql, keyword.other.DDL.alter.sql, keyword.other.DDL.drop.sql | #b45ed8 | bold |
| keyword.other.data.sql, keyword.other.order.sql, keyword.other.join.sql | #d670ff | — |
| support.function.aggregate.sql | #66c2cd | — |
| constant.numeric.sql, constant.other.database-name.sql, constant.other.table-name.sql | #f5b0ef | — |
| string.quoted.single.sql, string.quoted.double.sql | #89c4ff | — |
| support.function.scalar.sql, support.function.string.sql, support.function.math.sql | #66c2cd | — |
| entity.name.function.sql, support.function.datetime.sql | #c27fd6 | — |
| constant.other.operator.sql, keyword.operator.logical.sql, keyword.operator.comparison.sql | #b45ed8 | — |
| variable.other.column.sql | #d4c5d8 | — |
| support.function, support.class, support.type | #b45ed8 | — |
| storage.type | #d670ff | — |
| storage.modifier | #9228b3 | — |
| constant.language | #66c2cd | — |
| entity.name.type | #c27fd6 | — |
| entity.name.tag | #b45ed8 | — |
| entity.other.attribute-name | #b191d4 | — |
| markup.heading | #b45ed8 | bold |
| markup.quote | #b191d4 | italic |
| markup.bold | #f5b0ef | bold |
| markup.italic | #66c2cd | italic |
| markup.inline.raw | #89c4ff | — |
| markup.list | #b45ed8 | — |
| constant.character.escape | #6eb5ff | — |
| keyword.control.import.ts, keyword.control.import.js, keyword.control.from.ts, keyword.control.from.js, keyword.control.export.ts, keyword.control.export.js | #ff9cee | — |
| variable.other.readwrite.ts, variable.other.readwrite.js, variable.other.object.ts, variable.other.object.js | #e4a6ff | — |
| punctuation.definition.template-expression.begin.ts, punctuation.definition.template-expression.end.ts, punctuation.definition.template-expression.begin.js, punctuation.definition.template-expression.end.js | #ff9cee | — |
| meta.object-literal.key.ts, meta.object-literal.key.js | #e4a6ff | — |
| variable.other.constant.ts, variable.other.constant.js | #ffa6d9 | — |
| meta.definition.property.ts, meta.definition.property.js | #e4a6ff | — |
| punctuation.definition.string.begin.ts, punctuation.definition.string.end.ts, punctuation.definition.string.begin.js, punctuation.definition.string.end.js | #89c4ff | — |
| meta.import.ts, meta.import.js, meta.export.ts, meta.export.js | #e4a6ff | — |
| keyword.control.import.python, keyword.control.from.python, keyword.control.flow.python | #ff9cee | — |
| support.function.builtin.python, support.function.magic.python | #ffa6d9 | — |
| meta.function-call.python | #e4a6ff | — |
| meta.function-call.arguments.python, meta.function.parameters.python | #deb3ff | — |
| keyword.other.DML.sql, keyword.other.DDL.create.sql, keyword.other.DDL.alter.sql, keyword.other.DDL.drop.sql | #ff9cee | bold |
| support.function.aggregate.sql, support.function.scalar.sql | #ffa6d9 | — |
| constant.other.database-name.sql, constant.other.table-name.sql | #e4a6ff | — |
| storage.type.rust, entity.name.type.rust | #ff9cee | — |
| entity.name.function.rust, meta.function.call.rust | #e4a6ff | — |
| meta.attribute.rust | #ffa6d9 | — |
| entity.name.tag | #ff9cee | bold |
| entity.other.attribute-name | #e4a6ff | italic |
| punctuation.definition.tag.begin, punctuation.definition.tag.end | #ff6eb5 | — |
| string.quoted.double.html, string.quoted.single.html | #89c4ff | — |
| text.html.basic, text.xml | #ffd7f6 | — |
| meta.tag.metadata.script.html, meta.tag.metadata.style.html | #ff9cee | bold |
| meta.attribute.class.html, meta.attribute.id.html, meta.attribute.style.html | #e4a6ff | — |
| meta.tag.inline.any.html, meta.tag.block.any.html | #ff9cee | — |
| meta.tag.structure.any.html, meta.tag.other.html | #ff9cee | — |
| meta.tag.metadata.doctype.html | #ffa6d9 | italic |
| meta.tag.sgml.doctype.html, meta.tag.sgml.doctype.xml | #ffa6d9 | italic |
| comment.block.html, comment.block.xml | #8b6d94 | italic |
| entity.other.attribute-name.class.css, entity.other.attribute-name.id.css | #e4a6ff | — |
| entity.name.tag.css, entity.other.keyframe-offset.css | #ff9cee | — |
| support.type.property-name.css, support.type.vendored.property-name.css | #e4a6ff | — |
| support.constant.property-value.css | #ffa6d9 | — |
| keyword.control.shell, keyword.operator.pipe.shell | #ff9cee | — |
| string.unquoted.argument.shell | #deb3ff | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #89c4ff | — |
| string | #89c4ff | — |
| constant.numeric, constant.language | #ffa6d9 | — |
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}!`;
}