Dainty – Mirage
24 variations of slightly modified Mirage
24 variations of slightly modified Mirage
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 | #ff9395ff | — |
| emphasis | — | italic |
| strong | — | bold |
| header | #000080 | — |
| comment | #305b8aff | — |
| constant.language | #7ba3e7ff | — |
| constant.numeric | #ffb083ff | — |
| constant.regexp | #d3a2e7ff | — |
| entity.name.tag | #ff9395ff | — |
| entity.name.tag.css | #ffb083ff | — |
| entity.other.attribute-name | #ffb083ff | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.class.mixin.css, entity.other.attribute-name.id.css, entity.other.attribute-name.parent-selector.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.attribute.scss, entity.other.attribute-name.scss | #ffb083ff | — |
| invalid | #f44747 | — |
| markup.underline | — | underline |
| markup.bold | #e1b0ffff | bold |
| markup.heading | #e1b0ffff | bold |
| markup.italic | — | italic |
| markup.inserted | #ffb083ff | — |
| markup.deleted | #79ce8eff | — |
| markup.changed | #e1b0ffff | — |
| punctuation.definition.quote.begin.markdown | #6A9955 | — |
| punctuation.definition.list.begin.markdown | #6796e6 | — |
| markup.inline.raw | #79ce8eff | — |
| punctuation.definition.tag | #92a1b9ff | — |
| meta.preprocessor | #e1b0ffff | — |
| meta.preprocessor.string | #79ce8eff | — |
| meta.preprocessor.numeric | #ffb083ff | — |
| meta.structure.dictionary.key.python | #a5b3cbff | — |
| meta.diff.header | #e1b0ffff | — |
| storage | #e1b0ffff | — |
| storage.type | #e1b0ffff | — |
| storage.modifier | #e1b0ffff | — |
| string | #79ce8eff | — |
| string.tag | #79ce8eff | — |
| string.value | #79ce8eff | — |
| string.regexp | #79ce8eff | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #57c5d2ff | — |
| meta.template.expression | #d4d4d4 | — |
| support.type.vendored.property-name, support.type.property-name, variable.css, variable.scss, variable.other.less, source.coffee.embedded | #ff9395ff | — |
| keyword | #e1b0ffff | — |
| keyword.control | #e1b0ffff | — |
| keyword.operator | #57c5d2ff | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.instanceof, keyword.operator.logical.python | #e1b0ffff | — |
| keyword.other.unit | #ffb083ff | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #e1b0ffff | — |
| support.function.git-rebase | #57c5d2ff | — |
| constant.sha.git-rebase | #ffb083ff | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #d4d4d4 | — |
| variable.language | #e1b0ffff | — |
| entity.name.function, support.function, support.constant.handlebars | #72b6ffff | — |
| meta.return-type, support.class, support.type, entity.name.type, 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, storage.type.object.array.java, storage.type.primitive.array.java, storage.type.primitive.java, storage.type.token.java, storage.type.groovy, storage.type.annotation.groovy, storage.type.parameters.groovy, storage.type.generic.groovy, storage.type.object.array.groovy, storage.type.primitive.array.groovy, storage.type.primitive.groovy | #ffb083ff | — |
| meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class | #ffb083ff | — |
| keyword.control | #e1b0ffff | — |
| variable, meta.definition.variable.name, support.variable, entity.name.variable | #ff9395ff | — |
| meta.object-literal.key | #a5b3cbff | — |
| 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 | #79ce8eff | — |
| punctuation.definition.group.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.character-class.regexp, punctuation.character.set.begin.regexp, punctuation.character.set.end.regexp, keyword.operator.negation.regexp, support.other.parenthesis.regexp | #92a1b9ff | — |
| constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp | #d3a2e7ff | — |
| keyword.operator.or.regexp, keyword.control.anchor.regexp | #57c5d2ff | — |
| keyword.operator.quantifier.regexp | #ffb083ff | — |
| constant.character | #e1b0ffff | — |
| constant.character.escape | #92a1b9ff | — |
| token.info-token | #6796e6 | — |
| token.warn-token | #cd9731 | — |
| token.error-token | #f44747 | — |
| token.debug-token | #b267e6 | — |
| string.quoted.double.html | #79ce8eff | — |
| string.template | #79ce8eff | — |
| storage.type.function | #e1b0ffff | — |
| support.class.component.js | #ff9395ff | — |
| variable.parameter | #d5e1f7ff | — |
| variable.other.property | #d5e1f7ff | — |
| support.function, support.constant.handlebars | #57c5d2ff | — |
| support.type, support.class, support.constant.math | #ffb083ff | — |
| support.type.vendored.property-name, support.type.property-name | #a5b3cbff | — |
| support.function | #57c5d2ff | — |
| variable.other.constant | #ffb083ff | — |
| meta.brace.round.js, meta.brace.square.js, punctuation | #92a1b9ff | — |
| support.type.property-name.json | #a5b3cbff | — |
| storage.type.function.arrow.js, storage.type.function.arrow.ts, storage.type.function.arrow.tsx | #57c5d2ff | — |
| punctuation.definition.keyword.css, punctuation.definition.directive.c, punctuation.definition.heading.markdown | #e1b0ffff | — |
| entity.name.type.class, entity.name.type.module | #ffb083ff | — |
| punctuation.definition.comment.python, punctuation.definition.comment.js, punctuation.definition.comment.cpp, punctuation.definition.comment.begin.css, punctuation.definition.comment.end.css, punctuation.definition.list.begin.markdown | #305b8aff | — |
| markup.heading | — | normal |
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 | #ff9395ff | — |
| emphasis | — | italic |
| strong | — | bold |
| header | #000080 | — |
| comment | #305b8aff | — |
| constant.language | #80a7ecff | — |
| constant.numeric | #ffb083ff | — |
| constant.regexp | #d7a6ebff | — |
| entity.name.tag | #ff9395ff | — |
| entity.name.tag.css | #ffb083ff | — |
| entity.other.attribute-name | #ffb083ff | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.class.mixin.css, entity.other.attribute-name.id.css, entity.other.attribute-name.parent-selector.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.attribute.scss, entity.other.attribute-name.scss | #ffb083ff | — |
| invalid | #f44747 | — |
| markup.underline | — | underline |
| markup.bold | #e1b0ffff | bold |
| markup.heading | #e1b0ffff | bold |
| markup.italic | — | italic |
| markup.inserted | #ffb083ff | — |
| markup.deleted | #79ce8eff | — |
| markup.changed | #e1b0ffff | — |
| punctuation.definition.quote.begin.markdown | #6A9955 | — |
| punctuation.definition.list.begin.markdown | #6796e6 | — |
| markup.inline.raw | #79ce8eff | — |
| punctuation.definition.tag | #98a6bfff | — |
| meta.preprocessor | #e1b0ffff | — |
| meta.preprocessor.string | #79ce8eff | — |
| meta.preprocessor.numeric | #ffb083ff | — |
| meta.structure.dictionary.key.python | #a5b3cbff | — |
| meta.diff.header | #e1b0ffff | — |
| storage | #e1b0ffff | — |
| storage.type | #e1b0ffff | — |
| storage.modifier | #e1b0ffff | — |
| string | #79ce8eff | — |
| string.tag | #79ce8eff | — |
| string.value | #79ce8eff | — |
| string.regexp | #79ce8eff | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #57c5d2ff | — |
| meta.template.expression | #d4d4d4 | — |
| support.type.vendored.property-name, support.type.property-name, variable.css, variable.scss, variable.other.less, source.coffee.embedded | #ff9395ff | — |
| keyword | #e1b0ffff | — |
| keyword.control | #e1b0ffff | — |
| keyword.operator | #57c5d2ff | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.instanceof, keyword.operator.logical.python | #e1b0ffff | — |
| keyword.other.unit | #ffb083ff | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #e1b0ffff | — |
| support.function.git-rebase | #57c5d2ff | — |
| constant.sha.git-rebase | #ffb083ff | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #d4d4d4 | — |
| variable.language | #e1b0ffff | — |
| entity.name.function, support.function, support.constant.handlebars | #72b6ffff | — |
| meta.return-type, support.class, support.type, entity.name.type, 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, storage.type.object.array.java, storage.type.primitive.array.java, storage.type.primitive.java, storage.type.token.java, storage.type.groovy, storage.type.annotation.groovy, storage.type.parameters.groovy, storage.type.generic.groovy, storage.type.object.array.groovy, storage.type.primitive.array.groovy, storage.type.primitive.groovy | #ffb083ff | — |
| meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class | #ffb083ff | — |
| keyword.control | #e1b0ffff | — |
| variable, meta.definition.variable.name, support.variable, entity.name.variable | #ff9395ff | — |
| meta.object-literal.key | #a5b3cbff | — |
| 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 | #79ce8eff | — |
| punctuation.definition.group.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.character-class.regexp, punctuation.character.set.begin.regexp, punctuation.character.set.end.regexp, keyword.operator.negation.regexp, support.other.parenthesis.regexp | #98a6bfff | — |
| constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp | #d7a6ebff | — |
| keyword.operator.or.regexp, keyword.control.anchor.regexp | #57c5d2ff | — |
| keyword.operator.quantifier.regexp | #ffb083ff | — |
| constant.character | #e1b0ffff | — |
| constant.character.escape | #98a6bfff | — |
| token.info-token | #6796e6 | — |
| token.warn-token | #cd9731 | — |
| token.error-token | #f44747 | — |
| token.debug-token | #b267e6 | — |
| string.quoted.double.html | #79ce8eff | — |
| string.template | #79ce8eff | — |
| storage.type.function | #e1b0ffff | — |
| support.class.component.js | #ff9395ff | — |
| variable.parameter | #d7e3f9ff | — |
| variable.other.property | #d7e3f9ff | — |
| support.function, support.constant.handlebars | #57c5d2ff | — |
| support.type, support.class, support.constant.math | #ffb083ff | — |
| support.type.vendored.property-name, support.type.property-name | #a5b3cbff | — |
| support.function | #57c5d2ff | — |
| variable.other.constant | #ffb083ff | — |
| meta.brace.round.js, meta.brace.square.js, punctuation | #98a6bfff | — |
| support.type.property-name.json | #a5b3cbff | — |
| storage.type.function.arrow.js, storage.type.function.arrow.ts, storage.type.function.arrow.tsx | #57c5d2ff | — |
| punctuation.definition.keyword.css, punctuation.definition.directive.c, punctuation.definition.heading.markdown | #e1b0ffff | — |
| entity.name.type.class, entity.name.type.module | #ffb083ff | — |
| punctuation.definition.comment.python, punctuation.definition.comment.js, punctuation.definition.comment.cpp, punctuation.definition.comment.begin.css, punctuation.definition.comment.end.css, punctuation.definition.list.begin.markdown | #305b8aff | — |
| markup.heading | — | normal |
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 | #ff8d90ff | — |
| emphasis | — | italic |
| strong | — | bold |
| header | #000080 | — |
| comment | #1c5c94ff | — |
| constant.language | #5c90deff | — |
| constant.numeric | #ffac79ff | — |
| constant.regexp | #c88fe0ff | — |
| entity.name.tag | #ff8d90ff | — |
| entity.name.tag.css | #ffac79ff | — |
| entity.other.attribute-name | #ffac79ff | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.class.mixin.css, entity.other.attribute-name.id.css, entity.other.attribute-name.parent-selector.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.attribute.scss, entity.other.attribute-name.scss | #ffac79ff | — |
| invalid | #f44747 | — |
| markup.underline | — | underline |
| markup.bold | #e4adffff | bold |
| markup.heading | #e4adffff | bold |
| markup.italic | — | italic |
| markup.inserted | #ffac79ff | — |
| markup.deleted | #6cd187ff | — |
| markup.changed | #e4adffff | — |
| punctuation.definition.quote.begin.markdown | #6A9955 | — |
| punctuation.definition.list.begin.markdown | #6796e6 | — |
| markup.inline.raw | #6cd187ff | — |
| punctuation.definition.tag | #748badff | — |
| meta.preprocessor | #e4adffff | — |
| meta.preprocessor.string | #6cd187ff | — |
| meta.preprocessor.numeric | #ffac79ff | — |
| meta.structure.dictionary.key.python | #9eb3d7ff | — |
| meta.diff.header | #e4adffff | — |
| storage | #e4adffff | — |
| storage.type | #e4adffff | — |
| storage.modifier | #e4adffff | — |
| string | #6cd187ff | — |
| string.tag | #6cd187ff | — |
| string.value | #6cd187ff | — |
| string.regexp | #6cd187ff | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #2fc8d7ff | — |
| meta.template.expression | #d4d4d4 | — |
| support.type.vendored.property-name, support.type.property-name, variable.css, variable.scss, variable.other.less, source.coffee.embedded | #ff8d90ff | — |
| keyword | #e4adffff | — |
| keyword.control | #e4adffff | — |
| keyword.operator | #2fc8d7ff | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.instanceof, keyword.operator.logical.python | #e4adffff | — |
| keyword.other.unit | #ffac79ff | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #e4adffff | — |
| support.function.git-rebase | #2fc8d7ff | — |
| constant.sha.git-rebase | #ffac79ff | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #d4d4d4 | — |
| variable.language | #e4adffff | — |
| entity.name.function, support.function, support.constant.handlebars | #62b6ffff | — |
| meta.return-type, support.class, support.type, entity.name.type, 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, storage.type.object.array.java, storage.type.primitive.array.java, storage.type.primitive.java, storage.type.token.java, storage.type.groovy, storage.type.annotation.groovy, storage.type.parameters.groovy, storage.type.generic.groovy, storage.type.object.array.groovy, storage.type.primitive.array.groovy, storage.type.primitive.groovy | #ffac79ff | — |
| meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class | #ffac79ff | — |
| keyword.control | #e4adffff | — |
| variable, meta.definition.variable.name, support.variable, entity.name.variable | #ff8d90ff | — |
| meta.object-literal.key | #9eb3d7ff | — |
| 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 | #6cd187ff | — |
| punctuation.definition.group.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.character-class.regexp, punctuation.character.set.begin.regexp, punctuation.character.set.end.regexp, keyword.operator.negation.regexp, support.other.parenthesis.regexp | #748badff | — |
| constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp | #c88fe0ff | — |
| keyword.operator.or.regexp, keyword.control.anchor.regexp | #2fc8d7ff | — |
| keyword.operator.quantifier.regexp | #ffac79ff | — |
| constant.character | #e4adffff | — |
| constant.character.escape | #748badff | — |
| token.info-token | #6796e6 | — |
| token.warn-token | #cd9731 | — |
| token.error-token | #f44747 | — |
| token.debug-token | #b267e6 | — |
| string.quoted.double.html | #6cd187ff | — |
| string.template | #6cd187ff | — |
| storage.type.function | #e4adffff | — |
| support.class.component.js | #ff8d90ff | — |
| variable.parameter | #c6dafcff | — |
| variable.other.property | #c6dafcff | — |
| support.function, support.constant.handlebars | #2fc8d7ff | — |
| support.type, support.class, support.constant.math | #ffac79ff | — |
| support.type.vendored.property-name, support.type.property-name | #9eb3d7ff | — |
| support.function | #2fc8d7ff | — |
| variable.other.constant | #ffac79ff | — |
| meta.brace.round.js, meta.brace.square.js, punctuation | #748badff | — |
| support.type.property-name.json | #9eb3d7ff | — |
| storage.type.function.arrow.js, storage.type.function.arrow.ts, storage.type.function.arrow.tsx | #2fc8d7ff | — |
| punctuation.definition.keyword.css, punctuation.definition.directive.c, punctuation.definition.heading.markdown | #e4adffff | — |
| entity.name.type.class, entity.name.type.module | #ffac79ff | — |
| punctuation.definition.comment.python, punctuation.definition.comment.js, punctuation.definition.comment.cpp, punctuation.definition.comment.begin.css, punctuation.definition.comment.end.css, punctuation.definition.list.begin.markdown | #1c5c94ff | — |
| markup.heading | — | normal |
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 | #ff8d90ff | — |
| emphasis | — | italic |
| strong | — | bold |
| header | #000080 | — |
| comment | #1c5c94ff | — |
| constant.language | #6195e4ff | — |
| constant.numeric | #ffac79ff | — |
| constant.regexp | #cc93e4ff | — |
| entity.name.tag | #ff8d90ff | — |
| entity.name.tag.css | #ffac79ff | — |
| entity.other.attribute-name | #ffac79ff | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.class.mixin.css, entity.other.attribute-name.id.css, entity.other.attribute-name.parent-selector.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, source.css.less entity.other.attribute-name.id, entity.other.attribute-name.attribute.scss, entity.other.attribute-name.scss | #ffac79ff | — |
| invalid | #f44747 | — |
| markup.underline | — | underline |
| markup.bold | #e4adffff | bold |
| markup.heading | #e4adffff | bold |
| markup.italic | — | italic |
| markup.inserted | #ffac79ff | — |
| markup.deleted | #6cd187ff | — |
| markup.changed | #e4adffff | — |
| punctuation.definition.quote.begin.markdown | #6A9955 | — |
| punctuation.definition.list.begin.markdown | #6796e6 | — |
| markup.inline.raw | #6cd187ff | — |
| punctuation.definition.tag | #7a90b3ff | — |
| meta.preprocessor | #e4adffff | — |
| meta.preprocessor.string | #6cd187ff | — |
| meta.preprocessor.numeric | #ffac79ff | — |
| meta.structure.dictionary.key.python | #9eb3d7ff | — |
| meta.diff.header | #e4adffff | — |
| storage | #e4adffff | — |
| storage.type | #e4adffff | — |
| storage.modifier | #e4adffff | — |
| string | #6cd187ff | — |
| string.tag | #6cd187ff | — |
| string.value | #6cd187ff | — |
| string.regexp | #6cd187ff | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded | #2fc8d7ff | — |
| meta.template.expression | #d4d4d4 | — |
| support.type.vendored.property-name, support.type.property-name, variable.css, variable.scss, variable.other.less, source.coffee.embedded | #ff8d90ff | — |
| keyword | #e4adffff | — |
| keyword.control | #e4adffff | — |
| keyword.operator | #2fc8d7ff | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.cast, keyword.operator.sizeof, keyword.operator.instanceof, keyword.operator.logical.python | #e4adffff | — |
| keyword.other.unit | #ffac79ff | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #e4adffff | — |
| support.function.git-rebase | #2fc8d7ff | — |
| constant.sha.git-rebase | #ffac79ff | — |
| storage.modifier.import.java, variable.language.wildcard.java, storage.modifier.package.java | #d4d4d4 | — |
| variable.language | #e4adffff | — |
| entity.name.function, support.function, support.constant.handlebars | #62b6ffff | — |
| meta.return-type, support.class, support.type, entity.name.type, 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, storage.type.object.array.java, storage.type.primitive.array.java, storage.type.primitive.java, storage.type.token.java, storage.type.groovy, storage.type.annotation.groovy, storage.type.parameters.groovy, storage.type.generic.groovy, storage.type.object.array.groovy, storage.type.primitive.array.groovy, storage.type.primitive.groovy | #ffac79ff | — |
| meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom, support.constant.json, entity.other.inherited-class | #ffac79ff | — |
| keyword.control | #e4adffff | — |
| variable, meta.definition.variable.name, support.variable, entity.name.variable | #ff8d90ff | — |
| meta.object-literal.key | #9eb3d7ff | — |
| 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 | #6cd187ff | — |
| punctuation.definition.group.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.character-class.regexp, punctuation.character.set.begin.regexp, punctuation.character.set.end.regexp, keyword.operator.negation.regexp, support.other.parenthesis.regexp | #7a90b3ff | — |
| constant.character.character-class.regexp, constant.other.character-class.set.regexp, constant.other.character-class.regexp, constant.character.set.regexp | #cc93e4ff | — |
| keyword.operator.or.regexp, keyword.control.anchor.regexp | #2fc8d7ff | — |
| keyword.operator.quantifier.regexp | #ffac79ff | — |
| constant.character | #e4adffff | — |
| constant.character.escape | #7a90b3ff | — |
| token.info-token | #6796e6 | — |
| token.warn-token | #cd9731 | — |
| token.error-token | #f44747 | — |
| token.debug-token | #b267e6 | — |
| string.quoted.double.html | #6cd187ff | — |
| string.template | #6cd187ff | — |
| storage.type.function | #e4adffff | — |
| support.class.component.js | #ff8d90ff | — |
| variable.parameter | #c8dcfeff | — |
| variable.other.property | #c8dcfeff | — |
| support.function, support.constant.handlebars | #2fc8d7ff | — |
| support.type, support.class, support.constant.math | #ffac79ff | — |
| support.type.vendored.property-name, support.type.property-name | #9eb3d7ff | — |
| support.function | #2fc8d7ff | — |
| variable.other.constant | #ffac79ff | — |
| meta.brace.round.js, meta.brace.square.js, punctuation | #7a90b3ff | — |
| support.type.property-name.json | #9eb3d7ff | — |
| storage.type.function.arrow.js, storage.type.function.arrow.ts, storage.type.function.arrow.tsx | #2fc8d7ff | — |
| punctuation.definition.keyword.css, punctuation.definition.directive.c, punctuation.definition.heading.markdown | #e4adffff | — |
| entity.name.type.class, entity.name.type.module | #ffac79ff | — |
| punctuation.definition.comment.python, punctuation.definition.comment.js, punctuation.definition.comment.cpp, punctuation.definition.comment.begin.css, punctuation.definition.comment.end.css, punctuation.definition.list.begin.markdown | #1c5c94ff | — |
| markup.heading | — | normal |
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}!`;
}
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}!`;
}