Nostromo Theme
Publisher: Martin TheimerThemes in package: 1
A retro sci-fi color theme
A retro sci-fi color 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 |
|---|---|---|
| — | #fdfae9 | — |
| emphasis | — | italic |
| strong | — | bold |
| header | #000080 | — |
| comment, punctuation.definition.comment, punctuation.whitespace.comment | #6a6e6d | — |
| constant.language | #f6e78a | — |
| constant.numeric, constant.other.java, constant.other.groovy, constant.other.rust, support.constant.core | #aa97d3 | — |
| constant.regexp | #87d68a | — |
| entity.name.tag | #f6e78a | — |
| entity.name.tag.css | #f6e78a | — |
| entity.other.attribute-name | #6b9dd0 | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.class.mixin.css, entity.other.attribute-name.id.css, entity.other.attribute-name.parent-selector.css, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.attribute.scss, entity.other.attribute-name.scss, entity.other.attribute-name.class.sass | #81d9c3 | — |
| entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #fd5a91 | — |
| invalid | #e75d57 | — |
| markup.underline | — | underline |
| markup.bold | — | bold |
| markup.heading | #f6e78a | bold |
| markup.italic | — | italic |
| markup.inserted | #aa97d3 | — |
| markup.deleted | #87d68a | — |
| markup.changed | #f6e78a | — |
| markup.inline.raw | #87d68a | — |
| beginning.punctuation.definition.list.markdown, beginning.punctuation.definition.quote.markdown, text.html.markdown punctuation.definition, text.html.markdown punctuation.definition.string | #81d9c3 | — |
| text.html.markdown string.other.link.title, text.html.markdown string.other.link.description, meta.link.reference.markdown | #6b9dd0 | — |
| meta.link.reference.def.markdown | #87d68a | — |
| text.html.markdown markup.fenced_code.block, markup.raw.block, markup.inline.raw.markdown | #e75d57 | — |
| markup.quote.markdown | #bebeb4 | — |
| meta.separator.markdown | #fd5a91 | — |
| string.unquoted.cdata | #fd5a91 | — |
| meta.selector | #81d9c3 | — |
| punctuation.definition.tag | #fdfae9 | — |
| meta.preprocessor | #f6e78a | — |
| meta.preprocessor.string | #87d68a | — |
| meta.preprocessor.numeric | #aa97d3 | — |
| meta.structure.dictionary.key.python | #fdfae9 | — |
| meta.diff.header | #f6e78a | — |
| storage | #f6e78a | — |
| storage.type | #f6e78a | — |
| storage.modifier | #f6e78a | — |
| string | #87d68a | — |
| string.tag | #87d68a | — |
| string.value | #87d68a | — |
| string.regexp, string.regexp punctuation.definition, string.regexp punctuation.definition.string, string.regexp keyword.operator | #87d68a | — |
| punctuation.definition.template-expression.begin.js, punctuation.definition.template-expression.begin.ts, punctuation.definition.template-expression.end.ts, punctuation.definition.template-expression.end.js | #f6e78a | — |
| support.type.vendored.property-name, support.type.property-name | #6b9dd0 | — |
| variable.css, variable.scss, variable.other.less, variable.declaration.less, variable.parameter.sass | #fdfae9 | — |
| keyword.other.important | #fd5a91 | — |
| keyword | #f6e78a | — |
| keyword.control | #f6e78a | — |
| keyword.operator, storage.type.function.arrow | #f6e78a | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.logical.python, keyword.type | #f6e78a | — |
| keyword.other.unit | #aa97d3 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #f6e78a | — |
| support.function.git-rebase | #fdfae9 | — |
| constant.sha.git-rebase | #aa97d3 | — |
| variable.language | #f6e78a | — |
| entity.name.function, support.function, variable.function, support.constant.handlebars, meta.method, meta.function-call, keyword.other.special-method, meta.block-level, entity.other.less.mixin, meta.decorator meta.object.member entity.name.function, meta.method.java meta.method.body.java meta.function-call.java variable.function.java, meta.function.rust meta.block.rust support.function | #e75d57 | — |
| meta.return-type, support.class, support.type, entity.name.type, entity.name.class, storage.type.cs, storage.type.generic.cs, storage.type.modifier.cs, storage.type.variable.cs, storage.type.generic.java, storage.type.java, storage.type.object.array.java, storage.type.primitive.array.java, storage.type.primitive.java, storage.type.token.java, storage.type.groovy, storage.type.parameters.groovy, storage.type.generic.groovy, storage.type.object.array.groovy, storage.type.primitive.array.groovy, storage.type.primitive.groovy, storage.type.class.java, storage.type.class.groovy, storage.class.std.rust, storage.type.source.rust, meta.trait, meta.struct | #81d9c3 | — |
| meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class | #81d9c3 | — |
| storage.modifier.import, storage.modifier.package, entity.name.type.namespace, entity.name.package, entity.alias.import, meta.path.rust | #fdfae9 | — |
| entity.name.type.enum | #81d9c3 | — |
| variable.other.enummember, entity.name.variable.enum-member, constant.other.enum | #aa97d3 | — |
| constant.other.color, punctuation, meta.tag, punctuation.separator.inheritance.php, punctuation.section.embedded, keyword.other.template, keyword.other.substitution, meta.method.identifier.java, meta.brace, string.unquoted.cdata.xml punctuation.definition.string, meta.function-call.method.js meta.object-literal.js, meta.generic punctuation.definition.generic, meta.block.rust, meta.group.rust | #fdfae9 | — |
| storage.type.annotation, meta.decorator variable, meta.decorator entity.name.function, variable.annotation, punctuation.definition.annotation, meta.attribute.rust, meta.annotation.rust | #ffa55b | — |
| variable, meta.definition.variable.name, entity.global.clojure, meta.symbol.clojure, support.variable, entity.name.variable.local, entity.name.variable.parameter, entity.name.variable.global, meta.decorator meta variable | #fdfae9 | — |
| meta.function-call meta.function-call.arguments, meta.method.java meta.method.body.java, meta.method.java meta.method.body.java meta.function-call.java, meta.definition.method.groovy meta.method.body.java, meta.definition.method.groovy meta.definition.method.signature.java meta.method.parameters.groovy, meta.function-call.java meta.parens.java, storage.modifier.array.java | #fdfae9 | — |
| meta.class.identifier.java storage.type.java | #f6e78a | — |
| entity.name.label | #ffa55b | — |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color, punctuation.definition.constant.css, punctuation.definition.constant.scss | #aa97d3 | — |
| variable.object.property, variable.other.object.property, variable.other.property, variable.other.constant.property, entity.name.variable.property, entity.name.variable.field, support.variable.property, meta.definition.property, meta.field.declaration, meta.property.object, constant.other.key, variable.other.member | #6b9dd0 | — |
| meta.object-literal.key, meta.object-literal.key entity.name.function | #6b9dd0 | — |
| entity.name.type.type-parameter, meta.type.parameters entity.name.type, meta.type_params, meta.type_params.rust storage.class.std.rust, meta.type_params.rust storage.type, meta.generic | #ffa55b | — |
| punctuation.definition.string | #87d68a | — |
| markup.underline.link | #87d68a | — |
| entity.name.function.macro, support.function.core.rust, support.function.std.rust, support.macro.rust | #e75d57 | italic |
| storage.modifier.lifetime | #fd5a91 | — |
| source.json meta.structure.dictionary.json support.type.property-name.json, source.json meta.structure.dictionary.json string.quoted.double.json - meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta.structure.dictionary.json punctuation.definition.string - meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string | #6b9dd0 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json, source.json meta meta.structure.dictionary.json string.quoted.double.json - meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta.structure.dictionary.json punctuation.definition.string - meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string | #e75d57 | — |
| 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, source.json meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string | #ffa55b | — |
| 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, source.json meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string | #fd5a91 | — |
| 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, source.json meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string | #81d9c3 | — |
| 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, source.json meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string | #6b9dd0 | — |
| 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, source.json meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string | #e75d57 | — |
| 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, source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string | #ffa55b | — |
| 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, source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json string.quoted.double.json - meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json, source.json meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json punctuation.definition.string - meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta meta.structure.dictionary.json meta.structure.dictionary.value.json punctuation.definition.string | #fd5a91 | — |
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}!`;
}