Material Neutral Theme
Publisher: bernardodsandersonThemes in package: 1
A modified and updated Material Theme
A modified and updated Material 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 |
|---|---|---|
| Global settings | #B2CCD6 | — |
| string | #C3E88D | — |
| constant.language.boolean | #f77669 | — |
| constant.numeric | #f77669 | — |
| variable, support.variable, support.class, support.constant, meta.definition.variable entity.name.function | #FA6981 | — |
| keyword, modifier, variable.language.this, support.type.object, constant.language | #82AAFF | — |
| entity.name.function, support.function | #82AAFF | — |
| storage.type, storage.modifier | #FFCB6B | — |
| support.module, support.node | #82AAFF | — |
| support.type | #7FCAC3 | — |
| entity.name.type, entity.other.inherited-class | #FFCB6B | — |
| comment | #405561 | — |
| entity.name.type.class | #FFCB6B | — |
| variable.object.property | #C3E88D | — |
| meta.definition.method entity.name.function | #FFCB6B | — |
| meta.function entity.name.function | #BD8BDF | — |
| template.expression.begin, template.expression.end | #C3E88D | — |
| meta.object-literal.key, meta.object-literal.key string, support.type.property-name.json | #7FCAC3 | — |
| constant.language.json | #C3E88D | — |
| entity.other.attribute-name.class | #FFCB6B | — |
| entity.other.attribute-name.id | #FFCB6B | — |
| source.css entity.name.tag | #FA6981 | — |
| meta.tag, punctuation.definition.tag | #B2CCD6 | — |
| entity.name.tag | #FA6981 | — |
| entity.other.attribute-name | #FFCB6B | — |
| markup.heading | #B2CCD6 | — |
| text.html.markdown meta.link.inline, meta.link.reference | #B2CCD6 | — |
| text.html.markdown markup.quote | #FFCB6B | — |
| text.html.markdown beginning.punctuation.definition.list | #C3E88D | — |
| markup.italic | #C3E88D | italic |
| markup.bold | #C3E88D | bold |
| markup.bold markup.italic, markup.italic markup.bold | #C3E88D | italic bold |
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}!`;
}