Yami
Publisher: houssaineamzilThemes in package: 1
Yami is a dark, minimalist theme I created using my own imagination. It supports coding languages like HTML, CSS, JS, and JSON, giving you everything you need to build amazing products for the Web.
Yami is a dark, minimalist theme I created using my own imagination. It supports coding languages like HTML, CSS, JS, and JSON, giving you everything you need to build amazing products for the Web.
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 | #6A728A | italic |
| string | #85B6FF | — |
| constant.numeric | #EFA9EF | — |
| constant.language | #EFA9EF | — |
| constant.character, constant.other | #EFA9EF | — |
| variable | #39FFBA | |
| keyword | #FF476E | — |
| storage | #FF476E | |
| storage.type | #01F7F7 | italic |
| entity.name.class | #39FFBA | underline |
| entity.other.inherited-class | #FFEE7A | italic underline |
| entity.name.function | #FF476E | |
| variable.parameter | #FFEE7A | italic |
| entity.name.tag | #FF476E | |
| entity.other.attribute-name | #39FFBA | |
| support.function | #39FFBA | |
| support.constant | #FFEE7A | |
| support.type, support.class | #39FFBA | italic |
| support.other.variable | #FFEE7A | |
| invalid | #F8F8F0 | |
| invalid.deprecated | #F8F8F0 | — |
| invalid.illegal | #F8F8F0 | — |
| source.js meta.brace.curly.js, source.js meta.function.js punctuation.definition.parameters.begin.js, source.js meta.function.js punctuation.definition.parameters.end.js, source.js meta.brace.round.js, source.js meta.delimiter.object.comma.js | #474C5C | — |
| source.python meta.class.python punctuation.definition.inheritance.begin.python, source.python meta.class.python punctuation.definition.inheritance.end.python, source.python meta.function.python punctuation.definition.parameters.begin.python, source.python meta.function.python punctuation.definition.parameters.end.python, source.python meta.function-call.python punctuation.definition.arguments.begin.python, source.python meta.function-call.python punctuation.definition.arguments.end.python, source.python meta.function.python meta.function.parameters.python punctuation.separator.parameters.python | #474C5C | — |
| source.ruby meta.function.method.with-arguments.ruby punctuation.definition.parameters.ruby, source.ruby punctuation.section.array.ruby, source.ruby punctuation.section.function.ruby, source.ruby meta.require.ruby meta.environment-variable.ruby, source.ruby punctuation.separator.variable.ruby | #474C5C | — |
| markup.strike | #ffca7a | italic |
| meta.link.inline, meta.link.reference | #01f7f7 | bold |
| markup.bold | #ffca7a | bold |
| markup.italic | #ffca7a | italic |
| markup.heading | #39ffba | bold |
| punctuation.definition.list_item.markdown | #EFA9EF | — |
| markup.quote | #85B6FF | italic |
| punctuation.definition.blockquote.markdown | #85B6FF | italic |
| meta.separator | #858db7 | — |
| text.html.markdown markup.raw.inline | #39ffba | — |
| text.html.markdown markup.raw.inline | #ffca7a | underline |
| markup.raw.block | #39ffba | — |
| markup.raw.block.fenced.markdown source | #F3F4F6 | — |
| punctuation.definition.fenced.markdown, variable.language.fenced.markdown | #858db7 | italic |
| variable.language.fenced.markdown | #858db7 | italic |
| punctuation.accessor | #EFA9EF | — |
| meta.function.return-type | #EFA9EF | — |
| punctuation.section.block.begin | #F3F4F6 | — |
| punctuation.section.block.end | #F3F4F6 | — |
| punctuation.section.embedded.begin | #EFA9EF | — |
| punctuation.section.embedded.end | #EFA9EF | — |
| punctuation.separator.namespace | #EFA9EF | — |
| variable.function | #39ffba | — |
| variable.other | #F3F4F6 | — |
| variable.language | #EFA9EF | — |
| entity.name.module.ruby | #85B6FF | — |
| entity.name.constant.ruby | #EFA9EF | — |
| support.function.builtin.ruby | #F3F4F6 | — |
| storage.type.namespace.cs | #EFA9EF | — |
| entity.name.namespace.cs | #85B6FF | — |
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}!`;
}