Crucible Theme
Publisher: Setu DesignThemes in package: 2
A meticulously crafted set of dark themes for VSCode based on Setu’s brand colours
A meticulously crafted set of dark themes for VSCode based on Setu’s brand colours
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 | #7a1cfc | italic |
| variable, string constant.other.placeholder | #f0e5ff | — |
| constant.other.color | #ffffff | — |
| invalid, invalid.illegal | #ff5370 | — |
| keyword, storage.type, storage.modifier | #c792ea | — |
| keyword.control, constant.other.color, punctuation, meta.tag, 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.other.template, keyword.other.substitution | #89ddff | — |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #f07178 | — |
| entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method | #82aaff | — |
| meta.block variable.other | #f07178 | — |
| support.other.variable, string.other.link | #f07178 | — |
| constant.numeric, constant.language, support.constant, constant.character, constant.escape, variable.parameter, keyword.other.unit, keyword.other | #f78c6c | — |
| string, constant.other.symbol, constant.other.key, entity.other.inherited-class, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js | #c3e88d | — |
| entity.name, support.type, support.class, support.other.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types | #ffcb6b | — |
| support.type | #b2ccd6 | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #ff5370 | — |
| variable.language | #ff5370 | italic |
| entity.name.method.js | #82aaff | italic |
| meta.class-method.js entity.name.function.js, variable.function.constructor | #82aaff | — |
| entity.other.attribute-name | #c792ea | — |
| markup.inserted | #c3e88d | — |
| markup.deleted | #ff5370 | — |
| markup.changed | #c792ea | — |
| string.regexp | #89ddff | — |
| constant.character.escape | #89ddff | — |
| *url*, *link*, *uri* | — | underline |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #82aaff | italic |
| source.js constant.other.object.key.js string.unquoted.label.js | #ff5370 | italic |
| 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 | #b2ccd6 | — |
| entity.other.attribute-name.class | #82aaff | — |
| entity.other.attribute-name.id.css, punctuation.definition.entity.css | #1482ff | bold |
| support.type.property-name.css, meta.property-name.css, punctuation.definition.entity.css | #ffcb6b | — |
| variable.css, variable.scss, meta.property-list.css | #36a168 | bold |
| punctuation.separator.key-value.css, punctuation.section.property-list.end.bracket.curly.css, punctuation.section.property-list.begin.bracket.curly.scss, source.css.scss | #974efd66 | — |
| keyword.other.important.scss, keyword.other.important.css | #fd4e4e | italic |
| source.go | #ffcb6b | — |
| entity.name.import.go | #c3e88d | — |
| entity.name.type.go | #f07178 | — |
| punctuation.definition.begin.bracket.curly.go, punctuation.definition.end.bracket.curly.go, punctuation.definition.begin.bracket.round.go, punctuation.definition.end.bracket.round.go | #b077ff | — |
| keyword.control.go | #ff5370 | — |
| keyword.type.go | #16bc77 | bold |
| keyword.function.go | #1482ff | bold |
| entity.name.package.go | #3794ff | bold |
| constant.other.placeholder.go | #b2ccd6 | bold |
| variable.other.assignment.go | #1482ff | bold |
| keyword.const.go | #ff5370 | bold |
| meta.preprocessor.haskell | #ff5370 | — |
| variable.other.member.definition.haskell | #36a168 | — |
| constant.other.haskell | #82aaff | — |
| variable.other.generic-type.haskell | #974efd | — |
| text.html.derivative | #f0e5ff99 | — |
| variable.other.object.java | #ff5370 | — |
| storage.modifier.import.java | #16bc77 | — |
| variable.other.definition.java | #ffc022 | — |
| storage.type.java | #f07178 | — |
| meta.method-call.java | #c3e88d | — |
| variable.other.object.property.java | #1482ff | — |
| meta.method.body.java | #b2ccd6 | — |
| variable.other.constant.js | #ffc022 | bold |
| meta.object-literal.key.js | #16bc77 | — |
| variable.other.constant.property.js, variable.other.object.js | #ff5370 | — |
| keyword.operator.assignment.js | #f0e5ff99 | — |
| keyword.control.conditional.js | — | italic bold |
| support.type.property-name.json | #c792ea | — |
| source.json meta.structure.dictionary.json | #c792ea | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json | #ffcb6b | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json | #f78c6c | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json | #ff5370 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json | #c17e70 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json | #82aaff | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json | #f07178 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json | #c792ea | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json | #c3e88d | — |
| source.kotlin | #36a168 | bold |
| meta.block.kotlin | #1482ff | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #f0e5ff | — |
| meta.paragraph.markdown | #f0e5ff99 | — |
| text.html.markdown markup.inline.raw.markdown, markup.inline.raw.string.markdown | #c3e88d | — |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #65737e | — |
| markdown.heading | #ffc022 | bold |
| markup.heading.markdown punctuation.definition.heading.markdown, entity.name.section.markdown | #82aaff | bold |
| string.other.link.title.markdown | #f07178 | — |
| markup.underline.link.markdown | #1482ff | — |
| string.other.link.description.title.markdown | #c792ea | — |
| constant.other.reference.link.markdown | #ffcb6b | — |
| markup.raw.block.fenced.markdown | #00000050 | — |
| markup.raw.block.fenced.markdown | #00000050 | — |
| punctuation.definition.fenced.markdown | #00000050 | — |
| markup.fenced_code.block.markdown | #16bc77 | — |
| markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end | #f0e5ff | — |
| variable.language.fenced.markdown | #65737e | — |
| meta.separator | #65737e | bold |
| markup.quote punctuation.definition.blockquote.markdown | #65737e | — |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #ffcb6b | italic |
| 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 | — | italic |
| markup.raw.block | #c792ea | — |
| markup.table | #f0e5ff | — |
| variable.other.class.php, keyword.control.return.php | #1482ff | — |
| constant.other.php | #82aaff | — |
| variable.other.php | #ffc022 | bold |
| variable.other.global.safer.php | #f07178 | bold |
| constant.other.class.php | #f78c6c | — |
| variable.other.property.php | #36a168 | — |
| punctuation.definition.variable.php | #f07178 | — |
| punctuation.definition.string.begin.php, punctuation.definition.string.end.php, punctuation.separator.delimiter.php, string.quoted.single.php | #c792ea | — |
| keyword.operator.key.php, keyword.operator.comparison.php | #ff5370 | — |
| meta.attribute.python | #82aaff | — |
| meta.indexed-name.python | #16bc77 | — |
| meta.item-access.arguments.python, constant.other.caps.python | #1482ff | bold |
| meta.function-call.generic.python | #f78c6c | — |
| meta.function-call.arguments.python | #c3e88d | — |
| keyword.control.flow.python | #f07178 | — |
| keyword.operator.logical.python | #ff5370 | bold |
| source.python | #82aaff | bold |
| string.quoted.docstring.multi.python | #f0e5ff99 | bold |
| storage.type.function.python | #ffc022 | bold |
| source.ruby | #82aaff | — |
| variable.other.readwrite.instance.ruby | #ffcb6b | — |
| variable.other.ruby | #82aaff | — |
| variable.other.constant.ruby | #f07178 | — |
| entity.name.function.ruby | #b077ff | — |
| keyword.control.ruby | #f05656 | — |
| support.class.ruby | #1482ff | — |
| variable.other.block.ruby | #b077ff | — |
| punctuation.separator.arguments.ruby | #f05656 | bold |
| keyword.control.pseudo-method.ruby | #16bc77 | italic |
| meta.embedded.line.ruby | #ffcb6b | — |
| source.scala | #82aaff | — |
| variable.other.declaration.scala | #16bc77 | — |
| meta.scope.if-block.shell | #16bc77 | — |
| string.interpolated.dollar.shell | #f07178 | — |
| meta.scope.group.shell | #82aaff | — |
| variable.other.bracket.shell | #ffc022 | bold |
| variable.other.normal.shell | #1482ff | bold |
| meta.scope.case-pattern.shell | #ffc022 | — |
| keyword.control.shell | #ff5370 | — |
| entity.name.function.shell | #16bc77 | bold |
| variable.other.positional.shell | #f07178 | — |
| constant.other.database-name.sql | #ff5370 | bold |
| constant.other.table-name.sql | #ffc022 | — |
| keyword.other.sql | #1482ff | — |
| source.sql | #16bc77 | — |
| keyword.other.alias.sql | — | bold |
| variable.other.object.ts | #f07178 | bold |
| storage.type.function.ts | #1482ff | — |
| storage.type.property.ts, storage.type.type.ts | #f07178 | — |
| storage.type.interface.ts | #fd4e4e | bold |
| variable.other.object.property.ts | #16bc77 | — |
| variable.other.property.ts | #16bc77 | — |
| string.quoted.double.ts | #f0e5ff99 | — |
| meta.object-literal.key.ts | #c3e88d | — |
| variable.object.property.ts | #1482ff | — |
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}!`;
}