pinkode
Publisher: Prathmesh GhatolThemes in package: 2
A pink-forward VS Code theme in two flavors — Noir for dark mode, Light for day. WCAG-AA contrast, considered syntax palette, no filler.
A pink-forward VS Code theme in two flavors — Noir for dark mode, Light for day. WCAG-AA contrast, considered syntax palette, no filler.
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 | #6A5A64 | italic |
| keyword, keyword.control, keyword.control.flow, keyword.control.import, keyword.control.from, keyword.control.export, keyword.control.conditional, keyword.control.loop, keyword.declaration, storage, storage.type, storage.modifier | #FF3D8C | — |
| variable.language, variable.language.this, variable.language.self, variable.language.super | #FF3D8C | italic |
| keyword.operator, keyword.operator.arithmetic, keyword.operator.logical, keyword.operator.comparison, keyword.operator.assignment, keyword.operator.bitwise, keyword.operator.relational, keyword.operator.arrow, keyword.operator.ternary, keyword.operator.spread, punctuation.accessor, storage.type.function.arrow | #FF5FA8 | — |
| punctuation, punctuation.separator, punctuation.terminator, punctuation.section, punctuation.definition.parameters, punctuation.definition.array, punctuation.definition.block, punctuation.definition.dict, meta.brace, meta.delimiter | #D18BA7 | — |
| string, string.quoted, string.quoted.single, string.quoted.double, string.template, string.unquoted, punctuation.definition.string | #FFB088 | — |
| string.regexp, string.regexp constant.character.escape | #9EEBCF | — |
| constant.character.escape, constant.character.escape.backslash | #9EEBCF | — |
| constant.numeric, constant.numeric.integer, constant.numeric.float, constant.numeric.hex, constant.numeric.binary, keyword.other.unit | #FFD28A | — |
| constant.language, constant.language.boolean, constant.language.null, constant.language.undefined, constant.language.nan, constant.language.infinity, support.constant | #C4A3FF | — |
| constant.other, variable.other.constant | #C4A3FF | — |
| entity.name.function, meta.function-call, meta.function-call entity.name.function, variable.function, support.function, keyword.other.special-method, entity.name.method, meta.method-call entity.name.function | #C4A3FF | — |
| meta.definition.function entity.name.function, meta.function entity.name.function | #C4A3FF | — |
| entity.name.type, entity.name.class, entity.name.interface, entity.name.enum, entity.name.struct, entity.name.namespace, entity.other.inherited-class, support.type, support.class, support.type.primitive, support.type.builtin, meta.type.name, meta.return-type, storage.type.class, storage.type.interface, storage.type.enum | #8DD6FF | — |
| variable.parameter, variable.parameter.function, meta.parameter, meta.function.parameters variable | #FF9CC2 | italic |
| variable.other.property, variable.other.object.property, support.variable.property, support.type.property-name, meta.property variable, meta.object.member, meta.object-literal.key, variable.other.member | #FFB3D1 | — |
| variable, variable.other, variable.other.readwrite, variable.other.object, variable.other.constant.object, string constant.other.placeholder | #F4E4EC | — |
| entity.name.tag, meta.tag, meta.tag.sgml, punctuation.definition.tag | #FF2DA0 | — |
| entity.other.attribute-name, meta.attribute | #FF9CC2 | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.parent-selector.css | #FFD28A | — |
| entity.other.attribute-name.id.css | #FFB088 | — |
| support.type.property-name.css, support.type.property-name.scss, support.type.property-name.sass, support.type.property-name.less | #FFB3D1 | — |
| support.constant.property-value.css, support.constant.color.w3c-standard-color-name.css | #C4A3FF | — |
| invalid, invalid.illegal, invalid.deprecated | #FF3D6D | — |
| meta.decorator, meta.decorator variable.other, meta.decorator entity.name.function, punctuation.decorator, tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #C4A3FF | italic |
| markup.inserted, markup.inserted.git_gutter | #9EEBCF | — |
| markup.deleted, markup.deleted.git_gutter | #FF3D6D | — |
| markup.changed, markup.changed.git_gutter | #FFD28A | — |
| markup.heading, markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #FF3D8C | bold |
| markup.bold, markup.bold string | #FFB3D1 | bold |
| markup.italic, markup.italic string | #FFB3D1 | italic |
| markup.bold markup.italic, markup.italic markup.bold, markup.bold markup.italic string, markup.italic markup.bold string | #FFB3D1 | bold italic |
| markup.quote | #B09AA4 | italic |
| markup.quote punctuation.definition.blockquote.markdown | #6A5A64 | — |
| string.other.link, string.other.link.title.markdown, markup.underline.link | #8DD6FF | — |
| string.other.link.description.title.markdown | #C4A3FF | — |
| constant.other.reference.link.markdown | #FFD28A | — |
| markup.inline.raw, markup.inline.raw.markdown | #C4A3FF | — |
| markup.inline.raw.markdown punctuation.definition.raw.markdown | #6A5A64 | — |
| markup.raw.block, markup.raw.block.fenced.markdown | #C4A3FF | — |
| variable.language.fenced.markdown, fenced_code.block.language.markdown | #6A5A64 | — |
| meta.separator.markdown | #FF3D8C | bold |
| punctuation.definition.list_item.markdown, beginning.punctuation.definition.list.markdown | #FF3D8C | — |
| text.html.markdown, meta.paragraph.markdown | #F4E4EC | — |
| *url*, *link*, *uri* | — | underline |
| source.json meta.structure.dictionary.json support.type.property-name.json | #FF3D8C | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #C4A3FF | — |
| 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 | #8DD6FF | — |
| 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 | #FFB088 | — |
| 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 | #FFD28A | — |
| 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 | #9EEBCF | — |
| 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 | #FF9CC2 | — |
| 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 | #FFB3D1 | — |
| entity.name.tag.yaml | #FF3D8C | — |
| support.class.component, support.class.component.jsx, support.class.component.tsx, entity.name.tag.tsx, entity.name.tag.jsx | #8DD6FF | — |
| entity.other.attribute-name.tsx, entity.other.attribute-name.jsx | #FF9CC2 | — |
| punctuation.definition.template-expression, punctuation.section.embedded | #FF5FA8 | — |
| meta.embedded, source.groovy.embedded | #F4E4EC | — |
| variable.other.readwrite.alias, meta.import variable, meta.export variable | #F4E4EC | — |
| entity.name.module, entity.name.namespace, support.module | #C4A3FF | — |
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}!`;
}