Subliminal remix
Publisher: Rasmus JosefssonThemes in package: 1
An opinionated minimalistic VS Code theme for JavaScript inspired by Sublime Text Spacegray theme
An opinionated minimalistic VS Code theme for JavaScript inspired by Sublime Text Spacegray 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 |
|---|---|---|
| comment, punctuation.definition.comment | #7F7F7F | italic |
| meta.type.flowtype variable.other.flowtype | #d4d4d4 | — |
| keyword, storage.type, storage.type.function, variable.other.flowtype, storage.type.extends, storage.type.function, storage.type.class | #7F7F7F | — |
| variable.function, meta.class meta.group.braces.curly meta.function-call variable.function, entity.name.tag, variable.function.constructor | #ffe2a9 | — |
| entity.name.function, meta.class entity.name.class, meta.class meta.function-call variable.function, source keyword.control.loop, storage.type.function.arrow | #f1a5ab | — |
| keyword.control.flow, keyword.control.trycatch, source meta.group.braces.curly keyword.control.loop, keyword.control.switch | #f1a5ab | — |
| keyword.operator.assignment | #ffe2a9 | — |
| keyword.operator.logical | #ffe2a9 | — |
| keyword.operator.comparison, keyword.operator.relational | #f1a5ab | — |
| string.quoted, string.interpolated | #a9cfa4 | — |
| constant.language, constant.numeric, support.constant, constant.character, constant.other.color, constant.other.symbol, constant.other.key, keyword.other.unit | #91c5d3 | — |
| 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 | #6796e6 | — |
| token.warn-token | #cd9731 | — |
| token.error-token | #f44747 | — |
| token.debug-token | #b267e6 | — |
| source entity.other.attribute-name | — | 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}!`;
}