DarkBintCode
Publisher: MurriouzThemes in package: 1
Another VSCode theme
Another VSCode theme
Full workbench mockup using this variant's colors and tokenColors.
Loading...
TextMate scopes and font styles (syntax highlighting rules).
| scope | foreground | fontStyle |
|---|---|---|
| — | #d4d7d6 | — |
| string.quoted.double.block, string.docstring, string.quoted.single.block | #008aff | — |
| comment | #525868 | italic |
| string, meta.string.function-call | #008aff | — |
| string.embedded.source, string.punctuation.definition, string.punctuation.definition.function-call | #008aff | — |
| string.embedded.source.variable | #db84f4 | — |
| string.embedded.punctuation, string.function-call.punctuation | #ff4c98 | — |
| string.regexp | #6dba09 | — |
| constant.numeric, function-call.constant.numeric, meta.group.braces.square.numeric | #00bfff | — |
| meta.using, support.other.namespace | #db84f4 | — |
| storage | #ffffff | — |
| storage.type | #ff4c98 | — |
| storage.modifier | #008aff | — |
| entity.name.class, entity.name.type.class | #ffa500 | — |
| entity.name.function, entity.name.function.braces.round, meta.function.mutator | #6dba09 | — |
| meta.function-call, meta.method-call | #6dba09 | — |
| meta.function-call.punctuation.definition, meta.method-call.punctuation.definition | #00bfff | — |
| meta.function.braces.round, meta.method.braces.round | #d4d7d6 | — |
| function.variable.other, method.variable.other | #00bfff | italic |
| variable.other.external-symbol | #BBDFDD | — |
| variable, punctuation.definition.variable | #db84f4 | — |
| variable.this | #ffee44 | — |
| variable.other, meta.group.braces.square.variable.other | #ffa500 | — |
| variable.other.property | #8877ff | — |
| variable.other.property.static | #ff4c98 | — |
| constant, method-call.constant | #6dba09 | — |
| constant.object.key | #db84f4 | — |
| variable.parameter, variable.assignment | #00bfff | italic |
| meta.at-rule.font-face.css meta.property-list.css meta.property-value.css variable.parameter.misc.css | #6dba09 | — |
| keyword | #db84f4 | — |
| keyword.control | #db84f4 | — |
| keyword.operator | #db84f4 | — |
| keyword.other | #ff4c98 | — |
| entity.name.structure | #22ff99df | — |
| entity.name.type | #55b5db | — |
| invalid | #cd3f45 | — |
| invalid.deprecated | #E6002B | — |
| string source | #6dba09 | — |
| meta.tag.inline.any.html entity.name.tag.inline.any.html | #00bfff | — |
| entity.name.tag | #00bfff | — |
| meta.tag.inline.any.html entity.other.attribute-name | #6dba09 | — |
| entity.other.attribute-name.class | #008aff | — |
| meta.tag.block.any.html, meta.tag.inline.any.html, meta.tag.other.html, meta.tag.any.html | #db84f4 | — |
| meta.tag.other.html meta.attribute-with-value.id.html punctuation.separator.key-value.html, meta.tag.block.any.html meta.attribute-with-value.id.html punctuation.separator.key-value.html | #858d8a | — |
| meta.tag.any.html string.quoted.double.html constant.character.entity.html, meta.tag.any.html string.quoted.double.html constant.character.entity.html punctuation.definition.entity.html | #00bfff | — |
| meta.tag.block.any.html entity.other.attribute-name.html, storage.type.attr | #6dba09 | — |
| meta.tag.block.any.html entity.name.tag.block.any.html | #00bfff | — |
| meta.tag.any.html entity.name.tag.html | #00bfff | — |
| entity.other.attribute-name.localname | #DECD16 | — |
| meta.tag.xml entity.name.tag.localname.xml | #00bfff | — |
| string.quoted.double.html, string.quoted.double.html punctuation.definition.string.begin.html, string.quoted.double.html punctuation.definition.string.end.html, string.quoted.single.html | #008aff | — |
| text.html entity.name.tag.style, text.html source.css punctuation.definition.tag | #A883FF | — |
| meta.tag.sgml.doctype, entity.name.tag.doctype | #6dba09 | italic |
| meta.tag.sgml.doctype.xml, declaration.sgml.html declaration.doctype, declaration.sgml.html declaration.doctype entity, declaration.sgml.html declaration.doctype string, declaration.xml-processing, declaration.xml-processing entity, declaration.xml-processing string, doctype | #6dba09 | — |
| meta.tag.sgml.doctype.xml keyword.doctype.xml | #6dba09 | — |
| declaration.tag, declaration.tag entity | #00bfff | — |
| meta.tag.other.html entity.name.tag.other.html | #00bfff | — |
| entity.other.attribute-name.id.html | #bb3322 | — |
| meta.tag.other.html entity.other.attribute-name.html, meta.tag.any.html entity.other.attribute-name.html | #ff4c98 | — |
| punctuation.definition.tag | #008aff | — |
| punctuation.definition.tag.end, punctuation.definition.tag.begin | #008aff | — |
| constant.character.entity.html, constant.character.entity.html punctuation | #5eebb8 | — |
| source.php.embedded.block.html, punctuation.definition.array.begin.php, punctuation.definition.array.end.php, punctuation.definition.parameters.begin.php, punctuation.definition.parameters.end.php | #d4d7d6 | — |
| meta.attribute-selector.css | #9FCA56 | — |
| meta.selector.css meta.attribute-selector.css entity.other.attribute-name.attribute.css | #00bfff | — |
| source.css meta.attribute-selector keyword.operator.comparison | #673000 | — |
| meta.property-value.css keyword.operator.less | #cd3f45 | |
| meta.property-list.css meta.property-name.css | #db84f4 | — |
| entity.other.attribute-name.pseudo-element.css | #ff4c98 | — |
| entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.tag.pseudo-class | #ff4c98 | — |
| meta.selector.css | #db84f4 | — |
| keyword.other.unit | #db84f4 | — |
| meta.property-value.css constant.numeric.css keyword.other.unit.css | #9fca56 | — |
| parameter.less constant.numeric.css keyword.other.unit.css | #d4d7d6 | — |
| keyword.other.important.css | #6dba09 | italic |
| meta.at-rule.css keyword.control.at-rule.css | #9fca56 | — |
| meta.at-rule.css keyword.control.at-rule.css punctuation.definition.keyword.css, meta.at-rule.import.css keyword.control.at-rule.import.css punctuation.definition.keyword.css | #db84f4 | — |
| meta.property-value.css parameter.less variable.parameter.misc.css | #9fca56 | — |
| meta.property-value.css parameter.less | #a074c4 | — |
| meta.selector.css entity.name.tag.css | #db84f4 | — |
| meta.selector.css meta.attribute-selector.css punctuation.separator.operator.css, meta.selector.css meta.attribute-selector.css punctuation.definition.entity.css, meta.selector.css meta.attribute-selector.css | #db84f4 | — |
| entity.name.tag.wildcard, entity.other.attribute-name.universal | #db84f4 | — |
| meta.selector.css entity.other.attribute-name.id, entity.other.attribute-name.id.css punctuation, entity.other.attribute-name.id.css | #bb3322 | — |
| support.type.property-name | #db84f4 | — |
| meta.property-group support.constant.property-value.css, meta.property-value support.constant.property-value.css | #cd3f45 | — |
| meta.property-value support.constant.named-color.css, meta.property-value constant | #cd3f45 | — |
| meta.constructor.argument.css, meta.constructor.argument | #d7503c | — |
| meta.property-list.css meta.property-value.css constant.other.color.rgb-value.css punctuation.definition.constant.css | #ffa500 | — |
| variable.other.less, variable.declaration.less | #9fca56 | — |
| entity.other.less.mixin | ##55b5db | — |
| source.css.less keyword.unit.css | #5eebb8 | — |
| markup.heading.markdown punctuation.definition.heading.markdown, markup.heading.markdown entity.name.section.markdown | #db84f4 | bold |
| markup.raw.inline, markup.raw.inline.punctuation.definition | #008aff | — |
| markup.punctuation.list | #8877ff | — |
| text.find-in-files | #84a4aa | — |
| entity.name.filename.find-in-files | #9FCA56 | — |
| constant.numeric.line-number.match.find-in-files | #cd3f45 | — |
| source.diff | #d4d7d6 | — |
| meta.diff.header.from-file, meta.diff.header.from-file punctuation.definition.from-file.diff | #41535b | — |
| meta.diff.header.to-file, meta.diff.header.to-file punctuation.definition.to-file.diff | #41535b | — |
| markup.deleted.diff, markup.deleted.diff punctuation.definition.inserted.diff | #cd3f45 | — |
| markup.inserted.diff, punctuation.definition.inserted.diff | #9FCA56 | — |
| meta.diff.range.unified, meta.diff.range.unified meta.toc-list.line-number.diff, meta.diff.range.unified punctuation.definition.range.diff | #A074C4 | italic |
| meta.brace.curly.round | #858d8a | — |
| meta.brace.round | #d4d7d6 | — |
| meta.group.braces.square | #008aff | — |
| punctuation.definition.string -meta.tag | #008aff | — |
| meta.delimiter | #858d8a | bold |
| punctuation.terminator | #858d8a | bold |
| meta.delimiter.method.period | #ffffff | bold |
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}!`;
}