Dark Midnight Pink
Publisher: Ruvarashe S NemarambaThemes in package: 2
Midnight dark theme with vibrant pink accents, now featuring an eye-friendly soft light pink variant.
Midnight dark theme with vibrant pink accents, now featuring an eye-friendly soft light pink variant.
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 |
|---|---|---|
| emphasis | — | italic |
| strong | — | bold |
| meta.diff.header | #130080 | — |
| comment | #ffb3d6de | — |
| constant.language | #cba4b8 | — |
| constant.numeric, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | #cba4b8 | — |
| constant.regexp | #b46695 | — |
| entity.name.tag | #e07880 | — |
| entity.name.tag.css | #cf5db2 | — |
| entity.other.attribute-name | #cba4b8 | — |
| source.css entity.other.attribute-name, source.css.less entity.other.attribute-name.id, source.scss entity.other.attribute-name | #cba4b8 | — |
| invalid | #491432 | — |
| markup.underline | — | underline |
| markup.bold | — | bold |
| markup.heading | #cf5db2 | — |
| markup.italic | — | italic |
| markup.inserted | #ccecb5 | — |
| markup.deleted | #e07880 | — |
| markup.changed | #4edbec | — |
| meta.selector | #cf5db2 | — |
| punctuation.bracket, punctuation.definition.parameters, punctuation.section.embedded, meta.brace, punctuation.separator.element, punctuation.definition.arguments, punctuation.definition.dict, punctuation.definition.list, punctuation.section.method, punctuation.section.class, punctuation.section.inner-class | #942755 | — |
| punctuation.definition.tag | #8a0d5f | — |
| meta.preprocessor | #db6a8a | — |
| meta.preprocessor.string | #ccecb5 | — |
| meta.preprocessor.numeric | #cba4b8 | — |
| meta.structure.dictionary.key.python | #e07880 | — |
| storage | #db6a8a | — |
| storage.type | #db6a8a | — |
| storage.modifier | #db6a8a | — |
| string | #ccecb5 | — |
| string.tag | #ccecb5 | — |
| string.value | #ccecb5 | — |
| string.regexp | #b46695 | — |
| punctuation.definition.template-expression.begin.js, punctuation.definition.template-expression.begin.ts, punctuation.definition.template-expression.end.ts, punctuation.definition.template-expression.end.js | #4edbec | — |
| support.type.vendored.property-name, support.type.property-name, variable.css, variable.scss, variable.other.less | #e07880 | — |
| keyword | #db6a8a | — |
| keyword.control | #db6a8a | — |
| keyword.operator | #4edbec | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.logical.python | #4edbec | — |
| keyword.other.unit | #cba4b8 | — |
| support.function.git-rebase | #4edbec | — |
| constant.sha.git-rebase | #cba4b8 | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #e07880 | — |
| variable.language.this | #db6a8a | — |
| entity.name.function, support.function, support.constant.handlebars | #a52446 | — |
| meta.return-type, support.class, support.type, entity.name.type, entity.name.class, source.cs storage.type | #cf5db2 | — |
| meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class | #cf5db2 | — |
| keyword.control | #db6a8a | — |
| variable, meta.definition.variable.name, support.variable | #d85e91 | — |
| meta.object-literal.key, meta.object-literal.key entity.name.function | #e07880 | — |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | #cba4b8 | — |
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 | #7a6270 | italic |
| keyword, keyword.control, storage, storage.type, storage.modifier, keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.logical.python | #c41352 | bold |
| string, string.quoted, string.value, string.tag, meta.preprocessor.string | #167024 | bold |
| entity.name.function, support.function, support.constant.handlebars | #00788a | — |
| variable, meta.definition.variable.name, support.variable | #1f1a1c | — |
| constant.numeric, constant.language, support.type, entity.name.type, entity.name.class, support.class, meta.return-type, entity.name.tag.css, keyword.other.unit | #7a119e | bold |
| entity.name.tag, punctuation.definition.tag, meta.structure.dictionary.key.python, support.type.property-name, variable.css, variable.scss | #802246 | — |
| entity.other.attribute-name, keyword.operator, support.function.git-rebase, punctuation.definition.template-expression.begin.js, punctuation.definition.template-expression.end.js, punctuation.definition.template-expression.begin.ts, punctuation.definition.template-expression.end.ts | #00788a | — |
| punctuation.bracket, punctuation.definition.parameters, punctuation.section.embedded, meta.brace, punctuation.separator.element, punctuation.definition.arguments, punctuation.definition.dict, punctuation.definition.list, punctuation.section.method, punctuation.section.class, punctuation.section.inner-class | #ad3865 | — |
| constant.regexp | #8f125a | — |
| invalid | #c41010 | — |
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}!`;
}
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}!`;
}