Serendipity
Publisher: Michael AndreuzzaThemes in package: 4
Elegant, minimal, and clean color palette to give your eyes rest on different interfaces.
Elegant, minimal, and clean color palette to give your eyes rest on different interfaces.
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 |
|---|---|---|
| markup.changed, meta.diff.header.git, meta.diff.header.from-file, meta.diff.header.to-file, markup.deleted.diff, markup.inserted.diff, punctuation.accessor, keyword, storage, meta.var.expr, meta.class meta.method.declaration meta.var.expr storage.type.js, storage.type.property.js, storage.type.property.ts, storage.type.property.tsx, entity.name.function, entity.other.attribute-name, entity.other.attribute-name, entity.other.attribute-name, keyword.operator.relational, meta.delimiter.period, meta.selector, entity.name.tag.doctype, meta.tag.sgml.doctype, variable.other.object.property, entity.name.function, keyword.operator.comparison, keyword.control.flow.js, keyword.control.flow.ts, keyword.control.flow.tsx, keyword.control.ruby, keyword.control.module.ruby, keyword.control.class.ruby, keyword.control.def.ruby, keyword.control.loop.js, keyword.control.loop.ts, keyword.control.import.js, keyword.control.import.ts, keyword.control.import.tsx, keyword.control.from.js, keyword.control.from.ts, keyword.control.from.tsx, keyword.operator.instanceof.js, keyword.operator.expression.instanceof.ts, keyword.operator.expression.instanceof.tsx, italic, quote, source.elixir .punctuation.binary.elixir, source.go keyword.package.go, source.go keyword.import.go, source.go keyword.function.go, source.go keyword.type.go, source.go keyword.struct.go, source.go keyword.interface.go, source.go keyword.const.go, source.go keyword.var.go, source.go keyword.map.go, source.go keyword.channel.go, source.go keyword.control.go, meta.tag.sgml.doctype.html, variable.other.object.js, markup.italic.markdown | — | italic |
| comment, string.quoted.docstring.multi.python | #ffffff30 | italic |
| string, constant.other.symbol | #9e81c9 | — |
| string.regexp, constant.character, constant.other | #95E6CB | — |
| constant.numeric, string.quoted.single | #f29e74 | — |
| constant.language | #f29e74 | — |
| variable | #acb9d9 | — |
| variable.member | #F28779 | — |
| variable.language | #78A9FF | italic |
| storage | #9e81c9 | — |
| keyword | #9e81c9 | — |
| keyword.operator, string.quoted.single | #F29E74 | — |
| punctuation.separator, punctuation.terminator | #acb9d9 | — |
| punctuation.section | #acb9d9 | — |
| punctuation.accessor | #F29E74 | — |
| source.java storage.type, source.haskell storage.type, source.c storage.type | #73D0FF | — |
| entity.other.inherited-class | #78A9FF | — |
| storage.type.function | #9e81c9 | — |
| source.java storage.type.primitive | #78A9FF | — |
| entity.name.function | #9df0f0 | — |
| variable.parameter, meta.parameter | #D4BFFF | — |
| variable.function, variable.annotation, meta.function-call.generic, support.function.go | #9df0f0 | — |
| support.function, support.macro | #F28779 | — |
| entity.name.import, entity.name.package | #9e81c9 | — |
| entity.name, storage.type.js, keyword.control.import.tsx | #73D0FF | — |
| entity.name.tag, meta.tag.sgml | #78A9FF | — |
| punctuation.definition.tag.end, punctuation.definition.tag.begin, punctuation.definition.tag | #78A9FF80 | — |
| entity.other.attribute-name | #9df0f0 | — |
| support.constant | #F29E74 | italic |
| support.type, support.class, source.go storage.type | #78A9FF | — |
| meta.decorator variable.other, meta.decorator punctuation.decorator, storage.type.annotation | #FFE6B3 | — |
| invalid | #FF3333 | — |
| meta.diff, meta.diff.header | #C594C5 | — |
| source.ruby variable.other.readwrite | #9df0f0 | — |
| source.css entity.name.tag, source.sass entity.name.tag, source.scss entity.name.tag, source.less entity.name.tag, source.stylus entity.name.tag | #73D0FF | — |
| source.css support.type, source.sass support.type, source.scss support.type, source.less support.type, source.stylus support.type | #5C6773 | — |
| support.type.property-name | #78A9FF | — |
| constant.numeric.line-number.find-in-files - match | #5C6773 | — |
| constant.numeric.line-number.match | #9e81c9 | — |
| entity.name.filename.find-in-files | #9e81c9 | — |
| message.error | #FF3333 | — |
| markup.heading, markup.heading entity.name | #9e81c9 | bold |
| markup.underline.link, string.other.link | #78A9FF | — |
| markup.italic | #F28779 | italic |
| markup.bold | #F28779 | bold |
| markup.italic markup.bold, markup.bold markup.italic | — | bold italic |
| meta.separator | #5C6773 | bold |
| markup.quote | #95E6CB | italic |
| markup.list punctuation.definition.list.begin | #9df0f0 | — |
| markup.inserted | #A6CC70 | — |
| markup.changed | #77A8D9 | — |
| markup.deleted | #F27983 | — |
| markup.strike | #FFE6B3 | — |
| markup.table | #78A9FF | — |
| text.html.markdown markup.inline.raw | #F29E74 | — |
| text.html.markdown meta.dummy.line-break | #5C6773 | — |
| punctuation.definition.markdown | #5C6773 | — |
| 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}!`;
}