Negative Alternate
Publisher: joaom00Themes in package: 1
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 |
|---|---|---|
| #ffffff | — | |
| variable.language.this | — | |
| markup.bold | — | bold |
| invalid, markup.italic, markup.quote | — | italic |
| markup.underline | — | underline |
| source.js.jsx punctuation.section.embedded, entity.name.tag, string.other.link.description.title, support.constant, support.variable, support.type, variable.other.class, support.class.builtin.js, support.class.console.js, meta.property-value, variable.parameter.keyframe-list, meta.at-rule.keyframes entity.name.function, expression.embedded.vue punctuation.definition | #8D61FF | |
| entity.other.attribute-name.pseudo-class.css, entity.name.type.object.console, variable.language, variable.parameter.function.language.special.self.python, storage.type, entity.other.attribute-name.pseudo-element.css | #8D61FF | italic |
| punctuation.definition.string.template | #8D61FF | bold |
| entity.other.attribute-name.class.css, entity.other.attribute-name.parent-selector-suffix.css, entity.other.attribute-name.parent-selector-suffix.css punctuation.definition.entity.css, meta.definition.function, markup.underline.link, markup.inserted, meta.function-call, meta.instance.constructor, meta.attribute-with-value.class string, string.other.ref, string.other.restructuredtext.ref, variable.function, entity.name.type, variable.other.object.property, punctuation.separator.key-value, meta.definition.function.js, entity.other.inherited-class, support.function.misc, support.function, entity.other.attribute-name.id.css, entity.other.attribute-name.id.css punctuation, entity.other.attribute-name.class.css punctuation, meta.function-call support.function.construct, entity.other.attribute-name, meta.definition.method, meta.method.declaration, meta.class, support.class.component | #FFDD44 | — |
| keyword.operator.new | #FFDD44 | bold |
| entity.other.attribute-name.class.css, entity.other.attribute-name.parent-selector-suffix.css, entity.other.attribute-name.parent-selector-suffix.css punctuation.definition.entity.css, entity.other.inherited-class, entity.other.attribute-name.id.css, entity.other.attribute-name.id.css punctuation, entity.other.attribute-name.class.css punctuation, entity.other.attribute-name, meta.function-call.ts, meta.var.expr.ts, meta.block.ts, meta.method.declaration.ts, meta.class.ts | #FF29A4 | — |
| storage.type.function.arrow | #FFDD44 | |
| entity.name.section, constant.numeric.line-number.match.find-in-files, markup.heading, markup.changed, meta.attribute-with-value.id string, string, punctuation.definition.string.begin, punctuation.definition.string.end, meta.attribute-selector | #BEE3F8 | — |
| keyword, keyword.control, constant, constant.numeric, constant.language, constant.other.property, constant.character.escape, comment keyword.codetag.notation, keyword.other.template.begin, keyword.other.template.end, markup.raw, markup.deleted, meta.property-list.css variable.other, entity.name.constant.preprocessor, meta.preprocessor, punctuation.section.embedded, punctuation.template-string.element.begin, punctuation.template-string.element.end, string.quoted.template punctuation.definition.string.begin, string.quoted.template punctuation.definition.string.end, meta.paragraph.markdown meta.dummy.line-break, meta.paragraph.markdown meta.hard-line-break.markdown, storage, storage.class.restructuredtext.ref, string.other.link.title, string.other.link.description, string.regexp punctuation.definition.string.begin, string.regexp punctuation.definition.string.end, variable.language.arguments, storage.modifier, keyword.operator, keyword.operator.spread, punctuation.section.embedded.end.php source.php, support.function.construct, meta.at-rule.keyframes, meta.at-rule.keyframes entity.other.attribute-name | #FF29A4 | — |
| variable.other.substitution | #FF29A4 | italic |
| meta.function-call meta.function-call.arguments, meta.function-call meta.arguments, meta.function-call meta.group, source.json meta.structure.dictionary, meta.object.member, punctuation.definition.group, string.unquoted.label, variable.other.member, entity.name.class, entity.name.namespace, constant.other, variable, variable.other, variable.other.constant.js, text.find-in-files, source, entity.name.type.module, source.sql support.function, support.other.namespace.php | #FFFFFF | |
| variable.parameter, parameters variable.function | #FFFFFF | italic |
| variable.other.property, support.variable.property, punctuation.separator.key-value, meta.object-literal.key, variable.other.object.property, variable.object.property, text.html.basic, text.html.vue-html, text.html.php, text.html.derivative, punctuation.definition.variable, punctuation.definition.keyword.scss, meta.jsx.children.js, meta.tag.attributes keyword.operator.assignment, support.type.vendored.property-name.css, support.type.property-name.json, variable.other.constant.property | #BBBBCC | — |
| meta.property-name support.type | #BBBBCC | |
| keyword.other.substitution, keyword.operator.heading.restructuredtext, keyword.operator.table.row.restructuredtext, keyword.operator.table.data.restructuredtext, punctuation, markup.ignored, markup.untracked, meta.brace.round, meta.brace.square, meta.brace.curly, meta.delimiter.comma.js, meta.function-call.without-arguments.js, meta.function-call.method.without-arguments.js, source.scss, string source punctuation.section.embedded, punctuation.definition.tag.begin source, source.php | #9999AA | — |
| comment, comment punctuation | #888899 | italic |
| support.class | #8D61FF | — |
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}!`;
}