sjsepan.e-inkish
Publisher: sjsepanThemes in package: 4
E-inkish, but with lighter borders and with lightly contrasting regions. Inspired by E-Ink 2 by Mufanzaa.
E-inkish, but with lighter borders and with lightly contrasting regions. Inspired by E-Ink 2 by Mufanzaa.
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 |
|---|---|---|
| support.function, variable.function | — | bold |
| entity.name.function, storage.type | — | bold |
| meta.function-call entity.name.function | — | bold |
| keyword.control.conditional | — | bold |
| variable.interpolation | — | bold |
| variable.parameter | — | bold |
| storage | — | bold |
| constant.other.object.key string.unquoted | — | bold |
| string.quoted, string, punctuation.tag.definition.string, tag.string | #777777 | — |
| variable.language.this | — | bold |
| constant.other.object.key string.unquoted | — | bold |
| comment | #888888 | italic |
| entity.name.type | — | bold |
| entity.other.inherited-class | — | bold |
| keyword, keyword.operator.new, keyword.other, keyword.control | — | bold |
| keyword.operator | — | bold |
| keyword.control.conditional, source.php keyword.control | — | bold |
| keyword.control.trycatch | — | bold |
| keyword.control | — | bold |
| keyword.control.flow | — | bold |
| meta.brace, punctuation.definition.parameters.begin, punctuation.definition.parameters.end, punctuation.definition.block, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded.begin, punctuation.section.embedded.end | — | bold |
| meta.brace.square | #000000 | bold |
| support.type.property-name.json | #000000 | bold |
| markup.bold.markdown | #000000 | bold |
| variable.scss, variable.sass, variable.parameter.url.scss, variable.parameter.url.sass | #000000 | bold |
| source.css.scss meta.at-rule variable, source.css.sass meta.at-rule variable | #000000 | bold |
| source.css.scss meta.at-rule variable, source.css.sass meta.at-rule variable | #000000 | bold |
| meta.attribute-selector.scss entity.other.attribute-name.attribute, meta.attribute-selector.sass entity.other.attribute-name.attribute | #000000 | bold |
| entity.name.tag.scss, entity.name.tag.sass | #000000 | bold |
| keyword.other.unit.scss, keyword.other.unit.sass | #000000 | bold |
| entity.other.attribute-name | #000000 | bold |
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}!`;
}