PinkCPP
Publisher: CunuduhThemes in package: 1
Pink Colour Theme edited for C/C++ and C#
Pink Colour Theme edited for C/C++ and C#
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 |
|---|---|---|
| — | #FFF0F5 | — |
| By uonick | #c5c8c6ff | — |
| meta.embedded, source.groovy.embedded | #C5C8C6 | — |
| comment | #6D7A72 | |
| string | #FAE8B6 | |
| constant.numeric | #FF38A2 | |
| constant.language | #58B896 | |
| constant.character, constant.other | #FF7F9D | |
| keyword | #FF4791 | |
| storage | #FEC831 | |
| storage.type, keyword.type, support.type | #DCBFF2 | italic |
| entity.name.function, storage.type.modifier | #ffc85b | |
| variable.parameter, entity.name.variable.parameter | #9CD162 | italic |
| entity.name.tag | #FA508C | |
| support.function | #A2C2EB | bold |
| variable.other, variable.js, punctuation.separator.variable | #EBA4AC | |
| invalid | #FFFFFF | |
| variable.other.php, variable.other.normal | #EBA4AC | |
| variable.other.object.property, variable.other.property | #DCBFF2 | |
| meta.tag | #FFF0F5 | |
| entity.name.tag | #FA508C | |
| meta.doctype, meta.tag.sgml-declaration.doctype, meta.tag.sgml.doctype | #73b5d7 | |
| meta.tag.inline source, text.html.php.source | #73b5d7 | |
| entity.other.attribute-name, meta.tag punctuation.definition.string | #E6A1FF | |
| meta.tag string -source -punctuation, text source text meta.tag string -punctuation | #6089B4 | |
| punctuation.section.embedded -(source string source punctuation.section.embedded), meta.brace.erb.html | #D0B344 | |
| meta.toc-list.id | #73b5d7 | — |
| punctuation.definition.tag.html, punctuation.definition.tag.begin, punctuation.definition.tag.end | #FFF0F5 | |
| entity.name.type | #94AFE8 | italic |
| punctuation.definition.template-expression, punctuation.section.embedded.coffee | #D08442 | — |
| meta.template.expression | #C5C8C6 | — |
| punctuation.definition.string.end.php, punctuation.definition.string.begin.php | #e1ecf2 | — |
| source.php.embedded.line.html | #787878 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #ec9a5e | |
| keyword.other.DML.sql | #D0B344 | |
| meta.diff, meta.diff.header | #E0EDDD | italic |
| markup.deleted | #dc322f | |
| markup.changed | #e53c70 | |
| markup.inserted | #219186 | — |
| markup.quote | #9e6dbc | — |
| markup.list | #73b5d7 | — |
| markup.bold, markup.italic | #6089B4 | — |
| markup.inline.raw | #FF0080 | |
| markup.heading | #D0B344 | — |
| markup.heading.setext | #D0B344 | |
| token.info-token | #6796e6 | — |
| token.warn-token | #e5ac40 | — |
| token.error-token | #f44747 | — |
| token.debug-token | #b267e6 | — |
| keyword.control.directive, meta.preprocessor, keyword.preprocessor, entity.other.attribute-name | #9A9A9A | italic |
| keyword.other.class.cs, keyword.other.struct.cs, keyword.other.interface.cs, keyword.other.enum.cs, keyword.other.record.cs, keyword.other.var.cs, keyword.other.delegate.cs, keyword.other.global.cs, keyword.other.event.cs | #DCBFF2 | italic |
| entity.name.type.namespace | #FFFFFF |
TypeScript sample highlighted with this variant's colors and tokenColors.
Loading...
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}!`;
}