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, punctuation.definition.comment | #7F8C98 | — |
| string.quoted | #FE8170 | — |
| storage.type.function.arrow | #FFFFFFD8 | — |
| storage.type, storage.modifier, keyword, variable.language.this, variable.language.super, keyword.other.typedef, constant.language | #FE7AB2 | — |
| entity.name.type.class | #6BDFFF | — |
| variable.other.property, variable.other.object.property | #B181EC | — |
| entity.name.function, entity.name.function.method | #4DB1CB | — |
| entity.name.type.module, entity.other.inherited-class, entity.name.class | #D9BAFF | — |
| meta.type.annotation | #6BDFFF | — |
| punctuation.definition.tag, entity.name.tag, punctuation.separator.key-value | #FE7AB2 | — |
| punctuation.separator.key-value.js | #FFFFFFD9 | — |
| meta.attribute, entity.other.attribute-name | #CC9767 | — |
| constant.numeric | #D8C87C | — |
| variable.other.property | #ABF2E4 | — |
| keyword.operator | #FFFFFFD9 | — |
| variable.parameter | #FFFFFFD9 | — |
| support.type | #D9BAFF | — |
| keyword.operator.assignment | #FFFFFFD9 | — |
| entity.name.fragment.graphql, variable.fragment.graphql | #6BDFFF | — |
| punctuation.quasi.element | #FFFFFFD9 | — |
| variable.other.readwrite | #FFFFFFD9 | — |
| meta.brace | #FFFFFFD9 | — |
| keyword.operator.arithmetic | #B281EB | — |
| token.info-token | #6796E6 | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #F44747 | — |
| token.debug-token | #B267E6 | — |
| comment, variable.language, variable.parameter, entity.other.attribute-name, keyword, markup.underline.link, storage.modifier, storage.type, string.url, variable.language.super, variable.language.this | — | |
| keyword.operator, keyword.other.type, storage.modifier.import, storage.modifier.package, storage.type.built-in, storage.type.function.arrow, storage.type.generic, storage.type.java, storage.type.primitive | — |
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}!`;
}