Tokyo After Dark
Publisher: NSMYThemes in package: 1
Dark Theme Inspired by Tokyo Night Dark and After Dark themes
Dark Theme Inspired by Tokyo Night Dark and After Dark themes
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 |
|---|---|---|
| support.type.property-name.json.comments, string.json.comments, meta.structure.dictionary.json.comments, meta.structure.array.json.comments, meta.structure.dictionary.value.json.comments, meta.structure.dictionary.json.comments, source.json.comments | #E6A26F | — |
| support.type.object.module | #88abf9 | — |
| variable.language.this, support.variable.property.js, variable.language.arguments.js, variable.language.self.js, variable.language.proto.js, variable.language.constructor.js, variable.language.prototype.js | #f386bf | |
| support.variable.dom.js, support.variable | #e8c37d | |
| support.function.dom.js | #53c6ba | |
| variable.language.super | #ba7bcc | |
| meta.brace.square, meta.brace.round | #6c8093 | |
| keyword.operator.new | #f386bf | — |
| keyword.control | #ba7bcc | — |
| support.variable.property.dom.js, variable.other.property | #c8d1df | — |
| punctuation.section.embedded | #6c8093 | |
| meta.tag | #c8d1df | — |
| support.class.component | #e8c37d | — |
| source.graphql support.type.graphql, source.graphql support.type.enum.graphql | #88abf9 | — |
| meta.variables.graphql support.type.graphql | #c8d1df | — |
| support.type.builtin.graphql | #e8c37d | — |
| variable.graphql | #E6A26F | — |
| keyword.operator.nulltype.graphql | #f386bf | — |
| source.graphql string.block.description.graphql.DOCSTRING, source.graphql string.block.description.graphql.DOCSTRING punctuation.definition.string.graphql, string.description.graphql, punctuation.definition.string.graphql | #b38098 | |
| punctuation.definition.string.graphql, meta.embedded.block.graphql | #6c8093 | |
| meta.arguments.graphql variable.graphql, support.type.builtin.graphql | #e8c37d | — |
| source.js meta.variables.graphql support.type.graphql | #88abf9 | — |
| source.css meta.property-list.media-query | #88abf9 | — |
| source.css variable.other.readwrite | #c8d1df | — |
| source.css meta.property-name.media-query, source.css constant.other.color, punctuation.definition.constant.css | #c8d1df | — |
| source.css support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.less support.type.property-name, source.stylus support.type.property-name, source.postcss support.type.property-name, support.type.vendored.property-name | #88abf9 | — |
| source.css keyword.control.at-rule, source.sass keyword.control.at-rule, source.scss keyword.control.at-rule, source.less keyword.control.at-rule, source.stylus keyword.control.at-rule, source.postcss keyword.control.at-rule | #ba7bcc | — |
| entity.other.attribute-name.parent-selector-suffix punctuation.definition.entity | #88abf9 | — |
| constant.numeric, keyword.other.unit | #E6A26F | — |
| source.css entity.name.tag.reference, source.sass entity.name.tag.reference, source.scss entity.name.tag.reference, source.less entity.name.tag.reference, source.stylus entity.name.tag.reference, source.postcss entity.name.tag.reference | #6c8093 | |
| source.css support.constant.property-value, source.sass support.constant.property-value, source.scss support.constant.property-value, source.less support.constant.property-value, source.stylus support.constant.property-value, source.postcss support.constant.property-value | #c8d1df | |
| source.css variable, source.sass variable, source.scss variable, source.less variable, source.stylus variable, source.postcss variable | #f386bf | |
| source.css meta.property-value, source.sass meta.property-value, source.scss meta.property-value, source.less meta.property-value, source.stylus meta.property-value, source.postcss meta.property-value | #6c8093 | |
| entity.other.attribute-name.class | #e8c37d | |
| source.sass keyword.control | #53c6ba | — |
| source.css support.constant, source.sass support.constant, source.scss support.constant, source.less support.constant, source.stylus support.constant, source.postcss support.constant | #c8d1df | — |
| constant.keyword.clojure | #E6A26F | — |
| keyword.control.clojure | #ba7bcc | |
| meta.symbol.clojure, meta.var.clojure | #c8d1df | |
| storage.control.clojure | #ba7bcc | |
| meta.expression.clojure | #f386bf | |
| entity.global.clojure | #53c6ba | |
| meta.symbol.namespace.clojure | #53c6ba | |
| entity.name.function.clojure | #88abf9 | — |
| meta.objectliteral | #98c379 | — |
| meta.object-literal.key | #E6AC6F | — |
| keyword.operator | #ba7bcc | — |
| comment, punctuation.definition.comment | #356280 | — |
| variable, variable.other.object., string constant.other.placeholder, support.type.graphql | #88abf9 | — |
| constant.other.color, variable.parameter | #88abf9 | — |
| invalid, invalid.illegal | #c8d1df | — |
| keyword, storage.type, storage.modifier | #ba7bcc | — |
| keyword.operator.type.annotation.ts, constant.other.color, punctuation, punctuation.definition.tag, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.definition.string, keyword.other.template, keyword.other.substitution | #85b5c9 | — |
| punctuation.accessor | #6c8093 | — |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #53c6ba | — |
| entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method | #53c6ba | — |
| meta.block variable.other | #88abf9 | — |
| support.other.variable, string.other.link | #88abf9 | — |
| variable.other.constant, constant.language, support.constant, constant.character, constant.escape, keyword.other | #e8c37d | — |
| constant.language | #f05400 | — |
| constant.language.undefined | #6c8093 | — |
| string, constant.other.symbol, constant.other.key, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js, source.css meta.attribute-selector | #98c379 | |
| entity.name, support.class, support.orther.namespace.use.php, entity.other.inherited-class, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types | #e8c37d | — |
| support.type | #f386bf | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #c8d1df | — |
| variable.language | #c8d1df | |
| entity.name.method.js | #53c6ba | |
| meta.class-method.js entity.name.function.js, variable.function.constructor | #53c6ba | — |
| entity.other.attribute-name, text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #E6AC6F | |
| markup.inserted | #98c379 | — |
| markup.deleted | #c8d1df | — |
| markup.changed | #e8c37d | — |
| string.regexp | #98c379 | — |
| punctuation.definition.group.regexp | #f386bf | — |
| constant.other.character-class.regexp | #E6A26F | — |
| string.regexp punctuation.definition.character-class.regexp | #88abf9 | — |
| string.regexp punctuation.definition.string.begin, string.regexp punctuation.definition.string.end | #c8d1df | — |
| constant.character.escape | #53c6ba | — |
| *url*, *link*, *uri* | — | underline |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #53c6ba | |
| source.js constant.other.object.key.js string.unquoted.label.js | #c8d1df | |
| source.json meta.structure.dictionary.json support.type.property-name.json | #E6A26F | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #c8d1df | — |
| text.html.markdown markup.inline.raw.string.markdown | #E6A26F | — |
| text.html.markdown markup.inline.raw.markdown | #C792EA | — |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #c8d1df | — |
| text.html.markdown meta.dummy.line-break | — | |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #98c379 | — |
| markup.normal | #c8d1df | |
| markup.bold, markup.bold string | #c8d1df | bold |
| markup.bold markup.normal, markup.normal markup.bold, markup.quote markup.bold, markup.bold markup.normal string, markup.normal markup.bold string, markup.quote markup.bold string | #c8d1df | bold |
| markup.underline | #E6AC6F | underline |
| markup.strike | strikethrough | |
| markup.quote punctuation.definition.blockquote.markdown | #c8d1df | — |
| markup.quote | ||
| string.other.link.title.markdown | #53c6ba | — |
| string.other.link.description.title.markdown | #ba7bcc | — |
| constant.other.reference.link.markdown | #E6AC6F | — |
| markup.raw.block | #ba7bcc | — |
| markup.raw.block.fenced.markdown | #00000050 | — |
| punctuation.definition.fenced.markdown | #00000050 | — |
| markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end | #c8d1df | — |
| variable.language.fenced.markdown | #c8d1df | — |
| meta.separator | #c8d1df | bold |
| markup.table | #c8d1df | — |
| token.info-token | #53c6ba | — |
| token.warn-token | #e8c37d | — |
| token.error-token | #88abf9 | — |
| token.debug-token | #ba7bcc | — |
| constant.numeric | #4295da | — |
| invalid, invalid.illegal | #b63d52 | — |
| invalid.deprecated | #bb9af7 | — |
| storage.type | #bb9af7 | — |
| meta.object-literal.key, string.alias.graphql, string.unquoted.graphql, string.unquoted.alias.graphql, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js, meta.field.declaration.ts variable.object.property | #73daca | — |
| entity.other.inherited-class | #e8c37d | |
| support.class, support.type, variable.other.readwrite.alias, support.orther.namespace.use.php, meta.use.php, support.other.namespace.php, support.type.sys-types, support.variable.dom, support.constant.math, support.type.object.module, support.constant.json, entity.name.namespace, meta.import.qualifier | #0db9d7 | — |
| source.css support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.less support.type.property-name, source.stylus support.type.property-name, source.postcss support.type.property-name, support.type.property-name.css, support.type.vendored.property-name, support.type.map.key | #7aa2f7 | — |
| entity.other.attribute-name.class, meta.at-rule.mixin.scss entity.name.function.scss | #c0caf5 | — |
| entity.other.attribute-name.id | #bb9af7 | — |
| entity.name.tag.css | #0db9d7 | — |
| markup.inserted | #449dab | — |
| string.regexp | #b4f9f8 | — |
| punctuation.definition.group | #f7768e | — |
| constant.other.character-class.regexp | #bb9af7 | — |
| constant.other.character-class.set.regexp, punctuation.definition.character-class.regexp | #e0af68 | — |
| keyword.operator.quantifier.regexp | #89ddff | — |
| constant.character.escape.backslash | #c0caf5 | — |
| constant.character.escape | #89ddff | — |
| source.json meta.structure.dictionary.json support.type.property-name.json | #7aa2f7 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #0db9d7 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #7dcfff | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #bb9af7 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #e0af68 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #0db9d7 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #73daca | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #f7768e | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #9ece6a | — |
| storage.modifier.lifetime.rust | #dbdbdb | — |
| support.function.std.rust | #e8c37d | — |
| entity.name.lifetime.rust | #e8c37d | — |
| variable.language.rust | #e89353 | — |
| support.constant.edge | #ba7bcc | — |
| meta.function.c,meta.function.cpp | #e89353 | — |
| punctuation.section.block.begin.bracket.curly.cpp,punctuation.section.block.end.bracket.curly.cpp,punctuation.terminator.statement.c,punctuation.section.block.begin.bracket.curly.c,punctuation.section.block.end.bracket.curly.c,punctuation.section.parens.begin.bracket.round.c,punctuation.section.parens.end.bracket.round.c,punctuation.section.parameters.begin.bracket.round.c,punctuation.section.parameters.end.bracket.round.c | #dbdbdb | — |
| punctuation.separator.key-value | #dbdbdb | — |
| keyword.operator.expression.import | #e8c37d | — |
| support.constant.math | #e8c37d | — |
| support.constant.property.math | #c0768e | — |
| variable.other.constant | #e8c37d | — |
| keyword.operator.misc.rust | #dbdbdb | — |
| keyword.operator.sigil.rust | #ba7bcc | — |
| keyword.operator.delete | #ba7bcc | — |
| support.type.object.dom | #ba7bcc | — |
| support.variable.dom,support.variable.property.dom | #e89353 | — |
| keyword.operator.assignment.c,keyword.operator.comparison.c,keyword.operator.c,keyword.operator.increment.c,keyword.operator.decrement.c,keyword.operator.bitwise.shift.c,keyword.operator.assignment.cpp,keyword.operator.comparison.cpp,keyword.operator.cpp,keyword.operator.increment.cpp,keyword.operator.decrement.cpp,keyword.operator.bitwise.shift.cpp | #ba7bcc | — |
| entity.other.inherited-class | #e8c37d | — |
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}!`;
}