Quiet Dark Pink
Publisher: Quiet ThemesThemes in package: 1
A quiet, low-glare dark pink color theme for Visual Studio Code.
A quiet, low-glare dark pink color theme for Visual Studio Code.
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 | #D4D4D4 | — |
| emphasis | — | italic |
| strong | — | bold |
| header | #F695C6 | — |
| comment | #af678d | — |
| constant.language | #F695C6 | — |
| constant.numeric, variable.other.enummember, keyword.operator.plus.exponent, keyword.operator.minus.exponent | #cec4a8 | — |
| constant.regexp | #646695 | — |
| entity.name.tag | #F695C6 | — |
| entity.name.tag.css | #d7ba7d | — |
| entity.other.attribute-name | #9cdcfe | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.class.mixin.css, entity.other.attribute-name.id.css, entity.other.attribute-name.parent-selector.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.scss | #d7ba7d | — |
| invalid | #e83c92 | — |
| markup.underline | — | underline |
| markup.bold | #F695C6 | bold |
| markup.heading | #F695C6 | bold |
| markup.italic | — | italic |
| markup.strikethrough | — | strikethrough |
| markup.inserted | #cec4a8 | — |
| markup.deleted | #e99a9a | — |
| markup.changed | #F695C6 | — |
| punctuation.definition.quote.begin.markdown | #6A9955 | — |
| punctuation.definition.list.begin.markdown | #FF8FC7 | — |
| markup.inline.raw | #e99a9a | — |
| punctuation.definition.tag | #808080 | — |
| meta.preprocessor, entity.name.function.preprocessor | #F695C6 | — |
| meta.preprocessor.string | #e99a9a | — |
| meta.preprocessor.numeric | #cec4a8 | — |
| meta.structure.dictionary.key.python | #9cdcfe | — |
| meta.diff.header | #F695C6 | — |
| storage | #F695C6 | — |
| storage.type | #F695C6 | — |
| storage.modifier, keyword.operator.noexcept | #F695C6 | — |
| string, meta.embedded.assembly | #e99a9a | — |
| string.tag | #e99a9a | — |
| string.value | #e99a9a | — |
| string.regexp | #d16969 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #F695C6 | — |
| meta.template.expression | #d4d4d4 | — |
| support.type.vendored.property-name, support.type.property-name, variable.css, variable.scss, variable.other.less, source.coffee.embedded | #c0caf5 | — |
| keyword | #d1b7f1 | — |
| keyword.control | #d1b7f1 | — |
| keyword.operator | #d4d4d4 | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.alignof, keyword.operator.typeid, keyword.operator.alignas, keyword.operator.instanceof, keyword.operator.logical.python, keyword.operator.wordlike | #F695C6 | — |
| keyword.other.unit | #cec4a8 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #F695C6 | — |
| support.function.git-rebase | #9cdcfe | — |
| constant.sha.git-rebase | #cec4a8 | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #d4d4d4 | — |
| variable.language | #F695C6 | — |
| comment, punctuation.definition.comment | #7C7180 | italic |
| string, string.quoted, string.template | #E6A1AF | — |
| constant.numeric, constant.language, variable.other.enummember | #FFD166 | — |
| keyword.control, keyword.other, storage.type, storage.modifier, keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.as, keyword.control.default, keyword.control.this | #FF5BAA | — |
| entity.name.function, support.function, meta.function-call, meta.function-call.generic, variable.function, support.function.builtin, entity.name.function.member | #FF75BD | — |
| variable.other, variable.parameter, entity.name.variable | #DDD4E2 | — |
| support.class.component, entity.name.tag.jsx, entity.name.tag.tsx, entity.name.type.class, entity.name.type, support.type | #C792EA | — |
| comment, punctuation.definition.comment | #7C7180 | italic |
| keyword.control, keyword.other, storage.type, storage.modifier, keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.as, keyword.control.default, keyword.control.this | #FF5BAA | italic |
| keyword.operator, punctuation, meta.brace, punctuation.definition.block, punctuation.definition.parameters, punctuation.definition.array | #A79CAD | |
| entity.name.function, support.function, meta.function-call, meta.function-call.generic, variable.function, support.function.builtin, entity.name.function.member | #FF75BD | |
| variable.other.object, variable.other.property, support.variable.property, meta.object-literal.key, variable.object.property | #78DCE8 | |
| variable.other, variable.parameter, entity.name.variable | #DDD4E2 | |
| variable.parameter, meta.function.parameters | #F7C6DA | |
| support.class.component, entity.name.tag.jsx, entity.name.tag.tsx, entity.name.type.class, entity.name.type, support.type | #D66CFF | |
| entity.name.tag.html, entity.name.tag.inline.any.html, entity.name.tag.block.any.html | #FF8FC7 | |
| entity.other.attribute-name, support.type.property-name.css | #8AB4FF | |
| string, string.quoted, string.template | #E6A1AF | |
| constant.numeric, constant.language, variable.other.enummember | #FFD166 | |
| invalid, invalid.illegal | #FF5A7D | underline |
| entity.name.type.ts unused, entity.name.type.js unused, entity.name.variable.ts unused, entity.name.variable.js unused, variable.other.readwrite.js unused | #6A606C | italic |
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}!`;
}