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 | #7f9f7f | italic bold |
| comment.documentation, comment.block.documentation, comment.line.double-slash.documentation, punctuation.definition.block.tag.jsdoc, storage.type.class.jsdoc | #7f9f7f | italic |
| keyword, constant.language, storage.modifier.extends, storage.type.namespace, variable.language, keyword.operator.delete, storage.type.js | #dfc47d | bold |
| storage.type, storage.modifier, keyword.other.package | #cedf99 | bold |
| constant.numeric | #8cd0d3 | — |
| string.quoted.double, string.template | #cc9393 | |
| string.quoted.single | #dca3a3 | |
| string.quoted.double.xml, string.quoted.double.html | #c89191 | |
| string.template | — | italic bold |
| punctuation.bracket, punctuation.separator, punctuation.terminator, punctuation.section, keyword.operator, storage.type.function.arrow | #9f9d6d | bold |
| punctuation.separator.key-value | #dcdccc | bold |
| punctuation.definition.parameters, punctuation.definition.end, punctuation.definition.block, punctuation.definition.begin, meta.brace.round, meta.brace.square | #00ff00 | bold |
| keyword.control.directive, meta.preprocessor | #ffcfaf | |
| keyword.other.documentation.javadoc.java | #7f9f7f | italic |
| storage.type.java, storage.type.generic.java, storage.type.annotation, storage.modifier.import, storage.modifier.package | #dcdcdc | |
| meta.tag.metadata.doctype | #dcdccc | |
| meta.tag.structure, meta.tag.metadata | #e3ceab | |
| string.quoted.double.html | — | bold |
| entity.other.attribute-name.html, punctuation.separator.namespace | #dfdfdf | bold |
| entity.other.attribute-name.xml, entity.other.attribute-name.localname.xml, entity.other.attribute-name.namespace.xml, punctuation.separator.namespace | #bec89e | bold |
| entity.name.tag, entity.name.tag.localname.xml, punctuation.definition.tag | #e3ceab | |
| meta.tag.preprocessor | #7f9f7f | — |
| support.type.property-name.json | #cedf99 | — |
| string.quoted.double.json | #dcdccc | — |
| constant.language.json | #dfc47d | bold |
| constant.language.register | #dfc47d | — |
| meta.property-value, keyword.other.unit.px, keyword.other.unit.percentage, constant.numeric.css | #8cd0d3 | bold |
| support.type.property-name.css | #c2be9e | bold |
| keyword.other.unit | #8cd0d3 | bold |
| string.quoted.single.css, string.quoted.double.css | #808080 | |
| entity.other.attribute-name.class | #cedf99 | |
| entity.other.attribute-name.id, entity.other.attribute-name.pseudo-class | #cedf99 | bold |
| punctuation.definition.entity.css, punctuation.separator.key-value.css, punctuation.definition.keyword.css | #9f9d6d | bold |
| keyword.operator.logical.only.media.css, keyword.operator.logical.and.media.css, keyword.control.at-rule.media.css, meta.at-rule.media.header.css | #e3c00b | bold |
| keyword.operator.pattern.css | #dcdccc | bold |
| storage.type.function | #dfc47d | bold |
| markup.heading.markdown | #ff8040 | bold |
| markup.list.unnumbered.markdown | #e3ceab | italic |
| punctuation.definition.link.description, string.other.link.description.markdown | #edd6ed | italic |
| markup.bold.markdown | #e3ceab | bold |
| entity.name.function.python, support.function.magic.python | #cedf99 | |
| string.quoted.docstring.multi.python | #7f9f7f | |
| constant.language.python, variable.language.special.self.python | #dcdccc | |
| support.function.builtin.shell | #e3ceab | 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}!`;
}