The Lone Coder
Publisher: Arturo LópezThemes in package: 1
Beautiful Dark Theme with Font Comic Style - This theme is for a night programmer
Beautiful Dark Theme with Font Comic Style - This theme is for a night programmer
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 | #089df9 | italic |
| variable, string constant.other.placeholder | #e9b020de | — |
| constant.other.color | #efeee7 | — |
| invalid, invalid.illegal | #f85a47 | — |
| keyword, storage.type, storage.modifier | #00f556 | — |
| keyword.control, constant.other.color, punctuation, meta.tag, punctuation.definition.tag, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.section.embedded, keyword.other.template, keyword.other.substitution | #8f4c01 | — |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #e49060 | — |
| entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method | #00f556 | italic |
| meta.block variable.other | #fa923d | — |
| support.other.variable, string.other.link | #e06dd2 | — |
| constant.numeric, constant.language, support.constant, constant.character, constant.escape, variable.parameter, keyword.other.unit, keyword.other | #089df9 | — |
| string, constant.other.symbol, constant.other.key, entity.other.inherited-class, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js | #37C63A | — |
| entity.name, support.type, support.class, support.orther.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types | #e06dd2 | — |
| support.type | #12e9ac | — |
| source.css support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.less support.type.property-name, source.stylus support.type.property-name, source.postcss support.type.property-name | #9e5c11be | italic |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #fa923d | — |
| variable.language | #ee5604 | italic |
| entity.name.method.js | #6acadb | italic |
| meta.class-method.js entity.name.function.js, variable.function.constructor | #FF8FA2FF | — |
| entity.other.attribute-name | #e29fdd | italic |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #d8743e | italic |
| entity.other.attribute-name.class | #b16f23 | italic |
| source.sass keyword.control | #82AAFF | — |
| markup.inserted | #bbda8c | — |
| markup.deleted | #cd1911 | — |
| markup.changed | #0fbbca | — |
| string.regexp | #424e32 | — |
| constant.character.escape | #d73b82 | italic |
| *url*, *link*, *uri* | #fa923d | underline |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #efbdcb | italic |
| source.js constant.other.object.key.js string.unquoted.label.js | #f85a47 | italic |
| source.json meta.structure.dictionary.json support.type.property-name.json | #7aa7d8 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #77afd8 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #65ced7 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #67d3d2 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #8981d5 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #8f90d6 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #8bbac1 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #adadad | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #c19d94 | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #D1E1E7 | — |
| text.html.markdown markup.inline.raw.markdown | #25b3c1 | — |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #5a646b | — |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #ffa600 | italic |
| markup.italic | #926736 | italic |
| markup.bold, markup.bold string | #558319 | bold |
| markup.bold markup.italic, markup.italic markup.bold, markup.quote markup.bold, markup.bold markup.italic string, markup.italic markup.bold string, markup.quote markup.bold string | #8f4c01 | bold |
| markup.underline | #d73b82 | underline |
| markup.quote punctuation.definition.blockquote.markdown | #a7a879 | italic |
| markup.quote | #7fa879 | italic |
| string.other.link.title.markdown | #6acadb | underline |
| string.other.link.description.title.markdown | #97F365 | italic |
| constant.other.reference.link.markdown | #dbd109 | italic |
| markup.raw.block | #acacac | — |
| markup.raw.block.fenced.markdown | #424e32 | — |
| punctuation.definition.fenced.markdown | #424e32 | — |
| markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end | #a8a8a8 | — |
| variable.language.fenced.markdown | #788588 | — |
| meta.separator | #788588 | bold |
| markup.table | #dedede | — |
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}!`;
}