Pen Paper Coffee
Publisher: nylkiThemes in package: 1
A syntax theme specifically for writing papers in markdown but can also be used universally. Featuring a paper like color scheme.
A syntax theme specifically for writing papers in markdown but can also be used universally. Featuring a paper like color scheme.
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 |
|---|---|---|
| variable | #2b3f6a | — |
| meta.property-name, support.type.property-name | #2b3f6a | — |
| comment | #9ca3b0 | italic |
| meta.brace | #5e6fa0 | — |
| invalid.illegal | #c16161 | — |
| keyword.operator | #1c4b33 | bold |
| keyword, storage | #5e78e1 | — |
| keyword.control | #2b3f6a | bold |
| variable.other.object.property.js, variable.other.property.js, support.type.property-name, meta.objectliteral | #5e78e1 | — |
| storage.type, support.type | #5e78e1 | — |
| constant.language, support.constant | #c16161 | — |
| variable.parameter, support.variable, variable.other.member | #5e78e1 | — |
| support.function, entity.name.function | #d08e25 | — |
| entity.name.type, entity.other.inherited-class, support.class | — | bold |
| entity.name.exception | #660000 | — |
| entity.name.section | — | bold |
| keyword.other.unit, constant.character, constant | #8f932b | — |
| constant.numeric, constant | #c16161 | — |
| string, punctuation.definition.string | #8f6928 | — |
| constant.character.escape | #777777 | — |
| string.regexp | #379566 | — |
| constant.other.symbol, variable.other.constant | #c16161 | — |
| punctuation | #777777 | — |
| punctuation.definition.template-expression | #c16161 | — |
| meta.tag.sgml.doctype, meta.tag.sgml.doctype string, meta.tag.sgml.doctype entity.name.tag, meta.tag.sgml punctuation.definition.tag.html | #AAAAAA | — |
| meta.tag, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html | #b75c5c | — |
| entity.name.tag | #4B83CD | — |
| meta.tag entity.other.attribute-name, entity.other.attribute-name.html | #d08e25 | italic |
| constant.character.entity, punctuation.definition.entity | #AB6526 | — |
| meta.selector, meta.selector entity, meta.selector entity punctuation, entity.name.tag.css | #d08e25 | — |
| meta.property-value, meta.property-value constant.other, support.constant.property-value | #448C27 | — |
| keyword.other.important | — | bold |
| markup.changed | #8100c6 | — |
| markup.deleted | #c16161 | — |
| markup.italic | #0e72aa | italic |
| markup.error | #660000 | — |
| markup.inserted | #000000 | — |
| meta.link | #4B83CD | — |
| markup.output, markup.raw | #777777 | — |
| markup.prompt | #777777 | — |
| markup entity.name.section | #2a120a | underline |
| markup.heading | #2a120a | — |
| markup.bold | #0a537b | bold |
| markup.traceback | #660000 | — |
| markup.underline | — | underline |
| markup.quote | #7e5121c4 | — |
| markup.quote markup.bold | #7e5121c4 | — |
| markup.list | #4B83CD | — |
| markup.inline.raw | #8f932b | — |
| punctuation.definition.bold.markdown | #0a537b93 | — |
| punctuation.definition.italic.markdown | #0e71aa9d | — |
| string.other.link.title.markdown | #2b3f6a | — |
| support.function.text.markdown, string.other.link.description.markdown.citation | #aa5c08 | — |
| meta.diff.range, meta.diff.index, meta.separator | #434343 | — |
| meta.diff.header.from-file | #434343 | — |
| meta.diff.header.to-file | #434343 | — |
| meta.scope.subject.git-commit | — | bold |
| invalid.deprecated.line-too-long.git-commit | #c16161 | — |
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}!`;
}