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 | #8c8c8c | italic |
| keyword, storage, keyword.declaration, variable.language, keyword.operator.instanceof, keyword.other.important.css, keyword.operator.logical.only.media.css, keyword.operator.logical.and.media.css | #0033b3 | — |
| variable.other.definition, variable.other.object.property, support.variable | #871094 | — |
| meta.method.identifier, entity.name.function.dart, entity.name.function.definition | #00627a | |
| constant.numeric | #1750eb | — |
| string.quoted.single, string.quoted.double, string.quoted.triple, string.quoted.other, string.interpolated, string.template | #067d17 | — |
| constant.character.escape | #0037a6 | — |
| entity.name.tag | #0033b3 | — |
| punctuation.definition.tag | #080808 | — |
| meta.tag | #174ad4 | — |
| constant.language | #0033b3 | |
| keyword.other.documentation.javadoc | #8c8c8c | italic underline |
| storage.modifier.import, storage.modifier.package | #000000 | |
| storage.type.annotation, punctuation.definition.annotation | #9e880d | |
| punctuation.definition.parameters, keyword.control.ternary, keyword.operator, storage.type.generic, storage.type.java, variable.parameter | #000000 | — |
| punctuation.definition.directive, keyword.control.directive | #9e880d | |
| variable.other.property | #660e7a | — |
| entity.name.type.class | #008080 | |
| entity.name.scope-resolution, entity.name.namespace | #008080 | — |
| entity.other.attribute-name.namespace | #871094 | — |
| entity.name.tag.xml | #174ad4 | — |
| support.type.property-name.json | #871094 | |
| meta.property-name.css | #174ad4 | — |
| keyword.other.unit, support.constant.property-value.css | #067d17 | — |
| meta.selector.css | #0033b3 | — |
| support.constant.media.css | #067d17 | — |
| support.type.property-name.media.css | #0033b3 | — |
| support.type.vendored.property-name.media.css | #174ad4 | — |
| constant.other.color.rgb-value.hex.css | #0033b3 | — |
| punctuation.definition.entity.css | #000000 | — |
| support.function | #0033b3 | — |
| variable.parameter.misc.css | #0033b3 | — |
| variable.other.object.js | #830091 | — |
| variable.other.readwrite.js, variable.other.constant.js | #248f8f | — |
| meta.function-call.js | #7a7a43 | — |
| meta.definition.function.js | #080808 | — |
| variable.parameter.js | #080808 | underline |
| punctuation.definition.list.begin.markdown, punctuation.definition.bold.markdown | #0033b3 | — |
| markup.heading.markdown | #871094 | italic |
| markup.bold.markdown | — | bold |
| meta.image.inline.markdown | — | italic |
| punctuation.definition.link, string.other.link.description, string.other.link.title | #006dcc | — |
| markup.underline.link | #00627a | italic |
| punctuation.definition.metadata.markdown | #087d17 | — |
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}!`;
}