Snazzy Operator
Publisher: Aaron ThomasThemes in package: 1
Based on hyper-snazzy and optimised for Operator Mono
Based on hyper-snazzy and optimised for Operator Mono
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 |
|---|---|---|
| Global settings | #eff0eb | — |
| strong, markup.bold | — | bold |
| emphasis, markup.italic | — | italic |
| markup.underline | — | underline |
| comment, punctuation.definition.comment, string.quoted.docstring | #616263 | italic |
| storage.type | #f3f99d | — |
| storage.type.primitive, support.type, entity.name.type, keyword.type, keyword.other.unit | #9aedfe | — |
| string, meta.structure.dictionary.json string.quoted.double.json | #5af78e | — |
| constant.language.boolean | #5af78e | — |
| constant.numeric, support.constant | #5af78e | — |
| constant.language.null | #5af78e | — |
| constant.language.undefined | #5af78e | — |
| meta.function entity.name.function | #57c7ff | — |
| entity.name.function, meta.function-call, support.function, keyword.other.special-method, meta.require, variable.language.super, keyword.other.get, keyword.other.set | #57c7ff | — |
| variable, support.variable, support.class, support.constant, meta.definition.variable entity.name.function | #eff0eb | — |
| variable.other.constant.property | #f3f99d | — |
| entity.name.type.class | #ff5c57 | — |
| entity.other.inherited-class entity.name.type.module | #ff5c57 | italic |
| variable.object.property | #f3f99d | — |
| variable.parameter | — | italic |
| meta.definition.method entity.name.function | #f3f99d | — |
| keyword, modifier, storage.modifier, support.type.object, constant.language, variable.language.this, variable.language.special.self | #ff6ac1 | — |
| storage.modifier, storage.type.class.js, variable.language.this, variable.language.this.js | — | italic |
| support.module, support.node | #ff5c57 | italic |
| template.expression.begin, template.expression.end | #ff6ac1 | — |
| support.type.exception | #f3f99d | — |
| markup.inserted.diff, meta.diff.header.to-file | #5af78e | — |
| markup.deleted.diff, meta.diff.header.from-file | #ff5c57 | — |
| source.cs meta.class.identifier storage.type | #ff5c57 | — |
| source.cs meta.method.identifier entity.name.function | #f3f99d | — |
| source.cs meta.method-call meta.method, source.cs entity.name.function | #57c7ff | — |
| source.cs storage.type | #f3f99d | — |
| source.cs meta.method.return-type | #9aedfe | — |
| source.cs meta.preprocessor | #616263 | — |
| source.cs entity.name.type.namespace | #eff0eb | — |
| entity.other.attribute-name.class | #9aedfe | — |
| entity.other.attribute-name.id | #9aedfe | — |
| source.css entity.name.tag | #f3f99d | — |
| source.css support.type.property-name | #ff5c57 | — |
| meta.tag, punctuation.definition.tag | #eff0eb | — |
| entity.name.tag | #ff5c57 | — |
| entity.other.attribute-name | #f3f99d | italic |
| punctuation.section.embedded | #ff5c57 | — |
| keyword.other.definition.ini | #ff5c57 | — |
| entity.name.section.group-title.ini | #57c7ff | — |
| source.java storage.modifier.package, source.java storage.modifier.import | #eff0eb | — |
| source.java storage.type.annotation | #ff5c57 | italic |
| source.java meta.method-call meta.method | #57c7ff | — |
| source.java meta.method-call meta.inner-class meta.method | #eff0eb | — |
| source.java meta.method-call meta.inner-class meta.method meta.method-call meta.method | #57c7ff | — |
| source.java meta.definition.variable entity.name.function | #57c7ff | — |
| source.java constant.language | #5af78e | — |
| source.js storage.modifier.async | #ff6ac1 | — |
| meta.object-literal.key, meta.object-literal.key string, support.type.property-name.json | #ff5c57 | — |
| constant.language.json | #ff6ac1 | — |
| markup.heading | #57c7ff | — |
| text.html.markdown meta.link.inline, meta.link.reference, markup.underline.link.image | #ff5c57 | — |
| text.html.markdown markup.quote | #9aedfe | — |
| text.html.markdown beginning.punctuation.definition.list | #f3f99d | — |
| text.html.markdown markup.inline.raw | #ff6ac1 | — |
| markup.italic | #ff5c57 | italic |
| markup.bold | #ff5c57 | bold |
| markup.bold markup.italic, markup.italic markup.bold | #ff5c57 | italic bold |
| source.python keyword.operator.arithmetic | #eff0eb | — |
| source.python meta.function storage.type.function | #ff6ac1 | — |
| source.python meta.function-call.arguments | #eff0eb | — |
| source.python meta.function entity.name.function.decorator | #ff5c57 | — |
| source.python constant.language | #5af78e | — |
| entity.name.tag.yaml | #ff5c57 | — |
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}!`;
}