Absolute Violet Theme
Publisher: md_antuThemes in package: 1
Official Absolute Violet Theme for VS Code by MD Antu
Official Absolute Violet Theme for VS Code by MD Antu
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.unused.elixir | #abb2bf | — |
| comment, punctuation.definition.comment, comment.block.documentation punctuation.definition, string.comment, comment.block.documentation, comment.block | #636d83 | — |
| comment.block.documentation variable, keyword.other.documentation, storage.type.class.jsdoc, comment.block variable.parameter, keyword.other.phpdoc, comment.block.documentation entity.name.type, meta.other.type.phpdoc support class | #7c8495 | — |
| punctuation.comma.graphql, punctuation.definition.variable, punctuation.definition.parameters, punctuation.definition.array, punctuation.definition.function, punctuation.brace, punctuation.terminator.statement, punctuation.delimiter.object.comma, punctuation.definition.entity, punctuation.definition, punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.separator.key-value, punctuation.separator.dictionary, punctuation.terminator, punctuation.delimiter.comma, punctuation.separator.comma, punctuation.accessor, punctuation.separator.array, punctuation.section, punctuation.section.property-list.begin.bracket.curly, punctuation.section.property-list.end.bracket.curly, punctuation.separator.statement, punctuation.section.array.elixir, punctuation.separator.object.elixir, punctuation.section.embedded.elixir, punctuation.section.function.elixir, punctuation.section.scope.elixir, punctuation.separator.parameter, meta.brace.round, meta.brace.square, meta.brace.curly, constant.name.attribute.tag.pug, punctuation.section.embedded, punctuation.separator.method, punctuation.separator, punctuation.other.comma, punctuation.bracket, keyword.control.ternary, string.interpolated.pug, support.function.interpolation.sass, punctuation.parenthesis.begin, punctuation.parenthesis.end, punctuation.operation.graphql, punctuation.colon.graphql | #7a82da | — |
| none | #abb2bf | — |
| keyword.operator | #7a82da | — |
| keyword, keyword.operator.expression, variable.language, keyword.other.special-method.elixir, meta.control.flow | #10b1fe | — |
| support.type.primitive | #10b1fe | — |
| variable, source.elixir.embedded.source, string source.groovy, string meta.embedded.line.ruby | #abb2bf | — |
| entity.name.function, meta.require, support.function.any-method, meta.function-call, meta.method-call, variable.function | #3fc56b | — |
| support.class, entity.name.class, entity.name.type.class, meta.class.instance, meta.class.inheritance, entity.other.inherited-class, entity.name.type, variable.other.constant.elixir, storage.type.haskell, support.type.graphql, support.type.enum.graphql | #ff6480 | — |
| keyword.other.special-method | #3fc56b | — |
| storage, constant.language | #10b1fe | — |
| support.function | #3fc56b | — |
| string, punctuation.definition.string, support.constant.property-value, string.quoted.double.shell, support.function.variable.quoted.single.elixir, storage.type.string | #f9c859 | — |
| constant.numeric, variable.other.anonymous.elixir | #ff78f8 | — |
| none | #ff78f8 | — |
| none | #10b1fe | — |
| constant, variable.other.constant, punctuation.definition.constant, constant.other.symbol, constant.language.symbol, support.constant, support.variable.magic.python, variable.other.enummember | #9f7efe | — |
| entity.name.tag, punctuation.definition.tag | #3691ff | — |
| entity.other.attribute-name, string.unquoted.alias.graphql | #ff936a | — |
| meta.selector | #7a82da | — |
| none | #ff78f8 | — |
| markup.heading, punctuation.definition.heading, entity.name.section, markup.heading.setext | #f9c859 | |
| keyword.other.unit | #f9c859 | — |
| markup.bold, punctuation.definition.bold | #ff6480 | bold |
| markup.italic, punctuation.definition.italic | #ff936a | — |
| markup.raw.inline | #f9c859 | — |
| string.other.link | #3691ff | — |
| meta.link | #10b1fe | — |
| beginning.punctuation.definition.list | #ce9887 | — |
| markup.quote | #9f7efe | — |
| meta.separator | #abb2bf | — |
| markup.inserted | #3fc56b | — |
| markup.deleted | #ff6480 | — |
| markup.changed | #10b1fe | — |
| string.regexp | #f9c859 | — |
| constant.character.escape, constant.other.character-class | #ff936a | — |
| variable.interpolation | #10b1fe | — |
| invalid | #fc2f52 | — |
| keyword.operator.new | #10b1fe | — |
| entity.other.attribute-name.id | #ff6480 | — |
| meta.function-call.arguments | #abb2bf | — |
| meta.object-literal.key, meta.object.member, variable.other.property, variable.other.object.property, support.variable.property, variable.object.property, support.type.property-name, meta.property-name, entity.name.tag.yaml, constant.other.key, constant.other.object.key.js, string.unquoted.label.js, support.type.map.key, variable.graphql | #ce9887 | — |
| markup.inline.raw, markup.fenced_code.block, markup.raw.block | #ce9887 | — |
| markup.underline.link.image | #3fc56b | — |
| variable.parameter, parameter.variable.function.elixir, variable.other.block.ruby | #8bcdef | — |
| support.type.primitive, support.type.builtin | #10b1fe | — |
| string.interpolated.dollar.shell | #ff6480 | — |
| string.other.math.shell | #3691ff | — |
| punctuation.definition.string.begin.shell, punctuation.definition.string.end.shell | #7a82da | — |
| comment.rainbow4 | #ce9887 | — |
| markup.bold.rainbow9 | #9f7efe | |
| invalid.rainbow10 | #ff936a | — |
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}!`;
}