VisualAssistGruvboxTheme
Publisher: Minch CoderThemes in package: 1
A remake of gruvbox theme, with a combination between visual assist and gruvbox!
A remake of gruvbox theme, with a combination between visual assist and gruvbox!
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 |
|---|---|---|
| — | #ebdbb2 | — |
| emphasis | — | italic |
| strong | — | bold |
| header | #458588 | — |
| comment, punctuation.definition.comment | #928374 | italic |
| constant, support.constant, variable.arguments | #d3869b | — |
| constant.rgb-value | #ebdbb2 | — |
| entity.name.selector | #8ec07c | — |
| entity.other.attribute-name | #fabd2f | — |
| entity.name.tag, punctuation.tag | #8ec07c | — |
| invalid, invalid.illegal | #cc241d | — |
| invalid.deprecated | #b16286 | — |
| meta.selector | #8ec07c | — |
| meta.preprocessor | #fe8019 | — |
| meta.preprocessor.string | #b8bb26 | — |
| meta.preprocessor.numeric | #b8bb26 | — |
| meta.header.diff | #fe8019 | — |
| storage | #fb4934 | — |
| storage.type, storage.modifier | #fe8019 | — |
| string | #b8bb26 | — |
| string.tag | #b8bb26 | — |
| string.value | #b8bb26 | — |
| string.regexp | #fe8019 | — |
| string.escape | #fb4934 | — |
| string.quasi | #8ec07c | — |
| string.entity | #b8bb26 | — |
| object | #ebdbb2 | — |
| module.node | #83a598 | — |
| support.type.property-name | #689d6a | — |
| keyword | #fb4934 | — |
| keyword.control | #fb4934 | — |
| keyword.control.module | #8ec07c | — |
| keyword.control.less | #d79921 | — |
| keyword.operator | #8ec07c | — |
| keyword.operator.new | #fe8019 | — |
| keyword.other.unit | #b8bb26 | — |
| metatag.php | #fe8019 | — |
| support.function.git-rebase | #689d6a | — |
| constant.sha.git-rebase | #b8bb26 | — |
| meta.type.name, meta.return.type, meta.return-type, meta.cast, meta.type.annotation, support.type, storage.type.cs, variable.class | #fabd2f | — |
| variable.this, support.variable | #d3869b | — |
| entity.name, entity.static, entity.name.class.static.function, entity.name.function, entity.name.class, entity.name.type | #fabd2f | — |
| entity.function, entity.name.function.static | #8ec07c | — |
| entity.name.function.function-call | #8ec07c | — |
| support.function.builtin | #fe8019 | — |
| entity.name.method, entity.name.method.function-call, entity.name.static.function-call | #689d6a | — |
| brace | #d5c4a1 | — |
| meta.parameter.type.variable, variable.parameter, variable.name, variable.other, variable, string.constant.other.placeholder | #83a598 | — |
| prototype | #d3869b | — |
| punctuation | #a89984 | — |
| punctuation.quoted | #ebdbb2 | — |
| punctuation.quasi | #fb4934 | — |
| *url*, *link*, *uri* | — | underline |
| punctuation.definition.comment.python, comment.line.number-sign.python, string.quoted.docstring.multi.python, string.quoted.docstring.multi.python | #57A64A | — |
| string.quoted.single.python, string.quoted.double.python | #f8cd8c | — |
| variable.parameter.function.language.special.self.python, variable.language.special.self.python | #E24B3C | — |
| meta.function.python, entity.name.function.python | #FF8000 | — |
| storage.type.function.python, storage.modifier.declaration, storage.type.class.python, storage.type.string.python | #E24B3C | — |
| storage.type.function.async.python | #E24B3C | — |
| meta.function-call.generic | #FF8000 | — |
| meta.function-call.arguments | #d5c4a1 | — |
| variable.parameter.function.language.python, support.variable.magic.python, variable.python, meta.attribute.python, source.python | #EBDBB2 | — |
| punctuation.definition.decorator.python, entity.name.function.decorator, support.type.python, entity.name.type.class.python | #FFD700 | — |
| constant.other.caps | #D3869B | bold |
| keyword.operator.assignment.python, keyword.operator.bitwise.python, keyword.operator.comparison.python, keyword.operator.arithmetic.python | #A89984 | — |
| keyword.control.flow.python | #D3869B | — |
| constant.numeric.dec.python | #B5CEA8 | — |
| invalid.deprecated.semicolon.python | #EBDBB2 | — |
| keyword.operator.logical | #fb4934 | — |
| punctuation.definition.logical-expression | #fe8019 | — |
| string.interpolated.dollar.shell, string.interpolated.backtick.shell | #8ec07c | — |
| comment.line.double-slash.cpp, punctuation.definition.comment.cpp, punctuation.definition.comment.begin.cpp, punctuation.definition.comment.end.cpp, comment.block.cpp | #57A64A | — |
| constant.language.nullptr.cpp, keyword.control.directive.include.cpp, punctuation.definition.directive.cpp, storage.type.class.cpp, storage.type.modifier.access.public.cpp, storage.type.modifier.access.private.cpp, storage.type.modifier.access.protected.cpp, storage.type.modifier.access.control.public.cpp, storage.type.modifier.access.control.protected.cpp, storage.type.modifier.access.control.private.cpp, storage.modifier.virtual.cpp, storage.modifier.specifier.functional.post-parameters.override.cpp, storage.type.built-in.primitive.cpp, storage.modifier.specifier.const.cpp, keyword.control.throw.cpp, storage.type.namespace.definition.cpp, storage.modifier.specifier.static.cpp, storage.modifier.specifier.functional.post-parameters.const.cpp | #E24B3C | — |
| keyword.control.for.cpp, keyword.control.while.cpp, keyword.control.do.cpp, keyword.control.try.cpp, keyword.control.catch.cpp, keyword.control.return.cpp, keyword.control.continue.cpp, keyword.control.break.cpp, keyword.control.if.cpp, keyword.control.else.cpp | #D3869B | — |
| entity.name.type.class.cpp, entity.name.type.cpp | #FFD700 | — |
| variable.other.object.access.cpp, variable.parameter.cpp, source.cpp variable.other.object | #EBDBB2 | — |
| entity.name.function.call.cpp, entity.name.function.member.cpp | #FF8000 | — |
| entity.name.scope-resolution.cpp, storage.modifier.reference.cpp, keyword.operator.bitwise.cpp, keyword.operator.arithmetic.cpp, entity.name.namespace.cpp, keyword.operator.comparison.cpp, keyword.operator.assignment.cpp | #b8b1a8 | — |
| entity.name.function.preprocessor.cpp | #D3869B | — |
| constant.numeric.decimal.cpp | #B5CEA8 | — |
| string.quoted.double.cpp, string.quoted.single.cpp, punctuation.definition.string.begin.cpp, punctuation.definition.string.end.cpp, constant.other.placeholder, string.quoted.other.lt-gt.include.cpp | #f8cd8c | — |
| constant.character.escape.cpp | #ff9730 | — |
| keyword.operator.bitwise.shift.cpp | #FF8000 | italic |
| support.function.C99 | #fabd2f | — |
| source.cs comment.line.double-slash.cs, source.cs punctuation.definition.comment, source.cs comment.block.cs | #57A64A | — |
| source.cs punctuation.squarebracket.open.cs, source.cs punctuation.parenthesis.open.cs, source.cs punctuation.curlybrace.open.cs, source.cs punctuation.curlybrace.close.cs, source.cs punctuation.parenthesis.close.cs, source.cs punctuation.squarebracket.close.cs, source.cs punctuation.definition.typeparameters.begin.cs, source.cs punctuation.definition.typeparameters.end.cs, source.cs punctuation.terminator.statement.cs, source.cs punctuation.separator.comma.cs | #EBDBB2 | — |
| source.cs keyword.operator.relational.cs, source.cs keyword.operator.increment.cs, source.cs keyword.operator.decrement.cs, source.cs keyword.operator.assignment.cs, source.cs keyword.operator.arithmetic.cs, source.cs keyword.operator.logical.cs, source.cs keyword.operator.bitwise.shift.cs, source.cs keyword.operator.bitwise.cs, source.cs keyword.operator.comparison.cs | #A89984 | — |
| source.cs constant.numeric.decimal.cs | #B5CEA8 | — |
| source.cs punctuation, source.cs string.quoted.double.cs, source.cs string.quoted.single.cs | #f8cd8c | — |
| source.cs constant.character.escape.cs | #ff9730 | bold |
| source.cs variable.other.value.cs | #458588 | italic bold |
| source.cs entity.name.type.class.cs, source.cs entity.name.type.enum.cs, source.cs entity.name.type.interface.cs | #FFD700 | — |
| source.cs entity.name.type.cs, source.cs entity.name.type.type-parameter.cs | #FFD700 | — |
| source.cs entity.name.variable.enum-member.cs | #B9771E | italic bold |
| source.cs entity.name.type.namespace.cs | #B8D7A3 | — |
| source.cs entity.name.function.cs | #FF8000 | — |
| source.cs variable.other.object.cs, source.cs variable.other.readwrite.cs, source.cs variable.other.object.property.cs, source.cs entity.name.variable.local.cs, source.cs entity.name.variable.parameter.cs | #EBDBB2 | — |
| source.cs entity.name.variable.property.cs, source.cs entity.name.variable.field.cs | #BDB76B | — |
| source.cs keyword.other.directive.using.cs, source.cs keyword.operator.expression.new.cs, source.cs keyword.operator.expression.typeof.cs, source.cs variable.language.this.cs, source.cs storage.modifier.this.cs, source.cs storage.modifier.public.cs, source.cs storage.type.namespace.cs, source.cs storage.type.enum.cs, source.cs storage.type.record.cs, source.cs storage.type.class.cs, source.cs storage.type.struct.cs, source.cs storage.type.interface.cs, source.cs storage.type.var.cs, source.cs storage.type.accessor.get.cs, source.cs storage.type.accessor.set.cs, source.cs storage.modifier.private.cs, source.cs storage.modifier.public.cs, source.cs storage.modifier.protected.cs, source.cs storage.modifier.internal.cs, source.cs storage.modifier.where.cs, source.cs storage.modifier.static.cs, source.cs storage.modifier.abstract.cs | #E24B3C | — |
| source.cs keyword.control.conditional.if.cs, source.cs keyword.control.conditional.switch.cs, source.cs keyword.control.conditional.case.cs, source.cs keyword.control.conditional.default.cs, source.cs keyword.control.flow.return.cs, source.cs keyword.control.flow.break.cs, source.cs keyword.control.flow.continue.cs, source.cs keyword.control.loop.for.cs, source.cs keyword.control.loop.while.cs, source.cs keyword.control.exception.try.cs, source.cs keyword.control.exception.catch.cs, source.cs keyword.control.exception.finally.cs | #D3869B | — |
| meta.scope.prerequisites | #fabd2f | — |
| entity.name.function.target | #b8bb26 | bold |
| source.java comment.line.double-slash.java, source.java punctuation.definition.comment.java, source.java comment.block.java | #57A64A | — |
| source.java keyword.other.import.java, source.java storage.modifier.java, source.java storage.type.primitive.java, source.java storage.modifier.implements.java, source.java variable.language.this.java, source.java constant.language.java | #E24B3C | — |
| source.java keyword.control.java | #D3869B | — |
| source.java punctuation.definition.parameters.begin.bracket.round.java, source.java punctuation.definition.parameters.end.bracket.round.java, source.java punctuation.section.method.begin.bracket.curly.java, source.java punctuation.section.method.end.bracket.curly.java, source.java punctuation.definition.annotation-arguments.begin.bracket.round.java, source.java punctuation.definition.annotation-arguments.end.bracket.round.java, source.java punctuation.bracket.square.java, source.java punctuation.terminator.statement.java, source.java punctuation.terminator.java, source.java punctuation.separator.delimiter.java, source.java punctuation.bracket.round.java, source.java punctuation.section.block.begin.bracket.curly.java, source.java punctuation.section.block.end.bracket.curly.java, source.java punctuation.section.class.begin.bracket.curly.java, source.java punctuation.section.class.end.bracket.curly.java, source.java punctuation.section.enum.begin.bracket.curly.java, source.java punctuation.section.enum.end.bracket.curly.java, source.java punctuation.bracket.angle.java, source.java variable.language.wildcard.java, source.java punctuation.separator.java | #EBDBB2 | — |
| source.java keyword.operator.relational.java, source.java keyword.operator.increment-decrement.java, source.java keyword.operator.assignment.java, source.java keyword.operator.arithmetic.java, source.java keyword.operator.logical.java, source.java keyword.operator.bitwise.shift.java, source.java keyword.operator.bitwise.java, source.java keyword.operator.comparison.java, source.java keyword.control.ternary.java | #A89984 | — |
| source.java constant.numeric.decimal.java | #B5CEA8 | — |
| source.java punctuation, source.java string.quoted.double.java, source.java string.quoted.single.java | #f8cd8c | — |
| source.java constant.character.escape.java | #ff9730 | bold |
| source.java variable.other.definition.java, source.java variable.other.object.java, source.java variable.other.object.property.java, source.java variable.parameter.java | #EBDBB2 | — |
| source.java punctuation.definition.annotation.java, source.java storage.type.annotation.java | #FFD700 | italic |
| source.java entity.name.type.class.java, source.java storage.type.java, source.java storage.type.object.array.java, source.java entity.other.inherited-class.java, source.java storage.type.generic.java | #FFD700 | — |
| source.java storage.modifier.import.java | #B8D7A3 | italic |
| source.java constant.other.enum.java | #B9771E | italic bold |
| source.java entity.name.function.java | #FF8000 | — |
| meta.function-parameters.lisp | #fabd2f | — |
| markup.underline | — | underline |
| string.other.link.title.markdown | #928374 | underline |
| markup.underline.link | #d3869b | — |
| markup.bold | #fe8019 | bold |
| markup.heading | #fe8019 | bold |
| markup.italic | — | italic |
| markup.inserted | #b8bb26 | — |
| markup.deleted | #d65d0e | — |
| markup.changed | #fe8019 | — |
| markup.punctuation.quote.beginning | #98971a | — |
| markup.punctuation.list.beginning | #83a598 | — |
| markup.inline.raw, markup.fenced_code.block | #8ec07c | — |
| string.quoted.double.json | #f8cd8c | — |
| source.json meta.structure.dictionary.json support.type.property-name.json | #e9ca1b | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #B5CEA8 | — |
| 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 | #D3869B | — |
| 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 | #b8bb26 | — |
| entity.other.attribute-name.css | #bdb76b | bold |
| comment.block.css, punctuation.definition.comment.begin.css, punctuation.definition.comment.end.css | #57A64A | — |
| source.css meta.selector | #ebdbb2 | — |
| support.type.property-name.css | #D3869B | — |
| keyword.control.at-rule.keyframes.css, punctuation.definition.keyword.css, keyword.control.at-rule.media.css | #FFD700 | italic |
| support.constant.font-name.css, support.constant, constant.numeric.css, support.constant.property-value.css, constant.other.color.rgb-value.hex.css, keyword.other.unit.px.css, keyword.other.unit.rem.css, keyword.other.unit.em.css, keyword.other.unit.vw.css, keyword.other.unit.vh.css, keyword.other.unit.cm.css, keyword.other.unit.mm.css, keyword.other.unit.px.css, keyword.other.unit.pc.css, keyword.other.unit.pt.css, keyword.other.unit.in.css, keyword.other.unit.percentage.css, keyword.other.unit.vmin.css, keyword.other.unit.vmax.css, keyword.other.unit.ex.css, keyword.other.unit.ch.css | #B5CEA8 | — |
| keyword.operator.combinator.css | #A89984 | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.id.css | #e8bf6a | bold |
| keyword.other.important.css | #ff9730 | italic |
| source.css support.function.transform, source.css support.function.timing-function, source.css support.function.misc, variable.parameter.keyframe-list.css, support.function.url.css | #FF8000 | — |
| support.property-value, constant.rgb-value, support.property-value.scss, constant.rgb-value.scss | #d65d0e | — |
| entity.name.tag.css | #e8bf6a | bold |
| string.quoted.double.css, string.quoted.single.css | #f8d8a8 | — |
| punctuation.definition.tag | #A89984 | — |
| text.html entity.name.tag, text.html punctuation.tag | #7ca197 | bold |
| text.html.derivative | #EBDBB2 | — |
| string.quoted.double.html, string.quoted.single.html, punctuation.definition.string.begin.html, punctuation.definition.string.end.html | #f8cd8c | — |
| punctuation.definition.comment.html, comment.block.html | #57A64A | — |
| entity.other.attribute-name.html | #FFD700 | bold |
| source.js comment.line.double-slash.js, source.js punctuation.definition.comment.js, source.js comment.block.js | #57A64A | — |
| source.js storage.type.class.js, source.js keyword.operator.new.js, source.js variable.language.this.js, source.js storage.modifier.js, source.js storage.type.js, source.js storage.type.function.js, source.js variable.language.super.js, source.js keyword.operator.expression.of.js, source.js keyword.operator.expression.instanceof.js | #F74A33 | — |
| source.js keyword.control.switch.js, source.js keyword.control.loop.js, source.js keyword.control.trycatch.js, source.js keyword.control.conditional.js | #D3869B | — |
| source.js keyword.operator.logical.js, source.js keyword.operator.bitwise.shift.js, source.js keyword.operator.arithmetic.js, source.js keyword.operator.assignment.js, source.js meta.brace.square.js, source.js keyword.operator.increment.js, source.js keyword.operator.decrement.js, source.js keyword.operator.assignment.compound.js | #A89984 | — |
| source.js meta.brace.round.js, source.js punctuation.definition.block.js, source.js punctuation.terminator.statement.js, source.js punctuation.definition.binding-pattern.array.js | #EBDBB2 | — |
| source.js entity.name.function.js | #FF8000 | — |
| source.js variable.parameter.js, source.js variable.other.readwrite.js, source.js variable.other.constant.js | #EBDBB2 | — |
| source.js variable.other.object.js, source.js variable.other.object.property.js, source.js variable.other.property.js | #BDB76B | — |
| source.js punctuation.definition.parameters.begin.js, source.js punctuation.definition.parameters.end.js | #EBDBB2 | — |
| source.js entity.other.inherited-class.js, source.js entity.name.type.class.js | #FFD700 | — |
| source.js constant.numeric.decimal.js | #B5CEA8 | — |
| source.js string.quoted.double.js, source.js string.quoted.single.js, source.js punctuation.definition.string.begin.js, source.js punctuation.definition.string.end.js, source.js string.template.js, source.js punctuation.definition.string.template.begin.js, source.js punctuation.definition.string.template.end.js | #f8cd8c | — |
| source.ts variable.language | #fe8019 | — |
| source.go keyword.control.import.go, source.go keyword.var.go, source.go keyword.function.go, source.go keyword.package.go, source.go keyword.type.go, source.go keyword.struct.go | #E24B3C | — |
| source.go keyword.control.go | #D3869B | — |
| source.go punctuation.definition.comment.go, source.go comment.line.double-slash.go, source.go comment.block.go | #57A64A | — |
| source.go entity.name.type.package.go, source.go entity.name.import.go | #B8D7A3 | — |
| source.go entity.name.function.go, source.go entity.name.function.support.go | #FF8000 | — |
| source.go entity.name.type.go, source.go storage.type.string.go | #FFD700 | — |
| source.go variable.other.assignment.go, source.go variable.other.go | #83E3E8 | — |
| source.go variable.other.property.go | #BDB76B | — |
| source.go variable.parameter.go | #6DB3B6 | — |
| source.go string.quoted.double.go, source.go string.quoted.single.go | #f8cd8c | — |
| keyword.control.cucumber.table | #83a598 | — |
| source.reason string.double, source.reason string.regexp | #b8bb26 | — |
| source.reason keyword.control.less | #8ec07c | — |
| source.reason entity.name.function | #83a598 | — |
| source.reason support.property-value, source.reason entity.name.filename | #fe8019 | — |
| comment.arm | #57A64A | — |
| support.function.mnemonic.arithmetic.arm | #FF8000 | — |
| keyword.control.directive.arm | #B8D7A3 | — |
| routine.arm | #FFD700 | — |
| variable.named.arm | #EBDBB2 | — |
| constant.numeric.dec.arm | #B5CEA8 | — |
| keyword.other.definition.ini | #BDB76B | — |
| source.ini | #B5CEA8 | — |
| source.powershell variable.other.member.powershell | #fe8019 | — |
| source.powershell support.function.powershell | #fabd2f | — |
| source.powershell support.function.attribute.powershell | #bdae93 | — |
| source.powershell meta.hashtable.assignment.powershell variable.other.readwrite.powershell | #fe8019 | — |
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}!`;
}