Blackboard Theme Pack
Publisher: gesslarThemes in package: 3
Classic blackboard aesthetics for night coding - chalk on slate with electric blue accents
Classic blackboard aesthetics for night coding - chalk on slate with electric blue accents
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 |
|---|---|---|
| emphasis | — | italic |
| strong | — | bold |
| header | #4a6fbf | — |
| comment | #636363 | — |
| constant.language | #739abd | — |
| constant.numeric, keyword.operator.plus.exponent, keyword.operator.minus.exponent | #8aa168 | — |
| constant.regexp | #646695 | — |
| entity.name.tag.css, entity.name.tag.less | #cfbd98 | — |
| entity.name.tag | #739abd | — |
| entity.other.attribute-name.class, entity.other.attribute-name.id, entity.other.attribute-name.parent-selector, entity.other.attribute-name.parent.less, entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element, entity.other.attribute-name.scss | #cfbd98 | — |
| entity.other.attribute-name | #6ca1bc | — |
| invalid | #f44747 | — |
| markup.underline | — | underline |
| markup.bold | #739abd | bold |
| markup.heading | #739abd | bold |
| markup.italic | #b890b4 | italic |
| markup.strikethrough | — | strikethrough |
| markup.inserted | #8aa168 | — |
| markup.deleted | #be917f | — |
| markup.changed | #739abd | — |
| punctuation.definition.quote.begin | #636363 | — |
| punctuation.definition.list.begin | #6080b5 | — |
| markup.inline.raw | #be917f | — |
| punctuation.definition.tag | #808080 | — |
| meta.preprocessor.string | #be917f | — |
| meta.preprocessor.numeric | #8aa168 | — |
| meta.preprocessor, entity.name.function.preprocessor | #739abd | — |
| meta.structure.dictionary.key.python | #6ca1bc | — |
| meta.diff.header | #739abd | — |
| string.regexp | #a16362 | — |
| meta.template.expression | #adadad | — |
| support.type.vendored.property-name, support.type.property-name, source.css variable | #6ca1bc | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.alignof, keyword.operator.typeid, keyword.operator.alignas, keyword.operator.instanceof, keyword.operator.logical, keyword.operator.wordlike | #739abd | — |
| keyword.other.unit | #8aa168 | — |
| support.function.git-rebase | #6ca1bc | — |
| constant.sha.git-rebase | #8aa168 | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #adadad | — |
| variable.language | #739abd | — |
| entity.name.function, support.function, support.constant.handlebars, entity.name.operator.custom-literal | #a7a776 | — |
| support.class, support.type, entity.name.type, entity.name.namespace, entity.other.attribute, entity.name.scope-resolution, entity.name.class, storage.type.numeric, storage.type.byte, storage.type.boolean, storage.type.string, storage.type.uintptr, storage.type.error, storage.type.rune, storage.type.cs, storage.type.generic, storage.type.modifier, storage.type.variable, storage.type.annotation, storage.type.java, storage.type.object.array, storage.type.primitive.array, storage.type.primitive, storage.type.token | #59ab99 | — |
| storage.type | #739abd | — |
| meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class, punctuation.separator.namespace | #59ab99 | — |
| variable.other.constant, variable.other.enummember | #509fbe | — |
| meta.object-literal.key | #6ca1bc | — |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | #be917f | — |
| punctuation.definition.group.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.character-class.regexp, punctuation.character.set.begin.regexp, punctuation.character.set.end.regexp, keyword.operator.negation.regexp, support.other.parenthesis.regexp | #be917f | — |
| constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp | #a16362 | — |
| keyword.operator.or.regexp, keyword.control.anchor.regexp | #a7a776 | — |
| keyword.operator.quantifier.regexp | #cfbd98 | — |
| constant.character.escape | #cfbd98 | — |
| constant.character, constant.other.option | #739abd | — |
| entity.name.label | #c8c8c8 | — |
| keyword.control, source.cpp keyword.operator.new, keyword.operator.delete, keyword.other.using, keyword.other.directive.using, keyword.other.operator, entity.name.operator | #b890b4 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #739abd | — |
| string, meta.embedded.assembly | #be917f | — |
| meta.embedded, string meta.image.inline.markdown | #adadad | — |
| variable, meta.definition.variable.name, support.variable, entity.name.variable, constant.other.placeholder | #6ca1bc | — |
| storage.modifier, keyword.operator.noexcept | #739abd | — |
| keyword.operator | #adadad | — |
| keyword | #739abd | — |
| storage | #739abd | — |
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 |
|---|---|---|
| emphasis | — | italic |
| strong | — | bold |
| header | #4a6fbf | — |
| comment | #636363 | — |
| constant.language | #739abd | — |
| constant.numeric, keyword.operator.plus.exponent, keyword.operator.minus.exponent | #8aa168 | — |
| constant.regexp | #646695 | — |
| entity.name.tag.css, entity.name.tag.less | #cfbd98 | — |
| entity.name.tag | #739abd | — |
| entity.other.attribute-name.class, entity.other.attribute-name.id, entity.other.attribute-name.parent-selector, entity.other.attribute-name.parent.less, entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element, entity.other.attribute-name.scss | #cfbd98 | — |
| entity.other.attribute-name | #6ca1bc | — |
| invalid | #f44747 | — |
| markup.underline | — | underline |
| markup.bold | #739abd | bold |
| markup.heading | #739abd | bold |
| markup.italic | #b890b4 | italic |
| markup.strikethrough | — | strikethrough |
| markup.inserted | #8aa168 | — |
| markup.deleted | #be917f | — |
| markup.changed | #739abd | — |
| punctuation.definition.quote.begin | #636363 | — |
| punctuation.definition.list.begin | #6080b5 | — |
| markup.inline.raw | #be917f | — |
| punctuation.definition.tag | #808080 | — |
| meta.preprocessor.string | #be917f | — |
| meta.preprocessor.numeric | #8aa168 | — |
| meta.preprocessor, entity.name.function.preprocessor | #739abd | — |
| meta.structure.dictionary.key.python | #6ca1bc | — |
| meta.diff.header | #739abd | — |
| string.regexp | #a16362 | — |
| meta.template.expression | #adadad | — |
| support.type.vendored.property-name, support.type.property-name, source.css variable | #6ca1bc | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.alignof, keyword.operator.typeid, keyword.operator.alignas, keyword.operator.instanceof, keyword.operator.logical, keyword.operator.wordlike | #739abd | — |
| keyword.other.unit | #8aa168 | — |
| support.function.git-rebase | #6ca1bc | — |
| constant.sha.git-rebase | #8aa168 | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #adadad | — |
| variable.language | #739abd | — |
| entity.name.function, support.function, support.constant.handlebars, entity.name.operator.custom-literal | #a7a776 | — |
| support.class, support.type, entity.name.type, entity.name.namespace, entity.other.attribute, entity.name.scope-resolution, entity.name.class, storage.type.numeric, storage.type.byte, storage.type.boolean, storage.type.string, storage.type.uintptr, storage.type.error, storage.type.rune, storage.type.cs, storage.type.generic, storage.type.modifier, storage.type.variable, storage.type.annotation, storage.type.java, storage.type.object.array, storage.type.primitive.array, storage.type.primitive, storage.type.token | #59ab99 | — |
| storage.type | #739abd | — |
| meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class, punctuation.separator.namespace | #59ab99 | — |
| variable.other.constant, variable.other.enummember | #509fbe | — |
| meta.object-literal.key | #6ca1bc | — |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | #be917f | — |
| punctuation.definition.group.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.character-class.regexp, punctuation.character.set.begin.regexp, punctuation.character.set.end.regexp, keyword.operator.negation.regexp, support.other.parenthesis.regexp | #be917f | — |
| constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp | #a16362 | — |
| keyword.operator.or.regexp, keyword.control.anchor.regexp | #a7a776 | — |
| keyword.operator.quantifier.regexp | #cfbd98 | — |
| constant.character.escape | #cfbd98 | — |
| constant.character, constant.other.option | #739abd | — |
| entity.name.label | #c8c8c8 | — |
| keyword.control, source.cpp keyword.operator.new, keyword.operator.delete, keyword.other.using, keyword.other.directive.using, keyword.other.operator, entity.name.operator | #b890b4 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #739abd | — |
| string, meta.embedded.assembly | #be917f | — |
| meta.embedded, string meta.image.inline.markdown | #adadad | — |
| variable, meta.definition.variable.name, support.variable, entity.name.variable, constant.other.placeholder | #6ca1bc | — |
| storage.modifier, keyword.operator.noexcept | #739abd | — |
| keyword.operator | #adadad | — |
| keyword | #739abd | — |
| storage | #739abd | — |
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 |
|---|---|---|
| emphasis | — | italic |
| strong | — | bold |
| header | #4a6fbf | — |
| comment | #636363 | — |
| constant.language | #739abd | — |
| constant.numeric, keyword.operator.plus.exponent, keyword.operator.minus.exponent | #8aa168 | — |
| constant.regexp | #646695 | — |
| entity.name.tag.css, entity.name.tag.less | #cfbd98 | — |
| entity.name.tag | #739abd | — |
| entity.other.attribute-name.class, entity.other.attribute-name.id, entity.other.attribute-name.parent-selector, entity.other.attribute-name.parent.less, entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element, entity.other.attribute-name.scss | #cfbd98 | — |
| entity.other.attribute-name | #6ca1bc | — |
| invalid | #f44747 | — |
| markup.underline | — | underline |
| markup.bold | #739abd | bold |
| markup.heading | #739abd | bold |
| markup.italic | #b890b4 | italic |
| markup.strikethrough | — | strikethrough |
| markup.inserted | #8aa168 | — |
| markup.deleted | #be917f | — |
| markup.changed | #739abd | — |
| punctuation.definition.quote.begin | #636363 | — |
| punctuation.definition.list.begin | #6080b5 | — |
| markup.inline.raw | #be917f | — |
| punctuation.definition.tag | #808080 | — |
| meta.preprocessor.string | #be917f | — |
| meta.preprocessor.numeric | #8aa168 | — |
| meta.preprocessor, entity.name.function.preprocessor | #739abd | — |
| meta.structure.dictionary.key.python | #6ca1bc | — |
| meta.diff.header | #739abd | — |
| string.regexp | #a16362 | — |
| meta.template.expression | #adadad | — |
| support.type.vendored.property-name, support.type.property-name, source.css variable | #6ca1bc | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.alignof, keyword.operator.typeid, keyword.operator.alignas, keyword.operator.instanceof, keyword.operator.logical, keyword.operator.wordlike | #739abd | — |
| keyword.other.unit | #8aa168 | — |
| support.function.git-rebase | #6ca1bc | — |
| constant.sha.git-rebase | #8aa168 | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #adadad | — |
| variable.language | #739abd | — |
| entity.name.function, support.function, support.constant.handlebars, entity.name.operator.custom-literal | #a7a776 | — |
| support.class, support.type, entity.name.type, entity.name.namespace, entity.other.attribute, entity.name.scope-resolution, entity.name.class, storage.type.numeric, storage.type.byte, storage.type.boolean, storage.type.string, storage.type.uintptr, storage.type.error, storage.type.rune, storage.type.cs, storage.type.generic, storage.type.modifier, storage.type.variable, storage.type.annotation, storage.type.java, storage.type.object.array, storage.type.primitive.array, storage.type.primitive, storage.type.token | #59ab99 | — |
| storage.type | #739abd | — |
| meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class, punctuation.separator.namespace | #59ab99 | — |
| variable.other.constant, variable.other.enummember | #509fbe | — |
| meta.object-literal.key | #6ca1bc | — |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | #be917f | — |
| punctuation.definition.group.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.character-class.regexp, punctuation.character.set.begin.regexp, punctuation.character.set.end.regexp, keyword.operator.negation.regexp, support.other.parenthesis.regexp | #be917f | — |
| constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp | #a16362 | — |
| keyword.operator.or.regexp, keyword.control.anchor.regexp | #a7a776 | — |
| keyword.operator.quantifier.regexp | #cfbd98 | — |
| constant.character.escape | #cfbd98 | — |
| constant.character, constant.other.option | #739abd | — |
| entity.name.label | #c8c8c8 | — |
| keyword.control, source.cpp keyword.operator.new, keyword.operator.delete, keyword.other.using, keyword.other.directive.using, keyword.other.operator, entity.name.operator | #b890b4 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #739abd | — |
| string, meta.embedded.assembly | #be917f | — |
| meta.embedded, string meta.image.inline.markdown | #adadad | — |
| variable, meta.definition.variable.name, support.variable, entity.name.variable, constant.other.placeholder | #6ca1bc | — |
| storage.modifier, keyword.operator.noexcept | #739abd | — |
| keyword.operator | #adadad | — |
| keyword | #739abd | — |
| storage | #739abd | — |
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}!`;
}
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}!`;
}