Kary Pro Colors
Publisher: Pouya KaryThemes in package: 2
A suite of carefully harmonized themes with a professional feel
A suite of carefully harmonized themes with a professional feel
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 |
|---|---|---|
| — | #65758D | — |
| comment | #9BA6B5 | — |
| keyword.operator, operator.annotation.type.keyword, var.expr.primitive.annotation.type.keyword.meta | #65758D | — |
| logical.operator.meta | #65758D | — |
| string | #428226 | — |
| string | #3778B7 | — |
| begin.expression.string, end.expression.string | #B052A1 | — |
| expression.string | #65758D | — |
| constant.numeric | #3778B7 | — |
| constant.language | #428226 | — |
| constant.character, constant.other | #428226 | — |
| keyword | #B052A1 | — |
| storage | #B052A1 | — |
| storage.type | #A56416 | — |
| module.meta, function.object.block.variable.meta | #A56416 | — |
| entity.name.class | #C94824 | — |
| super.meta | #B052A1 | — |
| property.field.declaration.class.meta | #C94824 | — |
| entity.other.inherited-class | #C94824 | — |
| this.class.meta | #428226 | — |
| variable.parameter, function.parameters.entity.name.meta | #3778B7 | — |
| entity.name.function | #C94824 | bold |
| variable | #3778B7 | — |
| var-single-variable.variable.readwrite.other.meta | #3778B7 | — |
| markup.heading | #CB4718 | — |
| regexp.operator.keyword.meta, regex.operator.keyboard.meta | #3778B7 | — |
| punctuation.accessor.optional | #A56416 | — |
| constant | #428226 | — |
| namespace | #A56416 | — |
| class | #428226 | — |
| enum | #428226 | — |
| interface | #428226 | — |
| struct | #428226 | — |
| typeParameter | #428226 | — |
| type | #428226 | — |
| parameter | #3778B7 | — |
| variable | #3778B7 | — |
| property | #C94824 | — |
| enumMember | #3778B7 | — |
| decorator | #3778B7 | — |
| event | #C94824 | — |
| function | #C94824 | — |
| method | #C94824 | — |
| macro | #A56416 | — |
| label | #428226 | — |
| comment | #9BA6B5 | — |
| string | #428226 | — |
| keyword | #B052A1 | — |
| number | #3778B7 | — |
| regexp | #A56416 | — |
| struct | #A56416 | — |
| keyword.declaration | #A56416 | — |
| storage.modifier.named.karyscript | #B052A1 | — |
| meta.object-literal.key.karyscript | #3778B7 | — |
| constant.language.placeholder.karyscript | #428226 | — |
| meta.jsx.children | #428226 | — |
| punctuation.definition.tag.html, punctuation.definition.tag.begin, punctuation.definition.tag.end, entity.name.tag | #3778B7 | — |
| entity.other.attribute-name | #B052A1 | — |
| meta.tag.attributes keyword.operator.assignment | #65758D | — |
| string.quoted.single.html, string.quoted.double.html, string.html | #428226 | — |
| doctype.html.tag.meta, meta.tag.sgml.doctype.html, punctuation.definition.tag.html | #3778B7 | — |
| character.constant.entity.html | #A56416 | — |
| text.html.derivative | #A56416 | — |
| entity.tag.tagbraces.nunjucks | #A56416 | — |
| string.unquoted.filter-pipe.nunjucks | #C94824 | — |
| string.unquoted.tag-string.nunjucks | #3778B7 | — |
| storage.type.attr.nunjucks | #428226 | — |
| markup.bold.markdown, markup.italic.markdown | #A56416 | — |
| markup.fenced_code.block.markdown | #428226 | — |
| meta.image.inline.markdown, string.other.link.description.markdown | #B052A1 | — |
| meta.link.inline.markdown, string.other.link.title.markdown | #3778B7 | — |
| punctuation.definition.heading.markdown, entity.name.section.markdown, markup.heading.markdown | #C94824 | — |
| constant.language.pageman-parts.pageman | #428226 | — |
| variable.other.markdown-header.pageman | #C94824 | — |
| storage.type.liquid-g1.pageman, storage.type.liquid-g2.pageman | #B052A1 | — |
| string.html-tag.pageman | #3778B7 | — |
| storage.type.legend.pageman | #A56416 | — |
| keyword.control.markdown-image-or-link.pageman | #B052A1 | — |
| variable.other.muliline-markdown-pre-box.pageman | #A56416 | — |
| variable.other.inline-code-block-markdown.pageman | #C94824 | — |
| storage.type.markdown-table.pageman | #C94824 | — |
| variable.other.html-special-chars.pageman | #C94824 | — |
| constant.language.jekyll-header.pageman | #428226 | — |
| meta.selector.css | #B052A1 | — |
| id.selector.css | #A56416 | — |
| tag.selector.css, tag.name.entity.css | #C94824 | — |
| support.type.property-name.css | #428226 | — |
| constant.other.css, meta.property-value.css | #3778B7 | — |
| support.constant.property-value.css, support.constant.color.w3c-standard-color-name.css, support.type.property-name.media-feature.media.css | #C94824 | — |
| function.meta.css | #3778B7 | — |
| keyword.control.at-rule.media.css | #A56416 | — |
| support.type.property-name.media.css | #C94824 | — |
| meta.at-rule.media.header.css | #3778B7 | — |
| punctuation.definition.entity.css | #3778B7 | — |
| variable.css, variable.argument.css | #A56416 | — |
| keyword.operator.logical.only.media.css, keyword.operator.logical.and.media.css | #C94824 | — |
| support.type.vendored.property-name.css | #3778B7 | — |
| keyword.operator.gradient.css | #A56416 | — |
| entity.other.keyframe-offset.percentage.css | #A56416 | — |
| meta.property-name.css | #C94824 | — |
| entity.other.attribute-name.css | #A56416 | — |
| entity.other.attribute-name.class.css | #A56416 | — |
| entity.other.attribute-name.pseudo-class.css | #428226 | — |
| punctuation.definition.entity.css, entity.other.attribute-name.id.css | #C94824 | — |
| entity.other.keyframe-offset.css | #3778B7 | — |
| variable.other.less | #A56416 | — |
| support.variable.object.process, support.variable.property.process, support.variable.property | #A56416 | — |
| support.variable.object.node | #3778B7 | — |
| variable.other.object, support.constant.math, support.module.node, support.variable.dom, support.class.console | #A56416 | — |
| support.constant.property.math | #428226 | — |
| variable.other.object.property | #A56416 | — |
| support.variable.property.dom, support.class.dom | #A56416 | — |
| keyword.control.export | #A56416 | — |
| entity.name.type.module | #C94824 | — |
| support.class.builtin | #A56416 | — |
| storage.type | #B052A1 | — |
| keyword.control.default | #A56416 | — |
| storage.type.property | #A56416 | — |
| keyword.operator.new, keyword.operator.expression.of, keyword.operator.expression.typeof, keyword.operator.expression.in | #B052A1 | — |
| keyword.operator.arithmetic.ts | #C94824 | — |
| support.function | #C94824 | — |
| support.constant | #A56416 | — |
| entity.name.type.class | #C94824 | — |
| storage.modifier | #A56416 | — |
| support.type.builtin | #428226 | — |
| meta.object-literal.key | #C94824 | — |
| support.type.object.module | #A56416 | — |
| storage.type.namespace, storage.type.function, storage.type.class, storage.type.interface, storage.type.type | #A56416 | — |
| meta.var.expr keyword.control.export | #B052A1 | — |
| support.class | #428226 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end | #B052A1 | — |
| punctuation.definition.block.tag.jsdoc, storage.type.class.jsdoc | #B052A1 | — |
| entity.name.type.instance.jsdoc, punctuation.definition.bracket.curly.begin.jsdoc, punctuation.definition.bracket.curly.end.jsdoc | #428226 | — |
| keyword.operator.word.new.js | #B052A1 | — |
| keyword.operator.arithmetic | #65758D | — |
| keyword.operator.assignment | #A56416 | — |
| punctuation.definition.tag | #428226 | — |
| keyword.operator.expression.delete | #B052A1 | — |
| meta.class | #C94824 | — |
| variable.other.constant | #3778B7 | — |
| meta.namespace.declaration.ts, meta.namespace.declaration.tsx | #C94824 | — |
| meta.type.annotation.ts, meta.type.annotation.tsx, entity.name.type.ts, entity.name.type.tsx, meta.brace.angle.ts, meta.brace.angle.tsx, entity.name.type.interface.ts, entity.name.type.interface.tsx, entity.name.type.tx, entity.name.type.tsx | #428226 | — |
| entity.name.type.alias.ts, entity.name.type.alias.tsx | #C94824 | — |
| support.type.primitive.ts, support.type.primitive.tsx | #428226 | — |
| meta.indexer.mappedtype.declaration.ts, meta.indexer.mappedtype.declaration.tsx | #B052A1 | — |
| storage.type.enum.ts | #A56416 | — |
| entity.name.type.enum | #428226 | — |
| punctuation.definition.group.regexp | #A56416 | — |
| punctuation.definition.group.no-capture.regexp | #C94824 | — |
| punctuation.definition.character-class.regexp | #B052A1 | — |
| constant.other.character-class.regexp | #C94824 | — |
| keyword.operator.or.regexp | #3778B7 | — |
| constant.character.numeric.regexp | #C94824 | — |
| keyword.operator.negation.regexp | #3778B7 | — |
| keyword.control.anchor.regexp | #C94824 | — |
| keyword.operator.quantifier.regexp | #3778B7 | — |
| constant.other.character-class.set.regexp | #C94824 | — |
| keyword.operator.expression.keyof | #B052A1 | — |
| keyword.operator.rest | #428226 | — |
| support.class.ruby | #A56416 | — |
| keyword.other.special-method.ruby | #C94824 | — |
| def.meta.ruby | #A56416 | — |
| separator.variable.punctuation.ruby | #A56416 | — |
| variable.ruby | #428226 | — |
| class.variable.ruby, instance.variable.ruby | #3778B7 | — |
| global.variable.ruby | #C94824 | — |
| embedded.begin.string.punctuation.ruby, embedded.end.string.punctuation.ruby | #B052A1 | — |
| embedded.string.punctuation.ruby | #65758D | — |
| meta.require.ruby | #C94824 | — |
| punctuation.separator.other.ruby | #A56416 | — |
| source.python | #3778B7 | — |
| function-call.python, meta.function-call.generic.python | #C94824 | — |
| meta.function-call.arguments.python | #3778B7 | — |
| keyword.operator.logical.python | #B052A1 | — |
| keyword.operator.arithmetic.python | #C94824 | — |
| keyword.operator.assignment.python | #A56416 | — |
| constant.character.escape.regexp | #A56416 | — |
| support.other.match.begin.regexp, support.other.match.end.regexp | #C94824 | — |
| constant.other.set.regexp, constant.character.set.regexp | #B052A1 | — |
| punctuation.separator.slice.python | #B052A1 | — |
| variable.parameter.function.language.special.self.python | #3778B7 | — |
| support.type.python, punctuation.definition.decorator.python, entity.name.function.decorator.python | #428226 | — |
| constant.character.format.placeholder.other.python | #A56416 | — |
| variable.language.special.self.python | #428226 | — |
| support.type.property-name.json | #3778B7 | — |
| constant.language.json | #B052A1 | — |
| source.go | #3778B7 | — |
| keyword.package.go | #A56416 | — |
| entity.name.package.go | #C94824 | — |
| keyword.type.go, keyword.struct.go | #A56416 | — |
| constant.numeric.integer.go, constant.numeric.floating-point.go | #428226 | — |
| keyword.operator.address.go | #B052A1 | — |
| keyword.function.go | #A56416 | — |
| storage.type.string.go, entity.name.type.go | #428226 | — |
| keyword.operator.arithmetic.go | #C94824 | — |
| constant.other.placeholder.go | #A56416 | — |
| storage.type.numeric.go | #428226 | — |
| keyword.interface.go | #A56416 | — |
| entity.name.type.package.go | #C94824 | — |
| keyword.operator.arithmetic.cpp | #C94824 | — |
| punctuation.separator.pointer-access.cpp | #B052A1 | — |
| source.cpp | #3778B7 | — |
| keyword.operator.bitwise.shift.c | #65758D | — |
| punctuation.separator.namespace.access.cpp | #B052A1 | — |
| keyword.operator.delete.array.cpp | #B052A1 | — |
| keyword.operator.delete.array.bracket.cpp | #A56416 | — |
| entity.name.scope-resolution.cpp | #A56416 | — |
| storage.type.c | #A56416 | — |
| keyword.control.directive.conditional.c | #A56416 | — |
| keyword.operator.c | #B052A1 | — |
| variable.other.member.c | #428226 | — |
| keyword.operator.sizeof.c | #B052A1 | — |
| constant.other.placeholder.c | #3778B7 | — |
| punctuation.section.block.begin.bracket.curly.function.definition.cpp, punctuation.section.block.end.bracket.curly.function.definition.cpp, punctuation.section.parameters.begin.bracket.round.cpp, punctuation.section.parameters.end.bracket.round.cpp | #65758D | — |
| variable.other.macro.argument.cpp | #B052A1 | — |
| entity.name.type.parameter.cpp | #428226 | — |
| meta.function.definition.parameters | #B052A1 | — |
| storage.modifier.pointer.cpp | #B052A1 | — |
| meta.block.objc, source.objc | #3778B7 | — |
| keyword.operator.objc | #C94824 | — |
| storage.type.objc, storage.type.built-in.objc, support.type.cocoa.objc, entity.name.type.objc, support.type.cocoa.leopard.objc, meta.argument-type.objc, support.type.mac-classic.objc | #428226 | — |
| storage.type.built-in.primitive.objc | #A56416 | — |
| meta.protocol-list.objc | #C94824 | — |
| meta.function.objc | #65758D | — |
| meta.return-type.objc | #A56416 | — |
| constant.other.placeholder.objc | #A56416 | — |
| punctuation.separator.pointer-access.objc | #C94824 | — |
| keyword.operator.objc | #B052A1 | — |
| constant.other.variable.mac-classic.objc | #3778B7 | — |
| punctuation.separator.dot-access.objc | #65758D | — |
| storage.type.objc, punctuation.definition.entity.other.inherited-class.objc | #A56416 | — |
| attribute.swift, storage.modifier.attribute.swift | #3778B7 | — |
| type.swift, meta.parameter-clause.swift, entity.name.type.swift, support.type.swift, meta.function-result.swift, meta.definition.type.body.swift, meta.function-call.swift | #428226 | — |
| meta.inheritance-clause.swift | #3778B7 | — |
| meta.definition.type.body.swift | #3778B7 | — |
| source.rust | #3778B7 | — |
| keyword.other.fn.rust | #A56416 | bold |
| entity.name.namespace.rust | #A56416 | — |
| meta.use.rust, keyword.other.rust | #B052A1 | — |
| meta.use.rust | #C94824 | — |
| keyword.operator.namespace.rust | #A56416 | — |
| storage.modifier.mut.rust | #C94824 | — |
| punctuation.semi.rust | #65758D | — |
| keyword.operator.borrow.and.rust | #A56416 | — |
| entity.name.type.numeric.rust, entity.name.type.primitive.rust, entity.name.type.rust, type.rust | #428226 | — |
| constant.other.caps.rust, constant.rust | #A56416 | — |
| storage.type.rust, keyword.other.rust | #A56416 | — |
| entity.name.type.struct.rust | #C94824 | — |
| punctuation.definition.attribute.rust, punctuation.brackets.attribute.rust | #B052A1 | — |
| meta.attribute.rust | #3778B7 | — |
| entity.name.module.rust | #C94824 | — |
| punctuation.definition.lifetime.rust | #A56416 | — |
| keyword.operator.dereference.rust | #B052A1 | — |
| entity.name.type.option.rust | #B052A1 | — |
| entity.name.type.result.rust | #B052A1 | — |
| keyword.operator.key-value.rust | #B052A1 | — |
| entity.name.type.trait.rust | #C94824 | — |
| keyword.operator.access.dot.rust | #65758D | — |
| punctuation.brackets.angle.rust | #A56416 | — |
| entity.name.type.option.rust | #C94824 | — |
| keyword.other.crate.rust | #C94824 | — |
| keyword.other.using.cs | #A56416 | — |
| keyword.other.static.cs | #A56416 | — |
| entity.name.type.namespace.cs | #3778B7 | — |
| keyword.other.namespace.cs | #A56416 | — |
| entity.name.type.namespace.cs | #C94824 | — |
| keyword.other.class.cs | #A56416 | — |
| entity.name.type.class.cs | #C94824 | — |
| keyword.operator.expression.new.cs | #B052A1 | — |
| entity.name.variable.field.cs, entity.name.variable.parameter.cs, entity.name.variable.local.cs, entity.name.variable.tuple-element.cs, variable.other.object.cs, variable.cs | #3778B7 | — |
| keyword.type.cs, entity.name.variable.event.cs, storage.type.cs, entity.name.type.cs | #428226 | — |
| keyword.other.event.cs, keyword.other.delegate.cs, keyword.other.enum.cs, storage.type.enum.cs | #A56416 | — |
| keyword.other.set.cs, keyword.other.get.cs | #C94824 | — |
| entity.name.variable.enum-member.cs | #C94824 | — |
| entity.name.variable.property.cs | #C94824 | — |
| entity.name.type.interface.cs | #C94824 | — |
| keyword.other.interface.cs | #A56416 | — |
| keyword.type.void.cs, storage.type.void.cs | #A56416 | — |
| storage.modifier.const.cs | #B052A1 | — |
| keyword.operator.arithmetic.cs | #C94824 | — |
| meta.preprocessor.cs | #3778B7 | — |
| punctuation.separator.hash.cs, keyword.preprocessor.pragma.cs, keyword.preprocessor.warning.cs, keyword.preprocessor.disable.cs, keyword.preprocessor.restore.cs | #428226 | — |
| keyword.type.bool.cs, keyword.type.char.cs, keyword.type.string.cs, keyword.type.byte.cs, keyword.type.sbyte.cs, keyword.type.int.cs, keyword.type.uint.cs, keyword.type.short.cs, keyword.type.ushort.cs, keyword.type.long.cs, keyword.type.ulong.cs, keyword.type.double.cs, keyword.type.float.cs, keyword.type.decimal.cs, entity.name.type.type-parameter.cs | #428226 | — |
| storage.modifier.this.cs | #428226 | — |
| punctuation.definition.tag.cs, entity.name.tag.localname.cs | #3778B7 | — |
| punctuation.separator.colon.cs | #A56416 | — |
| variable.language.base.cs | #B052A1 | — |
| storage.type.accessor.get.cs, storage.type.accessor.set.cs | #C94824 | — |
| storage.modifier.out.cs, storage.modifier.params.cs, storage.modifier.ref.cs | #B052A1 | — |
| source.coffee | #3778B7 | — |
| variable.assignment.coffee | #3778B7 | — |
| punctuation.section.embedded.coffee | #A56416 | — |
| variable.other.readwrite.instance.coffee | #428226 | — |
| keyword.operator.delete.coffee | #B052A1 | — |
| support.package.hx | #3778B7 | — |
| name.tag.out.plain.unquoted.string.entity.yaml | #428226 | — |
| source.fish | #3778B7 | — |
| variable.other.fixed.fish, variable.other.normal.fish | #A56416 | — |
| string.other.option.fish | #A56416 | — |
| operator.fish | #A56416 | — |
| variable.other.property.nearley | #C94824 | — |
| keyword.operator.nearley | #3778B7 | — |
| begin.brace.nearley, end.brace.nearley | #A56416 | — |
| keyword.control.nearley | #A56416 | — |
| source.makefile | #428226 | — |
| punctuation.separator.key-value.makefile | #A56416 | — |
| punctuation.definition.variable.makefile | #B052A1 | — |
| meta.scope.prerequisites.makefile | #A56416 | — |
| meta.scope.recipe.makefile | #428226 | — |
| variable.language.makefile | #A56416 | — |
| punctuation.separator.comma.function-call.makefile | #B052A1 | — |
| storage.type.wat | #A56416 | — |
| keyword.operator.word.wat | #C94824 | — |
| entity.name.type.wat | #428226 | — |
| punctuation.section.embedded.begin.metatag.php, punctuation.section.embedded.end.metatag.php, punctuation.section.embedded.end.php, punctuation.section.embedded.begin.php | #B052A1 | — |
| meta.string-contents.quoted.single.php, meta.string-contents.quoted.double.php, constant.language.php | #428226 | — |
| string.unquoted.heredoc.nowdoc.php | #B052A1 | — |
| entity.name.type.class.php, support.class.php, meta.function-call.static.php, meta.function-call.object.php, meta.function-call.php, entity.name.type.trait.php, support.other.namespace.use.php, support.other.namespace.use-as.php, support.class.exception.php | #C94824 | — |
| entity.name.type.namespace.php, support.other.namespace.php | #428226 | — |
| source.php, punctuation.terminator.expression.php, punctuation.separator.inheritance.php | #65758D | — |
| punctuation.definition.variable.php, variable.other.php | #3778B7 | — |
| source.sql.embedded.php | #A56416 | — |
| keyword.operator.logical.php | #B052A1 | — |
| entity.name.goto-label.php | #B052A1 | — |
| keyword.operator.key.php | #A56416 | — |
| meta.function-call.php, punctuation.section.array.end.php, punctuation.section.array.begin.php, punctuation.definition.arguments.begin.bracket.round.php, punctuation.definition.arguments.end.bracket.round.php | #65758D | — |
| source.fsharp.fsl | #3778B7 | — |
| entity.name.section.fsharp | #428226 | — |
| variable.other.binding.fsharp | #C94824 | — |
| keyword.other.binding.fsharp | #A56416 | — |
| constant.numeric.fsharp, constant.numeric.integer.nativeint.fsharp | #428226 | — |
| keyword.other.fsharp, constant.language.unit.fsharp | #B052A1 | — |
| keyword.other.DDL.create.II.sql | #428226 | — |
| string.quoted.double.sql | #3778B7 | — |
| constant.numeric.sql | #428226 | — |
| source.haskell | #3778B7 | — |
| support.other.module.haskell | #C94824 | — |
| keyword.other.module.haskell, keyword.other.import.haskell | #A56416 | — |
| meta.type-declaration.haskell, meta.function.type-declaration.haskell | #A56416 | — |
| keyword.operator.haskell | #65758D | — |
| keyword.operator.dollar-sign.haskell | #B052A1 | — |
| constant.numeric.haskell | #428226 | — |
| punctuation.definition.entity.haskell, keyword.operator.function.infix.haskell, keyword.operator.function.infix.haskell | #A56416 | — |
| keyword.other.double-colon.haskell | #A56416 | — |
| storage.type.haskell | #C94824 | — |
| keyword.other.arrow.haskell | #A56416 | — |
| keyword.other.type.haskell | #A56416 | — |
| punctuation.definition.entity.dummy.haskell | #B052A1 | — |
| keyword.control.haskell | #B052A1 | — |
| keyword.operator.assignment.haskell | #65758D | — |
| keyword.other.class.haskell, keyword.other.instance.haskell | #A56416 | — |
| keyword.type.elm, keyword.type-alias.elm | #A56416 | — |
| storage.type.elm | #428226 | — |
| entity.name.record.field.elm | #C94824 | — |
| meta.value.elm | #3778B7 | — |
| support.module.elm | #A56416 | — |
| keyword.control.elm | #B052A1 | — |
| keyword.other.elm | #A56416 | — |
| constant.unit.elm | #A56416 | — |
| record.name.elm | #3778B7 | — |
| entity.name.record.field.accessor.elm | #A56416 | — |
| support.type.property-name.scss | #A56416 | — |
| meta.property-list.scss | #3778B7 | — |
| meta.property-list.scss | #428226 | — |
| source.dart | #3778B7 | — |
| storage.modifier.const.dart | #B052A1 | — |
| storage.type.primitive.dart | #A56416 | — |
| storage.type.primitive.double.dart, storage.type.primitive.int.dart, storage.type.primitive.bool.dart, storage.type.primitive.String.dart | #428226 | — |
| keyword.operator.arithmetic.dart | #C94824 | — |
| meta.object-literal.key.dart, punctuation.separator.key-value.dart | #C94824 | — |
| entity.name.type, entity.name.type.dart, entity.name.type, support.class.dart, entity.name.type.dart, entity.name.type.class.dart | #428226 | — |
| storage.type.annotation.dart | #3778B7 | — |
| keyword.declaration.class.dart, keyword.declaration.extends.dart | #A56416 | — |
| entity.name.type.class.declaration.dart | #C94824 | — |
| storage.modifier.final.dart | #A56416 | — |
| storage.type.primitive.var.dart | #B052A1 | — |
| storage.type.primitive.void.dart | #A56416 | — |
| entity.name.type.typeparameter.dart | #428226 | — |
| variable.parameter.dart | #428226 | — |
| string.interpolated.expression.dart | #3778B7 | — |
| punctuation.definition.interpolated-string.dart | #B052A1 | — |
| variable.parameter.dart | #A56416 | — |
| keyword.declaration.with.dart | #A56416 | — |
| storage.modifier.required.dart | #B052A1 | — |
| entity.name.type.typeparameter.dart | #428226 | — |
| keyword.declaration.abstract.dart | #A56416 | — |
| storage.modifier.late.dart | #A56416 | — |
| storage.modifier.static.dart | #A56416 | — |
| keyword.declaration.get.dart, keyword.declaration.set.dart | #A56416 | — |
| keyword.declaration.typedef.dart | #A56416 | — |
| keyword.declaration.enum.dart | #A56416 | — |
| keyword.declaration.extension.dart, keyword.declaration.on.dart | #B052A1 | — |
| entity.name.extension.dart | #3778B7 | — |
| keyword.operator.is.dart | #B052A1 | — |
| keyword.control.async.dart | #B052A1 | — |
| variable.language.dart | #428226 | — |
| storage.modifier.const.dart | #B052A1 | — |
| keyword.declaration.implements.dart | #A56416 | — |
| keyword.control.default.dart | #B052A1 | — |
| support.class.applescript, support.class.itunes.applescript | #A56416 | — |
| string.quoted.double.application-name.applescript | #C94824 | — |
| keyword.operator.word.applescript | #B052A1 | — |
| keyword.operator.reference.applescript | #C94824 | — |
| meta.statement.set.applescript | #3778B7 | — |
| meta.block.repeat.with.applescript | #3778B7 | — |
| keyword.control.def.set.applescript | #A56416 | — |
| variable.other.readwrite.set.applescript | #C94824 | — |
| keyword.control.function.applescript | #A56416 | — |
| meta.block.tell.generic.applescript, meta.block.tell.application.generic.applescript | #3778B7 | — |
| meta.block.if.applescript | #3778B7 | — |
| meta.function.positional.applescript | #3778B7 | — |
| variable.language.declaration.jison | #C94824 | — |
| keyword.directive.preprocessor.glsl | #C94824 | — |
| source.glsl | #3778B7 | — |
| storage.type.glsl | #428226 | — |
| constant.numeric.glsl | #428226 | — |
| keyword.operator.arithmetic.glsl | #A56416 | — |
| source.crystal | #3778B7 | — |
| keyword.control.def.crystal | #A56416 | — |
| keyword.control.crystal | #A56416 | — |
| keyword.control.module.crystal | #A56416 | — |
| keyword.control.lib.crystal | #B052A1 | — |
| entity.name.type.lib.crystal | #428226 | — |
| keyword.control.crystal | #B052A1 | — |
| support.function.kernel.crystal | #C94824 | — |
| source.racket | #3778B7 | — |
| meta.function-call.racket | #C94824 | — |
| source.purescript | #3778B7 | — |
| meta.import.purescript | #C94824 | — |
| support.other.module.purescript | #A56416 | — |
| entity.name.type.purescript | #428226 | — |
| keyword.other.arrow.purescript | #A56416 | — |
| keyword.other.double-colon.purescript | #A56416 | — |
| keyword.operator.purescript | #C94824 | — |
| entity.name.tag.purescript | #A56416 | — |
| entity.name.function.infix.purescript | #B052A1 | — |
| entity.name.type | #A56416 | — |
| keyword.operator | #A56416 | — |
| keyword.storage.zig | #A56416 | — |
| keyword.type.integer.zig | #428226 | — |
| keyword.type.zig | #428226 | — |
| source.shaderlab, source.shader | #3778B7 | — |
| storage.type.structure.shaderlab | #C94824 | — |
| support.type.propertyname.shaderlab | #A56416 | — |
| support.variable.declaration.shaderlab | #A56416 | — |
| support.type.basic.shaderlab | #428226 | — |
| source.v | #3778B7 | — |
| keyword.function.v | #A56416 | — |
| storage.type.bool.v, storage.type.bool.v, storage.type.byteptr.v, storage.type.charptr.v, storage.type.numeric.v, storage.type.rune.v, storage.type.size_t.v, storage.type.string.v, storage.type.voidptr.v | #428226 | — |
| storage.type.struct.v, keyword.interface.v | #A56416 | — |
| entity.name.struct.v, entity.name.type.v, entity.name.interface.v | #428226 | — |
| storage.modifier.attribute.v | #B052A1 | — |
| keyword.operator.optional.v | #A56416 | — |
| keyword.operator.arithmetic.v | #C94824 | — |
| keyword.fn.v | #A56416 | — |
| variable.other.interpolated.v | #A56416 | — |
| markup.heading.typst | #B052A1 | — |
| emph | #3778B7 | — |
| meta.embedded.source.haskell.alex | #3778B7 | — |
| meta.definition.alex | #A56416 | — |
| entity.other.attribute-name.attribute.pegjs | #3778B7 | — |
| entity.name.function.pegjs | #C94824 | — |
| keyword.operator.pegjs | #A56416 | — |
| declaration.keyword.pegjs | #428226 | — |
| declaration.keyword.pegjs | #3778B7 | — |
| declaration.keyword.peggy | #3778B7 | — |
| entity.other.attribute-name.attribute.peggy | #3778B7 | — |
| entity.name.type.head.idf | #C94824 | — |
| entity.name.type.query.idf | #B052A1 | — |
| constant.language.boolean.idf | #B052A1 | — |
| comment.sign.idf | #9BA6B5 | — |
| comment.text.idf | #A56416 | — |
| bracket.php, keyword.operator.type.annotation.ts, meta.brace, meta.brace.angle.ts, meta.brace.round.dart, meta.declaration.exports.haskell, meta.declaration.exports.purescript, meta.embedded.expression.jsx, meta.embedded.expression.tsx, meta.namespace.declaration.ts, meta.property-list.scss, punctuation.accessor.v, punctuation.brackets.angle.rust, punctuation.brackets.curly.rust, punctuation.brackets.round.rust, punctuation.brackets.square.rust, punctuation.comma.dart, punctuation.comma.rust, punctuation.cpp, punctuation.definition.arguments.begin.bracket.round.coffee, punctuation.definition.arguments.begin.python, punctuation.definition.arguments.end.bracket.round.coffee, punctuation.definition.arguments.end.python, punctuation.definition.array.begin.applescript, punctuation.definition.array.begin.bracket.square.coffee, punctuation.definition.array.end.applescript, punctuation.definition.array.end.bracket.square.coffee, punctuation.definition.begin.bracket.curly.go, punctuation.definition.begin.bracket.round.go, punctuation.definition.begin.bracket.square, punctuation.definition.begin.bracket.square.c, punctuation.definition.begin.bracket.square.v, punctuation.definition.binding-pattern.array.js, punctuation.definition.binding-pattern.array.ts, punctuation.definition.binding-pattern.array.tsx, punctuation.definition.binding-pattern.object.js, punctuation.definition.binding-pattern.object.jsx, punctuation.definition.binding-pattern.object.ts, punctuation.definition.binding-pattern.object.tsx, punctuation.definition.binding-pattern.object.tsx, punctuation.definition.block, punctuation.definition.block.dart, punctuation.definition.bracket.curly.begin.v, punctuation.definition.bracket.curly.end.v, punctuation.definition.bracket.round.begin.v, punctuation.definition.bracket.round.end.v, punctuation.definition.bracket.square.begin.v, punctuation.definition.bracket.square.end.v, punctuation.definition.bracket.square.go, punctuation.definition.constant.crystal, punctuation.definition.destructuring.begin.bracket.curly.coffee, punctuation.definition.destructuring.end.bracket.curly.coffee, punctuation.definition.dict.begin.python, punctuation.definition.dict.end.python, punctuation.definition.end.bracket.curly.go, punctuation.definition.end.bracket.round.go, punctuation.definition.end.bracket.square, punctuation.definition.end.bracket.square.c, punctuation.definition.end.bracket.square.v, punctuation.definition.entity.begin.bracket.square.css, punctuation.definition.entity.end.bracket.square.css, punctuation.definition.entity.other.inherited-class.objc, punctuation.definition.imports.begin.bracket.round.go, punctuation.definition.imports.end.bracket.round.go, punctuation.definition.inheritance.begin.python, punctuation.definition.inheritance.end.python, punctuation.definition.list.begin.python, punctuation.definition.list.end.python, punctuation.definition.parameters, punctuation.definition.section.case-statement.tsx, punctuation.definition.type.begin.objc, punctuation.definition.type.end.objc, punctuation.definition.typeparameters.begin.cs, punctuation.definition.typeparameters.begin.dart, punctuation.definition.typeparameters.begin.ts, punctuation.definition.typeparameters.begin.tsx, punctuation.definition.typeparameters.end.cs, punctuation.definition.typeparameters.end.dart, punctuation.definition.typeparameters.end.ts, punctuation.definition.typeparameters.end.tsx, punctuation.definition.variables.begin.bracket.round.go, punctuation.definition.variables.end.bracket.round.go, punctuation.dot.dart, punctuation.fish, punctuation.go, punctuation.haskell, punctuation.objc, punctuation.other.colon.go, punctuation.other.comma.go, punctuation.other.period.go, punctuation.parenthesis.begin.python, punctuation.parenthesis.begin.python, punctuation.parenthesis.end.python, punctuation.section.angle-brackets.begin.template.call.cpp, punctuation.section.angle-brackets.end.template.call.cpp, punctuation.section.arguments.begin.bracket.round.c, punctuation.section.arguments.begin.bracket.round.function.call.cpp, punctuation.section.arguments.begin.bracket.round.function.member.cpp, punctuation.section.arguments.begin.bracket.round.objc, punctuation.section.arguments.begin.bracket.round.operator.sizeof.cpp, punctuation.section.arguments.end.bracket.round.c, punctuation.section.arguments.end.bracket.round.function.call.cpp, punctuation.section.arguments.end.bracket.round.function.member.cpp, punctuation.section.arguments.end.bracket.round.objc, punctuation.section.arguments.end.bracket.round.operator.sizeof.cpp, punctuation.section.array.crystal, punctuation.section.block.begin.bracket.curly.c, punctuation.section.block.begin.bracket.curly.cpp, punctuation.section.block.begin.bracket.curly.objc, punctuation.section.block.end.bracket.curly.c, punctuation.section.block.end.bracket.curly.cpp, punctuation.section.block.end.bracket.curly.objc, punctuation.section.class.begin.python, punctuation.section.embedded.begin.tsx, punctuation.section.embedded.end.tsx, punctuation.section.function.begin.bracket.round.css, punctuation.section.function.begin.python, punctuation.section.function.crystal, punctuation.section.function.end.bracket.round.css, punctuation.section.group.applescript, punctuation.section.parameters.begin.bracket.round.c, punctuation.section.parameters.begin.bracket.round.objc, punctuation.section.parameters.end.bracket.round.c, punctuation.section.parameters.end.bracket.round.objc, punctuation.section.parens.begin.bracket.round.c, punctuation.section.parens.begin.bracket.round.cpp, punctuation.section.parens.begin.bracket.round.objc, punctuation.section.parens.end.bracket.round.c, punctuation.section.parens.end.bracket.round.cpp, punctuation.section.parens.end.bracket.round.objc, punctuation.section.scope.begin.objc, punctuation.section.scope.crystal, punctuation.section.scope.end.objc, punctuation.semi.rust, punctuation.separator.arguments.python, punctuation.separator.colon.python, punctuation.separator.comma, punctuation.separator.comma.makefile, punctuation.separator.dart, punctuation.separator.delimiter.c, punctuation.separator.delimiter.coffee, punctuation.separator.delimiter.comma.cpp, punctuation.separator.delimiter.objc, punctuation.separator.dict.python, punctuation.separator.dot-access.c, punctuation.separator.dot-access.cpp, punctuation.separator.element.python, punctuation.separator.key-value.css, punctuation.separator.list.comma.css, punctuation.separator.method.crystal, punctuation.separator.method.period.coffee, punctuation.separator.other.crystal, punctuation.separator.parameter.ts, punctuation.separator.parameter.tsx, punctuation.separator.parameters.python, punctuation.separator.period.python, punctuation.separator.property.period.coffee, punctuation.terminator.dart, punctuation.terminator.go, punctuation.terminator.statement, punctuation.terminator.statement.c, punctuation.definition.arguments.begin.swift, punctuation.definition.arguments.end.swift | #65758D | — |
| punctuation.definition.tag.xml | #3778B7 | — |
| punctuation.definition.comment.ts | #9BA6B5 | — |
| punctuation.accessor | #65758D | — |
| string | #428226 | — |
| jsx.children.objectliteral.expression.embedded.tag.string.block | #428226 | — |
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}!`;
}