Minimal-44
Publisher: YazeedThemes in package: 2
dark theme
dark 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 |
|---|---|---|
| punctuation.brackets.curly.rust, punctuation.brackets.square.rust, punctuation.brackets.round.rust, punctuation.semi.rust, punctuation.brackets.angle.rust, punctuation.brackets.attribute.rust, punctuation.definition.attribute.rust, punctuation.definition.interpolation.rust | #555658 | — |
| punctuation.definition.begin.bracket.round, punctuation.definition.end.bracket.round.go, punctuation.definition.bracket.square.go, punctuation.definition.begin.bracket.curly, punctuation.definition.end.bracket.curly.go, punctuation.definition.imports.begin.bracket.round.go, punctuation.definition.imports.end.bracket.round.go | #5F5F5F | — |
| punctuation.definition.block.js, meta.brace.round.js, punctuation.terminator.statement.js, meta.brace.square.js, meta.array.literal.js, meta.parameters.js, meta.property-list.css | #555658 | — |
| punctuation.definition.delayed.unison,punctuation.definition.list.begin.unison,punctuation.definition.list.end.unison,punctuation.definition.ability.begin.unison,punctuation.definition.ability.end.unison,punctuation.operator.assignment.as.unison,punctuation.separator.pipe.unison,punctuation.separator.delimiter.unison,punctuation.definition.hash.unison | #E3E8ED | — |
| variable.other.generic-type.haskell | #FF6793 | — |
| storage.type.haskell | #FF8E90 | — |
| support.variable.magic.python | #E3E8ED | — |
| punctuation.separator.period.python,punctuation.separator.element.python,punctuation.parenthesis.begin.python,punctuation.parenthesis.end.python | #E3E8ED | — |
| variable.parameter.function.language.special.self.python | #E3E8ED | — |
| storage.modifier.lifetime.rust | #E3E8ED | — |
| support.function.std.rust, entity.name.type.rust | #95E687 | — |
| entity.name.type.lifetime.rust | #ED9DDE | — |
| variable.language.rust | #E3E8ED | — |
| support.constant.edge | #FF6793 | — |
| constant.other.character-class.regexp | #E3E8ED | — |
| keyword.operator.quantifier.regexp | #FF8E90 | — |
| punctuation.definition.string.begin,punctuation.definition.string.end | #E8DE75 | — |
| variable.parameter.function | #E3E8ED | — |
| comment markup.link | #505153 | — |
| markup.changed.diff | #E3E8ED | — |
| meta.diff.header.from-file,meta.diff.header.to-file,punctuation.definition.from-file.diff,punctuation.definition.to-file.diff | #95E687 | — |
| markup.inserted.diff | #E8DE75 | — |
| markup.deleted.diff | #E3E8ED | — |
| meta.function.c,meta.function.cpp | #E3E8ED | — |
| punctuation.separator.key-value | #E3E8ED | — |
| keyword.operator.expression.import | #95E687 | — |
| support.constant.math | #E3E8ED | — |
| support.constant.property.math | #FF8E90 | — |
| variable.other.constant | #E3E8ED | — |
| storage.type.annotation.java, punctuation.definition.annotation.java | #8ac6b3 | — |
| source.java | #E3E8ED | — |
| punctuation.section.block.begin.java,punctuation.section.block.end.java,punctuation.definition.method-parameters.begin.java,punctuation.definition.method-parameters.end.java,meta.method.identifier.java,punctuation.section.method.begin.java,punctuation.section.method.end.java,punctuation.terminator.java,punctuation.section.class.begin.java,punctuation.section.class.end.java,punctuation.section.inner-class.begin.java,punctuation.section.inner-class.end.java,meta.method-call.java,punctuation.section.class.begin.bracket.curly.java,punctuation.section.class.end.bracket.curly.java,punctuation.section.method.begin.bracket.curly.java,punctuation.section.method.end.bracket.curly.java,punctuation.separator.period.java,punctuation.bracket.angle.java,meta.method.body.java | #E3E8ED | — |
| meta.method.java | #95E687 | — |
| storage.modifier.import.java,storage.type.java,storage.type.generic.java | #E3E8ED | — |
| keyword.operator.instanceof.java | #FF6793 | — |
| meta.definition.variable.name.java | #E3E8ED | — |
| keyword.operator.logical | #E3E8ED | — |
| keyword.operator.bitwise | #E3E8ED | — |
| keyword.operator.channel | #E3E8ED | — |
| support.constant.property-value.scss,support.constant.property-value.css | #FF8E90 | — |
| keyword.operator.css,keyword.operator.scss,keyword.operator.less | #E3E8ED | — |
| support.constant.color.w3c-standard-color-name.css,support.constant.color.w3c-standard-color-name.scss | #FF8E90 | — |
| punctuation.separator.list.comma.css | #E3E8ED | — |
| support.constant.color.w3c-standard-color-name.css | #FF8E90 | — |
| support.type.vendored.property-name.css | #E3E8ED | — |
| support.module.node,support.type.object.module,support.module.node | #E3E8ED | — |
| entity.name.type.module | #E3E8ED | — |
| variable.other.readwrite,meta.object-literal.key,support.variable.property,support.variable.object.process,support.variable.object.node | #E3E8ED | — |
| support.constant.json | #FF8E90 | — |
| keyword.operator.expression.instanceof, keyword.operator.new, keyword.operator.ternary, keyword.operator.optional, keyword.operator.expression.keyof | #FF6793 | — |
| support.type.object.console | #E3E8ED | — |
| support.variable.property.process | #FF8E90 | — |
| entity.name.function,support.function.console | #95E687 | — |
| keyword.operator.misc.rust | #E3E8ED | — |
| keyword.operator.sigil.rust | #FF6793 | — |
| keyword.operator.delete | #FF6793 | — |
| support.type.object.dom | #E3E8ED | — |
| support.variable.dom,support.variable.property.dom | #E3E8ED | — |
| keyword.operator.arithmetic,keyword.operator.comparison,keyword.operator.decrement,keyword.operator.increment,keyword.operator.relational | #E3E8ED | — |
| 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 | #E3E8ED | — |
| punctuation.separator.delimiter | #E3E8ED | — |
| punctuation.separator.c,punctuation.separator.cpp | #FF6793 | — |
| support.type.posix-reserved.c,support.type.posix-reserved.cpp | #E3E8ED | — |
| keyword.operator.sizeof.c,keyword.operator.sizeof.cpp | #95E687 | — |
| variable.parameter.function.language.python | #FF8E90 | — |
| support.type.python | #E3E8ED | — |
| keyword.operator.logical.python | #FF6793 | — |
| variable.parameter.function.python | #FF8E90 | — |
| punctuation.definition.arguments.begin.python,punctuation.definition.arguments.end.python,punctuation.separator.arguments.python,punctuation.definition.list.begin.python,punctuation.definition.list.end.python | #E3E8ED | — |
| meta.function-call.generic.python | #95E687 | — |
| constant.character.format.placeholder.other.python | #FF8E90 | — |
| keyword.operator | #E3E8ED | — |
| keyword.operator.assignment.compound | #FF6793 | — |
| keyword.operator.assignment.compound.js,keyword.operator.assignment.compound.ts | #E3E8ED | — |
| keyword | #FF6793 | — |
| entity.name.namespace | #E3E8ED | — |
| variable | #E3E8ED | — |
| variable.c | #E3E8ED | — |
| variable.language | #E3E8ED | — |
| token.variable.parameter.java | #E3E8ED | — |
| import.storage.java | #E3E8ED | — |
| token.package.keyword | #FF6793 | — |
| token.package | #E3E8ED | — |
| entity.name.function, meta.require, support.function.any-method, variable.function | #95E687 | — |
| entity.name.type.namespace | #E3E8ED | — |
| support.class, entity.name.type.class | #E3E8ED | — |
| entity.name.class.identifier.namespace.type | #E3E8ED | — |
| entity.name.class, variable.other.class.js, variable.other.class.ts | #E3E8ED | — |
| variable.other.class.php | #E3E8ED | — |
| entity.name.type | #E3E8ED | — |
| keyword.control | #FF6793 | — |
| control.elements, keyword.operator.less | #FF8E90 | — |
| keyword.other.special-method | #95E687 | — |
| storage | #FF6793 | — |
| token.storage | #FF6793 | — |
| keyword.operator.expression.delete,keyword.operator.expression.in,keyword.operator.expression.of,keyword.operator.expression.instanceof,keyword.operator.new,keyword.operator.expression.typeof,keyword.operator.expression.void | #FF6793 | — |
| token.storage.type.java | #E3E8ED | — |
| support.function | #E3E8ED | — |
| support.type.property-name.css | #8fbadc | — |
| support.constant.property-value | #E3E8ED | — |
| support.constant.font-name | #FF8E90 | — |
| meta.tag | #E3E8ED | — |
| string | #E8DE75 | — |
| entity.other.inherited-class | #E3E8ED | — |
| constant.other.symbol | #E3E8ED | — |
| constant.numeric | #FF8E90 | — |
| constant | #FF8E90 | — |
| punctuation.definition.constant | #FF8E90 | — |
| text.xml | #81c78e | — |
| entity.name.tag | #ED9DDE | — |
| entity.other.attribute-name | #FF8E90 | — |
| entity.other.attribute-name.id | #95E687 | normal |
| entity.other.attribute-name.class.css | #ED9DDE | normal |
| meta.selector | #FF6793 | — |
| text.html.derivative | #E3E8ED | — |
| markup.heading | #E3E8ED | — |
| markup.heading punctuation.definition.heading, entity.name.section | #95E687 | — |
| keyword.other.unit | #E3E8ED | — |
| markup.bold,todo.bold | #FF8E90 | — |
| punctuation.definition.bold | #E3E8ED | — |
| markup.italic, punctuation.definition.italic,todo.emphasis | #FF6793 | — |
| emphasis md | #FF6793 | — |
| entity.name.section.markdown | #E3E8ED | — |
| punctuation.definition.heading.markdown | #E3E8ED | — |
| punctuation.definition.list.begin.markdown | #E3E8ED | — |
| markup.heading.setext | #E3E8ED | — |
| punctuation.definition.bold.markdown | #FF8E90 | — |
| markup.inline.raw.markdown | #E8DE75 | — |
| markup.inline.raw.string.markdown | #E8DE75 | — |
| punctuation.definition.list.markdown | #E3E8ED | — |
| punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.definition.metadata.markdown | #E3E8ED | — |
| beginning.punctuation.definition.list.markdown | #E3E8ED | — |
| punctuation.definition.metadata.markdown | #E3E8ED | — |
| markup.underline.link.markdown,markup.underline.link.image.markdown | #FF6793 | — |
| string.other.link.title.markdown,string.other.link.description.markdown | #95E687 | — |
| string.regexp | #E3E8ED | — |
| constant.character.escape | #E3E8ED | — |
| punctuation.section.embedded, variable.interpolation | #E3E8ED | — |
| punctuation.section.embedded.begin,punctuation.section.embedded.end | #FF6793 | — |
| invalid.illegal | #ffffff | — |
| invalid.illegal.bad-ampersand.html | #E3E8ED | — |
| invalid.broken | #ffffff | — |
| invalid.deprecated | #ffffff | — |
| invalid.unimplemented | #E3E8ED | — |
| source.json meta.structure.dictionary.json > string.quoted.json | #E3E8ED | — |
| source.json meta.structure.dictionary.json > string.quoted.json > punctuation.string | #E3E8ED | — |
| source.json meta.structure.dictionary.json > value.json > string.quoted.json,source.json meta.structure.array.json > value.json > string.quoted.json,source.json meta.structure.dictionary.json > value.json > string.quoted.json > punctuation,source.json meta.structure.array.json > value.json > string.quoted.json > punctuation | #E8DE75 | — |
| source.json meta.structure.dictionary.json > constant.language.json,source.json meta.structure.array.json > constant.language.json | #E3E8ED | — |
| support.type.property-name.json | #8db3de | — |
| support.type.property-name.json punctuation | #8db3de | — |
| text.html.laravel-blade source.php.embedded.line.html entity.name.tag.laravel-blade | #FF6793 | — |
| text.html.laravel-blade source.php.embedded.line.html support.constant.laravel-blade | #FF6793 | — |
| support.other.namespace.use.php,support.other.namespace.use-as.php,support.other.namespace.php,entity.other.alias.php,meta.interface.php | #E3E8ED | — |
| keyword.operator.error-control.php | #FF6793 | — |
| keyword.operator.type.php | #FF6793 | — |
| punctuation.section.array.begin.php | #E3E8ED | — |
| punctuation.section.array.end.php | #E3E8ED | — |
| invalid.illegal.non-null-typehinted.php | #f44747 | — |
| storage.type.php,meta.other.type.phpdoc.php,keyword.other.type.php,keyword.other.array.phpdoc.php | #E3E8ED | — |
| meta.function-call.php,meta.function-call.object.php,meta.function-call.static.php | #95E687 | — |
| punctuation.definition.parameters.begin.bracket.round.php,punctuation.definition.parameters.end.bracket.round.php,punctuation.separator.delimiter.php,punctuation.section.scope.begin.php,punctuation.section.scope.end.php,punctuation.terminator.expression.php,punctuation.definition.arguments.begin.bracket.round.php,punctuation.definition.arguments.end.bracket.round.php,punctuation.definition.storage-type.begin.bracket.round.php,punctuation.definition.storage-type.end.bracket.round.php,punctuation.definition.array.begin.bracket.round.php,punctuation.definition.array.end.bracket.round.php,punctuation.definition.begin.bracket.round.php,punctuation.definition.end.bracket.round.php,punctuation.definition.begin.bracket.curly.php,punctuation.definition.end.bracket.curly.php,punctuation.definition.section.switch-block.end.bracket.curly.php,punctuation.definition.section.switch-block.start.bracket.curly.php,punctuation.definition.section.switch-block.begin.bracket.curly.php,punctuation.definition.section.switch-block.end.bracket.curly.php | #E3E8ED | — |
| support.constant.core.rust | #FF8E90 | — |
| support.constant.ext.php,support.constant.std.php,support.constant.core.php,support.constant.parser-token.php | #FF8E90 | — |
| entity.name.goto-label.php,support.other.php | #95E687 | — |
| keyword.operator.logical.php,keyword.operator.bitwise.php,keyword.operator.arithmetic.php | #E3E8ED | — |
| keyword.operator.regexp.php | #FF6793 | — |
| keyword.operator.comparison.php | #E3E8ED | — |
| keyword.operator.heredoc.php,keyword.operator.nowdoc.php | #FF6793 | — |
| meta.function.decorator.python | #95E687 | — |
| support.token.decorator.python,meta.function.decorator.identifier.python | #E3E8ED | — |
| function.parameter | #E3E8ED | — |
| function.brace | #E3E8ED | — |
| function.parameter.ruby, function.parameter.cs | #E3E8ED | — |
| constant.language.symbol.ruby | #E3E8ED | — |
| rgb-value | #E3E8ED | — |
| inline-color-decoration rgb-value | #FF8E90 | — |
| less rgb-value | #FF8E90 | — |
| selector.sass | #E3E8ED | — |
| support.type.primitive.ts,support.type.builtin.ts,support.type.primitive.tsx,support.type.builtin.tsx | #E3E8ED | — |
| block.scope.end,block.scope.begin | #E3E8ED | — |
| storage.type.cs | #E3E8ED | — |
| entity.name.variable.local.cs | #E3E8ED | — |
| token.info-token | #95E687 | — |
| token.warn-token | #FF8E90 | — |
| token.error-token | #f44747 | — |
| token.debug-token | #FF6793 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #FF6793 | — |
| meta.template.expression | #E3E8ED | — |
| keyword.operator.module | #FF6793 | — |
| support.type.type.flowtype | #95E687 | — |
| support.type.primitive | #E3E8ED | — |
| meta.property.object | #E3E8ED | — |
| variable.parameter.function.js | #E3E8ED | — |
| keyword.other.template.begin | #E8DE75 | — |
| keyword.other.template.end | #E8DE75 | — |
| keyword.other.substitution.begin | #E8DE75 | — |
| keyword.other.substitution.end | #E8DE75 | — |
| keyword.operator.assignment | #E3E8ED | — |
| keyword.operator.assignment.go, keyword.operator.comparison.go, keyword.operator.increment.go | #FF6793 | — |
| keyword.operator.arithmetic.go, keyword.operator.address.go | #FF6793 | — |
| entity.name.package.go | #E3E8ED | — |
| variable.parameter.java | #ED9DDE | — |
| support.function.go | #95E687 | — |
| support.type.prelude.elm | #E3E8ED | — |
| support.constant.elm | #FF8E90 | — |
| punctuation.quasi.element | #FF6793 | — |
| constant.character.entity | #E3E8ED | — |
| entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class | #E3E8ED | — |
| entity.global.clojure | #E3E8ED | — |
| meta.symbol.clojure | #E3E8ED | — |
| constant.keyword.clojure | #E3E8ED | — |
| meta.arguments.coffee, variable.parameter.function.coffee | #E3E8ED | — |
| source.ini | #E8DE75 | — |
| meta.scope.prerequisites.makefile | #E3E8ED | — |
| source.makefile | #95E687 | — |
| storage.modifier.import.groovy | #E3E8ED | — |
| meta.method.groovy | #95E687 | — |
| meta.definition.variable.name.groovy | #E3E8ED | — |
| meta.definition.class.inherited.classes.groovy | #E8DE75 | — |
| support.variable.semantic.hlsl | #E3E8ED | — |
| support.type.texture.hlsl, support.type.sampler.hlsl, support.type.object.hlsl, support.type.object.rw.hlsl, support.type.fx.hlsl, support.type.object.hlsl | #FF6793 | — |
| text.variable, text.bracketed | #E3E8ED | — |
| support.type.swift, support.type.vb.asp | #E3E8ED | — |
| entity.name.function.xi | #E3E8ED | — |
| entity.name.class.xi | #E3E8ED | — |
| constant.character.character-class.regexp.xi | #E3E8ED | — |
| constant.regexp.xi | #FF6793 | — |
| keyword.control.xi | #E3E8ED | — |
| invalid.xi | #E3E8ED | — |
| beginning.punctuation.definition.quote.markdown.xi | #E8DE75 | — |
| beginning.punctuation.definition.list.markdown.xi | #505153 | — |
| constant.character.xi | #95E687 | — |
| accent.xi | #95E687 | — |
| wikiword.xi | #FF8E90 | — |
| constant.other.color.rgb-value.xi | #E3E8ED | — |
| punctuation.definition.tag.xi | #505153 | — |
| entity.name.label.cs, entity.name.scope-resolution.function.call, entity.name.scope-resolution.function.definition | #E3E8ED | — |
| entity.name.label.cs, markup.heading.setext.1.markdown, markup.heading.setext.2.markdown | #E3E8ED | — |
| meta.brace.square | #E3E8ED | — |
| comment, punctuation.definition.comment | #505153 | italic |
| markup.quote.markdown | #505153 | — |
| punctuation.definition.block.sequence.item.yaml | #E3E8ED | — |
| constant.language.symbol.elixir | #E3E8ED | — |
| entity.other.attribute-name.js,entity.other.attribute-name.ts,entity.other.attribute-name.jsx,entity.other.attribute-name.tsx,variable.parameter,variable.language.super | — | |
| comment.line.double-slash,comment.block.documentation | — | italic |
| keyword.control.import.python,keyword.control.flow.python | — | |
| markup.italic.markdown | — | |
| variable.other.constant.property, support.variable.property, variable.other.object.property.java, variable.other.property.js, meta.object-literal.key.ts, meta.object-literal.key.js | #ED9DDE | — |
| variable.language.this.js, variable.language.this.java, variable.language.this.cpp, punctuation.separator.pointer-access.cpp, storage.type.function.arrow.java, keyword.operator.logical, keyword.operator.borrow.and.rust, keyword.operator.arrow.fat.rust, entity.name.type.numeric.rust, keyword.operator.relational, entity.name.type.primitive.rust, keyword.operator.logical.cpp, keyword.operator.namespace.rust, keyword.operator.arrow.skinny.rust, punctuation.separator.scope-resolution.cpp, punctuation.separator.scope-resolution.parameter.cpp, storage.type.generic.java, keyword.control.ternary.java, entity.other.attribute-name.table.toml, punctuation.separator.scope-resolution.function.call.cpp, variable.language.this.ts, keyword.operator.question.rust, keyword.operator.borrow.and.rust, meta.macro.rust, keyword.operator.cpp, entity.name.function.macro.rust, keyword.operator.dereference.rust, keyword.operator.attribute.inner.rust | #FF6793 | — |
| entity.name.type.struct.rust, keyword.key.toml, entity.name.type.enum.rust, entity.name.module.rust, entity.name.type.rust, support.function.builtin.go | #80BDF0 | — |
| entity.name.type.option.rust, entity.name.type.result.rust, constant.other.caps.rust, entity.name.type.go | #ED9DDE | — |
| variable.language.self.rust | #ED9DDE | italic |
| constant.language.java, keyword.other.unit.hexadecimal.cpp, keyword.other.unit.hexadecimal.c, entity.name.function.preprocessor.cpp, entity.name.function.preprocessor.c | #FF8E90 | — |
| keyword.operator.increment-decrement.java, punctuation.bracket.square.java, keyword.operator.ternary, constant.other.caps.rust, storage.type.object.array.java, storage.modifier.package.java, keyword.operator.delete.array.bracket.cpp, keyword.operator.relational.js, keyword.operator.relational.ts, punctuation.section.embedded.end.js, punctuation.section.embedded.begin.js, source | #E3E8ED | — |
| constant.character.escape, constant.other.placeholder.c | #7EB494 | — |
| keyword.operator.arithmetic.bitwise.go | #FF8E90 | — |
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}!`;
}