PRAS Spectrum Theme
Publisher: PRASSaminThemes in package: 2
PRAS Spectrum Theme is vibrant and focused theme for VS code. with bold colors and clear contrasts, it enhances readability and productivity, making coding a pleasure
PRAS Spectrum Theme is vibrant and focused theme for VS code. with bold colors and clear contrasts, it enhances readability and productivity, making coding a pleasure
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 | #6C7986 | — |
| string | #70c25a | — |
| constant.numeric | #9686F5 | — |
| constant.language | #9686F5 | — |
| constant.character, constant.other | #9686F5 | — |
| variable | #00FFD5 | — |
| keyword | #FC5FA3 | — |
| storage | #FC5FA3 | |
| markup.bold, markdown.bold | #9686F5 | |
| markup.heading, markdown.heading | #9686F5 | |
| markup.italic, markdown.italic | #FC5FA3 | |
| markup.quote, markdown.quote | #FC5FA3 | |
| storage.type | #FC5FA3 | — |
| entity.name.class | #91D462 | — |
| entity.other.inherited-class | #91D462 | — |
| entity.name.function | #edff47 | — |
| variable.parameter | #00FFD5 | — |
| entity.name.tag | #FC5FA3 | |
| entity.other.attribute-name | #f88f1f | — |
| support.function | #7AC8B6 | |
| support.constant | #7AC8B6 | |
| support.type | #FC6A5D | — |
| support.class | #FC6A5D | — |
| support.other.variable | #746DB0 | |
| token.info-token | #6796e6 | — |
| token.warn-token | #cd9731 | — |
| token.error-token | #f44747 | — |
| token.debug-token | #b267e6 | — |
| support.type.module | #6A5ACD | — |
| markup.underline.link | #39BAE6 | — |
| text.html.markdown markup.inline.raw | #c9e639 | — |
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}!`;
}