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 |
|---|---|---|
| — | #002339 | — |
| meta.paragraph.markdown, string.other.link.description.title.markdown | #110000 | — |
| entity.name.section.markdown, punctuation.definition.heading.markdown | #034c7c | — |
| punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, markup.quote.markdown | #00AC8F | — |
| markup.quote.markdown | #003494 | italic |
| markup.bold.markdown, punctuation.definition.bold.markdown | #4e76b5 | bold |
| markup.italic.markdown, punctuation.definition.italic.markdown | #C792EA | italic |
| markup.inline.raw.string.markdown, markup.fenced_code.block.markdown | #0460b1 | italic |
| punctuation.definition.metadata.markdown | #00AC8F | — |
| markup.underline.link.image.markdown, markup.underline.link.markdown | #924205 | — |
| comment | #357b42 | italic |
| string | #a44185 | — |
| constant.numeric | #174781 | — |
| constant | #174781 | — |
| language.method | #174781 | — |
| constant.character, constant.other | #174781 | — |
| variable | #2f86d2 | |
| variable.language.this | #000000 | |
| keyword | #7b30d0 | |
| storage | #da5221 | |
| storage.type | #0991b6 | |
| entity.name.class | #1172c7 | — |
| entity.other.inherited-class | #b02767 | |
| entity.name.function | #7eb233 | |
| variable.parameter | #b1108e | |
| entity.name.tag | #0444ac | |
| text.html.basic | #0071ce | |
| entity.name.type | #0444ac | — |
| entity.other.attribute-name | #df8618 | italic |
| support.function | #1ab394 | |
| support.constant | #174781 | |
| support.type, support.class | #dc3eb7 | — |
| support.other.variable | #224555 | — |
| invalid | #207bb8 | italic bold underline |
| invalid.deprecated | #207bb8 | bold italic underline |
| source.json support | #6dbdfa | — |
| source.json string, source.json punctuation.definition.string | #00820f | — |
| markup.list | #207bb8 | — |
| markup.heading punctuation.definition.heading, entity.name.section | #4FB4D8 | |
| text.html.markdown meta.paragraph meta.link.inline, text.html.markdown meta.paragraph meta.link.inline punctuation.definition.string.begin.markdown, text.html.markdown meta.paragraph meta.link.inline punctuation.definition.string.end.markdown | #87429A | — |
| markup.quote | #87429A | — |
| markup.bold | #08134A | bold |
| markup.italic, punctuation.definition.italic | #174781 | italic |
| meta.link | #87429A | — |
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}!`;
}