op-1
Publisher: aterrusoThemes in package: 1
Minimal Dark Theme based on Teenage Engineering's OP-1
Minimal Dark Theme based on Teenage Engineering's OP-1
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 | #586883 | italic |
| constant | #FF9781 | — |
| entity | #16B553 | — |
| invalid | #f44542 | — |
| keyword, storage.type.class.js | #EB3457 | bold |
| meta | #03FEAC | — |
| meta.brace | #668EFB | — |
| punctuation | #07F298 | — |
| punctuation.definition.parameters | #FE3D5F | — |
| punctuation.definition.template-expression | #7A7C83 | — |
| storage | #F15130 | — |
| storage.type.function.arrow | #06EC88 | — |
| string, punctuation.definition.string | #26ACFD | — |
| string.template, punctuation.definition.string.template | #7A7C83 | — |
| support | #7ECDFB | — |
| support.function | #26ACFD | — |
| support.variable.property.dom | #26ACFD | — |
| variable | #D7D8DC | italic |
| source.css entity, source.stylus entity | #26ACFD | — |
| entity.other.attribute-name.id.css | #16B553 | — |
| entity.name.tag | #F15130 | — |
| source.css support, source.stylus support | #B8BAC3 | — |
| source.css constant, source.css support.constant, source.stylus constant, source.stylus support.constant | #E2E4EB | — |
| source.css string, source.css punctuation.definition.string, source.stylus string, source.stylus punctuation.definition.string | #7ECDFB | — |
| source.css variable, source.stylus variable | #5ED088 | — |
| text.html.basic entity.name | #9eE2E4EBf | — |
| meta.toc-list.id.html | #26ACFD | — |
| text.html.basic entity.other | #16B553 | italic |
| meta.tag.metadata.script.html entity.name.tag.html | #5ED088 | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #D8DAE2 | — |
| source.ini entity | #e1eE2E4EB | — |
| source.ini keyword | #26ACFD | — |
| source.ini punctuation.definition | #FF9781 | — |
| source.ini punctuation.separator | #7ECDFB | — |
| source.js storage.type.function | #FF9781 | — |
| variable.language, entity.name.type.class.js | #FF9781 | — |
| entity.other.inherited-class.js | #5ED088 | — |
| variable.parameter.function.language.special.self.python | #FF9781 | — |
| source.json support | #5ED088 | — |
| source.json string, source.json punctuation.definition.string | #e1eE2E4EB | — |
| punctuation.definition.heading.markdown | #e1eE2E4EB | — |
| entity.name.section.markdown, markup.heading.setext.1.markdown, markup.heading.setext.2.markdown | #5ED088 | bold |
| meta.paragraph.markdown | #e1eE2E4EB | — |
| beginning.punctuation.definition.quote.markdown | #5ED088 | — |
| markup.quote.markdown meta.paragraph.markdown | #9eE2E4EBf | italic |
| meta.separator.markdown | #5ED088 | — |
| markup.bold.markdown | #9eE2E4EBf | bold |
| markup.italic.markdown | #9eE2E4EBf | italic |
| beginning.punctuation.definition.list.markdown | #5ED088 | — |
| string.other.link.title.markdown | #5ED088 | — |
| string.other.link.title.markdown, string.other.link.description.markdown, string.other.link.description.title.markdown | #5ED088 | — |
| markup.underline.link.markdown, markup.underline.link.image.markdown | #9eE2E4EBf | — |
| fenced_code.block.language, markup.inline.raw.markdown | #9eE2E4EBf | — |
| fenced_code.block.language, markup.inline.raw.markdown | #9eE2E4EBf | — |
| text.jade entity.name | #9eE2E4EBf | — |
| text.jade entity.other.attribute-name.tag | — | italic |
| text.jade string.interpolated | #FF9781 | — |
| source.ts entity.name.type | #5ED088 | — |
| source.ts keyword | #5ED088 | — |
| source.ts punctuation.definition.parameters | #e1eE2E4EB | — |
| meta.arrow.ts punctuation.definition.parameters | #FF9781 | — |
| source.ts storage | #9eE2E4EBf | — |
| source.php entity | #9eE2E4EBf | — |
| variable.other.php | #5ED088 | — |
| modifier, this, comment, storage.modifier.js, entity.other.attribute-name.js | — | 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}!`;
}