Vintage-Vibrance Color Theme
Publisher: EdgarAldairThemes in package: 1
The Vibrance colors are carefully selected with legibility and people with dyslexia in mind to create an accessible theme for Visual Studio Code
The Vibrance colors are carefully selected with legibility and people with dyslexia in mind to create an accessible 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 |
|---|---|---|
| support.type.property-name, support.variable, variable | #f8f8f0 | — |
| markup.inline.raw, storage.type, support.constant, support.type, support.class | #d18f51 | — |
| constant, keyword.other.unit | #56b6c2 | — |
| comment | #b3918be5 | — |
| meta.brace, punctuation.definition.array, punctuation.definition.binding-pattern, punctuation.definition.block, punctuation.definition.dictionary, punctuation.definition.string, punctuation.definition.tag, punctuation.section, punctuation.separator, punctuation.support, punctuation.terminator | #1abc9c | — |
| string, markup.quote, markup.bold, markup.italic | #fa996c | — |
| entity.name.class, entity.name.function, entity.name.type, entity.other.attribute-name, entity.other.inherited-class, markup.heading.setext, support.function | #2ea793fb | — |
| entity.name.tag, storage, variable.language | #ec8181 | — |
| keyword, punctuation.definition.keyword | #0bcaaa | — |
| markup.bold.markdown, punctuation.definition.bold.markdown | — | bold |
| comment, markup.italic.markdown, punctuation.definition.italic.markdown | — | italic |
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}!`;
}