AMSA-Dark
Publisher: gdtheosThemes in package: 1
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 |
|---|---|---|
| keyword.operator.quantifier.regexp | #ffffff | — |
| variable.parameter.function | #d4d4d4 | — |
| storage.type.annotation.java, storage.type.object.array.java | #f37043 | — |
| 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,punctuation.definition.annotation.java,meta.method.body.java | #ffffff | — |
| meta.method.java | #0791eb | — |
| storage.modifier.import.java,storage.type.java,storage.type.generic.java | #f37043 | — |
| keyword.operator.instanceof.java | #bf3589 | — |
| meta.definition.variable.name.java | #f37043 | — |
| keyword.operator.logical | #00b5a8 | — |
| keyword.operator.comparison.java | #00b5a8 | — |
| keyword.operator.increment-decrement.java | #00b5a8 | — |
| keyword.operator.assignment.java | #00b5a8 | — |
| variable.other.definition.java | #ffffff | — |
| variable.other.object.java | #ffffff | — |
| variable.other.object.property.java | #ffffff | — |
| string.quoted.single.java | #00C566 | — |
| string.quoted.double.java | #00C566 | — |
| constant.numeric.decimal.java | #EF757B | — |
| constant.numeric.dec.python | #EF757B | — |
| constant.language.java | #FFCE00 | — |
| keyword.operator.bitwise | #00b5a8 | — |
| keyword.operator.channel | #00b5a8 | — |
| entity.name.type.module | #f37043 | — |
| keyword.operator.delete | #bf3589 | — |
| punctuation.separator.delimiter | #d4d4d4 | — |
| keyword.operator | #00B5A8 | — |
| keyword.operator.assignment.compound | #bf3589 | — |
| keyword | #bf3589 | — |
| entity.name.namespace | #f37043 | — |
| variable.language | #f37043 | — |
| import.storage.java | #f37043 | — |
| token.package.keyword | #bf3589 | — |
| token.package | #d4d4d4 | — |
| entity.name.function, meta.require, support.function.any-method, variable.function | #0791eb | — |
| entity.name.type.namespace | #f37043 | — |
| support.class, entity.name.type.class | #f37043 | — |
| entity.name.class.identifier.namespace.type | #f37043 | — |
| entity.name.type | #f37043 | — |
| keyword.control | #bf3589 | — |
| control.elements, keyword.operator.less | #ffffff | — |
| keyword.other.special-method | #0791eb | — |
| storage | #bf3589 | — |
| token.storage.type.java | #f37043 | — |
| support.function | #00b5a8 | — |
| support.type.property-name | #d4d4d4 | — |
| support.constant.property-value | #d4d4d4 | — |
| support.constant.font-name | #ffffff | — |
| meta.tag | #d4d4d4 | — |
| string | #00c566 | — |
| entity.other.inherited-class | #f37043 | — |
| constant.other.symbol | #00b5a8 | — |
| entity.name.tag | #ef424b | — |
| entity.other.attribute-name | #ffffff | — |
| entity.other.attribute-name.id | #0791eb | normal |
| entity.other.attribute-name.class.css | #ffffff | normal |
| meta.selector | #bf3589 | — |
| markup.heading | #ef424b | — |
| markup.heading punctuation.definition.heading, entity.name.section | #0791eb | — |
| keyword.other.unit | #ef424b | — |
| markup.bold,todo.bold | #ffffff | — |
| punctuation.definition.bold | #f37043 | — |
| markup.italic, punctuation.definition.italic,todo.emphasis | #bf3589 | — |
| emphasis md | #bf3589 | — |
| string.regexp | #00b5a8 | — |
| constant.character.escape | #00b5a8 | — |
| function.brace | #d4d4d4 | — |
| rgb-value | #00b5a8 | — |
| inline-color-decoration rgb-value | #ffffff | — |
| less rgb-value | #ffffff | — |
| block.scope.end,block.scope.begin | #d4d4d4 | — |
| token.info-token | #0791eb | — |
| token.warn-token | #ffffff | — |
| token.error-token | #f44747 | — |
| token.debug-token | #bf3589 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #bf3589 | — |
| punctuation.quasi.element | #bf3589 | — |
| entity.name.label.cs, markup.heading.setext.1.markdown, markup.heading.setext.2.markdown | #ef424b | — |
| meta.brace.square | #d4d4d4 | — |
| comment, punctuation.definition.comment | #9399a5 | italic |
| markup.quote.markdown | #9399a5 | — |
| punctuation.definition.block.sequence.item.yaml | #d4d4d4 | — |
| constant.language.symbol.elixir | #00b5a8 | — |
| comment.line.double-slash,comment.block.documentation | — | italic |
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}!`;
}