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 | #808080 | — |
| comment.documentation, comment.block.javadoc, comment.line.double-slash.documentation | #629755 | italic |
| keyword, storage, keyword.declaration, variable.language, keyword.operator.instanceof, support.function.builtin.shell | #CC7832 | — |
| variable.other.definition, variable.other.object.property, support.variable | #9876AA | — |
| meta.method.identifier, entity.name.function.dart, entity.name.function.definition, entity.name.function.js | #FFC66D | |
| constant.numeric, constant.other.color.rgb-value.hex | #6897BB | — |
| string.quoted.single, string.quoted.double, string.quoted.triple, string.quoted.other, string.interpolated, string.template | #6A8759 | — |
| constant.character.escape | #CC7832 | — |
| entity.name.tag, punctuation.definition.tag | #e8bf6a | — |
| meta.tag | #bababa | — |
| punctuation.terminator, punctuation.separator.delimiter, punctuation.separator.array, punctuation.separator.dictionary, punctuation.comma, punctuation.separator.comma.js, punctuation.separator.list.comma.css | #CC7832 | — |
| constant.language | #CC7832 | |
| keyword.other.documentation.javadoc | #629755 | italic bold underline |
| storage.modifier.import, storage.modifier.package | #A9B7C6 | |
| storage.type.annotation, punctuation.definition.annotation | #BBB529 | |
| punctuation.definition.parameters, keyword.control.ternary, keyword.operator, storage.type.generic.java, storage.type.java, variable.parameter | #A9B7C6 | — |
| punctuation.definition.directive, keyword.control.directive | #BBB529 | |
| variable.other.property | #9876AA | — |
| entity.other.attribute-name.namespace | #9876AA | — |
| entity.name.tag.xml | #bababa | — |
| support.type.property-name.json | #9876AA | |
| string.quoted.double.html | #a5c261 | — |
| meta.property-name.css | #bababa | — |
| keyword.other.unit, support.constant.property-value.css | #a5c261 | — |
| entity.other.attribute-name.class, entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element, entity.other.attribute-name.css | #e8bf6a | — |
| keyword.other.important.css | #cc7832 | bold |
| keyword.operator.logical.only.media.css, keyword.operator.logical.and.media.css | #e8bf6a | — |
| support.constant.media.css | #a5c261 | — |
| support.type.property-name.media.css | #e8bf6a | — |
| support.type.vendored.property-name.media.css | #bababa | — |
| punctuation.definition.entity.css | #a9b7c6 | — |
| support.function | #e8bf6a | — |
| variable.parameter.misc.css | #e8bf6a | — |
| variable.other.constant.js, variable.other.object.js | #9876aa | italic bold |
| punctuation.definition.list.begin.markdown, punctuation.definition.bold.markdown | #cc7832 | — |
| markup.heading.markdown | #9876aa | italic |
| meta.image.inline.markdown | — | italic |
| punctuation.definition.link, string.other.link.description, string.other.link.title | #287bde | — |
| markup.underline.link | #ffc66d | — |
| punctuation.definition.metadata.markdown | #6a8759 | — |
| variable.other.normal.shell | #A9B7C6 | — |
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}!`;
}