Visi's Theme
Publisher: Vicent BaezaThemes in package: 1
My personal theme that I've been using, based on the popular Palenight theme.
My personal theme that I've been using, based on the popular Palenight 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 |
|---|---|---|
| , variable.other, string.unquoted.argument, string.interpolated.backtick.shell, entity.name.type.template | #eeffff | — |
| punctuation, meta.tag.inline.any, punctuation.definition.variable.shell variable.other.normal.shell, keyword.control.clause.bodyend, punctuation.definition.constant.math.tex, meta.brace, meta.preprocessor.string, string.unquoted.preprocessor, punctuation.separator.colon.access.control | #bfc7d5 | — |
| comment, punctuation.definition.tag.cs, punctuation.definition.comment | #8189b8 | italic |
| entity.name.tag.localname.cs, meta.tag.cs | #c5ccda | italic |
| string, punctuation.definition.string, constant.other.atom.quoted.prolog, support.class.math.block.tex, support.class.math.block.environment.latex | #C3E88D | — |
| string.regexp, string.regexp keyword.other, string.regexp, constant.character.escape, punctuation.definition.regexp, string.quoted.double constant.character.escape.cs, constant.other.atom.quoted | #80CBC4 | — |
| string.unquoted | #bfc7d5 | — |
| constant.numeric, constant.character.numeric, constant.language.boolean, constant.language.null, constant.language, punctuation.definition.constant, comment.wildcard, entity.name.function.preprocessor, invalid.illegal.constant, support.constant.subsections, entity.name.function.label.ahk, constant.keyword, support.constant.property-value, keyword.other.unit, constant.other.color, punctuation.separator.decimal.period, constant.character.entity, constant.character.math.tex | #ffae6b | — |
| keyword.operator, keyword.operator.bitwise.shift, punctuation.separator.continuation, punctuation.definition.tag, entity.name.function.operator, keyword.operator.assignment.arithmetic, keyword.operator.assignment.compound, punctuation.separator.question-mark, punctuation.accessor, punctuation.definition.equals.colon, punctuation.separator.period, punctuation.separator.colon, storage.modifier.reference, storage.modifier.pointer, punctuation.separator.dot-access, punctuation.section.angle-brackets.begin.template.call.cpp, punctuation.section.angle-brackets.end.template.call.cpp, entity.name.tag.reference, punctuation.definition.entity, entity.name.tag.wildcard, punctuation.separator.method, punctuation.definition.constant.elixir, keyword.symbol, punctuation.separator.statement.and, keyword.control.clause.bodybegin, punctuation.definition.variable.elixir, punctuation.math.operator.latex, entity.name.function.member.overload, keyword.control.if.prolog, keyword.control.else.prolog, keyword.control.cut.prolog | #ff5572 | — |
| entity.name.function, entity.name.type.module, support.function, support.module, constant.other.symbol.prolog, entity.name.tag, meta.tag, meta.function-call, entity.name.function.clojure, entity.other.attribute-name | #fad87c | — |
| entity.name.namespace, storage.namespace, entity.name.namespace, entity.name.type.namespace, keyword.label, entity.name.label, variable.language.this, keyword.other.this, storage.modifier.import.java, variable.parameter.function.language.special.self, keyword.control.at-rule, variable.language.java, keyword.other.base, meta.preprocessor, keyword.control.directive, keyword.control.directives, entity.name.function.preprocessor | #82AAFF | — |
| storage.type, storage.namespace, entity.name.type, keyword.type, keyword.other.var, support.class, variable.other.prolog, entity.name.command, constant.language.ahk, entity.global.clojure, entity.name.class, entity.name.tag, entity.other.attribute-name.class, entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element, entity.other.attribute-name.attribute, support.type.property-name, punctuation.support.type.property-name.begin.json, punctuation.support.type.property-name.end.json, support.type.vendored.property-name, variable.other.constant.elixir, keyword.type, variable.language.anonymous.prolog, variable.parameter.uppercase.prolog, variable.parameter.function.latex, storage.type.template.argument, support.type.built-in.posix-reserved, support.type.posix-reserved | #82e6ff | — |
| keyword.other, keyword.control, meta.head.struct, storage.type.namespace.directive, storage.modifier, keyword.operator.new, storage.type.class, storage.type.function, storage.type.struct, storage.type.namespace, storage.type.interface, storage.type.enum, storage.control, entity.name.tag.css, constant.other.symbol.elixir, keyword.fsharp, keyword.function, keyword.interface, keyword.map, keyword.struct, keyword.channel, keyword.const, keyword.package, keyword.import, keyword.operator.wordlike, keyword.operator.sizeof, keyword.operator.delete, keyword.operator.alignof, keyword.operator.typeid, keyword.operator.cast, keyword.operator.noexcept, storage.type.template, storage.type.template.argument.class, storage.type.template.argument.struct, storage.type.template.argument.typename | #C792EA | — |
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}!`;
}