Filtered Theme
Publisher: Katie WalkerThemes in package: 1
A purple-y theme for Visual Studio Code π¨
A purple-y theme for Visual Studio Code π¨
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 |
|---|---|---|
| β | #F8F8F2 | β |
| comment | #60638A | β |
| string | #AFDDE6 | β |
| constant.numeric | #FF6391 | β |
| constant.language | #AE81FF | β |
| constant.character, constant.other | #AE81FF | β |
| variable | β | |
| keyword | #FF6391 | β |
| storage | #FF6391 | |
| storage.type | #C788F0 | italic |
| entity.name.class | #F565E2 | β |
| entity.other.inherited-class | #F565E2 | italic |
| entity.name.function | #70E7FF | |
| variable.parameter | #F565E2 | italic |
| entity.name.tag | #FF6391 | |
| entity.other.attribute-name | #AE81FF | italic |
| support.function | #F565E2 | |
| support.constant | #AFDDE6 | |
| support.type, support.class | #70E7FF | β |
| support.other.variable | β | |
| invalid | #F8F8F0 | |
| invalid.deprecated | #F8F8F0 | β |
| source.json meta.structure.dictionary.json support.type.property-name.json | #AE81FF | β |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #70E7FF | β |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #AFDDE6 | β |
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}!`;
}