Hypersubatomic
Publisher: Neil PanchalThemes in package: 1
Hypersubatomic is a high contrast UI and syntax theme for VSCode
Hypersubatomic is a high contrast UI and syntax theme for VSCode
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 |
|---|---|---|
| source | #99a5ba | — |
| comment.line, comment.block, punctuation.definition.comment, string.quoted.docstring, string.quoted.double.block | #42577e | — |
| constant.numeric | #875afb | — |
| constant.character, constant.other, constant.language, keyword.other.unit, variable.parameter | #f2283c | — |
| entity.name.class, entity.name.struct, entity.name.enum, entity.name.union, entity.name.trait, entity.name.interface, entity.name.type, entity.name.impl, entity.name.class.forward-decl, entity.other.inhereted-class, entity.name.namespace | #ff7a00 | — |
| entity.name.function, entity.name.function.constructor, entity.name.function.destructor | #f2283c | — |
| invalid, invalid.illegal | #f2283c | — |
| string.regexp | #00a1b4 | — |
| keyword, storage.type, storage.modifier | #00ae6b | — |
| keyword.control, keyword.conditional, keyword.import, punctuation.definition.keyword, keyword.control.c, keyword.control.c++, keyword.operator.c++, keyword.operator.compound.ccpp, keyword.operator.logical.ccpp, keyword.operator.bitwise.ccpp, keyword.operator.comparison.ccpp, keyword.operator.arithetic.ccpp | #875afb | — |
| keyword.operator, keywrod.operator.word, keyword.logical, keyword.bitwise, keyword.operator.comparison, keyword.operator.assignment, keyword.operator.arithmetic, source.c++ meta.function.c meta.block.c keyword.operator.c, source.c++ meta.class-struct-block.c++ keyword.operator.c++ | #0093FF | — |
| markup.heading | #ffc200 | — |
| markup.list.unnumbered, markup.list.unnumbered | #00ae6b | — |
| markup.bold | — | bold |
| markup.italic | — | italic |
| markup.deleted | #f2283c | — |
| markup.inserted | #00ae6b | — |
| markup.changed | #ffc200 | — |
| markup.underline.link | #277dff | — |
| markup.quote | #875afb | italic |
| markup.raw, markup.inline.raw, markup.raw.inline, markup.raw.block, markup.other | #00a1b4 | — |
| variable, string constant.other.placeholder | #eef6ff | — |
| variable.language, variable.other | #ffc200 | — |
| string, string, meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.c++ meta.function.c meta.block.c string.quoted.double.c constant.other.placeholder.c | #f2283c | — |
| constant.character.escape.c | #d72e82 | — |
| raw.string prefix, raw.string begin, raw.string end | #d72e82 | — |
| raw.string | #d72e82 | — |
| entity.name.tag | #ffc200 | — |
| storage.type | #0093FF | — |
| keyword.other, support.function.builtin, meta.function-call support.type, storage.type.c | #00ae6b | — |
| meta.function-call, meta.function-call variable.language, meta.item-access, meta.item-access variable.language, entity.other.attribute-name, entity.name.function, support.function, source.c++ meta.function.c meta.block.c meta.function-call.c support.function.any-method.c, source.c++ meta.function.c meta.block.c meta.function-call.c support.function.any-method.c, source.c++ meta.class-struct-block.c++ entity.name.type.c++, meta.class-struct.c++ entity.name.type.c++ | #00ae6b | — |
| meta.function-call.arguments, meta.function-call.arguments variable.language, meta.item-access.arguments, meta.function.c meta.block.c meta.function-call.c | #bebebe | — |
| meta.function-call punctuation.definition.arguments.begin, meta.function-call punctuation.definition.arguments.end, meta.item-access punctuation.definition.arguments.begin, meta.item-access punctuation.definition.arguments.end | #b3b3b3 | — |
| meta.preprocessor.c.include, meta.preprocessor.c.include keyword.control.import.include.c, meta.preprocessor.c, meta.preprocessor.c keyword.control.import.c, meta.preprocessor.macro.c, meta.preprocessor.macro.c keyword.control.import.define.c | #6C35FF | — |
| entity.name.function.preprocessor.c, string.quoted.double.include.c, string.quoted.other.lt-gt.include.c | #00ae6b | — |
| storage.modifier.c, storage.modifier.c++ | #f2283c | — |
| semi_colon.ccpp | #BABABA | — |
| semi_colon.eol.ccpp | #BABABA | — |
| open.curly.bracket.ccpp, close.curly.bracket.ccpp, open.round.bracket.ccpp, close.round.bracket.ccpp, open.angle.bracket.ccpp, close.angle.bracket.ccpp, open.curly.bracket.ovr.ccpp, close.curly.bracket.ovr.ccpp | #BABABA | — |
| open.curly.bracket.block, close.curly.bracket | #BABABA | — |
| coma.ccpp, semi_colon.ccpp | #BABABA | — |
| period.ccpp | #BABABA | — |
| keyword.operator.arithmetic.ccpp, keyword.operator.comparison.ccpp, keyword.operator.bitwise.ccpp, keyword.operator.logical.ccpp, keyword.operator.compound.ccpp | #BABABA | — |
| pointer.c, pointer.ccpp, address.c, address.ccpp, array.ccpp | #f2283c | — |
| deconstructor.ccpp | #ff7a00 | italic |
| variable | #d72e82 | — |
| storage type | #ff7a00 | — |
| member.initializer | #8fa0bf | — |
| support.type.exception | #e54545 | — |
| invalid | #F92672 | — |
| invalid.deprecated | #AE81FF | — |
| meta.structure.dictionary.json string.quoted.double.json | #bfbfbf | — |
| meta.diff, meta.diff.header | #ffc200 | — |
| constant.numeric.line-number.find-in-files - match | #AE81FFA0 | — |
| entity.name.filename.find-in-files | #ffc200 | — |
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}!`;
}