Subessence
Publisher: Vinh PhamThemes in package: 1
Basically a subjectively revamped, more electrifying version of awesome `Subliminal Next` theme made by Konrad Keska.
Basically a subjectively revamped, more electrifying version of awesome `Subliminal Next` theme made by Konrad Keska.
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 | #c0c5cd50 | italic |
| meta.type.flowtype variable.other.flowtype, variable.other.property, variable.other.object, variable.other.readwrite, meta.template.expression, entity.name.type.module, punctuation.definition.entity, variable.parameter | #d4d4d4 | — |
| variable.language.this, variable.language.super | #d4d4d4 | — |
| entity.name.tag.reference, entity.name.tag.css, entity.name.tag.scss | #FFA5C3 | — |
| keyword, storage.type, storage.type.function, variable.other.flowtype, storage.type.extends, storage.type.function, storage.type.class, keyword.operator.module | #7f7f7f | — |
| entity.name.type | #8CD8D8 | underline |
| entity.name.type.module | — | |
| storage.modifier | #7f7f7f | — |
| entity.name.tag | #7f7f7f | — |
| meta.decorator, meta.decorator.tsx variable.other.readwrite.tsx, meta.decorator.tsx variable.other.object.tsx, meta.decorator.tsx variable.other.property.tsx, meta.decorator.jsx variable.other.readwrite.jsx, meta.decorator.jsx variable.other.object.jsx, meta.decorator.jsx variable.other.property.jsx | #7f7f7f | — |
| support.class.component | #FFDFA5 | — |
| variable.function, source meta.function-call entity.name.function, meta.class meta.group.braces.curly meta.function-call variable.function, meta.class meta.field.declaration meta.function-call entity.name.function, variable.function.constructor, meta.block meta.var.expr meta.function-call entity.name.function, support.function.console, meta.function-call support.function, meta.property.class variable.other.class, punctuation.definition.entity.css | #FFDFA5 | — |
| entity.name.function, meta.class entity.name.class, meta.class entity.name.type.class, meta.class meta.function-call variable.function, source keyword.control.loop, storage.type.function.arrow, keyword.other.important | #FFA5C3 | |
| keyword.control.flow | #FFA5C3 | — |
| support.type.primitive | #8CD8D8 | italic |
| support.type.property-name | #d4d4d4 | — |
| keyword.control.trycatch, source meta.group.braces.curly keyword.control.loop, keyword.control.switch | #7f7f7f | — |
| punctuation.terminator, punctuation.definition, punctuation.support, punctuation.separator.dictionary, punctuation.separator.array, meta.brace.round, punctuation.section.embedded, punctuation.accessor, meta.delimiter.comma, keyword.operator.ternary, punctuation.section.property-list, punctuation.section.function, punctuation.separator.comma, meta.function-call.without-arguments, constant.character.entity, entity.other.attribute-name.pseudo-class, meta.brace.curly, meta.brace.square, punctuation.separator.parameter, punctuation.operation.graphql | #7f7f7f | — |
| keyword.other.substitution, punctuation.definition.interpolation, punctuation.definition.template-expression | #7f7f7f | — |
| punctuation.separator.key-value, keyword.operator.type | #7f7f7f | — |
| keyword.operator.optional | #FFDFA5 | — |
| keyword.operator.assignment | #FFDFA5 | — |
| keyword.operator.logical | #FFDFA5 | — |
| keyword.operator.comparison, keyword.operator.relational | #FFA5C3 | — |
| string.quoted, string.interpolated, support.constant.property-value, keyword.other.unit, string.template, punctuation.definition.string | #95E5A6 | — |
| constant.language, constant.numeric, support.constant, constant.character, constant.other.color, constant.other.symbol, constant.other.key | #8CD8D8 | — |
| markup.inserted | #99C794 | — |
| markup.deleted | #E15A60 | — |
| markup.changed | #BB80B3 | — |
| *url*, *link*, *uri* | — | underline |
| constant.numeric.line-number.find-in-files - match | #AB7967 | — |
| entity.name.filename.find-in-files | #99C794 | — |
| token.info-token | #95E5A6 | — |
| token.warn-token | #FFDFA5 | — |
| token.error-token | #FFA5C3 | — |
| token.debug-token | #8CD8D8 | — |
| source entity.other.attribute-name | #FFDFA5 | italic |
| source meta.tag.attributes entity.other.attribute-name, meta.jsx.js entity.other.attribute-name.jsx | #d4d4d4 | italic |
| text.html.basic entity.other.attribute-name.html | — | italic |
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}!`;
}