Nako
Publisher: Artem ZakharchenkoThemes in package: 1
Premium dark color theme for Visual Studio Code
Premium dark color theme for Visual Studio Code
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 | #6f6f6f | — |
| comment.block.preprocessor | #888888 | — |
| comment.documentation, comment.block.documentation | #888888 | — |
| comment.block.documentation punctuation.definition.bracket.curly | #60A7FA | — |
| comment.block storage.type | — | — |
| comment.block.documentation punctuation.definition.block.tag | #D74270 | — |
| invalid.illegal | #cc0000 | — |
| keyword.operator | #D74270 | — |
| keyword.operator.type | — | — |
| meta.tag.attributes keyword.operator.assignment | #fff | — |
| keyword.operator.assignment | #D74270 | — |
| keyword.operator.arithmetic | — | — |
| keyword, storage | #D74270 | — |
| keyword.other.definition.ini | #ddd | — |
| storage.type, support.type, keyword.control | #D74270 | — |
| constant.language, support.constant, variable.language | #2CB092 | — |
| constant.language.import-export-all | #ddd | — |
| variable, support.variable | #fff | — |
| meta.object.member variable.other.constant | #36acaa | — |
| variable.language.this | #d9931e | — |
| meta.tag.attributes variable.other | #60A7FA | — |
| meta.object.member variable.other.readwrite | #60A7FA | — |
| entity.name.function, support.function | #60A7FA | — |
| storage.type.function.arrow | #D74270 | — |
| entity.name.type, entity.other.inherited-class, support.class | #60A7FA | — |
| entity.name.exception | #cc0000 | — |
| entity.name.section | #D74270 | — |
| constant.numeric, constant.character, constant | #60A7FA | — |
| string | #D4D080 | — |
| string.unquoted | #fff | — |
| constant.character.escape | #888888 | — |
| string.regexp | #60A7FA | — |
| constant.other.symbol | #AB6526 | — |
| punctuation | #fff | — |
| punctuation.definition.quasi | #D4D080 | — |
| punctuation.definition.keyword | #D74270 | — |
| punctuation.definition.string | #D4D080 | — |
| punctuation.definition.entity.ini | #D74270 | — |
| punctuation.definition.tag | #60A7FA | — |
| punctuation.definition.bold | #60A7FA | — |
| punctuation.definition.heading | #D74270 | — |
| punctuation.definition.string.template | #2CB092 | — |
| meta.tag.attributes punctuation.section.embedded | #60A7FA | — |
| meta.definition.variable, meta.definition.variable entity.name.function | #ddd | — |
| meta.brace | #fff | — |
| meta.definition.method entity.name.function, meta.function-call entity.name.function | #60A7FA | — |
| meta.link.inline | #60A7FA | — |
| support.type.primitive, meta.type.parameters entity.name.type | #36ACAA | — |
| meta.tag.sgml.doctype, meta.tag.sgml.doctype string, meta.tag.sgml.doctype entity.name.tag, meta.tag.sgml punctuation.definition.tag.html | #ddd | — |
| meta.tag, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html | #ddd | — |
| entity.name.tag | #60A7FA | — |
| meta.tag entity.other.attribute-name, entity.other.attribute-name.html | #d9931e | — |
| constant.character.entity, punctuation.definition.entity | #d9931e | — |
| meta.selector, meta.selector entity, meta.selector entity punctuation, entity.name.tag.css | #D74270 | — |
| meta.property-name, support.type.property-name | #ddd | — |
| support.type.property-name.json | #E6913B | — |
| source.json punctuation.support.type.property-name | #E6913B | — |
| punctuation.definition.entity.css | #D74270 | — |
| meta.property-value, meta.property-value constant.other, support.constant.property-value | #2CB092 | — |
| keyword.other.important | #D74270 | — |
| meta.paragraph.markdown | #ddd | — |
| markup.quote meta.paragraph.markdown, markup.quote punctuation.definition | #E6913B | italic |
| markup.bold.markdown | #60A7FA | — |
| markup.changed | #ddd | — |
| markup.deleted | #ddd | — |
| markup.italic | — | italic |
| markup.error | #cc0000 | — |
| markup.inserted | #ddd | — |
| meta.link | #60A7FA | — |
| markup.output, markup.raw | #888888 | — |
| markup.prompt | #888888 | — |
| markup.heading | #AA3731 | — |
| markup.underline | — | underline |
| markup.quote | #6f6f6f | — |
| markup.list | #60A7FA | — |
| markup.bold, markup.italic | #2CB092 | — |
| markup.inline.raw | #bd10e0 | — |
| meta.diff.range, meta.diff.index, meta.separator | #434343 | — |
| meta.diff.header.from-file | #434343 | — |
| meta.diff.header.to-file | #434343 | — |
| constant.other.timestamp | #B731B0 | — |
| meta.embedded.block.frontmatter string.unquoted | #D4D080 | — |
| punctuation.section.embedded.begin.php | #D74270 | — |
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}!`;
}