The Best Themes for programmers
Publisher: Estevam SouzaThemes in package: 127
🎨🚀 A never seen collection of 165 hand crafted themes no where to be found on Internet 💻
🎨🚀 A never seen collection of 165 hand crafted themes no where to be found on Internet 💻
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 | #BBBBBB4D | italic |
| constant | #F09483E6 | — |
| constant.character.escape | #25B0BCE6 | — |
| entity.name | #FAC29AE6 | — |
| entity.name.function | #25B0BCE6 | — |
| entity.name.tag | #E95678E6 | normal |
| entity.name.type, storage.type.cs | #FAC29AE6 | — |
| entity.other.attribute-name | #F09483E6 | normal |
| entity.other.inherited-class | #FAB795E6 | — |
| entity.other.attribute-name.id | #25B0BCE6 | — |
| entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class | #FAB795E6 | — |
| entity.name.variable, variable | #E95678E6 | — |
| keyword | #B877DBE6 | normal |
| keyword.operator | #BBBBBB | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.logical, keyword.operator.delete | #B877DBE6 | — |
| keyword.other.unit | #F09483E6 | — |
| markup.quote | #FAB795B3 | italic |
| markup.heading, entity.name.section | #E95678E6 | — |
| markup.bold | #B877DBE6 | bold |
| markup.italic | #25B0BCE6 | italic |
| markup.inline.raw, markup.fenced_code.block | #F09483E6 | — |
| markup.underline.link | #FAB795E6 | — |
| storage | #B877DBE6 | normal |
| string.quoted, string.template | #FAB795E6 | — |
| string.regexp | #F09483E6 | — |
| string.other.link | #F09483E6 | — |
| support | #FAC29AE6 | — |
| support.function | #25B0BCE6 | — |
| support.variable | #E95678E6 | — |
| support.type.property-name, meta.object-literal.key | #E95678E6 | — |
| support.type.property-name.css | #BBBBBB | — |
| variable.language | #FAC29AE6 | italic |
| variable.parameter | — | italic |
| string.template meta.embedded | #BBBBBB | — |
| punctuation.definition.tag | #E95678B3 | normal |
| punctuation.separator | #BBBBBB | — |
| punctuation.definition.template-expression, punctuation.quasi.element | #B877DBE6 | — |
| punctuation.section.embedded | #B877DBE6 | — |
| punctuation.definition.list | #F09483E6 | — |
| comment, variable.language, variable.parameter, variable.other.object, keyword, keyword.control, entity.name.function, storage.type, storage.type.modifier, storage.type.accessor, storage.type.built-in, entity.name.type | — | |
| keyword.control, keyword, storage.type.built-in | — | |
| comment | — | — |
| keyword.operator, punctuation.separator, punctuation.separator, punctuation.support.type.property-name.begin.json | — | |
| comment, variable.language, variable.parameter, storage.type, keyword | — | |
| token.info-token | #6796E6 | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #F44747 | — |
| token.debug-token | #B267E6 | — |
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}!`;
}