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 | #758a8e | — |
| string, punctuation.definition.string | #27ae60 | — |
| keyword, storage.type, storage.modifier, keyword.control, keyword.operator.new | #06858e | bold |
| entity.name.function, support.function, meta.function-call.generic | #1e9ea6 | — |
| 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 | #37b6be | bold |
| variable, variable.other, variable.parameter, variable.name, support.variable, entity.name.variable | #074952 | — |
| constant, constant.numeric, constant.language, constant.character, constant.other, support.constant | #8e44ad | — |
| entity.name.tag, punctuation.definition.tag | #06858e | bold |
| entity.other.attribute-name | #1e9ea6 | italic |
| invalid, invalid.illegal | #d13838 | — |
| invalid.deprecated | #d13838 | italic underline |
| keyword.operator | #0891a0 | — |
| constant.character.escape | #5dc7ce | — |
| punctuation.definition, punctuation.definition.parameters, punctuation.definition.array, punctuation.section, punctuation.separator, punctuation.terminator | #427a7e | — |
| variable.other.property, variable.other.object.property, support.type.property-name | #116670 | — |
| support.type.property-name.json | #1e9ea6 | — |
| support.type.property-name.css | #1e9ea6 | — |
| entity.other.attribute-name | #37b6be | italic |
| markup.heading, entity.name.section.markdown | #06858e | bold |
| markup.bold | #0a4a55 | bold |
| markup.italic | #0a4a55 | italic |
| markup.underline.link, string.other.link | #1e9ea6 | — |
| markup.list | #0a4a55 | — |
| meta.method-call, meta.function-call entity.name.function, support.function.console | #2bb2bb | — |
| support.function.builtin, support.function.magic, support.function.builtin.python | #1e9ea6 | italic |
| entity.name.function.constructor, support.class.builtin | #37b6be | bold |
| variable.parameter, meta.parameters variable, variable.parameter.function, meta.function.parameters variable | #b8860b | italic |
| meta.object-literal.key, variable.other.property, variable.other.object.property | #116670 | — |
| variable.language, variable.language.this, variable.language.self, variable.language.super, variable.parameter.function.language.special.self.python | #8e44ad | italic |
| variable.other.constant, variable.other.enummember, constant.other.caps | #8e44ad | — |
| entity.name.type.parameter, meta.type.parameters, support.type.primitive, meta.type.annotation | #45cad2 | italic |
| entity.name.type.interface, support.type.interface | #3dc4cc | bold |
| entity.name.type.enum, support.type.enum | #3ab8c0 | bold |
| meta.decorator, punctuation.decorator, storage.type.annotation, meta.function.decorator.python, entity.name.function.decorator.python | #d68000 | italic |
| meta.template.expression, punctuation.definition.template-expression, meta.embedded | #06858e | — |
| string.template punctuation.definition.string, punctuation.definition.string.template | #1e9ea6 | — |
| string.regexp, keyword.operator.quantifier.regexp, constant.character.escape.backslash.regexp, keyword.control.anchor.regexp | #1e9ea6 | — |
| keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.as | #8e44ad | bold |
| string.quoted.module, meta.import string | #27ae60 | — |
| comment.block.documentation, comment.line.documentation, string.quoted.docstring.multi.python | #6a8a8d | italic |
| storage.type.class.jsdoc, punctuation.definition.block.tag.jsdoc, entity.name.type.instance.jsdoc, variable.other.jsdoc | #1e9ea6 | italic |
| entity.name.type.instance.jsdoc | #45cad2 | italic |
| entity.name.tag.tsx, support.class.component.tsx, support.class.component.jsx, entity.name.tag.js.jsx | #37b6be | bold |
| entity.other.attribute-name.tsx, entity.other.attribute-name.jsx | #1e9ea6 | italic |
| storage.type.interface.ts, storage.type.type.ts, storage.type.class.ts | #06858e | bold |
| variable.language.this.ts, variable.language.this.tsx | #8e44ad | italic |
| string.quoted.single.python.f-string, string.quoted.double.python.f-string, meta.fstring.python | #27ae60 | — |
| meta.interpolation.python, meta.embedded.python | #06858e | — |
| support.function.magic.python | #1e9ea6 | italic |
| entity.other.attribute-name.class.css, entity.other.attribute-name.class.scss | #d68000 | — |
| entity.other.attribute-name.id.css, entity.other.attribute-name.id.scss | #1e9ea6 | — |
| entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #8e44ad | italic |
| keyword.other.unit.css, keyword.other.unit.scss, keyword.other.unit.percentage.css | #e07b39 | — |
| variable.css, variable.argument.css | #1e9ea6 | — |
| markup.inline.raw.markdown, markup.fenced_code.block.markdown | #27ae60 | — |
| fenced_code.block.language, markup.fenced_code.block.markdown fenced_code.block.language | #1e9ea6 | — |
| markup.quote.markdown, punctuation.definition.quote.begin.markdown | #6a8a8d | italic |
| entity.name.namespace, entity.name.type.module, entity.name.type.namespace | #1e9ea6 | — |
| entity.name.label | #d68000 | bold |
| entity.name.function.preprocessor, meta.preprocessor.macro, entity.name.other.preprocessor.macro | #e07b39 | — |
| storage.modifier.access, storage.modifier.visibility | #8e44ad | italic |
| constant.numeric.hex, constant.numeric.octal, constant.numeric.binary, constant.numeric.float | #e07b39 | — |
| support.type.property-name.json, string.json support.type.property-name.json | #1e9ea6 | — |
| source.json meta.structure.dictionary.json support.type.property-name.json | #1e9ea6 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #1a7a85 | — |
| entity.name.tag.yaml | #1e9ea6 | — |
| keyword.other.sql | #8e44ad | bold |
| markup.inserted, meta.diff.header.to-file | #27ae60 | — |
| markup.deleted, meta.diff.header.from-file | #d13838 | — |
| markup.changed | #d68000 | — |
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}!`;
}