Origamid Theme
Publisher: OrigamidThemes in package: 1
Official Origamid Theme
Official Origamid 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 |
|---|---|---|
| variable.language.this | — | regular |
| markup.bold | — | bold |
| invalid, markup.italic, markup.quote | — | italic |
| markup.underline | — | underline |
| entity.other.attribute-name.id.css, keyword.operator | #FF7722 | — |
| punctuation.definition.string.template.begin, punctuation.definition.string.template.end | #FF7722 | bold |
| entity.other.attribute-name.class.css, entity.other.attribute-name.parent-selector-suffix.css, entity.other.attribute-name.parent-selector-suffix.css punctuation.definition.entity.css, meta.definition.function, support.function, markup.underline.link, markup.inserted, meta.function-call, meta.function-call.arguments meta.function-call, meta.instance.constructor, meta.attribute-with-value.class string, string.other.ref, string.other.restructuredtext.ref, support.function, variable.function, entity.name.type, entity.name.function, variable.other.object.property, variable.other.property, punctuation.separator.key-value, meta.definition.function.js | #FFDD44 | — |
| storage.type.function.arrow | #FFDD44 | normal |
| entity.other.attribute-name | #FFDD44 | italic |
| entity.name.section, constant.numeric.line-number.match.find-in-files, markup.heading, markup.changed, meta.attribute-with-value.id string, string, punctuation.definition.string.begin, punctuation.definition.string.end | #88BB44 | — |
| keyword, keyword.control, constant, constant.numeric, constant.language, constant.other.property, constant.character.escape, comment keyword.codetag.notation, keyword.other.template.begin, keyword.other.template.end, markup.raw, markup.deleted, meta.property-list.css variable.other, entity.name.constant.preprocessor, meta.preprocessor, punctuation.section.embedded, punctuation.template-string.element.begin, punctuation.template-string.element.end, string.quoted.template punctuation.definition.string.begin, string.quoted.template punctuation.definition.string.end, meta.paragraph.markdown meta.dummy.line-break, meta.paragraph.markdown meta.hard-line-break.markdown, storage, storage.class.restructuredtext.ref, string.other.link.title, string.other.link.description, string.regexp punctuation.definition.string.begin, string.regexp punctuation.definition.string.end, variable.language.arguments, variable.other.constant, keyword.operator.new | #99BBFF | — |
| source.scss variable.other, source.scss variable.scss, source.css variable.other, source.css variable.scss, source.less variable.other, source.less variable.other.less, source.less variable.declaration.less, storage.modifier, variable.other.substitution, meta.property-list.scss | #99BBFE | italic |
| entity.name.tag, string.other.link.description.title, support.constant, support.variable, support.class, variable.other.class | #DDAAFF | — |
| entity.other.inherited-class, entity.other.attribute-name.pseudo-class.css, support.type, entity.name.type.object.console, variable.language, variable.parameter.function.language.special.self.python, storage.type | #DDAAFF | italic |
| meta.function-call meta.function-call.arguments, meta.function-call meta.arguments, meta.function-call meta.group, source.json meta.structure.dictionary, meta.object.member, punctuation.definition.group, string.unquoted.label, variable.other.member, entity.name.class, entity.name.namespace, constant.other, variable, variable.other, variable.other.constant.js, text.find-in-files | #FFFFFF | — |
| variable.parameter, parameters variable.function | #FFFFFF | italic |
| variable.other.property, support.variable.property, punctuation.separator.key-value, meta.object-literal.key, variable.other.object.property, variable.object.property, text.html.basic, text.html.vue-html, text.html.php, punctuation.definition.variable, punctuation.definition.keyword.scss, punctuation.definition.entity.css | #BBBBCC | — |
| support.type.property-name | #BBBBCC | normal |
| keyword.other.substitution, keyword.operator.heading.restructuredtext, keyword.operator.table.row.restructuredtext, keyword.operator.table.data.restructuredtext, punctuation, markup.ignored, markup.untracked, meta.brace.round, meta.brace.square, meta.brace.curly, meta.delimiter.comma.js, meta.function-call.without-arguments.js, meta.function-call.method.without-arguments.js, source.scss, string source punctuation.section.embedded | #88888F | — |
| comment, comment punctuation | #66666F | 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}!`;
}