Mimika
Mimika's own palette as a VS Code theme. Ember orange on near-black, lifted from the Mimika CLI and control UI. Three variants, contrast-verified.
Mimika's own palette as a VS Code theme. Ember orange on near-black, lifted from the Mimika CLI and control UI. Three variants, contrast-verified.
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, string.comment | #6b7280 | italic |
| comment.block.documentation, comment.line.documentation | #6b7280 | italic |
| storage.type.class.jsdoc, punctuation.definition.block.tag.jsdoc | #9aa1ae | italic |
| keyword, keyword.control, keyword.other, storage, storage.type, storage.modifier, keyword.operator.new, keyword.operator.expression, keyword.operator.delete, keyword.operator.logical.python, variable.language.this, variable.language.self, variable.language.super | #ff7445 | — |
| keyword.control.import, keyword.control.export, keyword.control.from | #ff7445 | — |
| keyword.operator, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.comparison, keyword.operator.relational, keyword.operator.bitwise | #9aa1ae | — |
| punctuation, punctuation.separator, punctuation.terminator, punctuation.definition.parameters, punctuation.section, punctuation.accessor, meta.brace | #9aa1ae | — |
| entity.name.function, support.function, meta.function-call.generic, meta.function-call entity.name.function, variable.function | #ffc470 | — |
| support.function.builtin, entity.name.function.macro, keyword.other.special-method, support.function.magic | #ff9a65 | — |
| meta.decorator, entity.name.function.decorator, punctuation.decorator, meta.annotation, storage.type.annotation | #ff9a65 | — |
| string, string.quoted, string.template, constant.other.symbol, punctuation.definition.string | #4ec78f | — |
| punctuation.definition.template-expression, punctuation.section.embedded, meta.embedded | #ff7445 | — |
| constant.character.escape, constant.character.entity | #be91ff | — |
| string.regexp, constant.other.character-class.regexp, keyword.operator.quantifier.regexp | #f0c15e | — |
| constant.numeric, constant.language, constant.language.boolean, constant.language.null, constant.language.undefined, support.constant, variable.other.constant, constant.other.placeholder | #be91ff | — |
| entity.name.type, entity.name.class, entity.name.struct, entity.name.enum, entity.name.union, entity.name.interface, entity.other.inherited-class, support.type, support.class, storage.type.primitive, entity.name.type.parameter | #00b8ff | — |
| entity.name.namespace, entity.name.module, entity.name.scope-resolution, support.module, support.other.namespace | #00b8ff | — |
| variable, variable.other, variable.other.readwrite, meta.definition.variable entity.name.function | #eceef2 | — |
| variable.parameter, meta.parameter, variable.other.parameter | #9aa1ae | — |
| variable.other.property, variable.other.object.property, support.variable.property, meta.object-literal.key, variable.object.property, support.type.property-name | #9aa1ae | — |
| entity.name.tag, punctuation.definition.tag, meta.tag | #ff9a65 | — |
| entity.other.attribute-name, meta.attribute, entity.other.attribute-name.class, entity.other.attribute-name.id | #ffc470 | — |
| invalid, invalid.illegal | #f26d84 | — |
| invalid.deprecated | #f26d84 | strikethrough |
| markup.heading, entity.name.section, punctuation.definition.heading | #ff7445 | bold |
| markup.bold | #ffc470 | bold |
| markup.italic | #ffc470 | italic |
| markup.strikethrough | — | strikethrough |
| markup.quote | #9aa1ae | italic |
| markup.inline.raw, markup.fenced_code, markup.raw | #ffc470 | — |
| markup.underline.link, string.other.link | #72b7ff | underline |
| punctuation.definition.list, markup.list | #ff7445 | — |
| markup.inserted, meta.diff.header.to-file | #4ec78f | — |
| markup.deleted, meta.diff.header.from-file | #f26d84 | — |
| markup.changed | #ffc470 | — |
| meta.diff.range, punctuation.definition.range.diff | #be91ff | — |
| support.type.property-name.json, support.type.property-name.toml, support.type.property-name.table.toml, entity.name.tag.yaml | #ffc470 | — |
| support.type.property-name.css, support.type.vendored.property-name.css | #00b8ff | — |
| support.constant.property-value.css, support.constant.font-name, constant.other.color | #be91ff | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, entity.name.tag.css | #ffc470 | — |
| keyword.control.at-rule, punctuation.definition.keyword.css | #ff7445 | — |
| variable.other.normal.shell, support.function.builtin.shell, meta.scope.case-block.shell | #ff9a65 | — |
| support.function.builtin.zig, variable.language.zig | #ff9a65 | — |
| storage.type.zig, entity.name.type.zig, support.type.zig | #00b8ff | — |
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, string.comment | #868d99 | italic |
| comment.block.documentation, comment.line.documentation | #868d99 | italic |
| storage.type.class.jsdoc, punctuation.definition.block.tag.jsdoc | #5b626e | italic |
| keyword, keyword.control, keyword.other, storage, storage.type, storage.modifier, keyword.operator.new, keyword.operator.expression, keyword.operator.delete, keyword.operator.logical.python, variable.language.this, variable.language.self, variable.language.super | #8a3512 | — |
| keyword.control.import, keyword.control.export, keyword.control.from | #8a3512 | — |
| keyword.operator, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.comparison, keyword.operator.relational, keyword.operator.bitwise | #5b626e | — |
| punctuation, punctuation.separator, punctuation.terminator, punctuation.definition.parameters, punctuation.section, punctuation.accessor, meta.brace | #5b626e | — |
| entity.name.function, support.function, meta.function-call.generic, meta.function-call entity.name.function, variable.function | #9b342d | — |
| support.function.builtin, entity.name.function.macro, keyword.other.special-method, support.function.magic | #b64c1e | — |
| meta.decorator, entity.name.function.decorator, punctuation.decorator, meta.annotation, storage.type.annotation | #b64c1e | — |
| string, string.quoted, string.template, constant.other.symbol, punctuation.definition.string | #226948 | — |
| punctuation.definition.template-expression, punctuation.section.embedded, meta.embedded | #8a3512 | — |
| constant.character.escape, constant.character.entity | #705bb6 | — |
| string.regexp, constant.other.character-class.regexp, keyword.operator.quantifier.regexp | #8b5b10 | — |
| constant.numeric, constant.language, constant.language.boolean, constant.language.null, constant.language.undefined, support.constant, variable.other.constant, constant.other.placeholder | #705bb6 | — |
| entity.name.type, entity.name.class, entity.name.struct, entity.name.enum, entity.name.union, entity.name.interface, entity.other.inherited-class, support.type, support.class, storage.type.primitive, entity.name.type.parameter | #2660a4 | — |
| entity.name.namespace, entity.name.module, entity.name.scope-resolution, support.module, support.other.namespace | #2660a4 | — |
| variable, variable.other, variable.other.readwrite, meta.definition.variable entity.name.function | #14161b | — |
| variable.parameter, meta.parameter, variable.other.parameter | #5b626e | — |
| variable.other.property, variable.other.object.property, support.variable.property, meta.object-literal.key, variable.object.property, support.type.property-name | #5b626e | — |
| entity.name.tag, punctuation.definition.tag, meta.tag | #9b342d | — |
| entity.other.attribute-name, meta.attribute, entity.other.attribute-name.class, entity.other.attribute-name.id | #8b5b10 | — |
| invalid, invalid.illegal | #9a334a | — |
| invalid.deprecated | #9a334a | strikethrough |
| markup.heading, entity.name.section, punctuation.definition.heading | #8a3512 | bold |
| markup.bold | #9b342d | bold |
| markup.italic | #9b342d | italic |
| markup.strikethrough | — | strikethrough |
| markup.quote | #5b626e | italic |
| markup.inline.raw, markup.fenced_code, markup.raw | #8b5b10 | — |
| markup.underline.link, string.other.link | #2660a4 | underline |
| punctuation.definition.list, markup.list | #8a3512 | — |
| markup.inserted, meta.diff.header.to-file | #226948 | — |
| markup.deleted, meta.diff.header.from-file | #9a334a | — |
| markup.changed | #8b5b10 | — |
| meta.diff.range, punctuation.definition.range.diff | #705bb6 | — |
| support.type.property-name.json, support.type.property-name.toml, support.type.property-name.table.toml, entity.name.tag.yaml | #9b342d | — |
| support.type.property-name.css, support.type.vendored.property-name.css | #2660a4 | — |
| support.constant.property-value.css, support.constant.font-name, constant.other.color | #705bb6 | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, entity.name.tag.css | #8b5b10 | — |
| keyword.control.at-rule, punctuation.definition.keyword.css | #8a3512 | — |
| variable.other.normal.shell, support.function.builtin.shell, meta.scope.case-block.shell | #b64c1e | — |
| support.function.builtin.zig, variable.language.zig | #b64c1e | — |
| storage.type.zig, entity.name.type.zig, support.type.zig | #2660a4 | — |
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, string.comment | #6d6a7a | italic |
| comment.block.documentation, comment.line.documentation | #6d6a7a | italic |
| storage.type.class.jsdoc, punctuation.definition.block.tag.jsdoc | #a8a5b4 | italic |
| keyword, keyword.control, keyword.other, storage, storage.type, storage.modifier, keyword.operator.new, keyword.operator.expression, keyword.operator.delete, keyword.operator.logical.python, variable.language.this, variable.language.self, variable.language.super | #ff7445 | — |
| keyword.control.import, keyword.control.export, keyword.control.from | #ff7445 | — |
| keyword.operator, keyword.operator.assignment, keyword.operator.arithmetic, keyword.operator.comparison, keyword.operator.relational, keyword.operator.bitwise | #a8a5b4 | — |
| punctuation, punctuation.separator, punctuation.terminator, punctuation.definition.parameters, punctuation.section, punctuation.accessor, meta.brace | #a8a5b4 | — |
| entity.name.function, support.function, meta.function-call.generic, meta.function-call entity.name.function, variable.function | #ffc470 | — |
| support.function.builtin, entity.name.function.macro, keyword.other.special-method, support.function.magic | #ff9a65 | — |
| meta.decorator, entity.name.function.decorator, punctuation.decorator, meta.annotation, storage.type.annotation | #ff9a65 | — |
| string, string.quoted, string.template, constant.other.symbol, punctuation.definition.string | #6ad68c | — |
| punctuation.definition.template-expression, punctuation.section.embedded, meta.embedded | #ff7445 | — |
| constant.character.escape, constant.character.entity | #be91ff | — |
| string.regexp, constant.other.character-class.regexp, keyword.operator.quantifier.regexp | #f4bf4f | — |
| constant.numeric, constant.language, constant.language.boolean, constant.language.null, constant.language.undefined, support.constant, variable.other.constant, constant.other.placeholder | #be91ff | — |
| entity.name.type, entity.name.class, entity.name.struct, entity.name.enum, entity.name.union, entity.name.interface, entity.other.inherited-class, support.type, support.class, storage.type.primitive, entity.name.type.parameter | #00b8ff | — |
| entity.name.namespace, entity.name.module, entity.name.scope-resolution, support.module, support.other.namespace | #00b8ff | — |
| variable, variable.other, variable.other.readwrite, meta.definition.variable entity.name.function | #f4f3f7 | — |
| variable.parameter, meta.parameter, variable.other.parameter | #a8a5b4 | — |
| variable.other.property, variable.other.object.property, support.variable.property, meta.object-literal.key, variable.object.property, support.type.property-name | #a8a5b4 | — |
| entity.name.tag, punctuation.definition.tag, meta.tag | #ff9a65 | — |
| entity.other.attribute-name, meta.attribute, entity.other.attribute-name.class, entity.other.attribute-name.id | #ffc470 | — |
| invalid, invalid.illegal | #f06868 | — |
| invalid.deprecated | #f06868 | strikethrough |
| markup.heading, entity.name.section, punctuation.definition.heading | #ff7445 | bold |
| markup.bold | #ffc470 | bold |
| markup.italic | #ffc470 | italic |
| markup.strikethrough | — | strikethrough |
| markup.quote | #a8a5b4 | italic |
| markup.inline.raw, markup.fenced_code, markup.raw | #ffc470 | — |
| markup.underline.link, string.other.link | #72b7ff | underline |
| punctuation.definition.list, markup.list | #ff7445 | — |
| markup.inserted, meta.diff.header.to-file | #6ad68c | — |
| markup.deleted, meta.diff.header.from-file | #f06868 | — |
| markup.changed | #ffc470 | — |
| meta.diff.range, punctuation.definition.range.diff | #be91ff | — |
| support.type.property-name.json, support.type.property-name.toml, support.type.property-name.table.toml, entity.name.tag.yaml | #ffc470 | — |
| support.type.property-name.css, support.type.vendored.property-name.css | #00b8ff | — |
| support.constant.property-value.css, support.constant.font-name, constant.other.color | #be91ff | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, entity.name.tag.css | #ffc470 | — |
| keyword.control.at-rule, punctuation.definition.keyword.css | #ff7445 | — |
| variable.other.normal.shell, support.function.builtin.shell, meta.scope.case-block.shell | #ff9a65 | — |
| support.function.builtin.zig, variable.language.zig | #ff9a65 | — |
| storage.type.zig, entity.name.type.zig, support.type.zig | #00b8ff | — |
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}!`;
}
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}!`;
}