PinkInk
Publisher: David Pine (IEvangelist)Themes in package: 2
A neon-pink-on-ink dark theme and a crisp-white, cool-gray light theme with vivid cyan and magenta accents.
A neon-pink-on-ink dark theme and a crisp-white, cool-gray light theme with vivid cyan and magenta accents.
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 |
|---|---|---|
| meta.embedded, source.groovy.embedded, string meta.image.inline.markdown, variable.legacy.builtin.python | #F2E8EF | — |
| comment, punctuation.definition.comment | #A18E9D | |
| comment.block.documentation storage.type.class, comment.block.documentation entity.name.type, comment.block.documentation variable.other | #C09AB2 | |
| keyword, storage.type, storage.modifier, keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.alignof, keyword.operator.typeid, keyword.operator.instanceof, keyword.operator.logical.python, keyword.operator.wordlike | #FF4FA3 | — |
| keyword.control, keyword.other.using, keyword.other.directive, keyword.other.operator, entity.name.operator | #D979FF | — |
| keyword.operator, punctuation.separator, punctuation.accessor | #FF78B5 | — |
| entity.name.function, meta.function-call, support.function, support.constant.handlebars, source.powershell variable.other.member, entity.name.operator.custom-literal | #55E6E6 | — |
| support.class, support.type, entity.name.type, entity.name.namespace, entity.other.inherited-class, entity.other.attribute, entity.name.scope-resolution, entity.name.class, storage.type.numeric.go, storage.type.byte.go, storage.type.boolean.go, storage.type.string.go, storage.type.uintptr.go, storage.type.error.go, storage.type.rune.go, storage.type.cs, storage.type.generic.cs, storage.type.modifier.cs, storage.type.variable.cs, storage.type.annotation.java, storage.type.generic.java, storage.type.java, meta.type.cast.expr, meta.type.new.expr, storage.type.sql, storage.type.powershell | #F2CE72 | — |
| entity.name.namespace, entity.name.module, entity.name.type.module, entity.name.type.package, entity.name.import.go, entity.name.type.module.ts, entity.name.type.package.go, entity.name.module.rust, entity.name.namespace.rust | #C09AB2 | — |
| entity.name.class, entity.name.type.class, entity.name.type.class.ts, entity.name.type.class.python, support.class, support.class.ts, support.class.promise.ts, entity.other.inherited-class | #F2CE72 | — |
| entity.name.type.interface, entity.name.type.interface.ts, entity.name.type.trait, entity.name.type.trait.rust | #8FC7FF | — |
| entity.name.type.struct, entity.name.type.struct.rust, entity.name.type.record, entity.name.type.declaration.rust | #74E0B1 | — |
| entity.name.type.enum, entity.name.type.enum.ts, entity.name.type.enum.rust, entity.name.type.union | #FFAA90 | — |
| entity.name.type.alias, entity.name.type.alias.ts, entity.name.type.type-parameter, entity.name.type.parameter, entity.name.type.metavariable.rust, entity.name.type.lifetime.rust | #E58BFF | — |
| meta.decorator, meta.decorator.ts, entity.name.function.decorator, entity.name.function.decorator.python, entity.other.attribute, storage.type.annotation, entity.name.type.annotation | #D979FF | — |
| variable.other.constant, variable.other.enummember, support.constant, variable.other.constant.ts, variable.other.constant.object.ts, variable.other.constant.property.ts, variable.other.constant.go | #F2CE72 | — |
| storage.type.class.cs, storage.type.delegate.cs, storage.type.enum.cs, storage.type.interface.cs, storage.type.namespace.cs, storage.type.record.cs, storage.type.struct.cs | #EE5A9F | — |
| source.cs storage.modifier, source.cs storage.type.accessor | #B6A4B0 | — |
| source.cs keyword.type, storage.type.var.cs | #F2CE72 | — |
| keyword.other.directive.alias.cs, keyword.other.directive.global.cs, keyword.other.directive.static.cs, keyword.other.directive.using.cs | #C09AB2 | — |
| source.cs constant.language | #FFAA90 | — |
| entity.name.type.namespace.cs | #C09AB2 | — |
| entity.name.type.cs, entity.name.type.alias.cs, entity.name.type.delegate.cs | #F2CE72 | — |
| entity.name.type.type-parameter.cs | #E58BFF | — |
| entity.name.type.class.cs | #F2CE72 | — |
| entity.name.type.interface.cs | #8FC7FF | — |
| entity.name.type.struct.cs | #74E0B1 | — |
| entity.name.type.enum.cs | #FFAA90 | — |
| entity.name.function.cs | #55E6E6 | — |
| source.cs keyword.operator | #B6A4B0 | — |
| variable, meta.definition.variable.name, entity.name.variable, constant.other.placeholder | #F2E8EF | — |
| variable.parameter, meta.parameters variable | #EFC3D8 | — |
| variable.language, variable.language.this, variable.language.self | #FF78B5 | — |
| variable.other.property, variable.other.object.property, meta.object-literal.key, support.type.property-name, support.type.vendored.property-name, meta.structure.dictionary.key.python | #D979FF | — |
| entity.name.variable.field.cs | #D4E0E6 | — |
| entity.name.variable.local.cs | #F2E8EF | — |
| entity.name.variable.range-variable.cs, entity.name.variable.tuple-element.cs | #EFC3D8 | — |
| entity.name.variable.parameter.cs | #EFC3D8 | — |
| entity.name.variable.property.cs, variable.other.object.property.cs | #D979FF | — |
| entity.name.variable.event.cs | #74E0B1 | — |
| entity.name.variable.enum-member.cs | #F2CE72 | — |
| constant.language, variable.other.constant, variable.other.enummember, support.constant | #F2CE72 | — |
| constant.numeric, keyword.other.unit, keyword.operator.plus.exponent, keyword.operator.minus.exponent | #F2CE72 | — |
| string, string.value, string.tag, meta.embedded.assembly | #FFAA90 | — |
| constant.character.escape, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #55E6E6 | — |
| string.regexp, constant.regexp, constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp, punctuation.definition.group.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.character-class.regexp, keyword.operator.or.regexp, keyword.operator.quantifier.regexp, keyword.control.anchor.regexp | #E58BFF | — |
| constant.character, constant.other.option | #7CF3F3 | — |
| entity.name.tag, entity.name.tag.css, entity.name.tag.less, entity.name.selector | #FF4FA3 | — |
| entity.other.attribute-name, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, entity.other.attribute-name.parent-selector.css, entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element.css, entity.other.attribute-name.scss | #55E6E6 | — |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | #FFAA90 | — |
| meta.structure.dictionary.value.json string.quoted.double.json, meta.structure.array.json string.quoted.double.json, meta.structure.dictionary.value.json.comments string.quoted.double.json.comments, meta.structure.array.json.comments string.quoted.double.json.comments | #FFAA90 | — |
| constant.numeric.json, constant.numeric.json.comments | #F2CE72 | — |
| constant.language.json, constant.language.json.comments | #D979FF | — |
| constant.character.escape.json, constant.character.escape.json.comments | #55E6E6 | — |
| punctuation.definition.array.begin.json, punctuation.definition.array.end.json, punctuation.definition.dictionary.begin.json, punctuation.definition.dictionary.end.json, punctuation.separator.array.json, punctuation.separator.dictionary.key-value.json, punctuation.separator.dictionary.pair.json, punctuation.definition.array.begin.json.comments, punctuation.definition.array.end.json.comments, punctuation.definition.dictionary.begin.json.comments, punctuation.definition.dictionary.end.json.comments, punctuation.separator.array.json.comments, punctuation.separator.dictionary.key-value.json.comments, punctuation.separator.dictionary.pair.json.comments | #BDA8B7 | — |
| support.type.property-name.json, support.type.property-name.json.comments, string.json support.type.property-name.json, string.json.comments support.type.property-name.json.comments, meta.structure.dictionary.json string.quoted.double, meta.structure.dictionary.json.comments string.quoted.double | #8FC7FF | — |
| string.quoted.double.yaml, string.quoted.single.yaml | #FFAA90 | — |
| string.unquoted.plain.in.yaml, string.unquoted.plain.out.yaml, string.unquoted.block.yaml | #5FD6CF | — |
| constant.numeric.yaml, constant.numeric.float.yaml, constant.numeric.integer.yaml, constant.numeric.timestamp.yaml | #F2CE72 | — |
| constant.language.boolean.yaml | #FF4FA3 | — |
| constant.language.null.yaml | #D979FF | — |
| variable.other.anchor.yaml, keyword.control.flow.anchor.yaml, punctuation.definition.anchor.yaml | #55E6E6 | — |
| variable.other.alias.yaml, keyword.control.flow.alias.yaml, punctuation.definition.alias.yaml | #74E0B1 | — |
| storage.type.tag-handle.yaml, storage.type.tag.non-specific.yaml, storage.type.tag.shorthand.yaml, storage.type.tag.verbatim.yaml, support.type.tag-prefix.yaml | #D979FF | — |
| keyword.other.directive.other.yaml, keyword.other.directive.tag.yaml, keyword.other.directive.yaml.yaml, string.unquoted.directive-name.yaml | #FF4FA3 | — |
| entity.other.document.begin.yaml, entity.other.document.end.yaml, punctuation.definition.block.sequence.item.yaml, punctuation.definition.map.key.yaml, punctuation.definition.mapping.begin.yaml, punctuation.definition.mapping.end.yaml, punctuation.definition.sequence.begin.yaml, punctuation.definition.sequence.end.yaml, punctuation.separator.map.value.yaml, punctuation.separator.mapping.yaml, punctuation.separator.sequence.yaml | #BDA8B7 | — |
| entity.name.tag.yaml, meta.map.key.yaml string.quoted.double.yaml entity.name.tag.yaml, meta.map.key.yaml string.quoted.single.yaml entity.name.tag.yaml, meta.map.key.yaml string.unquoted.plain.yaml entity.name.tag.yaml, meta.flow.map.key.yaml string.unquoted.plain.in.yaml entity.name.tag.yaml | #8FC7FF | — |
| meta.preprocessor, entity.name.function.preprocessor | #D979FF | — |
| entity.name.label | #FF78B5 | — |
| entity.name.type.package.go, entity.name.import.go | #C09AB2 | — |
| entity.name.type.go, entity.name.type.any.go, entity.name.type.comparable.go | #F2CE72 | — |
| storage.type.numeric.go, storage.type.byte.go, storage.type.boolean.go, storage.type.string.go, storage.type.uintptr.go, storage.type.error.go, storage.type.rune.go | #8FC7FF | — |
| entity.name.function.go, entity.name.function.support.go, entity.name.function.support.builtin.go | #55E6E6 | — |
| variable.other.property.go | #D979FF | — |
| variable.parameter.go | #EFC3D8 | — |
| variable.other.constant.go | #F2CE72 | — |
| meta.function.decorator.python, entity.name.function.decorator.python, punctuation.definition.decorator.python | #D979FF | — |
| entity.name.type.class.python, entity.other.inherited-class.python | #F2CE72 | — |
| entity.name.function.python | #55E6E6 | — |
| variable.parameter.function.language.python, variable.parameter.function-call.python | #EFC3D8 | — |
| variable.language.special.self.python, variable.language.special.cls.python, variable.parameter.function.language.special.self.python, variable.parameter.function.language.special.cls.python | #FF4FA3 | — |
| support.function.builtin.python, variable.legacy.builtin.python | #8FC7FF | — |
| support.type.python, support.type.exception.python, support.type.metaclass.python | #F2CE72 | — |
| support.function.magic.python, support.variable.magic.python | #E58BFF | — |
| constant.other.caps.python | #F2CE72 | — |
| storage.type.powershell | #FF4FA3 | — |
| storage.modifier.powershell, storage.modifier.scope.powershell | #D979FF | — |
| entity.name.function.powershell, source.powershell entity.name.function, support.function.powershell | #55E6E6 | — |
| variable.parameter.powershell, variable.parameter.attribute.powershell | #EFC3D8 | — |
| variable.other.member.powershell | #D979FF | — |
| support.variable.automatic.powershell, variable.language.powershell | #D979FF | — |
| support.constant.variable.powershell, constant.language.powershell | #F2CE72 | — |
| support.function.attribute.powershell | #8FC7FF | — |
| entity.name.module.rust, entity.name.namespace.rust | #C09AB2 | — |
| entity.name.type.struct.rust, entity.name.type.declaration.rust | #74E0B1 | — |
| entity.name.type.trait.rust | #8FC7FF | — |
| entity.name.type.enum.rust | #FFAA90 | — |
| entity.name.type.primitive.rust, entity.name.type.numeric.rust, entity.name.type.option.rust, entity.name.type.result.rust, entity.name.type.rust | #F2CE72 | — |
| entity.name.type.lifetime.rust, punctuation.definition.lifetime.rust | #EFC3D8 | — |
| entity.name.function.macro.rust, entity.name.function.macro.rules.rust, entity.name.type.macro.rust | #FF4FA3 | — |
| entity.name.function.rust | #55E6E6 | — |
| constant.other.caps.rust | #F2CE72 | — |
| variable.language.self.rust, variable.language.super.rust | #FF4FA3 | — |
| entity.name.type.metavariable.rust, variable.other.metavariable.name.rust, variable.other.metavariable.specifier.rust | #FFAA90 | — |
| entity.name.tag.css, entity.name.tag.custom.css, entity.name.tag.wildcard.css | #FF4FA3 | — |
| entity.other.attribute-name.class.css | #D979FF | — |
| entity.other.attribute-name.id.css | #F2CE72 | — |
| entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #FFAA90 | — |
| entity.other.attribute-name.css, string.unquoted.attribute-value.css | #74E0B1 | — |
| support.type.property-name.css, support.type.vendored.property-name.css, support.type.property-name.media.css, support.type.vendored.property-name.media.css | #EFC3D8 | — |
| variable.css, variable.argument.css, variable.font-feature.css | #E58BFF | — |
| support.function.calc.css, support.function.document-rule.css, support.function.gradient.css, support.function.misc.css, support.function.shape.css, support.function.timing-function.css, support.function.transform.css, support.function.url.css | #55E6E6 | — |
| support.constant.property-value.css, support.constant.vendored.property-value.css, support.constant.property-value.list-style-type.css, support.constant.font-name.css, support.constant.media.css, support.constant.parity.css, support.constant.step-direction.css, support.constant.text-direction.css | #74E0B1 | — |
| constant.other.color.rgb-value.hex.css, support.constant.color.current.css, support.constant.color.w3c-standard-color-name.css, support.constant.color.w3c-extended-color-name.css | #FFAA90 | — |
| string.quoted.double.css, string.quoted.single.css | #FFAA90 | — |
| constant.numeric.css, constant.numeric.other.density.css, keyword.other.unit.percentage.css, keyword.other.unit.${2:/downcase}.css, entity.other.keyframe-offset.css, entity.other.keyframe-offset.percentage.css | #F2CE72 | — |
| keyword.control.at-rule.css, keyword.control.at-rule.charset.css, keyword.control.at-rule.counter-style.css, keyword.control.at-rule.document.css, keyword.control.at-rule.font-face.css, keyword.control.at-rule.font-feature-values.css, keyword.control.at-rule.import.css, keyword.control.at-rule.keyframes.css, keyword.control.at-rule.media.css, keyword.control.at-rule.namespace.css, keyword.control.at-rule.page.css, keyword.control.at-rule.supports.css, keyword.control.at-rule.viewport.css | #FF4FA3 | — |
| keyword.operator.arithmetic.css, keyword.operator.combinator.css, keyword.operator.comparison.css, keyword.operator.gradient.css, keyword.operator.pattern.css, keyword.operator.shape.css, keyword.other.important.css | #D979FF | — |
| punctuation.section.begin.bracket.curly.css, punctuation.section.end.bracket.curly.css, punctuation.section.property-list.begin.bracket.curly.css, punctuation.section.property-list.end.bracket.curly.css, punctuation.section.function.begin.bracket.round.css, punctuation.section.function.end.bracket.round.css, punctuation.separator.css, punctuation.separator.key-value.css, punctuation.separator.list.comma.css, punctuation.terminator.rule.css | #BDA8B7 | — |
| constant.character.escape.codepoint.css, constant.character.escape.css, constant.character.escape.newline.css | #55E6E6 | — |
| storage.type.primitive, storage.type.built-in, storage.type.basic, storage.type.structure | #F2CE72 | — |
| keyword.other.type | #F2CE72 | — |
| variable.other.member, variable.other.readwrite.instance, variable.other.readwrite.class | #D979FF | — |
| entity.name.type.namespace, entity.name.namespace-prefix, entity.name.tag.namespace, entity.other.attribute-name.namespace, variable.language.namespace, variable.language.expanded-namespace | #C09AB2 | — |
| entity.name.section | #C09AB2 | — |
| entity.name.constant | #F2CE72 | — |
| constant.other.symbol, constant.language.symbol | #F2CE72 | — |
| constant.language.symbol.hashkey, constant.other.symbol.hashkey | #D979FF | — |
| entity.name.type.alias, entity.name.type.typealias | #E58BFF | — |
| support.variable | #8FC7FF | — |
| support.type.propertyname | #D979FF | — |
| keyword.other.special-method.ruby | #8FC7FF | — |
| support.function.macro.julia | #D979FF | — |
| support.function.attribute.fsharp | #D979FF | — |
| support.type.map.key.scss | #D979FF | — |
| variable.scss, variable.other.readwrite.scss, variable.other.readwrite.less | #8FC7FF | — |
| keyword.other.definition.ini, entity.name.tag.ini | #D979FF | — |
| invalid, invalid.illegal, invalid.deprecated | #FFFFFF | — |
| markup.heading, entity.name.section.markdown, punctuation.definition.heading.markdown | #FF4FA3 | bold |
| markup.bold, strong | #FF8FC1 | bold |
| markup.italic, emphasis | #D979FF | |
| markup.underline.link, string.other.link, meta.link.inline.markdown | #55E6E6 | underline |
| markup.inline.raw, markup.fenced_code.block | #FFAA90 | — |
| punctuation.definition.quote.begin.markdown, punctuation.definition.list.begin.markdown | #D979FF | — |
| markup.inserted | #74E0B1 | — |
| markup.deleted | #FF6675 | — |
| markup.changed | #55E6E6 | — |
| support.function.git-rebase, constant.sha.git-rebase | #55E6E6 | — |
| punctuation.definition.tag | #A57B92 | — |
| punctuation.definition, punctuation.terminator, meta.brace, meta.delimiter | #BDA8B7 | — |
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 |
|---|---|---|
| meta.embedded, source.groovy.embedded, string meta.image.inline.markdown, variable.legacy.builtin.python | #24101F | — |
| comment, punctuation.definition.comment | #603047 | |
| comment.block.documentation storage.type.class, comment.block.documentation entity.name.type, comment.block.documentation variable.other | #871D50 | |
| keyword, storage.type, storage.modifier, keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.alignof, keyword.operator.typeid, keyword.operator.instanceof, keyword.operator.logical.python, keyword.operator.wordlike | #CA0065 | — |
| keyword.control, keyword.other.using, keyword.other.directive, keyword.other.operator, entity.name.operator | #B000B2 | — |
| keyword.operator, punctuation.separator, punctuation.accessor | #C50082 | — |
| entity.name.function, meta.function-call, support.function, support.constant.handlebars, source.powershell variable.other.member, entity.name.operator.custom-literal | #006E7C | — |
| support.class, support.type, entity.name.type, entity.name.namespace, entity.other.inherited-class, entity.other.attribute, entity.name.scope-resolution, entity.name.class, storage.type.numeric.go, storage.type.byte.go, storage.type.boolean.go, storage.type.string.go, storage.type.uintptr.go, storage.type.error.go, storage.type.rune.go, storage.type.cs, storage.type.generic.cs, storage.type.modifier.cs, storage.type.variable.cs, storage.type.annotation.java, storage.type.generic.java, storage.type.java, meta.type.cast.expr, meta.type.new.expr, storage.type.sql, storage.type.powershell | #876300 | — |
| entity.name.namespace, entity.name.module, entity.name.type.module, entity.name.type.package, entity.name.import.go, entity.name.type.module.ts, entity.name.type.package.go, entity.name.module.rust, entity.name.namespace.rust | #6B2B50 | — |
| entity.name.class, entity.name.type.class, entity.name.type.class.ts, entity.name.type.class.python, support.class, support.class.ts, support.class.promise.ts, entity.other.inherited-class | #876300 | — |
| entity.name.type.interface, entity.name.type.interface.ts, entity.name.type.trait, entity.name.type.trait.rust | #0069B6 | — |
| entity.name.type.struct, entity.name.type.struct.rust, entity.name.type.record, entity.name.type.declaration.rust | #00783B | — |
| entity.name.type.enum, entity.name.type.enum.ts, entity.name.type.enum.rust, entity.name.type.union | #B04500 | — |
| entity.name.type.alias, entity.name.type.alias.ts, entity.name.type.type-parameter, entity.name.type.parameter, entity.name.type.metavariable.rust, entity.name.type.lifetime.rust | #8500F2 | — |
| meta.decorator, meta.decorator.ts, entity.name.function.decorator, entity.name.function.decorator.python, entity.other.attribute, storage.type.annotation, entity.name.type.annotation | #B000B2 | — |
| variable.other.constant, variable.other.enummember, support.constant, variable.other.constant.ts, variable.other.constant.object.ts, variable.other.constant.property.ts, variable.other.constant.go | #876300 | — |
| storage.type.class.cs, storage.type.delegate.cs, storage.type.enum.cs, storage.type.interface.cs, storage.type.namespace.cs, storage.type.record.cs, storage.type.struct.cs | #CA0065 | — |
| source.cs storage.modifier, source.cs storage.type.accessor | #5F2F48 | — |
| source.cs keyword.type, storage.type.var.cs | #876300 | — |
| keyword.other.directive.alias.cs, keyword.other.directive.global.cs, keyword.other.directive.static.cs, keyword.other.directive.using.cs | #6B2B50 | — |
| source.cs constant.language | #B04500 | — |
| entity.name.type.namespace.cs | #6B2B50 | — |
| entity.name.type.cs, entity.name.type.alias.cs, entity.name.type.delegate.cs | #876300 | — |
| entity.name.type.type-parameter.cs | #8500F2 | — |
| entity.name.type.class.cs | #876300 | — |
| entity.name.type.interface.cs | #0069B6 | — |
| entity.name.type.struct.cs | #00783B | — |
| entity.name.type.enum.cs | #B04500 | — |
| entity.name.function.cs | #006E7C | — |
| source.cs keyword.operator | #5F2F48 | — |
| variable, meta.definition.variable.name, entity.name.variable, constant.other.placeholder | #24101F | — |
| variable.parameter, meta.parameters variable | #6B2B50 | — |
| variable.language, variable.language.this, variable.language.self | #CA0065 | — |
| variable.other.property, variable.other.object.property, meta.object-literal.key, support.type.property-name, support.type.vendored.property-name, meta.structure.dictionary.key.python | #B000B2 | — |
| entity.name.variable.field.cs | #4F4652 | — |
| entity.name.variable.local.cs | #24101F | — |
| entity.name.variable.range-variable.cs, entity.name.variable.tuple-element.cs | #74264F | — |
| entity.name.variable.parameter.cs | #74264F | — |
| entity.name.variable.property.cs, variable.other.object.property.cs | #B000B2 | — |
| entity.name.variable.event.cs | #00783B | — |
| entity.name.variable.enum-member.cs | #876300 | — |
| constant.language, variable.other.constant, variable.other.enummember, support.constant | #876300 | — |
| constant.numeric, keyword.other.unit, keyword.operator.plus.exponent, keyword.operator.minus.exponent | #935A00 | — |
| string, string.value, string.tag, meta.embedded.assembly | #CC0054 | — |
| constant.character.escape, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #006E7C | — |
| string.regexp, constant.regexp, constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp, punctuation.definition.group.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.character-class.regexp, keyword.operator.or.regexp, keyword.operator.quantifier.regexp, keyword.control.anchor.regexp | #B000B2 | — |
| constant.character, constant.other.option | #006E7C | — |
| entity.name.tag, entity.name.tag.css, entity.name.tag.less, entity.name.selector | #CA0065 | — |
| entity.other.attribute-name, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css, entity.other.attribute-name.parent-selector.css, entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element.css, entity.other.attribute-name.scss | #006E7C | — |
| support.constant.property-value, support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | #CC0054 | — |
| meta.structure.dictionary.value.json string.quoted.double.json, meta.structure.array.json string.quoted.double.json, meta.structure.dictionary.value.json.comments string.quoted.double.json.comments, meta.structure.array.json.comments string.quoted.double.json.comments | #CC0054 | — |
| constant.numeric.json, constant.numeric.json.comments | #876300 | — |
| constant.language.json, constant.language.json.comments | #B000B2 | — |
| constant.character.escape.json, constant.character.escape.json.comments | #006E7C | — |
| punctuation.definition.array.begin.json, punctuation.definition.array.end.json, punctuation.definition.dictionary.begin.json, punctuation.definition.dictionary.end.json, punctuation.separator.array.json, punctuation.separator.dictionary.key-value.json, punctuation.separator.dictionary.pair.json, punctuation.definition.array.begin.json.comments, punctuation.definition.array.end.json.comments, punctuation.definition.dictionary.begin.json.comments, punctuation.definition.dictionary.end.json.comments, punctuation.separator.array.json.comments, punctuation.separator.dictionary.key-value.json.comments, punctuation.separator.dictionary.pair.json.comments | #5F2947 | — |
| support.type.property-name.json, support.type.property-name.json.comments, string.json support.type.property-name.json, string.json.comments support.type.property-name.json.comments, meta.structure.dictionary.json string.quoted.double, meta.structure.dictionary.json.comments string.quoted.double | #0069B6 | — |
| string.quoted.double.yaml, string.quoted.single.yaml | #CC0054 | — |
| string.unquoted.plain.in.yaml, string.unquoted.plain.out.yaml, string.unquoted.block.yaml | #006E7C | — |
| constant.numeric.yaml, constant.numeric.float.yaml, constant.numeric.integer.yaml, constant.numeric.timestamp.yaml | #876300 | — |
| constant.language.boolean.yaml | #CA0065 | — |
| constant.language.null.yaml | #B000B2 | — |
| variable.other.anchor.yaml, keyword.control.flow.anchor.yaml, punctuation.definition.anchor.yaml | #00756B | — |
| variable.other.alias.yaml, keyword.control.flow.alias.yaml, punctuation.definition.alias.yaml | #00783B | — |
| storage.type.tag-handle.yaml, storage.type.tag.non-specific.yaml, storage.type.tag.shorthand.yaml, storage.type.tag.verbatim.yaml, support.type.tag-prefix.yaml | #B000B2 | — |
| keyword.other.directive.other.yaml, keyword.other.directive.tag.yaml, keyword.other.directive.yaml.yaml, string.unquoted.directive-name.yaml | #CA0065 | — |
| entity.other.document.begin.yaml, entity.other.document.end.yaml, punctuation.definition.block.sequence.item.yaml, punctuation.definition.map.key.yaml, punctuation.definition.mapping.begin.yaml, punctuation.definition.mapping.end.yaml, punctuation.definition.sequence.begin.yaml, punctuation.definition.sequence.end.yaml, punctuation.separator.map.value.yaml, punctuation.separator.mapping.yaml, punctuation.separator.sequence.yaml | #5F2947 | — |
| entity.name.tag.yaml, meta.map.key.yaml string.quoted.double.yaml entity.name.tag.yaml, meta.map.key.yaml string.quoted.single.yaml entity.name.tag.yaml, meta.map.key.yaml string.unquoted.plain.yaml entity.name.tag.yaml, meta.flow.map.key.yaml string.unquoted.plain.in.yaml entity.name.tag.yaml | #0069B6 | — |
| meta.preprocessor, entity.name.function.preprocessor | #B000B2 | — |
| entity.name.label | #CA0065 | — |
| entity.name.type.package.go, entity.name.import.go | #6B2B50 | — |
| entity.name.type.go, entity.name.type.any.go, entity.name.type.comparable.go | #876300 | — |
| storage.type.numeric.go, storage.type.byte.go, storage.type.boolean.go, storage.type.string.go, storage.type.uintptr.go, storage.type.error.go, storage.type.rune.go | #0069B6 | — |
| entity.name.function.go, entity.name.function.support.go, entity.name.function.support.builtin.go | #006E7C | — |
| variable.other.property.go | #B000B2 | — |
| variable.parameter.go | #74264F | — |
| variable.other.constant.go | #876300 | — |
| meta.function.decorator.python, entity.name.function.decorator.python, punctuation.definition.decorator.python | #B000B2 | — |
| entity.name.type.class.python, entity.other.inherited-class.python | #876300 | — |
| entity.name.function.python | #006E7C | — |
| variable.parameter.function.language.python, variable.parameter.function-call.python | #74264F | — |
| variable.language.special.self.python, variable.language.special.cls.python, variable.parameter.function.language.special.self.python, variable.parameter.function.language.special.cls.python | #CA0065 | — |
| support.function.builtin.python, variable.legacy.builtin.python | #0069B6 | — |
| support.type.python, support.type.exception.python, support.type.metaclass.python | #876300 | — |
| support.function.magic.python, support.variable.magic.python | #8500F2 | — |
| constant.other.caps.python | #876300 | — |
| storage.type.powershell | #CA0065 | — |
| storage.modifier.powershell, storage.modifier.scope.powershell | #B000B2 | — |
| entity.name.function.powershell, source.powershell entity.name.function, support.function.powershell | #006E7C | — |
| variable.parameter.powershell, variable.parameter.attribute.powershell | #74264F | — |
| variable.other.member.powershell | #B000B2 | — |
| support.variable.automatic.powershell, variable.language.powershell | #B000B2 | — |
| support.constant.variable.powershell, constant.language.powershell | #876300 | — |
| support.function.attribute.powershell | #0069B6 | — |
| entity.name.module.rust, entity.name.namespace.rust | #6B2B50 | — |
| entity.name.type.struct.rust, entity.name.type.declaration.rust | #00783B | — |
| entity.name.type.trait.rust | #0069B6 | — |
| entity.name.type.enum.rust | #B04500 | — |
| entity.name.type.primitive.rust, entity.name.type.numeric.rust, entity.name.type.option.rust, entity.name.type.result.rust, entity.name.type.rust | #876300 | — |
| entity.name.type.lifetime.rust, punctuation.definition.lifetime.rust | #74264F | — |
| entity.name.function.macro.rust, entity.name.function.macro.rules.rust, entity.name.type.macro.rust | #CA0065 | — |
| entity.name.function.rust | #006E7C | — |
| constant.other.caps.rust | #876300 | — |
| variable.language.self.rust, variable.language.super.rust | #CA0065 | — |
| entity.name.type.metavariable.rust, variable.other.metavariable.name.rust, variable.other.metavariable.specifier.rust | #CC0054 | — |
| entity.name.tag.css, entity.name.tag.custom.css, entity.name.tag.wildcard.css | #CA0065 | — |
| entity.other.attribute-name.class.css | #B000B2 | — |
| entity.other.attribute-name.id.css | #876300 | — |
| entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #B04500 | — |
| entity.other.attribute-name.css, string.unquoted.attribute-value.css | #00783B | — |
| support.type.property-name.css, support.type.vendored.property-name.css, support.type.property-name.media.css, support.type.vendored.property-name.media.css | #74264F | — |
| variable.css, variable.argument.css, variable.font-feature.css | #8500F2 | — |
| support.function.calc.css, support.function.document-rule.css, support.function.gradient.css, support.function.misc.css, support.function.shape.css, support.function.timing-function.css, support.function.transform.css, support.function.url.css | #006E7C | — |
| support.constant.property-value.css, support.constant.vendored.property-value.css, support.constant.property-value.list-style-type.css, support.constant.font-name.css, support.constant.media.css, support.constant.parity.css, support.constant.step-direction.css, support.constant.text-direction.css | #00783B | — |
| constant.other.color.rgb-value.hex.css, support.constant.color.current.css, support.constant.color.w3c-standard-color-name.css, support.constant.color.w3c-extended-color-name.css | #B04500 | — |
| string.quoted.double.css, string.quoted.single.css | #CC0054 | — |
| constant.numeric.css, constant.numeric.other.density.css, keyword.other.unit.percentage.css, keyword.other.unit.${2:/downcase}.css, entity.other.keyframe-offset.css, entity.other.keyframe-offset.percentage.css | #876300 | — |
| keyword.control.at-rule.css, keyword.control.at-rule.charset.css, keyword.control.at-rule.counter-style.css, keyword.control.at-rule.document.css, keyword.control.at-rule.font-face.css, keyword.control.at-rule.font-feature-values.css, keyword.control.at-rule.import.css, keyword.control.at-rule.keyframes.css, keyword.control.at-rule.media.css, keyword.control.at-rule.namespace.css, keyword.control.at-rule.page.css, keyword.control.at-rule.supports.css, keyword.control.at-rule.viewport.css | #CA0065 | — |
| keyword.operator.arithmetic.css, keyword.operator.combinator.css, keyword.operator.comparison.css, keyword.operator.gradient.css, keyword.operator.pattern.css, keyword.operator.shape.css, keyword.other.important.css | #B000B2 | — |
| punctuation.section.begin.bracket.curly.css, punctuation.section.end.bracket.curly.css, punctuation.section.property-list.begin.bracket.curly.css, punctuation.section.property-list.end.bracket.curly.css, punctuation.section.function.begin.bracket.round.css, punctuation.section.function.end.bracket.round.css, punctuation.separator.css, punctuation.separator.key-value.css, punctuation.separator.list.comma.css, punctuation.terminator.rule.css | #5F2947 | — |
| constant.character.escape.codepoint.css, constant.character.escape.css, constant.character.escape.newline.css | #006E7C | — |
| storage.type.primitive, storage.type.built-in, storage.type.basic, storage.type.structure | #876300 | — |
| keyword.other.type | #876300 | — |
| variable.other.member, variable.other.readwrite.instance, variable.other.readwrite.class | #B000B2 | — |
| entity.name.type.namespace, entity.name.namespace-prefix, entity.name.tag.namespace, entity.other.attribute-name.namespace, variable.language.namespace, variable.language.expanded-namespace | #6B2B50 | — |
| entity.name.section | #6B2B50 | — |
| entity.name.constant | #876300 | — |
| constant.other.symbol, constant.language.symbol | #876300 | — |
| constant.language.symbol.hashkey, constant.other.symbol.hashkey | #B000B2 | — |
| entity.name.type.alias, entity.name.type.typealias | #8500F2 | — |
| support.variable | #0069B6 | — |
| support.type.propertyname | #B000B2 | — |
| keyword.other.special-method.ruby | #0069B6 | — |
| support.function.macro.julia | #B000B2 | — |
| support.function.attribute.fsharp | #B000B2 | — |
| support.type.map.key.scss | #B000B2 | — |
| variable.scss, variable.other.readwrite.scss, variable.other.readwrite.less | #0069B6 | — |
| keyword.other.definition.ini, entity.name.tag.ini | #B000B2 | — |
| invalid, invalid.illegal, invalid.deprecated | #FFFFFF | — |
| markup.heading, entity.name.section.markdown, punctuation.definition.heading.markdown | #CA0065 | bold |
| markup.bold, strong | #C5006D | bold |
| markup.italic, emphasis | #B000B2 | |
| markup.underline.link, string.other.link, meta.link.inline.markdown | #006E7C | underline |
| markup.inline.raw, markup.fenced_code.block | #CC0054 | — |
| punctuation.definition.quote.begin.markdown, punctuation.definition.list.begin.markdown | #B000B2 | — |
| markup.inserted | #00783B | — |
| markup.deleted | #C5001F | — |
| markup.changed | #006E7C | — |
| support.function.git-rebase, constant.sha.git-rebase | #006E7C | — |
| punctuation.definition.tag | #74264F | — |
| punctuation.definition, punctuation.terminator, meta.brace, meta.delimiter | #5F2947 | — |
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}!`;
}