Perpetuity Theme
Publisher: Sathwik KunchamThemes in package: 2
A clean, modern theme with teal accents, semantic highlighting, and comprehensive syntax coverage for 20+ languages
A clean, modern theme with teal accents, semantic highlighting, and comprehensive syntax coverage for 20+ languages
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, punctuation.definition.comment | #566b73 | — |
| string, punctuation.definition.string | #39e75f | — |
| keyword, storage.type, storage.modifier, keyword.control, keyword.operator.new | #4de8e8 | bold |
| entity.name.function, support.function, meta.function-call.generic | #70ecec | — |
| entity.name.type, entity.name.class, entity.name.namespace, entity.name.scope-resolution, entity.name.type.class, storage.type.cs, storage.type.generic.cs, storage.type.modifier.cs, storage.type.variable.cs, storage.type.annotation.java, storage.type.generic.java, storage.type.java, storage.type.object.array.java, storage.type.primitive.array.java, storage.type.primitive.java, storage.type.token.java, storage.type.groovy, storage.type.annotation.groovy, storage.type.parameters.groovy, storage.type.generic.groovy, storage.type.object.array.groovy, storage.type.primitive.array.groovy, storage.type.primitive.groovy | #36a5a5 | bold |
| variable, variable.other, variable.parameter, variable.name, support.variable, entity.name.variable | #52e5e5 | — |
| constant, constant.numeric, constant.language, constant.character, constant.other, support.constant | #c792ea | — |
| entity.name.tag, punctuation.definition.tag | #4de8e8 | bold |
| entity.other.attribute-name | #70ecec | italic |
| invalid, invalid.illegal | #e83c3c | — |
| invalid.deprecated | #e83c3c | italic underline |
| keyword.operator | #89ddff | — |
| constant.character.escape | #45c6c6 | — |
| punctuation.definition, punctuation.definition.parameters, punctuation.definition.array, punctuation.section, punctuation.separator, punctuation.terminator | #36a5a5 | — |
| variable.other.property, variable.other.object.property, support.type.property-name | #36c5c5 | — |
| support.type.property-name.json | #70ecec | — |
| support.type.property-name.css | #70ecec | — |
| entity.other.attribute-name | #36a5a5 | italic |
| markup.heading, entity.name.section.markdown | #4de8e8 | bold |
| markup.bold | #4de8e8 | bold |
| markup.italic | #4de8e8 | italic |
| markup.underline.link, string.other.link | #70ecec | — |
| markup.list | #4de8e8 | — |
| meta.method-call, meta.function-call entity.name.function, support.function.console | #5dd5ec | — |
| support.function.builtin, support.function.magic, support.function.builtin.python | #70ecec | italic |
| entity.name.function.constructor, support.class.builtin | #36a5a5 | bold |
| variable.parameter, meta.parameters variable, variable.parameter.function, meta.function.parameters variable | #e0af68 | italic |
| meta.object-literal.key, variable.other.property, variable.other.object.property | #36c5c5 | — |
| variable.language, variable.language.this, variable.language.self, variable.language.super, variable.parameter.function.language.special.self.python | #c792ea | italic |
| variable.other.constant, variable.other.enummember, constant.other.caps | #c792ea | — |
| entity.name.type.parameter, meta.type.parameters, support.type.primitive, meta.type.annotation | #52bebe | italic |
| entity.name.type.interface, support.type.interface | #4ab5b5 | bold |
| entity.name.type.enum, support.type.enum | #45a8a8 | bold |
| meta.decorator, punctuation.decorator, storage.type.annotation, meta.function.decorator.python, entity.name.function.decorator.python | #ffda44 | italic |
| meta.template.expression, punctuation.definition.template-expression, meta.embedded | #4de8e8 | — |
| string.template punctuation.definition.string, punctuation.definition.string.template | #45c6c6 | — |
| string.regexp, keyword.operator.quantifier.regexp, constant.character.escape.backslash.regexp, keyword.control.anchor.regexp | #45c6c6 | — |
| keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.as | #c792ea | bold |
| string.quoted.module, meta.import string | #39e75f | — |
| comment.block.documentation, comment.line.documentation, string.quoted.docstring.multi.python | #7f9fa3 | italic |
| storage.type.class.jsdoc, punctuation.definition.block.tag.jsdoc, entity.name.type.instance.jsdoc, variable.other.jsdoc | #70ecec | italic |
| entity.name.type.instance.jsdoc | #52bebe | italic |
| entity.name.tag.tsx, support.class.component.tsx, support.class.component.jsx, entity.name.tag.js.jsx | #36a5a5 | bold |
| entity.other.attribute-name.tsx, entity.other.attribute-name.jsx | #70ecec | italic |
| storage.type.interface.ts, storage.type.type.ts, storage.type.class.ts | #4de8e8 | bold |
| variable.language.this.ts, variable.language.this.tsx | #c792ea | italic |
| string.quoted.single.python.f-string, string.quoted.double.python.f-string, meta.fstring.python | #39e75f | — |
| meta.interpolation.python, meta.embedded.python | #4de8e8 | — |
| support.function.magic.python | #70ecec | italic |
| entity.other.attribute-name.class.css, entity.other.attribute-name.class.scss | #ffda44 | — |
| entity.other.attribute-name.id.css, entity.other.attribute-name.id.scss | #70ecec | — |
| entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #c792ea | italic |
| keyword.other.unit.css, keyword.other.unit.scss, keyword.other.unit.percentage.css | #f5a868 | — |
| variable.css, variable.argument.css | #70ecec | — |
| markup.inline.raw.markdown, markup.fenced_code.block.markdown | #39e75f | — |
| fenced_code.block.language, markup.fenced_code.block.markdown fenced_code.block.language | #70ecec | — |
| markup.quote.markdown, punctuation.definition.quote.begin.markdown | #7f9fa3 | italic |
| entity.name.namespace, entity.name.type.module, entity.name.type.namespace | #70ecec | — |
| entity.name.label | #ffda44 | bold |
| entity.name.function.preprocessor, meta.preprocessor.macro, entity.name.other.preprocessor.macro | #f5a868 | — |
| storage.modifier.access, storage.modifier.visibility | #c792ea | italic |
| constant.numeric.hex, constant.numeric.octal, constant.numeric.binary, constant.numeric.float | #f5a868 | — |
| support.type.property-name.json, string.json support.type.property-name.json | #70ecec | — |
| source.json meta.structure.dictionary.json support.type.property-name.json | #70ecec | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #36c5c5 | — |
| entity.name.tag.yaml | #70ecec | — |
| keyword.other.sql | #c792ea | bold |
| markup.inserted, meta.diff.header.to-file | #39e75f | — |
| markup.deleted, meta.diff.header.from-file | #e83c3c | — |
| markup.changed | #ffda44 | — |
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}!`;
}