jblow-darker
Publisher: PatrolinThemes in package: 1
Jon blow-like theme with darker background from monokai darker
Jon blow-like theme with darker background from monokai darker
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 |
|---|---|---|
| invalid, invalid.illegal | — | — |
| markup.inserted | #C3E88D | — |
| markup.deleted | #ffffff | — |
| markup.changed | #C792EA | — |
| variable, string constant.other.placeholder, constant.other.color, 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, entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method, meta.block variable.other, support.other.variable, string.other.link, constant.character, constant.escape, variable.parameter, keyword.other.unit, keyword.other, entity.name, support.type, support.class, support.other.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types, support.type, 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, entity.name.module.js, variable.import.parameter.js, variable.other.class.js, variable.language, entity.name.method.js, meta.class-method.js entity.name.function.js, variable.function.constructor, entity.other.attribute-name, text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name, entity.other.attribute-name.class, source.sass keyword.control, markup.inserted, text.html.markdown, keyword.operator, entity.name.tag.html, entity.name.tag.tsx, markup.underline.link.markdown, punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, storage.type.built-in.primitive.cpp, storage.type.built-in.cpp, storage.type.built-in.primitive.c, storage.type.built-in.c, entity.other.inherited-class.tsx, entity.other.inherited-class.ts, entity.other.inherited-class.js, meta.template.expression.tsx, meta.template.expression.ts, meta.template.expression.js, entity.name.tag.yaml, meta.map.key.yaml constant.numeric | #aaa | — |
| keyword, storage.type, storage.modifier, entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter, keyword.control, text.html.markdown punctuation, keyword.other.typedef.cpp, keyword.operator.new.cpp, keyword.other.typedef.c, keyword.operator.new.tsx, keyword.operator.new.ts, keyword.operator.new.js, keyword.operator.expression.delete.tsx, keyword.operator.expression.delete.ts, keyword.operator.expression.delete.js, meta.type.declaration.tsx keyword.operator.expression.typeof.tsx, meta.type.declaration.ts keyword.operator.expression.typeof.ts, meta.type.declaration.tsx keyword.operator.expression.keyof.tsx, meta.type.declaration.ts keyword.operator.expression.keyof.ts, punctuation.definition.block.sequence.item.yaml | #ccc | — |
| constant.numeric, support.constant, keyword.other.unit.exponent.decimal.c, keyword.other.unit.exponent.decimal.cpp | #98dfba | — |
| constant.language | #56B6C2 | — |
| support.function.builtin.python, support.function.builtin, keyword.operator.sizeof.cpp, keyword.operator.alignof.cpp, storage.type.decltype.cpp, keyword.operator.typeid.cpp, keyword.operator.cast.static_cast.cpp, keyword.operator.cast.dynamic_cast.cpp, keyword.operator.cast.const_cast.cpp, keyword.operator.cast.reinterpret_cast.cpp, keyword.operator.noexcept.cpp, keyword.operator.sizeof.c | #bcdda1 | — |
| comment, punctuation.definition.comment | #57a90a | italic |
| 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, string.regexp, string.regexp keyword.other, constant.character.escape, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, storage.type.string.python, punctuation.definition.string, markup.underline.link.markdown, markup.underline.link.image.markdown, punctuation.definition.raw.markdown, markup.inline.raw.string.markdown, punctuation.definition.markdown, markup.fenced_code.block.markdown | #00ab6f | — |
| *url*, *link*, *uri* | — | underline |
| rainbow1 | #c07a7a | — |
| keyword.rainbow2 | #7abfbf | — |
| entity.name.function.rainbow3 | #bfa37a | — |
| comment.rainbow4 | #7a95bf | — |
| string.rainbow5 | #b1bf7a | — |
| variable.parameter.rainbow6 | #887abf | — |
| constant.numeric.rainbow7 | #88bf7a | — |
| entity.name.type.rainbow8 | #b17abf | — |
| markup.bold.rainbow9 | #7abf95 | — |
| invalid.rainbow10 | #bf7aa3 | — |
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}!`;
}