gruvbox-vassist
Publisher: minchdevThemes in package: 1
A mix between gruvbox and visual assist color scheme, based on Cherno's Visual Studio theme.
A mix between gruvbox and visual assist color scheme, based on Cherno's Visual Studio 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 |
|---|---|---|
| comment, punctuation.definition.comment | #6A9955 | italic |
| comment.line.documentation.cs, comment.block.documentation.cs, comment.block.documentation.cs punctuation, comment.block.documentation.cs entity.name.tag | #4CAF82 | italic |
| keyword.control.directive, keyword.control.directive.cpp, keyword.control.directive.c, keyword.control.directive.include.cpp, keyword.control.directive.include.c, keyword.control.directive.define.cpp, keyword.control.directive.define.c, keyword.control.directive.conditional.cpp, keyword.control.directive.conditional.c, keyword.control.directive.conditional.ifdef.cpp, keyword.control.directive.conditional.ifdef.c, keyword.control.directive.conditional.ifndef.cpp, keyword.control.directive.conditional.ifndef.c, keyword.control.directive.conditional.if.cpp, keyword.control.directive.conditional.if.c, keyword.control.directive.conditional.defined.cpp, keyword.control.directive.conditional.defined.c, keyword.control.directive.defined.cpp, keyword.control.directive.defined.c, keyword.control.directive.elif.cpp, keyword.control.directive.elif.c, keyword.control.directive.else.cpp, keyword.control.directive.else.c, keyword.control.directive.endif.cpp, keyword.control.directive.endif.c, keyword.control.directive.pragma.cpp, keyword.control.directive.pragma.c, keyword.control.directive.undef.cpp, keyword.control.directive.line.cpp, keyword.control.directive.error.cpp, entity.other.attribute-name.pragma.preprocessor.cpp, entity.other.attribute-name.pragma.preprocessor.c, punctuation.definition.directive.cpp, punctuation.definition.directive.c, keyword.preprocessor.cs, keyword.control.directive.cs, meta.preprocessor.cs | #F44747 | — |
| entity.name.function.preprocessor.cpp, entity.name.function.preprocessor.c, entity.name.other.preprocessor.macro.predefined.NDEBUG.cpp, entity.name.other.preprocessor.macro.predefined.NDEBUG.c, entity.name.other.preprocessor.macro.predefined._MSC_VER.cpp, entity.name.other.preprocessor.macro.predefined._MSC_VER.c | #d3869b | — |
| keyword.control.directive.conditional.defined.cpp keyword.control.directive.defined.cpp, entity.name.function.call.cpp meta.preprocessor.cpp, meta.preprocessor.cpp entity.name.function.call.cpp, meta.preprocessor.cpp entity.name.function | #F44747 | — |
| punctuation.definition.parameters.preprocessor.cpp, punctuation.definition.parameters.preprocessor.c, variable.parameter.preprocessor.cpp, variable.parameter.preprocessor.c | #B2B2B2 | — |
| string.quoted.other.lt-gt.include.cpp, string.quoted.other.lt-gt.include.c, string.quoted.double.include.cpp, string.quoted.double.include.c | #c1b6a3 | — |
| support.constant.cpp | #d3869b | italic |
| meta.preprocessor.region.cs string | #A89984 | italic |
| keyword.control, keyword.control.cpp, keyword.control.c, keyword.control.cs, keyword.control.flow.cs, keyword.control.flow.python, keyword.control.python, keyword.control.rust, keyword.control.flow.rust | #e0aad6 | — |
| keyword.control.lua | #F44747 | — |
| storage.modifier, storage.type, storage.type.cpp, storage.type.c, storage.modifier.cpp, storage.modifier.c, keyword.other.using.cpp, keyword.other.namespace.cpp, keyword.other.typedef.cpp, keyword.other.cpp, storage.modifier.specifier.access.control.cpp, keyword.control.access.cpp, storage.type.function.python, storage.type.class.python, keyword.other.python, storage.type.function.lua, support.type.property.cmake, support.function.commandProperty.cmake, storage.type.rust, storage.modifier.rust, keyword.other.rust | #F44747 | — |
| storage.modifier.cs, keyword.other.class.cs, keyword.other.new.cs | #F44747 | — |
| storage.modifier.array.bracket.square.c, storage.modifier.array.bracket.square.cpp | #EBDBB2 | — |
| keyword.control.import, keyword.control.from, keyword.other.import, keyword.control.import.python, keyword.control.from.python, keyword.control.as.python, keyword.other.using.cs, keyword.other.namespace.cs, keyword.declaration.function.lambda.python, keyword.other.crate.rust, keyword.control.import.rust | #C586C0 | — |
| keyword.operator.new.cpp, keyword.operator.delete.cpp, keyword.operator.delete.array.cpp, keyword.operator.new.cs, keyword.other.typeof.cs, keyword.other.nameof.cs, keyword.other.sizeof.cs, keyword.operator.sizeof.cpp, keyword.operator.sizeof.c, keyword.operator.alignof.cpp, keyword.operator.typeid.cpp, keyword.operator.cast.static_cast.cpp, keyword.operator.cast.dynamic_cast.cpp, keyword.operator.cast.const_cast.cpp, keyword.operator.cast.reinterpret_cast.cpp, keyword.operator.cast.cpp, keyword.operator.arrow.cs, keyword.operator.null-coalescing.cs, keyword.other.default.constructor.cpp, keyword.other.default.function.cpp, keyword.other.delete.constructor.cpp, keyword.other.delete.function.cpp, keyword.operator.as.rust, keyword.operator.sizeof.rust | #F44747 | — |
| keyword.operator.wordlike.cpp, keyword.operator.alignas.cpp, keyword.operator.noexcept.cpp, keyword.operator.requires.cpp, keyword.operator.co_await.cpp, keyword.operator.co_yield.cpp, keyword.operator.co_return.cpp, keyword.operator.throw.cpp, keyword.other.alignas.cpp | #F44747 | — |
| keyword.operator.logical.python, keyword.operator.wordlike.python, keyword.control.with.python, keyword.control.global.python, keyword.control.nonlocal.python, keyword.operator.lua, keyword.operator.logical.lua, keyword.other.lua | #D4D4D4 | — |
| keyword.other.operator.overload.cpp, keyword.other.operator.cpp, keyword.operator.conversion.cpp, keyword.operator.overload.cpp, meta.head.function.definition.special.operator-overload.cpp keyword, meta.function.definition.special.operator-overload.cpp keyword.other, meta.function.definition.special.operator-overload.cpp keyword.operator, meta.body.class.cpp keyword.other, meta.block.class.cpp keyword.other | #ebdbb2 | — |
| keyword, keyword.other | #F44747 | — |
| support.class.attribute.cs, entity.name.type.attribute.cs, punctuation.definition.attribute.begin.cs, punctuation.definition.attribute.end.cs, meta.attribute.cs, support.other.attribute.cpp, meta.attribute.cpp, punctuation.section.attribute.begin.cpp, punctuation.section.attribute.end.cpp, entity.name.function.decorator.python, meta.function.decorator.python, punctuation.definition.decorator.python, meta.attribute.rust, entity.name.function.attribute.rust, punctuation.definition.attribute.rust | #c1b6a3 | italic |
| entity.name.namespace, entity.name.namespace.cpp, meta.namespace.definition.cpp entity.name.namespace, entity.name.namespace.cs, entity.name.type.namespace.cs, entity.name.namespace.wildcard.python, support.other.module.python, meta.import.python entity.name.namespace.python, support.other.namespace.use.php, support.other.namespace.php, entity.name.namespace.rust | #D4D4D4 | — |
| punctuation.separator.namespace.access.cpp, meta.scope.resolution.cpp, keyword.operator.path.rust | #B2B2B2 | — |
| entity.name.type, entity.name.type.class, entity.name.type.class.cpp, entity.name.type.struct.cpp, entity.name.type.union.cpp, entity.name.type.enum.cpp, meta.class.cpp entity.name.type, meta.struct.cpp entity.name.type, entity.name.type.class.cs, entity.name.type.struct.cs, entity.name.type.enum.cs, entity.name.type.delegate.cs, entity.name.type.record.cs, entity.name.type.class.python, meta.class.python entity.name.type, entity.name.type.class.lua, entity.name.type.struct.rust, entity.name.type.enum.rust, entity.name.type.union.rust, entity.name.type.trait.rust, entity.name.type.impl.rust | #ffd700 | — |
| entity.other.inherited-class.cpp, entity.other.inherited-class.python | #ffd700 | italic |
| entity.name.type.template.cpp, storage.type.template.argument.typename.cpp | #F44747 | — |
| support.class.std.cpp, support.class.cs, support.type.cs, entity.name.type.interface.cs, entity.name.type.type-parameter.cs, support.type.python, support.class.python, support.type.lua, support.class, support.type.sys-types, support.type.rust, entity.name.type.rust | #4EC9B0 | — |
| storage.type.primitive.cpp, storage.type.primitive.c, storage.type.integral.cpp, storage.type.floating-point.cpp, storage.type.void.cpp, storage.type.auto.cpp, storage.type.built-in.cpp, storage.type.built-in.c, storage.type.built-in, keyword.type.cs, storage.type.primitive.cs, entity.name.operator.type.cpp, storage.type.core.rust, keyword.type.rust, entity.name.type.primitive.rust | #F44747 | — |
| entity.name.function, entity.name.function.cpp, entity.name.function.c, entity.name.function.member.cpp, meta.function.definition.cpp entity.name.function, entity.name.function.destructor.cpp, entity.name.function.constructor.cpp, entity.name.function.operator.cpp, entity.name.function.cs, entity.name.function.constructor.cs, entity.name.function.python, meta.function.python entity.name.function, support.function.magic.python, entity.name.function.magic.python, entity.name.function.lua, entity.name.function.method.lua, entity.name.function.rust, meta.function.definition.rust entity.name.function.rust | #f09132 | — |
| support.function.builtin.python, meta.function-call.python support.function.builtin, support.function.lua, support.function.cmake, support.function, support.function.rust | #f09132 | — |
| variable.parameter, variable.parameter.cpp, variable.parameter.c, variable.parameter.cs, variable.parameter.python, meta.function.parameters.python variable.parameter, variable.parameter.args.python, variable.parameter.kwargs.python, variable.parameter.lua, variable.parameter.rust | #9CDCFE | — |
| variable.parameter.function.language.special.self.python, variable.parameter.function.language.special.cls.python | #D16969 | italic |
| variable.parameter.args.python, variable.parameter.kwargs.python | #9CDCFE | italic |
| variable.other, variable.other.local.cpp, variable.other.cpp, variable.other.c, variable.other.cs, variable.other.local.cs, variable.other.python, variable.other.local.lua, variable.other.global.lua, variable.function, meta.block variable.other, support.other.variable, support.type.variable.cmake, variable.other.rust | #9CDCFE | — |
| variable.other.member.cpp, variable.other.field.cpp, variable.other.member.cs, entity.name.variable.field.cs, entity.name.variable.property.cs, variable.other.field.python, meta.attribute.python variable.other, variable.other.object.property.cpp, variable.other.property.cpp, entity.name.variable.cpp, entity.name.variable.field.cpp, entity.other.attribute.lua, variable.other.member.rust | #dfd9c2 | — |
| variable.other.static.cpp | #dfd9c2 | italic |
| variable.language, variable.language.this.cpp, variable.language.self.cpp, variable.language.this.cs, variable.language.special.self.python, variable.language.special.cls.python, variable.language.self.lua, variable.language.self.rust | #D16969 | italic |
| constant.numeric, constant.numeric.cpp, constant.numeric.decimal.cpp, constant.numeric.hex.cpp, constant.numeric.octal.cpp, constant.numeric.binary.cpp, constant.numeric.integer.cpp, constant.numeric.floating-point.cpp, constant.numeric.c, constant.numeric.decimal.c, constant.numeric.hex.c, constant.numeric.octal.c, constant.numeric.binary.c, constant.numeric.floating-point.c, constant.numeric.cs, constant.numeric.integer.cs, constant.numeric.float.cs, constant.numeric.hex.cs, constant.numeric.binary.cs, constant.numeric.python, constant.numeric.integer.python, constant.numeric.float.python, constant.numeric.complex.python, constant.numeric.bin.python, constant.numeric.hex.python, constant.numeric.oct.python, constant.numeric.lua, constant.numeric.float.lua, constant.numeric.integer.lua, constant.numeric.hex.lua, constant.numeric.rust, constant.numeric.integer.rust, constant.numeric.float.rust, constant.numeric.hex.rust, constant.numeric.binary.rust, constant.numeric.octal.rust | #d3869b | — |
| keyword.other.unit.cpp, keyword.other.unit.decimal.cpp, keyword.other.unit.hexadecimal.cpp, keyword.other.unit.octal.cpp, keyword.other.unit.binary.cpp, keyword.other.unit.float.cpp, keyword.other.unit.user-defined.cpp, keyword.other.unit.c, keyword.other.unit.decimal.c, keyword.other.unit.hexadecimal.c, keyword.other.unit.octal.c, keyword.other.unit.binary.c, keyword.other.unit.float.c, keyword.other.unit.cs, keyword.other.unit.decimal.cs, keyword.other.unit.hexadecimal.cs, keyword.other.unit.binary.cs, keyword.other.unit.suffix, keyword.other.unit, storage.type.numeric.rust | #d3869b | — |
| constant.language, constant.language.nullptr.cpp, constant.language.boolean.true.cpp, constant.language.boolean.false.cpp, constant.language.null.c, constant.language.boolean.true.cs, constant.language.boolean.false.cs, constant.language.null.cs, constant.language.default.cs, constant.language.python, constant.builtin.python, constant.language.lua, constant.language.boolean.lua, constant.language.nil.lua, constant.language.rust, constant.language.boolean.true.rust, constant.language.boolean.false.rust | #F44747 | — |
| variable.other.constant, entity.name.variable.const | #4FC1FF | — |
| variable.other.enummember.cpp, entity.name.variable.enumerator.cpp, entity.name.variable.enum-member.cs, entity.name.type.enum.variant.rust | #b8d7a3 | — |
| constant.character.escape, constant.other.placeholder, string constant.other.placeholder, constant.character.format.placeholder.other.python, constant.character.escape.rust | #D7BA7D | — |
| keyword.operator, keyword.operator.arithmetic, keyword.operator.arithmetic.cpp, keyword.operator.arithmetic.c, keyword.operator.assignment.cpp, keyword.operator.assignment.c, keyword.operator.assignment.augmented.cpp, keyword.operator.comparison.cpp, keyword.operator.comparison.c, keyword.operator.logical.cpp, keyword.operator.logical.c, keyword.operator.bitwise.cpp, keyword.operator.bitwise.c, keyword.operator.increment.cpp, keyword.operator.decrement.cpp, keyword.operator.ternary.cpp, keyword.operator.conditional.cpp, keyword.operator.cs, keyword.operator.arithmetic.cs, keyword.operator.assignment.cs, keyword.operator.assignment.augmented.cs, keyword.operator.comparison.cs, keyword.operator.logical.cs, keyword.operator.bitwise.cs, keyword.operator.ternary.cs, keyword.operator.arithmetic.python, keyword.operator.assignment.python, keyword.operator.assignment.augmented.python, keyword.operator.comparison.python, keyword.operator.bitwise.python, keyword.operator.arithmetic.lua, keyword.operator.concatenation.lua, keyword.operator.comparison.lua, keyword.operator.length.lua, keyword.operator.arithmetic.rust, keyword.operator.assignment.rust, keyword.operator.comparison.rust, keyword.operator.logical.rust, keyword.operator.bitwise.rust, keyword.operator.range.rust | #EBDBB2 | — |
| keyword.operator.dereference.cpp, keyword.operator.dereference.c, keyword.operator.address.cpp, keyword.operator.address.c, keyword.operator.member-access.cpp, keyword.operator.pointer.cpp, keyword.operator.pointer.c, punctuation.accessor.cpp, punctuation.accessor.cs, keyword.operator.member-access.cs, keyword.operator.null-conditional.cs, storage.modifier.reference.cpp, storage.modifier.pointer.cpp, storage.modifier.pointer.c, keyword.operator.dereference.rust, keyword.operator.reference.rust, keyword.operator.borrow.rust, keyword.operator.misc.rust, punctuation.accessor.rust | #B2B2B2 | — |
| storage.modifier.lifetime.rust, entity.name.lifetime.rust, punctuation.definition.lifetime.rust | #D7BA7D | — |
| support.function.macro.rust, entity.name.function.macro.rust, meta.macro.rust entity.name.function, meta.macro-call.rust entity.name.function.rust, keyword.other.macro.rust | #d3869b | — |
| punctuation.definition.macro.rust, punctuation.section.macro.rust | #B2B2B2 | — |
| keyword.other.where.rust, storage.type.impl.rust, storage.type.dyn.rust | #C586C0 | — |
| string, string.quoted.double.cpp, string.quoted.double.c, string.quoted.single.cpp, string.quoted.single.c, string.quoted.raw.cpp, string.quoted.double.cs, string.quoted.verbatim.cs, string.quoted.other.verbatim.cs, string.quoted.double.interpolated.cs, string.quoted.single.python, string.quoted.double.python, string.interpolated.python, meta.fstring.python, string.quoted.single.lua, string.quoted.double.lua, string.quoted.other.multiline.lua, string.other.link, string.quoted.double.rust, string.quoted.single.rust, string.quoted.byte.raw.rust | #c1b6a3 | — |
| string.quoted.docstring.multi.python, string.quoted.multi.python | #c1b6a3 | italic |
| punctuation.definition.interpolation.begin.cs, punctuation.definition.interpolation.end.cs | #B2B2B2 | — |
| string.regexp | #B5CEA8 | — |
| meta.template.cpp, punctuation.section.angle-brackets.begin.template.cpp, punctuation.section.angle-brackets.end.template.cpp | #B2B2B2 | — |
| punctuation.definition.typeparameters.begin.cs, punctuation.definition.typeparameters.end.cs | #B2B2B2 | — |
| keyword.where.cs | #C586C0 | — |
| meta.function.annotation.python, meta.function.return-annotation.python, meta.type-hint.python | #4EC9B0 | — |
| punctuation.definition.generic.begin.rust, punctuation.definition.generic.end.rust, meta.generic.rust | #B2B2B2 | — |
| meta.lambda.cpp, punctuation.definition.lambda.begin.cpp, punctuation.definition.lambda.end.cpp | #DCDCAA | — |
| meta.function.lua, keyword.control.def.lua | #DCDCAA | — |
| punctuation.definition.parameters.rust, meta.function.closure.rust | #DCDCAA | — |
| invalid, invalid.illegal, invalid.deprecated | #F44747 | — |
| entity.name.tag, meta.tag.sgml | #569CD6 | — |
| entity.other.attribute-name, text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #dfd9c2 | italic |
| entity.other.attribute-name.class | #D7BA7D | — |
| source.css support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.less support.type.property-name, source.stylus support.type.property-name, source.postcss support.type.property-name | #9CDCFE | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #D4D4D4 | — |
| markup.heading, markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #c1b6a3 | — |
| text.html.markdown markup.inline.raw.markdown | #CE9178 | — |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #5A5A5A | — |
| markup.italic | #D16969 | italic |
| markup.bold, markup.bold string | #D16969 | — |
| markup.underline | #d3869b | underline |
| markup.quote punctuation.definition.blockquote.markdown | #636369 | — |
| markup.quote | — | italic |
| string.other.link.title.markdown | #569CD6 | — |
| string.other.link.description.title.markdown | #BD63C5 | — |
| constant.other.reference.link.markdown | #D7BA7D | — |
| markup.raw.block, markup.raw.block.fenced.markdown, punctuation.definition.fenced.markdown, punctuation.section.class.end | #404040 | — |
| variable.language.fenced.markdown | #636369 | — |
| meta.separator | #636369 | — |
| markup.table | #D4D4D4 | — |
| markup.inserted | #81B88B | — |
| markup.deleted | #C74E39 | — |
| markup.changed | #E2C08D | — |
| source.json meta.structure.dictionary.json support.type.property-name.json | #569CD6 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #9CDCFE | — |
| 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 | #CE9178 | — |
| 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 | #D16969 | — |
| 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 | #C586C0 | — |
| 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 | #82AAFF | — |
| 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 | #FFD700 | — |
| 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 | #BD63C5 | — |
| 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 | #4EC9B0 | — |
| *url*, *link*, *uri* | — | underline |
| constant.other.color | #dfd9c2 | — |
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}!`;
}