guardlua
Publisher: guardThemes in package: 1
luau theme, snippets, custom language, and more! Includes guardtheme, guardrun, guardsnippets, and guardlua.
luau theme, snippets, custom language, and more! Includes guardtheme, guardrun, guardsnippets, and guardlua.
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 |
|---|---|---|
| punctuation.definition.delayed.unison,punctuation.definition.list.begin.unison,punctuation.definition.list.end.unison,punctuation.definition.ability.begin.unison,punctuation.definition.ability.end.unison,punctuation.operator.assignment.as.unison,punctuation.separator.pipe.unison,punctuation.separator.delimiter.unison,punctuation.definition.hash.unison | #6ab2ff | — |
| variable.other.generic-type.haskell | #4ff771 | — |
| storage.type.haskell | #ffffff | — |
| support.variable.magic.python | #6ab2ff | — |
| punctuation.separator.period.python,punctuation.separator.element.python,punctuation.parenthesis.begin.python,punctuation.parenthesis.end.python | #ffcbcb | — |
| variable.parameter.function.language.special.self.python | #ffa3e0 | — |
| storage.modifier.lifetime.rust | #ffcbcb | — |
| support.function.std.rust | #FFB7B2 | — |
| entity.name.lifetime.rust | #ffa3e0 | — |
| variable.language.rust | #6ab2ff | — |
| support.constant.edge | #4ff771 | — |
| constant.other.character-class.regexp | #6ab2ff | — |
| keyword.operator.quantifier.regexp | #ffffff | — |
| punctuation.definition.string.begin,punctuation.definition.string.end | #b2b7ff | — |
| variable.parameter.function | #ffcbcb | — |
| comment markup.link | #4c5f86 | — |
| markup.changed.diff | #ffa3e0 | — |
| meta.diff.header.from-file,meta.diff.header.to-file,punctuation.definition.from-file.diff,punctuation.definition.to-file.diff | #FFB7B2 | — |
| markup.inserted.diff | #b2b7ff | — |
| markup.deleted.diff | #6ab2ff | — |
| meta.function.c,meta.function.cpp | #6ab2ff | — |
| punctuation.section.block.begin.bracket.curly.cpp,punctuation.section.block.end.bracket.curly.cpp,punctuation.terminator.statement.c,punctuation.section.block.begin.bracket.curly.c,punctuation.section.block.end.bracket.curly.c,punctuation.section.parens.begin.bracket.round.c,punctuation.section.parens.end.bracket.round.c,punctuation.section.parameters.begin.bracket.round.c,punctuation.section.parameters.end.bracket.round.c | #ffcbcb | — |
| punctuation.separator.key-value | #ffcbcb | — |
| keyword.operator.expression.import | #FFB7B2 | — |
| support.constant.math | #ffa3e0 | — |
| support.constant.property.math | #ffffff | — |
| variable.other.constant | #ffa3e0 | — |
| storage.type.annotation.java, storage.type.object.array.java | #ffa3e0 | — |
| source.java | #6ab2ff | — |
| punctuation.section.block.begin.java,punctuation.section.block.end.java,punctuation.definition.method-parameters.begin.java,punctuation.definition.method-parameters.end.java,meta.method.identifier.java,punctuation.section.method.begin.java,punctuation.section.method.end.java,punctuation.terminator.java,punctuation.section.class.begin.java,punctuation.section.class.end.java,punctuation.section.inner-class.begin.java,punctuation.section.inner-class.end.java,meta.method-call.java,punctuation.section.class.begin.bracket.curly.java,punctuation.section.class.end.bracket.curly.java,punctuation.section.method.begin.bracket.curly.java,punctuation.section.method.end.bracket.curly.java,punctuation.separator.period.java,punctuation.bracket.angle.java,punctuation.definition.annotation.java,meta.method.body.java | #ffcbcb | — |
| meta.method.java | #FFB7B2 | — |
| storage.modifier.import.java,storage.type.java,storage.type.generic.java | #ffa3e0 | — |
| keyword.operator.instanceof.java | #4ff771 | — |
| meta.definition.variable.name.java | #6ab2ff | — |
| keyword.operator.logical | #42eab8 | — |
| keyword.operator.bitwise | #42eab8 | — |
| keyword.operator.channel | #42eab8 | — |
| support.constant.property-value.scss,support.constant.property-value.css | #e2fff6 | — |
| keyword.other.unit.px.css | #c4ff93 | — |
| keyword.operator.css,keyword.operator.scss,keyword.operator.less | #42eab8 | — |
| support.constant.color.w3c-standard-color-name.css,support.constant.color.w3c-standard-color-name.scss | #ffffff | — |
| punctuation.separator.list.comma.css | #ffcbcb | — |
| support.constant.color.w3c-standard-color-name.css | #ffffff | — |
| support.type.vendored.property-name.css | #42eab8 | — |
| support.module.node,support.type.object.module,support.module.node | #ffa3e0 | — |
| entity.name.type.module | #ffa3e0 | — |
| variable.other.readwrite,meta.object-literal.key,support.variable.property,support.variable.object.process,support.variable.object.node | #6ab2ff | — |
| support.constant.json | #ffffff | — |
| keyword.operator.expression.instanceof, keyword.operator.new, keyword.operator.ternary, keyword.operator.optional, keyword.operator.expression.keyof | #4ff771 | — |
| support.type.object.console | #6ab2ff | — |
| support.variable.property.process | #ffffff | — |
| entity.name.function,support.function.console | #FFB7B2 | — |
| keyword.operator.misc.rust | #ffcbcb | — |
| keyword.operator.sigil.rust | #4ff771 | — |
| keyword.operator.delete | #4ff771 | — |
| support.type.object.dom | #42eab8 | — |
| support.variable.dom,support.variable.property.dom | #6ab2ff | — |
| keyword.operator.arithmetic,keyword.operator.comparison,keyword.operator.decrement,keyword.operator.increment,keyword.operator.relational | #42eab8 | — |
| keyword.operator.assignment.c,keyword.operator.comparison.c,keyword.operator.c,keyword.operator.increment.c,keyword.operator.decrement.c,keyword.operator.bitwise.shift.c,keyword.operator.assignment.cpp,keyword.operator.comparison.cpp,keyword.operator.cpp,keyword.operator.increment.cpp,keyword.operator.decrement.cpp,keyword.operator.bitwise.shift.cpp | #4ff771 | — |
| punctuation.separator.delimiter | #ffcbcb | — |
| punctuation.separator.c,punctuation.separator.cpp | #4ff771 | — |
| support.type.posix-reserved.c,support.type.posix-reserved.cpp | #42eab8 | — |
| keyword.operator.sizeof.c,keyword.operator.sizeof.cpp | #4ff771 | — |
| variable.parameter.function.language.python | #ffffff | — |
| support.type.python | #42eab8 | — |
| keyword.operator.logical.python | #4ff771 | — |
| variable.parameter.function.python | #ffffff | — |
| punctuation.definition.arguments.begin.python,punctuation.definition.arguments.end.python,punctuation.separator.arguments.python,punctuation.definition.list.begin.python,punctuation.definition.list.end.python | #ffcbcb | — |
| meta.function-call.generic.python | #FFB7B2 | — |
| constant.character.format.placeholder.other.python | #ffffff | — |
| keyword.operator | #ffcbcb | — |
| keyword.operator.assignment.compound | #4ff771 | — |
| keyword.operator.assignment.compound.js,keyword.operator.assignment.compound.ts | #42eab8 | — |
| keyword | #4ff771 | — |
| entity.name.namespace | #ffa3e0 | — |
| variable.c | #ffcbcb | — |
| variable.language | #ffa3e0 | — |
| token.variable.parameter.java | #ffcbcb | — |
| import.storage.java | #ffa3e0 | — |
| token.package.keyword | #4ff771 | — |
| token.package | #ffcbcb | — |
| entity.name.function, meta.require, support.function.any-method, variable.function | #FFB7B2 | — |
| entity.name.type.namespace | #ffa3e0 | — |
| support.class, entity.name.type.class | #ffa3e0 | — |
| entity.name.class.identifier.namespace.type | #ffa3e0 | — |
| entity.name.class, variable.other.class.js, variable.other.class.ts | #ffa3e0 | — |
| variable.other.class.php | #6ab2ff | — |
| support.type.property-name.css | #6aeeff | — |
| punctuation.separator.key-value.css | #bfffe6 | — |
| punctuation.section.property-list.begin.bracket.curly.css | #a7d2ff | — |
| support.constant.font-name.css | #6fffbc | — |
| constant.numeric.css | #C4FFF7 | — |
| punctuation.section.property-list.end.bracket.curly.css | #e4f1ff | — |
| punctuation.section.property-list.end.bracket.curly.css | #e4f1ff | — |
| punctuation.terminator.rule.css | #BFFFE6 | bold |
| entity.name.type | #ffa3e0 | — |
| keyword.control | #78e5bd | — |
| control.elements, keyword.operator.less | #ffffff | — |
| keyword.other.special-method | #FFB7B2 | — |
| storage | #4ff771 | — |
| token.storage | #4ff771 | — |
| keyword.operator.expression.delete,keyword.operator.expression.in,keyword.operator.expression.of,keyword.operator.expression.instanceof,keyword.operator.new,keyword.operator.expression.typeof,keyword.operator.expression.void | #4ff771 | — |
| token.storage.type.java | #ffa3e0 | — |
| support.function | #42eab8 | — |
| support.type.property-name | #ffcbcb | — |
| support.constant.property-value | #ffcbcb | — |
| support.constant.font-name | #ffffff | — |
| meta.tag | #ffcbcb | — |
| string | #b2b7ff | — |
| variable.property.lua | #6adcff | — |
| keyword.luau | #f7de4f | underline |
| variable.other.constant.lua | #ff9853 | — |
| comment.line.double-dash.lua | #443a52 | italic |
| keyword.operator.lua | #5061c5 | — |
| entity.name.function.lua | #7f51ff | bold |
| keyword.function.luau | #585858 | bold underline |
| constant.numeric.integer.lua | #c4fff7 | bold |
| string.quoted.double.lua | #848cff | bold |
| punctuation.definition.string.begin.lua | #9ea4ff | bold |
| punctuation.definition.string.end.lua | #5f6aff | bold |
| keyword.control.luau | #97ffe0 | — |
| support.function.lua | #fedbff | — |
| support.class.luau | #ffa3e0 | — |
| constant.numeric.float.lua | #fffbc4 | — |
| constant.language.lua | #eed028 | underline |
| support.function.library.lua | #c99c89 | underline |
| methods.local.lua | #ae91ff | — |
| constant.language.boolean.false.lua | #ff6666 | bold |
| constant.language.boolean.true.lua | #78ff66 | bold |
| variable.parameter.function.lua | #dcedff | — |
| keyword.local.lua | #1fffff | — |
| keyword.guard.lua | #ffffff | — |
| keyword.FieldOfView.lua | #4ca0b9 | — |
| keyword.69.lua | #ff0000 | bold |
| keyword.420.lua | #ff0000 | bold |
| keyword.123.lua | #00ff00 | bold |
| keyword.bruh.lua | #b9964c | — |
| keyword.gay.lua | #ff0000 | — |
| keyword.synapse.lua | #ff0000 | — |
| keyword.scriptware.lua | #00ff00 | — |
| keyword.camera.lua | #00495f | — |
| keyword.localplayer.lua | #3ddfc4 | — |
| keyword.humanoid.lua | #93e6ff | — |
| keyword.obfuscator.lua | #00ff00 | — |
| keyword.luau.lua | #00ff00 | — |
| keyword.psu.lua | #ff0000 | — |
| keyword.csharp.lua | #00ff00 | — |
| keyword.cplusplus.lua | #ff0000 | — |
| keyword.not.lua | #dd5442 | — |
| keyword.keyboard.lua | #cace05 | — |
| keyword.userinputstate.lua | #fcff56 | — |
| keyword.end.lua | #604cb9 | — |
| keyword.end).lua | #b54cb9 | — |
| keyword.sit.lua | #b94c8f | — |
| keyword.jumppower.lua | #93fff1 | — |
| keyword.walkspeed.lua | #93fff1 | — |
| keyword.invisible.lua | #0e182b | — |
| keyword.invis.lua | #0e182b | — |
| keyword.begin.lua | #50b94c | — |
| keyword.no.lua | #ff0000 | — |
| keyword.yes.lua | #00ff00 | — |
| keyword.maybe.lua | #ff0 | — |
| keyword.hmm.lua | #ff00f2 | — |
| keyword.guardiscool.lua | #00ff22 | — |
| keyword.cframe.lua | #12404e | — |
| keyword.StarterGui.lua | #b94cb9 | — |
| keyword.Players.lua | #a2a8ff | — |
| keyword.ii.lua | #ff0000 | — |
| keyword.ll.lua | #ff0000 | — |
| keyword.li.lua | #ff0000 | — |
| keyword.il.lua | #ff0000 | — |
| keyword.feflip.lua | #acff4e | — |
| keyword.workspace.lua | #d64eff | — |
| keyword.coregui.lua | #ff714e | — |
| keyword.gravity.lua | #4effc4 | — |
| keyword.humanoidrootpart.lua | #201894 | — |
| keyword.feflip2.lua | #acff4e | — |
| keyword.break.lua | #ff864e | — |
| keyword.continue.lua | #ccfd94 | — |
| keyword.feflip3.lua | #acff4e | — |
| keyword.function.lua | #7dffcf | — |
| keyword.then.lua | #08f19c | — |
| keyword.getrawmetatable.lua | #7df0ff | — |
| keyword.xd.lua | #ffe9a2 | — |
| keyword.metatable.lua | #ccab3f | — |
| keyword.amigay.lua | #00ff00 | — |
| keyword.areyougay.lua | #ff0000 | — |
| keyword.firetouchinterest.lua | #464646 | — |
| keyword.gethiddenproperty.lua | #464646 | — |
| keyword.sethiddenproperty.lua | #464646 | — |
| keyword.setsimulationradius.lua | #929292 | — |
| keyword.hookfunction.lua | #411717 | — |
| keyword.newcclosure.lua | #5a1414 | — |
| keyword.readfile.lua | #494c68 | — |
| keyword.writefile.lua | #494c68 | — |
| keyword.appendfile.lua | #494c68 | — |
| keyword.loadfile.lua | #494c68 | — |
| keyword.listfiles.lua | #494c68 | — |
| keyword.isfile.lua | #494c68 | — |
| keyword.isfolder.lua | #494c68 | — |
| keyword.loadstring.lua | #dbfff0 | — |
| keyword.amifat.lua | #00ff00 | — |
| keyword.areyoufat.lua | #ff0000 | — |
| keyword.amidumb.lua | #00ff00 | — |
| keyword.areyoudumb.lua | #ff0000 | — |
| keyword.canyouscript.lua | #00ff00 | — |
| keyword.caniscript.lua | #ff0000 | — |
| keyword.pairs.lua | #ffdbdb | — |
| keyword.random.lua | #ffdbdb | — |
| keyword.tostring.lua | #fffbdb | — |
| keyword.makefolder.lua | #494c68 | — |
| keyword.delfolder.lua | #494c68 | — |
| keyword.delfile.lua | #494c68 | — |
| keyword.setclipboard.lua | #a2ffae | — |
| keyword.saveinstance.lua | #1d1717 | — |
| keyword.messagebox.lua | #a1b175 | — |
| keyword.Drawing.lua | #a2ffff | — |
| keyword.debug.lua | #ffa8a2 | — |
| keyword.bit.lua | #3d2d3c | — |
| keyword.crypt.lua | #302a1f | — |
| keyword.syn.lua | #690000 | — |
| keyword.protosmasher.lua | #5e1a1a | — |
| keyword.sirhunt.lua | #4b53c2 | — |
| keyword.sentinel.lua | #ff4b4b | — |
| keyword.Lighting.lua | #aca479 | — |
| keyword.ReplicatedFirst.lua | #aca479 | — |
| keyword.ServerScriptService.lua | #aca479 | — |
| keyword.ServerStorage.lua | #aca479 | — |
| keyword.StarterPack.lua | #aca479 | — |
| keyword.StarterPlayer.lua | #aca479 | — |
| keyword.StarterCharacterScripts.lua | #aca479 | — |
| keyword.SoundService.lua | #aca479 | — |
| keyword.Chat.lua | #aca479 | — |
| keyword.LocalizationService.lua | #aca479 | — |
| keyword.TestService.lua | #aca479 | — |
| keyword.setreadonly.lua | #ffffff | underline |
| keyword.delay.lua | #aa2ea0 | bold |
| keyword.wait.lua | #ff5ded | — |
| keyword.Character.lua | #93c2ff | — |
| keyword.else.lua | #c00b0b | underline |
| keyword.666.lua | #ff0000 | bold |
| keyword.69420.lua | #ff0000 | bold |
| keyword.colorthree.lua | #6ce068 | — |
| keyword.instance.lua | #ff3333 | — |
| keyword.collectgarbage.lua | #504545 | — |
| keyword.pcall.lua | #6200ff | — |
| keyword.require.lua | #ff9898 | — |
| keyword.coroutine.lua | #00d9ff | — |
| keyword.bit.lua | #791586 | — |
| keyword.math.lua | #58dfb7 | — |
| keyword.ostime.lua | #b6ff57 | — |
| keyword.Region3.lua | #912323 | — |
| keyword.TweenInfo.lua | #3f6068 | — |
| keyword.UDim2.lua | #d9ff00 | — |
| keyword.Vector3.lua | #d9ff00 | — |
| keyword.Vector2.lua | #d9ff00 | — |
| keyword.ColorSequence.lua | #ff6adf | — |
| keyword.stringreverse.lua | #e02727 | — |
| keyword.stringgsub.lua | #ac4e4e | — |
| keyword.stringmatch.lua | #b9d8a8 | — |
| keyword.stringfind.lua | #dad5bd | — |
| keyword.stringlower.lua | #4dd4c9 | — |
| keyword.tableconcat.lua | #AE91FF | — |
| keyword.tableforeach.lua | #4b2e80 | — |
| keyword.tablecreate.lua | #a8ce7d | — |
| keyword.tableinsert.lua | #db5719 | — |
| keyword.utf8.lua | #bb1c93 | — |
| keyword.table.lua | #6840b3 | — |
| keyword.string.lua | #4051b3 | — |
| keyword.os.lua | #295e8a | — |
| keyword.clamp.lua | #d8c451 | — |
| keyword.asin.lua | #d1c59d | — |
| keyword.acos.lua | #e7dbb2 | — |
| keyword.floor.lua | #ff5151 | — |
| keyword.random.lua | #98ffb7 | — |
| keyword.warn.lua | #ff702e | — |
| keyword.mathhuge.lua | #ff1100 | — |
| keyword.ceil.lua | #62992f | — |
| keyword.print.lua | #dbfeff | — |
| constant.language.nil.lua | #000000 | bold |
| luau.keyword.lua | #8b3e72 | — |
| support.type.lua | #af00db | — |
| string.quoted.single.lua | #3c49ff | — |
| punctuation.definition.string.end.lua | #5560ff | — |
| variable.other.enummember.lua | #ff9886 | — |
| entity.other.inherited-class | #ffa3e0 | — |
| constant.other.symbol | #42eab8 | — |
| punctuation.definition.constant | #ffffff | — |
| entity.name.tag | #6ab2ff | — |
| entity.other.attribute-name | #ffffff | — |
| entity.other.attribute-name.id | #2d3a85 | — |
| entity.other.attribute-name.class.css | #6a92ff | — |
| keyword.control.at-rule.import.css | #a4ebd1 | — |
| punctuation.section.function.begin.bracket.round.css | #b78bff | — |
| meta.selector | #4ff771 | — |
| markup.heading | #6ab2ff | — |
| markup.heading punctuation.definition.heading, entity.name.section | #FFB7B2 | — |
| keyword.other.unit | #6ab2ff | — |
| markup.bold,todo.bold | #ffffff | — |
| punctuation.definition.bold | #ffa3e0 | — |
| markup.italic, punctuation.definition.italic,todo.emphasis | #4ff771 | — |
| emphasis md | #4ff771 | — |
| entity.name.section.markdown | #6ab2ff | — |
| punctuation.definition.heading.markdown | #6ab2ff | — |
| punctuation.definition.list.begin.markdown | #6ab2ff | — |
| markup.heading.setext | #ffcbcb | — |
| punctuation.definition.bold.markdown | #ffffff | — |
| markup.inline.raw.markdown | #b2b7ff | — |
| markup.inline.raw.string.markdown | #b2b7ff | — |
| punctuation.definition.list.markdown | #6ab2ff | — |
| punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.definition.metadata.markdown | #6ab2ff | — |
| beginning.punctuation.definition.list.markdown | #6ab2ff | — |
| punctuation.definition.metadata.markdown | #6ab2ff | — |
| markup.underline.link.markdown,markup.underline.link.image.markdown | #4ff771 | — |
| string.other.link.title.markdown,string.other.link.description.markdown | #FFB7B2 | — |
| string.regexp | #42eab8 | — |
| constant.character.escape | #42eab8 | — |
| punctuation.section.embedded, variable.interpolation | #6ab2ff | — |
| punctuation.section.embedded.begin,punctuation.section.embedded.end | #4ff771 | — |
| invalid.illegal | #ffffff | — |
| invalid.illegal.bad-ampersand.html | #ffcbcb | — |
| text.html.derivative | #d6d6d6 | — |
| entity.other.attribute-name | #a889ff | — |
| invalid.illegal.bad-angle-bracket.html | #a99aff | — |
| meta.function-call.js | #a99aff | — |
| punctuation.definition.tag.begin.html | #99b9ff | — |
| punctuation.definition.tag.end.html | #9897ff | — |
| punctuation.separator.key-value.html | #e5a3ff | — |
| entity.name.tag.html | #cbfff4 | — |
| string.quoted.double.html | #99a0ff | — |
| variable.parameter.js | #ffb4b4 | — |
| invalid.broken | #ffffff | — |
| invalid.deprecated | #ffffff | — |
| invalid.unimplemented | #ffffff | — |
| source.json meta.structure.dictionary.json > string.quoted.json | #6ab2ff | — |
| source.json meta.structure.dictionary.json > string.quoted.json > punctuation.string | #6ab2ff | — |
| source.json meta.structure.dictionary.json > value.json > string.quoted.json,source.json meta.structure.array.json > value.json > string.quoted.json,source.json meta.structure.dictionary.json > value.json > string.quoted.json > punctuation,source.json meta.structure.array.json > value.json > string.quoted.json > punctuation | #b2b7ff | — |
| constant.language.json | #848CFF | — |
| constant.numeric.json | #C4FFF7 | — |
| source.json meta.structure.dictionary.json > constant.language.json,source.json meta.structure.array.json > constant.language.json | #42eab8 | — |
| support.type.property-name.json | #6ab2ff | — |
| support.type.property-name.json punctuation | #6ab2ff | — |
| text.html.laravel-blade source.php.embedded.line.html entity.name.tag.laravel-blade | #4ff771 | — |
| text.html.laravel-blade source.php.embedded.line.html support.constant.laravel-blade | #4ff771 | — |
| support.other.namespace.use.php,support.other.namespace.use-as.php,support.other.namespace.php,entity.other.alias.php,meta.interface.php | #ffa3e0 | — |
| keyword.operator.error-control.php | #4ff771 | — |
| keyword.operator.type.php | #4ff771 | — |
| punctuation.section.array.begin.php | #ffcbcb | — |
| punctuation.section.array.end.php | #ffcbcb | — |
| invalid.illegal.non-null-typehinted.php | #f44747 | — |
| storage.type.php,meta.other.type.phpdoc.php,keyword.other.type.php,keyword.other.array.phpdoc.php | #ffa3e0 | — |
| meta.function-call.php,meta.function-call.object.php,meta.function-call.static.php | #FFB7B2 | — |
| punctuation.definition.parameters.begin.bracket.round.php,punctuation.definition.parameters.end.bracket.round.php,punctuation.separator.delimiter.php,punctuation.section.scope.begin.php,punctuation.section.scope.end.php,punctuation.terminator.expression.php,punctuation.definition.arguments.begin.bracket.round.php,punctuation.definition.arguments.end.bracket.round.php,punctuation.definition.storage-type.begin.bracket.round.php,punctuation.definition.storage-type.end.bracket.round.php,punctuation.definition.array.begin.bracket.round.php,punctuation.definition.array.end.bracket.round.php,punctuation.definition.begin.bracket.round.php,punctuation.definition.end.bracket.round.php,punctuation.definition.begin.bracket.curly.php,punctuation.definition.end.bracket.curly.php,punctuation.definition.section.switch-block.end.bracket.curly.php,punctuation.definition.section.switch-block.start.bracket.curly.php,punctuation.definition.section.switch-block.begin.bracket.curly.php,punctuation.definition.section.switch-block.end.bracket.curly.php | #ffcbcb | — |
| support.constant.core.rust | #ffffff | — |
| support.constant.ext.php,support.constant.std.php,support.constant.core.php,support.constant.parser-token.php | #ffffff | — |
| entity.name.goto-label.php,support.other.php | #FFB7B2 | — |
| keyword.operator.logical.php,keyword.operator.bitwise.php,keyword.operator.arithmetic.php | #42eab8 | — |
| keyword.operator.regexp.php | #4ff771 | — |
| keyword.operator.comparison.php | #42eab8 | — |
| keyword.operator.heredoc.php,keyword.operator.nowdoc.php | #4ff771 | — |
| meta.function.decorator.python | #FFB7B2 | — |
| support.token.decorator.python,meta.function.decorator.identifier.python | #42eab8 | — |
| function.parameter | #ffcbcb | — |
| function.brace | #ffcbcb | — |
| function.parameter.ruby, function.parameter.cs | #ffcbcb | — |
| constant.language.symbol.ruby | #42eab8 | — |
| rgb-value | #42eab8 | — |
| inline-color-decoration rgb-value | #ffffff | — |
| less rgb-value | #ffffff | — |
| selector.sass | #6ab2ff | — |
| support.type.primitive.ts,support.type.builtin.ts,support.type.primitive.tsx,support.type.builtin.tsx | #ffa3e0 | — |
| block.scope.end,block.scope.begin | #ffcbcb | — |
| storage.type.cs | #ffa3e0 | — |
| entity.name.variable.local.cs | #6ab2ff | — |
| token.info-token | #FFB7B2 | — |
| token.warn-token | #ffffff | — |
| token.error-token | #f44747 | — |
| token.debug-token | #4ff771 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #4ff771 | — |
| meta.template.expression | #ffcbcb | — |
| keyword.operator.module | #4ff771 | — |
| support.type.type.flowtype | #FFB7B2 | — |
| support.type.primitive | #ffa3e0 | — |
| meta.property.object | #6ab2ff | — |
| keyword.other.template.begin | #b2b7ff | — |
| keyword.other.template.end | #b2b7ff | — |
| keyword.other.substitution.begin | #b2b7ff | — |
| keyword.other.substitution.end | #b2b7ff | — |
| keyword.operator.assignment | #42eab8 | — |
| keyword.operator.assignment.go | #ffa3e0 | — |
| keyword.operator.arithmetic.go, keyword.operator.address.go | #4ff771 | — |
| entity.name.package.go | #ffa3e0 | — |
| support.type.prelude.elm | #42eab8 | — |
| support.constant.elm | #ffffff | — |
| punctuation.quasi.element | #4ff771 | — |
| constant.character.entity | #6ab2ff | — |
| entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class | #42eab8 | — |
| entity.global.clojure | #ffa3e0 | — |
| meta.symbol.clojure | #6ab2ff | — |
| constant.keyword.clojure | #42eab8 | — |
| meta.arguments.coffee, variable.parameter.function.coffee | #6ab2ff | — |
| source.ini | #b2b7ff | — |
| meta.scope.prerequisites.makefile | #6ab2ff | — |
| source.makefile | #ffa3e0 | — |
| storage.modifier.import.groovy | #ffa3e0 | — |
| meta.method.groovy | #FFB7B2 | — |
| meta.definition.variable.name.groovy | #6ab2ff | — |
| meta.definition.class.inherited.classes.groovy | #b2b7ff | — |
| support.variable.semantic.hlsl | #ffa3e0 | — |
| support.type.texture.hlsl, support.type.sampler.hlsl, support.type.object.hlsl, support.type.object.rw.hlsl, support.type.fx.hlsl, support.type.object.hlsl | #4ff771 | — |
| text.variable, text.bracketed | #6ab2ff | — |
| support.type.swift, support.type.vb.asp | #ffa3e0 | — |
| entity.name.function.xi | #ffa3e0 | — |
| entity.name.class.xi | #42eab8 | — |
| constant.character.character-class.regexp.xi | #6ab2ff | — |
| constant.regexp.xi | #4ff771 | — |
| keyword.control.xi | #42eab8 | — |
| invalid.xi | #ffcbcb | — |
| beginning.punctuation.definition.quote.markdown.xi | #b2b7ff | — |
| beginning.punctuation.definition.list.markdown.xi | #4c5f86 | — |
| constant.character.xi | #2d3a85 | — |
| accent.xi | #2d3a85 | — |
| wikiword.xi | #ffffff | — |
| constant.other.color.rgb-value.xi | #ffffff | — |
| punctuation.definition.tag.xi | #4c5f86 | — |
| entity.name.label.cs, entity.name.scope-resolution.function.call, entity.name.scope-resolution.function.definition | #ffa3e0 | — |
| entity.name.label.cs, markup.heading.setext.1.markdown, markup.heading.setext.2.markdown | #6ab2ff | — |
| meta.brace.square | #ffcbcb | — |
| comment, punctuation.definition.comment | #4c5f86 | italic |
| markup.quote.markdown | #4c5f86 | — |
| punctuation.definition.block.sequence.item.yaml | #ffcbcb | — |
| constant.language.symbol.elixir | #42eab8 | — |
| entity.other.attribute-name.js,entity.other.attribute-name.ts,entity.other.attribute-name.jsx,entity.other.attribute-name.tsx,variable.parameter,variable.language.super | — | italic |
| comment.line.double-slash,comment.block.documentation | — | italic |
| keyword.control.import.python,keyword.control.flow.python | — | italic |
| markup.italic.markdown | — | italic |
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}!`;
}