BalanceD Syntax Theme
Publisher: Sean Trane SciarroneThemes in package: 1
BalanceD, a syntax theme with semantic purpose.
BalanceD, a syntax theme with semantic purpose.
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 |
|---|---|---|
| — | #F8F8F8 | — |
| string source, text source | — | — |
| comment, comment punctuation | #777777 | — |
| variable, support.other.variable | #DBAF00 | — |
| variable punctuation | #FFDD55 | — |
| constant.numeric | #A3D1FF | — |
| constant.language, support.constant, constant.character | #A3D1FF | — |
| keyword | #CC3333 | — |
| keyword.operator | #FFFFFF | — |
| keyword.other.special-method | #996666 | — |
| storage, storage.type | #D9342B | — |
| entity.name.function, meta.function-call, support.function | #CC6633 | — |
| entity.name.class, entity.name.type.class | #CC6633 | — |
| entity.other.inherited-class | #CC6633 | — |
| support.type, support.class | #E3832D | |
| ----------------------------------- | — | — |
| variable.parameter | #FFFFFF | — |
| punctuation.section.embedded | #999999 | — |
| keyword.other.unit | #A3D1FF | — |
| constant.other.color | #A3D1FF | — |
| meta.block-level | — | — |
| ----------------------------------- | — | — |
| invalid | #FFFFFF | — |
| invalid.deprecated | #999999 | italic underline |
| invalid.illegal | #FFFFFF | — |
| ----------------------------------- | — | — |
| string | #99CC66 | — |
| string punctuation | #99CC33 | — |
| string variable | #FFDD55 | — |
| string constant, constant.other.symbol | #77AADD | — |
| string.other.link, markup.underline.link.php, keyword.other.phpdoc.php, support.function.url.css | #3366CC | underline |
| constant.character.escape | #77AADD | — |
| string.regexp | #99CC66 | — |
| string.regexp constant.character.escape, string.regexp source.ruby.embedded, string.regexp string.regexp.arbitrary-repitition | #CC6633 | — |
| ----------------------------------- | — | — |
| meta.tag.sgml.doctype, meta.tag.sgml.doctype entity, meta.tag.sgml.doctype string, meta.tag.preprocessor.xml, meta.tag.preprocessor.xml entity, meta.tag.preprocessor.xml string | #777777 | — |
| declaration.tag, declaration.tag entity | #FFCC66 | — |
| declaration.tag.inline, declaration.tag.inline entity | #AC885B | — |
| source entity.name.tag, source entity.other.attribute-name | #FFCC66 | — |
| meta.tag, meta.tag entity | — | |
| meta.tag.inline, meta.tag.inline entity | — | |
| ----------------------------------- | — | — |
| entity.name.tag | #aa9786 | — |
| punctuation.definition.tag | #736357 | — |
| meta.tag string punctuation | #c7b299 | — |
| entity.other.attribute-name | #c7b299 | — |
| meta.tag string.quoted, meta.tag string.quoted constant.character.entity | #99CC66 | — |
| constant.character.entity | #6699CC | — |
| ----------------------------------- | — | — |
| meta.selector.css entity.name.tag, keyword.control.html.elements | #996699 | — |
| meta.selector.css entity.other.attribute-name.pseudo-element, meta.selector.css entity.other.attribute-name.pseudo-class, support.function.misc.css | #996699 | — |
| meta.selector.css entity.other.attribute-name.id, meta.selector.css entity.other.attribute-name.class, meta.selector.css entity punctuation, entity.other.attribute-name.class | #FF99FF | — |
| meta.property-name, support.type.property-name | #6699CC | — |
| meta.property-value constant.numeric, meta.property-value constant, meta.property-value keyword, meta.selector.css string, meta.attribute-selector.css string, keyword.unit.css | #A3D1FF | — |
| variable.parameter.misc.css | #FFFFFF | underline |
| meta.at-rule | #FFFF66 | — |
| meta.property-value support.constant.named-color.css, meta.property-value constant | #DDAADD | — |
| meta.property-value support.constant.color, meta.property-value support.constant.other | #FFFFFF | — |
| meta.constructor.argument.css | #8F9D6A | — |
| ----------------------------------- | — | — |
| entity.other.less.mixin | #98E124 | — |
| variable.declaration.less | #DBAF00 | — |
| ----------------------------------- | — | — |
| meta.class.js, support.class.js, support.function.event-handler.js, entity.name.type.instance.js | #CC3366 | — |
| support.constant.js, support.constant.dom.js, constant.numeric.js, constant.character.escape.js, constant.language.js, constant.language.boolean.true.js, constant.language.boolean.false.js | #FF99CC | — |
| keyword.control.js, keyword.other.js | #FF66FF | — |
| meta.function.js, meta.function.prototype.js, support.function.js, support.function.dom.js, entity.name.function.js | #FF3399 | — |
| keyword.operator.js, keyword.operator.new.js | #FFDD55 | — |
| storage.type.function.js, storage.type.js, storage.modifier.js | #B21262 | — |
| punctuation.terminator.statement.js, meta.delimiter.object.comma.js, meta.delimiter.method.period.js, meta.brace.curly.js, meta.brace.round.js, meta.brace.square.js | #FF99FF | — |
| variable.parameter.function.js, variable.language.js | #DBAF00 | — |
| string.quoted.single.js, string.quoted.double.js, string.regexp.js, punctuation.definition.string.begin.js, punctuation.definition.string.end.js, punctuation.definition.parameters.begin.js, punctuation.definition.parameters.end.js | #9995bd | — |
| ----------------------------------- | — | — |
| markup.changed | #FFFFFF | — |
| markup.deleted | #444444 | — |
| markup.error | #990000 | — |
| markup.traceback | — | italic |
| markup.inserted | — | underline |
| markup.underline | — | underline |
| markup.fenced_code.block.markdown | — | — |
| markup.output, markup.raw, | #FFCC66 | — |
| markup.raw.inline, markup.inline.raw | #FFCC66 | — |
| markup.prompt | #FFFFFF | — |
| markup.list | #FFFFFF | — |
| markup.heading | #FF99CC | — |
| heading.1.markdown | — | bold underline |
| heading.2.markdown | — | bold |
| markup.italic, markup.italic.markdown | — | italic |
| markup.strong, markup.bold.markdown | — | bold |
| markup.bold_italic, markup.bold_italic.markdown | — | bold italic |
| markup.underline.link.markdown | #66B3FF | underline |
| string.other.link.title.markdown, string.other.link.description.markdown | #A3D1FF | normal |
| meta.link.inet.markdown markup.underline.link.markdown, meta.link.email.lt-gt.markdown markup.underline.link.markdown | #A3D1FF | — |
| markup.quote, markup.quote.markdown | — | — |
| meta.separator.markdown | #FF99CC | — |
| ----------------------------------- | — | — |
| meta.diff.range, meta.diff.index, meta.separator | #F8F8F8 | italic |
| meta.diff.header.from-file | #CCCCCC | — |
| meta.diff.header.to-file | #F8F8F8 | — |
| ----------------------------------- | — | — |
| meta.preprocessor.c | #999999 | — |
| meta.preprocessor.c keyword | #CC3333 | — |
| ----------------------------------- | — | — |
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}!`;
}