Daobeam
Publisher: Mike FlaniganThemes in package: 1
Low contrast, light theme
Low contrast, light theme
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 |
|---|---|---|
| constant.numeric | #0074C1 | — |
| constant.language | #0074C1 | italic |
| entity.other.attribute-name | #880088 | — |
| meta.tag.sgml.doctype.html | #880000 | — |
| entity.name.tag.structure.any.html, entity.name.tag, punctuation.definition.tag | #000088 | — |
| comment | #005800 | |
| comment.block.html | #005800 | — |
| entity.name.selector | #872D05 | — |
| invalid | #959595 | italic bold |
| string | #880000 | — |
| string.regexp, constant.regexp | #880000 | — |
| string.regexp.js punctuation.definition.string.begin.js, string.regexp.js punctuation.definition.string.end.js | #0074C1 | bold |
| string.regexp.js keyword.operator.quantifier.regexp | #171717 | bold |
| keyword.control | #000088 | — |
| keyword.operator | #171717 | — |
| keyword.operator.expression.delete.js | #000000 | italic |
| variable | #880000 | — |
| support.function | #171717 | — |
| storage.type, storage.type.function | #000088 | — |
| entity.name.function, entity.name.type, variable.other.constant.object, support.class.console, support.class | #880000 | bold |
| entity.name.function, support.function | #880000 | |
| entity.name.function | #880000 | — |
| support.class.builtin, support.constant.math | #171717 | bold |
| keyword.operator.new | #171717 | |
| variable.language.this | #171717 | bold |
| variable.parameter | #171717 | — |
| variable.other.readwrite, variable.other.object | #880088 | — |
| variable.other.property | #171717 | — |
| meta.array.literal variable.other.readwrite | #171717 | — |
| storage.type.class, storage.modifier | #000088 | — |
| entity.name.type.class, variable.other.readwrite.alias | #880000 | bold |
| entity.other.inherited-class | #880000 | — |
| entity.name.type.module | #171717 | — |
| keyword.control.export, keyword.control.default | #171717 | bold |
| support.type.object.module | #000088 | bold |
| meta.object-literal.key | #171717 | — |
| support.function.console.js | #171717 | |
| support.class.component.js | #000088 | |
| entity.name.tag.localname.xml | #000088 | — |
| entity.name.variable.local.cs | #880088 | — |
| storage.modifier.cs | #171717 | — |
| entity.name.function.cs | #880000 | bold |
| entity.name.type.namespace.cs | #000088 | bold |
| keyword.type.cs | #000088 | |
| keyword.other.class.cs | #171717 | bold |
| entity.name.type.class.cs | #880000 | bold |
| storage.type.cs | #000088 | |
| storage.type.class.python | #000088 | — |
| entity.name.type.class.python | #880000 | — |
| variable.language.special.self.python | #171717 | bold |
| meta.function-call.generic.python | #880000 | — |
| support.type.property-name.json | #000088 | — |
| storage.type.js, storage.type.function.js | #000088 | — |
| entity.name.function.js, entity.name.type.js, variable.other.constant.object.js, support.class.console.js, support.class.js | #880000 | bold |
| meta.function-call.js entity.name.function.js, meta.function-call.js support.function.js | #171717 | |
| source.js meta.var.expr.js meta.function-call.js support.function.js | #171717 | |
| meta.object-literal.key.js entity.name.function.js | #880000 | — |
| support.class.builtin.js, support.constant.math.js | #171717 | bold |
| keyword.operator.new.js | #171717 | |
| variable.language.this.js | #171717 | bold |
| variable.parameter.js | #171717 | — |
| variable.other.readwrite.js, variable.other.object.js | #880088 | — |
| variable.other.constant.js | #880088 | |
| variable.other.property.js | #171717 | — |
| meta.array.literal.js variable.other.readwrite.js | #171717 | — |
| source.js meta.class.js storage.type.class.js, source.js meta.class.js storage.modifier.js | #000088 | — |
| source.js meta.class.js entity.name.type.class.js, source.js meta.import.js variable.other.readwrite.alias.js | #880000 | bold |
| source.js meta.import.js constant.language.import-export-all.js | #880000 | |
| source.js meta.class.js entity.other.inherited-class.js | #880000 | — |
| source.js meta.class.js entity.name.type.module.js | #171717 | — |
| support.function.promise.js | #008888 | italic bold |
| support.class.promise.js | #008888 | bold |
| keyword.control.export.js | #171717 | |
| source.js meta.export.default.js keyword.control.export.js, source.js meta.export.default.js keyword.control.default.js | #171717 | bold |
| source.js support.type.object.module.js | #000088 | bold |
| meta.object-literal.key.js | #171717 | — |
| source.js meta.function.js meta.block.js meta.var.expr.js string.template.js | #171717 | — |
| comment.block.documentation.js, comment.block.documentation.js entity.name.type.instance.jsdoc, entity.name.type.instance.jsdoc, comment.block.documentation.js storage.type.class.jsdoc, comment.block.documentation.js variable.other.object.tsx, comment.block.documentation.js variable.other.readwrite.tsx, comment.block.documentation.js variable.other.property.tsx, comment.block.documentation.js variable.other.jsdoc, comment.block.documentation.js entity.name.function.tsx, comment.block.documentation.js string.quoted.single.tsx, comment.block.documentation.js string.quoted.double.tsx, comment.block.documentation.js punctuation.separator.key-value.tsx | #005800 | |
| comment.block.documentation.js storage.type.class.jsdoc | #005800 | bold |
| entity.name.tag.css | #880000 | bold |
| entity.other.attribute-name.class.css, entity.other.attribute-name.class.scss, entity.other.attribute-name.class.mixin.css, entity.other.attribute-name.class.mixin.scss, entity.other.attribute-name.id.css, entity.other.attribute-name.id.scss, entity.other.attribute-name.parent-selector.css, entity.other.attribute-name.parent-selector.scss, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-class.scss, entity.other.attribute-name.pseudo-element.css, entity.other.attribute-name.pseudo-element.scss, entity.other.attribute-name.attribute.css, entity.other.attribute-name.attribute.scss, entity.other.attribute-name.css, entity.other.attribute-name.scss | #880000 | — |
| support.type.property-name.css, meta.property-name.css, meta.property-list.css, source.css, meta.property-name.scss, meta.property-list.scss, source.css.scss, meta.property-list entity.name.tag.css | #880088 | |
| support.constant.property-value.css, meta.property-value.scss, meta.property-list.scss, source.css.scss, string.quoted.single.css, meta.property-value.css, meta.property-list.css, source.css, string.quoted.single.scss, variable.scss, source.css.scss, support.constant.font-name.css, constant.numeric.css, keyword.other.unit.px.css | #000088 | — |
| variable.scss, variable.css | #000088 | bold |
| keyword.operator.logical.only.media.css, meta.at-rule.media.header.css, source.css, keyword.control.operator.css.scss, meta.at-rule.media.scss, source.css.scss | #171717 | — |
| keyword.control.at-rule | #171717 | bold |
| markup.heading.markdown entity.name.section.markdown | #880000 | bold |
| markup.heading.markdown punctuation.definition.heading.markdown | #880000 | — |
| text.html.markdown meta.paragraph.markdown markup.inline.raw.string.markdown, text.html.markdown meta.paragraph.markdown markup.bold.markdown, text.html.markdown meta.paragraph.markdown markup.italic.markdown | #880000 | — |
| text.html.markdown meta.paragraph.markdown markup.bold.markdown | — | bold |
| text.html.markdown meta.paragraph.markdown markup.italic.markdown | — | italic |
| text.html.markdown meta.paragraph.markdown markup.bold.markdown markup.italic.markdown | — | italic bold |
| text.html.markdown meta.separator.markdown, text.html.markdown meta.paragraph.markdown markup.heading.setext.1.markdown, text.html.markdown meta.paragraph.markdown markup.heading.setext.2.markdown | #880000 | — |
| text.html.markdown markup.quote.markdown beginning.punctuation.definition.quote.markdown, text.html.markdown markup.quote.markdown meta.paragraph.markdown | #000088 | italic |
| markup.list.numbered.markdown meta.paragraph.markdown markup.bold.markdown, markup.list.unnumbered.markdown meta.paragraph.markdown markup.bold.markdown | — | bold |
| markup.list.numbered.markdown meta.paragraph.markdown markup.italic.markdown, markup.list.unnumbered.markdown meta.paragraph.markdown markup.italic.markdown | — | italic |
| string.other.link.title.markdown, string.other.link.description.markdown | #880000 | bold |
| markup.underline.link.markdown, constant.other.reference.link.markdown, punctuation.definition.constant.markdown, punctuation.definition.string.begin.markdown, text.html.markdown meta.paragraph.markdown meta.image.reference.markdown string.other.link.description.markdown | #0074C1 | |
| markup.fenced_code.block.markdown | #000088 | — |
| source.asm.x86_64 constant.language.registers.general-purpose | — | |
| support.function.builtin.shell | #171717 | — |
| source.shell meta.scope.while-loop.shell string.quoted.double.shell | #880000 | — |
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}!`;
}