Blackboard Pro
Publisher: croccifixioThemes in package: 1
An extension of the default Blackboard theme including a themed workbench and more colorisation of snippets
An extension of the default Blackboard theme including a themed workbench and more colorisation of snippets
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, comment.block.documentation.js | #B0B8F7BB | italic |
| support.function | #6CA9FF | — |
| storage.type | #F8E359 | italic |
| support.class | — | bold |
| support.class.component | #6CA9FF | normal |
| punctuation.definition.template-expression | #6CD649 | bold |
| meta.template.expression | #FDC64D | — |
| meta.brace, punctuation.definition, punctuation.section | #B0B8F7 | — |
| constant.language.boolean | #FDC64D | — |
| variable.other.object | — | bold |
| variable.object.property | #C8C8FF | bold |
| meta.import variable.other | #C8C8FF | bold |
| none | #F86F65 | — |
| keyword | #F8E359 | — |
| string, string.regexp keyword, string.regexp punctuation.definition | #6CD649 | — |
| entity.name.function | #F86F65 | — |
| meta.definition entity.name.function, meta.arrow entity.name.function | — | underline |
| entity.other.attribute-name | #B0B8F7 | italic |
| entity.name.tag, support.type.property-name | #6CA9FF | — |
| source.css keyword.other.unit | #C8C8FF | — |
| support.constant.property-value | #C8C8FF | italic |
| meta.object-literal.key | — | italic |
| constant.numeric | #FDC64D | — |
| meta.tag.sgml.doctype | #F86F65 | italic |
| meta.tag.sgml.doctype punctuation.definition.tag | #C8C8FF | — |
| meta.tag.sgml.doctype variable.language.documentroot | #FDC64D | — |
| entity.name.tag.css | #FDC64D | — |
| meta.property-name.css | #6CA9FF | — |
| markup.quote | #F8E359 | italic |
| markup.heading | #F86F65 | bold |
| markup.italic | — | italic |
| markup.bold | — | bold |
| meta.separator | #F86F65 | — |
| meta.link.reference.def | #F8E359 | — |
| beginning.punctuation.definition.list | #6CD649 | — |
| string.other.link.title | #6CD649 | — |
| markup.underline.link | #C8C8FF | — |
| markup.inline.raw | #FDC64D | — |
| entity.name.type.org | #F86F65 | bold |
| punctuation.definition.tag.org | #B0B8F766 | — |
| block.language.org | #6CD64999 | italic |
| support.type.property-name.org | #F86F65 | — |
| meta.structure.dictionary.value.org | #6CD649 | — |
| punctuation.definition.block.sequence.item | #6CD649 | — |
| string.quoted.double.yaml, string.quoted.single.yaml | #6CD649 | — |
| string.unquoted.plain.out.yaml | #C8C8FF | — |
| entity.name.section.group-title.ini, punctuation.definition.entity.ini | #C8C8FF | — |
| support.type.property-name.json | #F8E359 | italic |
| constant.language.json | #C8C8FF | italic |
| string.quoted.double.json | #6CD649 | — |
| meta.parameters.ts | #C8C8FF | bold |
| entity.name.type.alias, entity.name.type.interface | #6CA9FF | underline |
| meta.type, support.type, meta.return.type, entity.name.type | #6CA9FF | italic |
| punctuation.definition.typeparameters | #C8C8FF | — |
| meta.decorator.js, meta.decorator.js meta.function-call entity.name.function | #6CA9FF | — |
| storage.modifier.js | #6CA9FF | — |
| meta.function-call entity.name.function.js, meta.function-call entity.name.function.ts, support.function.math, meta.function-call entity.name.function.tsx, support.function | #F86F65 | italic |
| variable.other.jsdoc | #C8C8FF | — |
| variable.other.jsdoc source.embedded.js | #6CD649 | — |
| constant.other.symbol.elixir | #6CD649 | — |
| variable.other.constant.elixir | #6CA9FF | — |
| variable.other.readwrite.module.elixir | #F86F65 | — |
| comment.wildcard.elixir | — | bold |
| entity.name.function.elixir | — | italic |
| keyword.other.rust, storage.modifier.visibility.rust, keyword.other.fn.rust, keyword.operator.misc.rust | #F8E359 | — |
| meta.attribute.rust, keyword.operator.sigil.rust | #F86F65 | — |
| meta.type_params.rust, entity.name.type.rust, storage.class.std.rust, storage.type.core.rust | #FDC64D | — |
| entity.name.function.rust, storage.type.rust | #6CA9FF | — |
| source.rescript variable.annotation | #6CA9FF | — |
| source.rescript entity.name.namespace | #6CA9FF | underline |
| source.rescript variable.function | #F86F65 | italic |
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}!`;
}