Faulty Schematics
Publisher: A Ruined MachineThemes in package: 1
A light colorscheme inspired by Humming theme and retro-futurist sci-fi
A light colorscheme inspired by Humming theme and retro-futurist sci-fi
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 | #61616E | italic |
| variable, string constant.other.placeholder | #504329 | — |
| constant.other.color | #FF0000 | — |
| invalid, invalid.illegal | #B51F1F | — |
| keyword.control | #504329 | — |
| keyword, storage.type, storage.modifier | #8C7649 | — |
| 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 | #7F7F91 | — |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #705E39 | — |
| entity.name.function, meta.function-call, meta.function, variable.function, support.function, keyword.other.special-method | #6D5C39 | — |
| meta.block variable.other | #6D5C39 | — |
| support.other.variable, string.other.link | #FF0000 | — |
| constant.numeric, constant.language, variable.language.this.js, support.constant, constant.character, constant.escape, variable.parameter, keyword.other.unit, keyword.other | #9A8F7E | — |
| string, constant.numeric.decimal.js, 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 | #7F7F91 | — |
| 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 | #61616E | — |
| support.type | #948058 | — |
| 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 | #705E39 | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #FF0000 | — |
| variable.language | #FF0000 | italic |
| entity.name.method.js | #FF0000 | italic |
| meta.class-method.js entity.name.function.js, variable.function.constructor | #FF0000 | — |
| entity.other.attribute-name | #6D5C39 | — |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #FF0000 | italic |
| entity.other.attribute-name.class | #504329 | — |
| source.sass keyword.control | #FF0000 | — |
| markup.inserted | #504329 | — |
| markup.deleted | #FF0000 | — |
| markup.changed | #FF0000 | — |
| string.regexp | #FF0000 | — |
| constant.character.escape | #FF0000 | — |
| *url*, *link*, *uri* | — | underline |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #FF00EE | italic |
| source.js constant.other.object.key.js string.unquoted.label.js | #FF0000 | italic |
| source.json meta.structure.dictionary.json support.type.property-name.json | #504329 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #8C7649 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #7F7F91 | — |
| 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 support.type.property-name.json | #B89A5F | — |
| 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 support.type.property-name.json | #7F7F91 | — |
| 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 support.type.property-name.json | #B89A5F | — |
| 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 support.type.property-name.json | #7F7F91 | — |
| 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 support.type.property-name.json | #B89A5F | — |
| 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 support.type.property-name.json | #7F7F91 | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #7F7F91 | — |
| text.html.markdown markup.inline.raw.markdown | #B89A5F | — |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #FF0000 | — |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #FF0000 | — |
| markup.italic | #FF0000 | italic |
| markup.bold, markup.bold string | #FF0000 | 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 | #FF0000 | bold |
| markup.underline | #FF0000 | underline |
| markup.quote punctuation.definition.blockquote.markdown | #FF0000 | — |
| markup.quote | — | italic |
| string.other.link.title.markdown | #B59F8B | — |
| string.other.link.description.title.markdown | #FF0000 | — |
| constant.other.reference.link.markdown | #DDDDDD | — |
| markup.raw.block | #FF0000 | — |
| markup.raw.block.fenced.markdown | #00000050 | — |
| punctuation.definition.fenced.markdown | #00000050 | — |
| markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end | #D8CFBD | — |
| variable.language.fenced.markdown | #546E7A | — |
| meta.separator | #546E7A | bold |
| markup.table | #D8CFBD | — |
| constant.language.symbol.elixir | #FF0000 | — |
| parameter.variable.function.elixir | #7F7F84 | — |
| support.function.magic.python, variable.language.special.self.python, variable.parameter.function.language.special.self.python, variable.language.special.cls.python, variable.parameter.function.language.special.cls.python, string.quoted.docstring.multi.python, entity.name.function.decorator.python, punctuation.definition.decorator.python, keyword.control.flow.python, keyword.operator.logical.python, keyword.operator.new, variable.language.this, storage.type.function.python, storage, storage.type.class.python, storage.type.string.python, comment, punctuation.definition.comment, unused.comment, wildcard.comment, entity.other.attribute-name.localname.xml, text.xml entity.other, markup.quote.markdown meta.paragraph.markdown, markup.italic.markdown, variable.parameter.function-call.python | — | italic |
| string.regexp | #FF4F00 | |
| variable.language.special.self.python, variable.language | #FF4F00 | italic |
| variable.function.constructor, support.other.variable, string.other.link, constant.other.color, constant.character.escape | #FF4F00 | — |
| token.info-token | #316BCD | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #CD3131 | — |
| token.debug-token | #800080 | — |
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}!`;
}