PVC
Publisher: Adrien FriggeriThemes in package: 2
A colorful light/dark theme
A colorful light/dark 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 |
|---|---|---|
| comment | #798286ff | — |
| meta.embedded, source.groovy.embedded | #242728ff | — |
| string | #e6bf00ff | — |
| punctuation.definition.template-expression, punctuation.section.embedded | #ff006aff | — |
| meta.template.expression | #242728ff | — |
| constant.numeric | #7733ffff | — |
| constant.language | #7733ffff | — |
| constant.character, constant.other | #7733ffff | — |
| variable | #242728ff | — |
| keyword | #ff006aff | — |
| storage | #ff006aff | — |
| storage.type | #00aaffff | — |
| entity.name.type, entity.name.class, entity.name.namespace, entity.name.scope-resolution | #88cc00ff | — |
| entity.other.inherited-class | #88cc00ff | — |
| entity.name.function | #88cc00ff | — |
| variable.parameter | #e67300ff | — |
| entity.name.tag | #ff006aff | — |
| entity.other.attribute-name | #88cc00ff | — |
| support.function | #00aaffff | — |
| support.constant | #00aaffff | — |
| support.type, support.class | #00aaffff | — |
| invalid | #e60000ff | — |
| invalid.deprecated | #e60000ff | — |
| meta.structure.dictionary.json string.quoted.double.json | #242728ff | — |
| meta.diff, meta.diff.header | #798286ff | — |
| markup.deleted | #e60000ff | — |
| markup.inserted | #88cc00ff | — |
| markup.changed | #e6bf00ff | — |
| constant.numeric.line-number.find-in-files - match | #7733ffff | — |
| entity.name.filename.find-in-files | #e6bf00ff | — |
| markup.quote | #ff006aff | — |
| markup.list | #e6bf00ff | — |
| markup.bold, markup.italic | #00aaffff | — |
| markup.inline.raw | #e67300ff | — |
| markup.heading | #88cc00ff | — |
| markup.heading.setext | #88cc00ff | — |
| markup.quote.markdown | #798286ff | — |
| string.other.link.title.markdown,string.other.link.description.markdown | #7733ffff | — |
| markup.underline.link.markdown,markup.underline.link.image.markdown | #e6bf00ff | — |
| markup.list.unnumbered.markdown, markup.list.numbered.markdown | #242728ff | — |
| punctuation.definition.list.begin.markdown | #88cc00ff | — |
| token.info-token | #00aaffff | — |
| token.warn-token | #e67300ff | — |
| token.error-token | #e60000ff | — |
| token.debug-token | #7733ffff | — |
| variable.language | #e67300ff | — |
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}!`;
}