Alien Dark
Publisher: Tzero86Themes in package: 1
A custom alien-friendly dark theme.
A custom alien-friendly 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 |
|---|---|---|
| comment, punctuation.definition.comment, comment.line.double-slash, comment.block.documentation, comment markup.link, markup.quote.markdown | #f4f4f932 | italic |
| keyword, keyword.control, 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, keyword.operator.expression.import, keyword.operator.expression.keyof, keyword.operator.ternary, keyword.operator.optional, keyword.operator.sigil.rust, keyword.operator.delete, keyword.operator.sizeof.c, keyword.operator.sizeof.cpp, keyword.operator.logical.python, keyword.operator.error-control.php, keyword.operator.type.php, keyword.operator.regexp.php, keyword.operator.heredoc.php, keyword.operator.nowdoc.php, keyword.operator.module, keyword.other.template.begin, keyword.other.template.end, keyword.other.substitution.begin, keyword.other.substitution.end, punctuation.quasi.element, punctuation.section.embedded.begin, punctuation.section.embedded.end, keyword.control.import.python, keyword.control.flow.python | #00ff7c99 | — |
| storage, storage.type, storage.modifier, storage.type.haskell, storage.type.annotation.java, storage.type.object.array.java, storage.modifier.import.java, storage.type.java, storage.type.generic.java, storage.modifier.import.groovy, storage.type.cs, storage.type.php, storage.type.primitive.ts, storage.type.builtin.ts, storage.type.primitive.tsx, storage.type.builtin.tsx, token.storage, token.storage.type.java | #00ff7c99 | — |
| keyword.operator, keyword.operator.arithmetic, keyword.operator.comparison, keyword.operator.decrement, keyword.operator.increment, keyword.operator.relational, keyword.operator.logical, keyword.operator.bitwise, keyword.operator.channel, keyword.operator.assignment, keyword.operator.assignment.compound, keyword.operator.assignment.compound.js, keyword.operator.assignment.compound.ts, 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, keyword.operator.assignment.go, keyword.operator.arithmetic.go, keyword.operator.address.go, keyword.operator.logical.php, keyword.operator.bitwise.php, keyword.operator.arithmetic.php, keyword.operator.comparison.php, keyword.operator.quantifier.regexp, keyword.operator.misc.rust, CSS/SCSS/LESS Operators | #b8dbd9 | — |
| variable, variable.other.readwrite, variable.other.class.php, variable.other.constant, variable.parameter.function, variable.parameter.function.language.python, variable.parameter.function.python, variable.parameter.function.language.special.self.python, variable.parameter.function.js, variable.language.rust, variable.other.generic-type.haskell, meta.object-literal.key, support.variable.property, support.variable.object.process, support.variable.object.node, support.variable.dom, support.variable.property.dom, support.variable.property.process, meta.property.object, meta.definition.variable.name.java, meta.definition.variable.name.groovy, entity.name.variable.local.cs, meta.symbol.clojure, meta.arguments.coffee, variable.parameter.function.coffee, text.variable, text.bracketed | #7da18a | — |
| variable.language, variable.c, token.variable.parameter.java, variable.other.class.js, variable.other.class.ts, function.parameter, function.parameter.ruby, function.parameter.cs | #dbdbdb | — |
| entity.name.function, meta.require, support.function.any-method, variable.function, support.function.console, keyword.other.special-method, meta.function-call.generic.python, meta.function.java, meta.method.java, meta.function-call.php, meta.function-call.object.php, meta.function-call.static.php, meta.function.decorator.python, meta.method.groovy, support.other.php, entity.name.goto-label.php | #766eabe9 | — |
| support.class, entity.name.type.class, entity.name.type.namespace, entity.name.namespace, entity.name.type, entity.name.class, entity.name.class.identifier.namespace.type, entity.other.inherited-class, support.type.swift, support.type.vb.asp, support.type.primitive, support.type.builtin.ts, support.type.primitive.tsx, support.type.builtin.tsx, support.module.node, support.type.object.module, entity.name.type.module, support.other.namespace.use.php, support.other.namespace.use-as.php, support.other.namespace.php, entity.other.alias.php, meta.interface.php, entity.name.package.go, entity.global.clojure, storage.modifier.import.groovy, entity.name.label.cs, entity.name.scope-resolution.function.call, entity.name.scope-resolution.function.definition, entity.name.function.xi, entity.name.class.xi | #00dbff89 | — |
| constant, constant.numeric, constant.other.symbol, punctuation.definition.constant, support.constant.property-value.scss, support.constant.property-value.css, css color standard name, support.constant.color.w3c-standard-color-name.css, support.constant.color.w3c-standard-color-name.scss, support.constant.font-name, support.constant.json, support.constant.math, support.constant.property.math, support.constant.edge, support.constant.core.rust, support.constant.ext.php, support.constant.std.php, support.constant.core.php, support.constant.parser-token.php, support.constant.elm, constant.character.format.placeholder.other.python, constant.keyword.clojure, constant.language.symbol.ruby, constant.language.symbol.elixir, rgb-value, inline-color-decoration rgb-value, less rgb-value, token.warn-token, wikiword.xi | #03ab8c | — |
| string, string.regexp, punctuation.definition.string.begin, punctuation.definition.string.end, markup.inline.raw.markdown, markup.inline.raw.string.markdown, source.ini, markup.inserted.diff, meta.definition.class.inherited.classes.groovy, beginning.punctuation.definition.quote.markdown.xi | #d0ed799f | — |
| support.function, support.function.std.rust, support.type.property-name, support.constant.property-value, support.type.vendored.property-name.css, support.type.object.console, support.type.object.dom, support.type.python, support.token.decorator.python, meta.function.decorator.identifier.python, support.type.posix-reserved.c, support.type.posix-reserved.cpp, constant.other.character-class.regexp, constant.character.escape, regular.expressions, source.json meta.structure.dictionary.json > constant.language.json, source.json meta.structure.array.json > constant.language.json, support.type.prelude.elm, entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class, selector.sass | #b8dbd9 | — |
| punctuation.separator.delimiter, punctuation.separator.key-value, punctuation.separator.parameters.python, punctuation.separator.period.python, punctuation.separator.element.python, punctuation.parenthesis.begin.python, punctuation.parenthesis.end.python, punctuation.definition.arguments.begin.python, punctuation.definition.arguments.end.python, punctuation.separator.arguments.python, punctuation.definition.list.begin.python, punctuation.definition.list.end.python, punctuation.separator.list.comma.css, 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, punctuation.separator.c, punctuation.separator.cpp, storage.modifier.lifetime.rust, keyword.operator.misc.rust, meta.tag, function.brace, block.scope.end, block.scope.begin, meta.brace.square, punctuation.definition.block.sequence.item.yaml | #dbdbdb | — |
| entity.name.tag, entity.other.attribute-name, entity.other.attribute-name.id, entity.other.attribute-name.class.css, meta.selector, constant.character.entity | #7da18a | — |
| entity.other.attribute-name.id | #766eabe9 | |
| markup.heading, entity.name.section.markdown, punctuation.definition.heading.markdown, markup.heading punctuation.definition.heading, entity.name.section, markup.heading.setext, markup.heading.setext.1.markdown, markup.heading.setext.2.markdown | #7da18a | — |
| markup.bold, todo.bold, punctuation.definition.bold.markdown | #03ab8c | — |
| markup.italic, punctuation.definition.italic, todo.emphasis, emphasis md, markup.italic.markdown | #00ff7c99 | italic |
| markup.underline.link.markdown, markup.underline.link.image.markdown, string.other.link.title.markdown, string.other.link.description.markdown, punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.definition.metadata.markdown, punctuation.definition.list.begin.markdown, punctuation.definition.list.markdown, beginning.punctuation.definition.list.markdown | #766eabe9 | — |
| keyword.other.unit | #7da18a | — |
| source.json meta.structure.dictionary.json > string.quoted.json, source.json meta.structure.dictionary.json > string.quoted.json > punctuation.string, support.type.property-name.json, support.type.property-name.json punctuation | #7da18a | — |
| 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 | #d0ed799f | — |
| markup.changed.diff, markup.deleted.diff, meta.diff.header.from-file, meta.diff.header.to-file, punctuation.definition.from-file.diff, punctuation.definition.to-file.diff | #00dbff89 | — |
| invalid.illegal, invalid.broken, invalid.deprecated, invalid.unimplemented, invalid.illegal.non-null-typehinted.php | #ffffff | — |
| token.error-token, invalid.illegal.non-null-typehinted.php | #f44747 | — |
| token.info-token, token.debug-token | #766eabe9 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded, meta.template.expression, variable.interpolation | #dbdbdb | — |
| text.html.laravel-blade source.php.embedded.line.html entity.name.tag.laravel-blade, text.html.laravel-blade source.php.embedded.line.html support.constant.laravel-blade, punctuation.section.array.begin.php, punctuation.section.array.end.php, 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 | #dbdbdb | — |
| source.java, 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 | #7da18a | — |
| meta.function.c, meta.function.cpp | #7da18a | — |
| entity.name.lifetime.rust | #00dbff89 | — |
| support.variable.magic.python | #7da18a | — |
| 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 | #7da18a | — |
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}!`;
}