papery
Publisher: Neesh774Themes in package: 1
An actually decent light theme
An actually decent light theme
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.graphql, variable.object.property, variable.other.assignment, variable.other.block.crystal, variable.other.block, variable.other.declaration, variable.other.object.js.jsx, variable.other.object.tsx, variable.other.object, variable.other.php, variable.other.positional.shell, variable.other.readwrite.instance.crystal, variable.other.readwrite, variable.other.ruby, variable.other, variable.scss | #3E3D39 | — |
| constant.other.caps, source.shell variable.other, variable.language.self, variable.language.special.self, variable.language.super, variable.language.this, variable.other.alias.yaml, variable.other.class.php, variable.other.constant, variable.other.global.safer.php, variable.other.readwrite.class.ruby, variable.other.readwrite.instance.ruby, variable.parameter.function.language.special.self, variable.other.readwrite.instance.crystal, variable.other.readwrite.module | #C91D1D | — |
| entity.alias.import | #C91D1D | — |
| support.variable, support.constant.color, support.type, support.class, support.other.namespace | #2059CB | — |
| meta.method.declaration.js storage.type.js, support.function | #007AA3 | — |
| meta.generic-where-clause.swift, meta.arguments.attribute.swift | #675332 | — |
| constant, support.constant, keyword.other.unit | #A100D6 | — |
| meta.object-literal.key, variable.other.property.js.jsx, variable.other.property.tsx, variable.other.object.property, variable.other.property, support.type.property-name | #956A04 | — |
| meta.function-call.arguments, variable.parameter | #1A1918 | — |
| entity.name.function | #007AA3 | — |
| entity.name.function-call, entity.name.function.call, meta.function-call, meta.method-call entity.name.function, meta.function-call entity.name.function, meta.function.call entity.name.function | #9E4200 | — |
| keyword.control.module, keyword.control, keyword.operator.expression.of, keyword.operator.new, keyword.other.special-method, keyword.type.go, keyword, keyword storage.type, storage.modifier, storage.type.class, storage.type.function | #C20AAC | — |
| entity.name.package, entity.name.type, entity.name.class, entity.name.namespace, entity.name.module, entity.name.scope-resolution, storage.modifier.package.java, meta.inheritance-clause, entity.other.inherited-class | #2059CB | — |
| keyword.operator.comparison, keyword.operator.logical | #0000FF | — |
| storage.type, keyword.type | #2059CB | — |
| keyword.operator | #981AFF | — |
| source.elixir.embedded.source, storage.modifier.import.java, string.quoted.double, string, meta.import entity.name.namespace, meta.use entity.name.namespace, meta.use entity.name.type | #3B7203 | — |
| storage.modifier.import.java, meta.import entity.name.namespace, meta.use entity.name.namespace, meta.use entity.name.type | #3B7203 | — |
| punctuation.definition.template-expression, punctuation.section.embedded, punctuation.definition.interpolation | #C91D1D | — |
| meta.brace | #54534D | — |
| comment.documentation, comment.block.documentation, string.quoted.docstring.multi.python, comment.block.documentation punctuation.definition.comment | #54534D | — |
| comment, punctuation.definition.comment, punctuation.whitespace.comment.leading.graphql | #B9B6AA | italic |
| comment.wildcard, meta.jsx.children | #3E3D39 | — |
| comment.line.number-sign.flag.po, comment storage.type.class.po, storage.type.annotation, meta.attribute.rust | #675332 | — |
| support.type.property-name.json | #C20AAC | — |
| meta.structure.dictionary.value support.type.property-name.json | #2059CB | — |
| meta.structure.dictionary.value meta.structure.dictionary.value support.type.property-name.json | #C91D1D | — |
| meta.structure.dictionary.value meta.structure.dictionary.value meta.structure.dictionary.value support.type.property-name.json | #007AA3 | — |
| meta.structure.dictionary.value meta.structure.dictionary.value meta.structure.dictionary.value meta.structure.dictionary.value support.type.property-name.json | #956A04 | — |
| meta.structure.dictionary.value meta.structure.dictionary.value meta.structure.dictionary.value meta.structure.dictionary.value meta.structure.dictionary.value support.type.property-name.json | #C20AAC | — |
| meta.structure.dictionary.value meta.structure.dictionary.value meta.structure.dictionary.value meta.structure.dictionary.value meta.structure.dictionary.value meta.structure.dictionary.value support.type.property-name.json | #2059CB | — |
| meta.structure.dictionary.value meta.structure.dictionary.value meta.structure.dictionary.value meta.structure.dictionary.value meta.structure.dictionary.value meta.structure.dictionary.value meta.structure.dictionary.value support.type.property-name.json | #C91D1D | — |
| meta.structure.dictionary.value meta.structure.dictionary.value meta.structure.dictionary.value meta.structure.dictionary.value meta.structure.dictionary.value meta.structure.dictionary.value meta.structure.dictionary.value meta.structure.dictionary.value support.type.property-name.json | #007AA3 | — |
| meta.structure.dictionary.value meta.structure.dictionary.value meta.structure.dictionary.value meta.structure.dictionary.value meta.structure.dictionary.value meta.structure.dictionary.value meta.structure.dictionary.value meta.structure.dictionary.value meta.structure.dictionary.value support.type.property-name.json | #956A04 | — |
| meta.structure.dictionary.value meta.structure.dictionary.value meta.structure.dictionary.value meta.structure.dictionary.value meta.structure.dictionary.value meta.structure.dictionary.value meta.structure.dictionary.value meta.structure.dictionary.value meta.structure.dictionary.value meta.structure.dictionary.value support.type.property-name.json | #C20AAC | — |
| meta.tag.metadata, markup.underline.link | #C20AAC | — |
| meta.tag.metadata.link, string.other.link.title.markdown, string.other.link.description.markdown | #C20AAC | — |
| markup.italic | #0000FF | — |
| punctuation.definition.tag | #86847C | — |
| meta.tag.inline, entity.name.tag.js.jsx, entity.name.tag.tsx | #007AA3 | — |
| meta.tag.object | #2059CB | — |
| meta.tag.metadata.style, source.vue entity.name.tag.style.html | #C20AAC | — |
| meta.tag.metadata.script, source.vue entity.name.tag.script.html | #C20AAC | — |
| meta.tag.custom | #A100D6 | — |
| meta.tag.structure, meta.tag, entity.name.tag.yaml, keyword.key.toml, markup.fenced_code.block, markup.inline.raw.string, fenced_code.block.language, markup.raw.block, keyword.other.definition.ini | #956A04 | — |
| entity.other.attribute-name, meta.selector.css, source.css.scss entity.name.tag.css | #9E4200 | — |
| heading, entity.name.section.group-title | #9E4200 | — |
| invalid.illegal.tag-handle.yaml, text.html.markdown entity.name.tag.html, text.html.markdown punctuation.definition.tag, meta.tag.other.unrecognized, source.vue entity.name.tag.template.html | #C91D1D | — |
| markup.bold, punctuation.definition.bold | — | bold |
| markup.italic, punctuation.definition.italic, markup.quote.markdown | — | italic |
| keyword.control | — | italic |
| storage.modifier | — | italic |
| storage.type.function | — | italic |
| token.info-token | #6796E6 | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #F44747 | — |
| token.debug-token | #B267E6 | — |
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}!`;
}