Boundless gray (Theme)
Publisher: d3ciph3r3rThemes in package: 2
Simple dark gray theme
Simple dark gray 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 |
|---|---|---|
| storage.type, storage.modifier, meta.tag, meta.tag.sgml, meta.use.php, punctuation, punctuation.definition.tag, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.section.embedded, keyword, keyword.control, keyword.other.template, keyword.other.substitution, keyword.other.unit, keyword.other, source.css support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.less support.type.property-name, source.stylus support.type.property-name, source.postcss support.type.property-name, source.sass keyword.control, entity.name, entity.name.tag, entity.other.attribute-name, entity.other.attribute-name.class, constant.character, constant.escape, constant.language, constant.other.color, markup.deleted.git_gutter, markup.changed.git_gutter, support.constant, support.type, support.class, support.orther.namespace.use.php, support.other.namespace.php, support.type.sys-types, variable.parameter, variable.language, text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name, source.json meta.structure.dictionary.json support.type.property-name.json | #f07178 | — |
| variable, variable.function, variable.import.parameter.js, variable.other.class.js, variable.function.constructor, entity.name.function, entity.other.inherited-class, entity.name.module.js, entity.name.method.js, meta.function-call, meta.block variable.other, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js, meta.class-method.js entity.name.function.js, support.function, keyword.other.special-method, constant.other.symbol, constant.other.key, constant.character.escape, markup.heading, markup.inserted.git_gutter, string.regexp, tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js, source.js constant.other.object.key.js string.unquoted.label.js | #BBB | — |
| string, string.other.link, string constant.other.placeholder, support.other.variable, constant.numeric, constant.other.color, meta.jsx.children.js | #9B96A8 | — |
| comment, punctuation.definition.comment | #7C6F64 | italic |
| invalid, invalid.illegal | #FFF | — |
| markup.inserted | #0af | — |
| markup.deleted | #0af | — |
| markup.changed | #0af | — |
| *url*, *link*, *uri* | — | underline |
| text.html.markdown, punctuation.definition.list_item.markdown | #BBB | — |
| text.html.markdown markup.inline.raw.markdown | #BBB | — |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #BBB | — |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #f07178 | — |
| markup.italic | #f07178 | italic |
| markup.bold, markup.bold string | #f07178 | bold |
| markup.bold markup.italic, markup.italic markup.bold, markup.quote markup.bold, markup.bold markup.italic string, markup.italic markup.bold string, markup.quote markup.bold string | #f07178 | bold |
| markup.underline | #F78C6C | underline |
| markup.quote punctuation.definition.blockquote.markdown | #65737E | — |
| markup.quote | — | italic |
| string.other.link.title.markdown | #82AAFF | — |
| string.other.link.description.title.markdown | #9B96A8 | — |
| constant.other.reference.link.markdown | #FFCB6B | — |
| markup.raw.block | #9B96A8 | — |
| markup.raw.block.fenced.markdown | #00000050 | — |
| punctuation.definition.fenced.markdown | #00000050 | — |
| markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end | #EEFFFF | — |
| variable.language.fenced.markdown | #65737E | — |
| meta.separator | #65737E | bold |
| markup.table | #EEFFFF | — |
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}!`;
}