Panda Windows 11
Publisher: Calvin LudwigThemes in package: 1
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 |
|---|---|---|
| — | #E6E6E6 | — |
| comment | #676B79 | italic |
| string | #19F9D8 | — |
| constant.numeric | #FFB86C | — |
| constant.language | #FFB86C | — |
| constant.character, constant.other | #6DB1FF | — |
| variable | #FFAAD9 | |
| keyword | #FF75B5 | — |
| storage | #FFB86C | |
| storage.type | #FFB86C | — |
| entity.name.class | #FFC990 | italic |
| entity.other.inherited-class | #FFC990 | underline |
| entity.name.function | #65BDFF | |
| variable.parameter | #C7C7C7 | italic |
| entity.name.tag | #FF2C6D | |
| entity.other.attribute-name | #FFB86C | |
| support.function | #65BDFF | |
| support.constant | #FFB86C | |
| support.type, support.class | #FFC990 | — |
| support.other.variable | #FF0000 | |
| invalid | #EBEBEB | — |
| invalid.deprecated | #7A6E71 | italic underline |
| , constant.other.symbol.ruby, , entity.other.attribute-name.jsx, | — | italic |
| source meta.property-list meta.property-name support.type.property-name | #E6E6E6 | — |
| source meta.property-list meta.property-value keyword.other.unit | #FFB86C | — |
| source keyword.operator | #E6E6E6 | — |
| source.js entity.name.type.object.js.firebug | #FFC990 | — |
| source meta.class.instance.constructor keyword.operator.new | #FF75B5 | italic |
| source.js meta.class.instance.constructor entity.name.type.instance.js | #FFC990 | — |
| source meta.at-rule.media | #B084EB | — |
| source meta.at-rule.import variable.parameter.url | #19F9D8 | — |
| source.sass variable.parameter.sass | #FFAAD9 | — |
| source meta.property-value.css constant.other | #FFB86C | — |
| source .property-value.css parameter constant.numeric.css keyword.other.unit.css | #FFB86C | — |
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}!`;
}