Cool Blue Theme
Publisher: Ahmet SertThemes in package: 1
Blue Colors
Blue Colors
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 |
|---|---|---|
| comment markup.link, comment, punctuation.definition.comment, unused.comment, wildcard.comment | #854F9F | italic |
| text, source | #BBBAD2 | — |
| emphasis | — | italic |
| strong | — | bold |
| invalid | #CC3D69 | italic |
| invalid.deprecated | #82511A | underline italic |
| invalid.illegal | #CC3D69 | underline italic |
| variable.language.this, variable.language.self | #4197D5 | — |
| keyword, keyword.operator | #41BAB9 | — |
| keyword.control, punctuation.definition.keyword, keyword.other.important | #BD42AA | — |
| keyword.other.unit | #CBCB5B | — |
| keyword.other.special-method, entity.name.other.preprocessor.macro, variable.other.event | #E18BCB | — |
| constant.character | #41BAB9 | — |
| constant.character.escape | #8E6CD7 | — |
| entity.name.label | #BBBAD2 | — |
| variable.parameter, variable.language.arguments, variable.other.object, string.quoted.template variable.other.readwrite | #BBBAD2 | — |
| support.type | #BBBAD2 | — |
| keyword.operator.new, keyword.control.new, support.type.primitive | #BD42AA | — |
| entity.name.section, entity.name.namespace, entity.name.type.module, variable.other.enummember | #CBCB5B | — |
| keyword.control.default, keyword.control.export, keyword.control.from, keyword.control.import, keyword.control.module, support.type.object.module | #CBCB5B | — |
| support.class, entity.name.type.class, entity.name.class, variable.other.class, entity.name.type.enum, entity.name.type.interface, entity.name.type, entity.other.inherited-class, entity.name.scope-resolution, entity.other.attribute, keyword.primitive-datatypes.swift, keyword.type.cs, meta.protocol-list.objc, meta.return-type.objc, meta.return-type, source.go storage.type, source.groovy storage.type, source.java storage.type, source.powershell entity.other.attribute-name, storage.class.std.rust, storage.type.annotation.groovy, storage.type.annotation.java, storage.type.attribute.swift, storage.type.boolean.go, storage.type.byte.go, storage.type.c, storage.type.core.rust, storage.type.cs, storage.type.cs, storage.type.error.go, storage.type.generic.cs, storage.type.generic.groovy, storage.type.generic.java, storage.type.groovy, storage.type.groovy, storage.type.haskell, storage.type.java, storage.type.modifier.cs, storage.type.numeric.go, storage.type.objc, storage.type.object.array.groovy, storage.type.object.array.java, storage.type.ocaml, storage.type.parameters.groovy, storage.type.php, storage.type.primitive.array.groovy, storage.type.primitive.array.java, storage.type.primitive.groovy, storage.type.primitive.java, storage.type.rune.go, storage.type.string.go, storage.type.struct, storage.type.token.java, storage.type.uintptr.go, storage.type.variable.cs | #4197D5 | — |
| entity.name.function.member, support.function, entity.name.function.method, entity.name.function.accessor, entity.name.function, support.constant.handlebars, source.powershell variable.other.member, entity.name.operator.custom-literal, meta.method-call.java meta.method, meta.method.groovy, support.function.any-method, keyword.operator.function.infix, keyword.control.require | #E18BCB | — |
| support.type.vendored.property-name, support.type.property-name, variable.css, variable.scss, variable.other.less, source.coffee.embedded, variable.other.object.property, variable.other.property, variable.other.constant.property | #8E6CD7 | — |
| string, meta.embedded.assembly, string.tag, string.value | #29BD62 | — |
| keyword.other | #29BD62 | — |
| meta.implementation storage.type.objc, meta.interface-or-protocol storage.type.objc, source.groovy storage.type.def, storage.type.accessor, storage.type.class.jsdoc, storage.type.property, storage | #41BAB9 | — |
| storage.type, storage.modifier, storage.control, punctuation.flowtype, meta.object.flowtype | #BD42AA | — |
| entity.name.operator, keyword.control.module.reference, keyword.operator.alignas, keyword.operator.alignof, keyword.operator.cast, keyword.operator.delete, keyword.operator.expression, keyword.operator.in, keyword.operator.instanceof, keyword.operator.logical.python, keyword.operator.noexcept, keyword.operator.of, keyword.operator.sizeof, keyword.operator.typeid, keyword.operator.typeof, keyword.operator.void, keyword.operator.wordlike, keyword.other.operator, keyword.other.using, source.cpp keyword.operator.new | #BD42AA | — |
| variable.other.constant, support.function.magic, variable.other.predefined, constant.numeric, keyword.operator.plus.exponent, keyword.operator.minus.exponent, constant, constant.variable, constant.language, support.constant | #CBCB5B | — |
| keyword.expressions-and-types.swift, variable.language, variable.language punctuation.definition.variable.php, variable.other.readwrite.instance.ruby, variable.parameter.function.language.special | #41BAB9 | — |
| punctuation.section.embedded, meta.string-contents.quoted.double punctuation.definition.variable, punctuation.definition.interpolation.begin, punctuation.definition.interpolation.end, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end, punctuation.section.embedded.begin, punctuation.section.embedded.coffee, punctuation.section.embedded.end, punctuation.section.embedded.end source.php, punctuation.section.embedded.end source.ruby, punctuation.definition.variable.makefile | #CBCB5B | — |
| keyword.operator.decorator, punctuation.decorator, entity.name.class.decorator, variable.other.readwrite.decorator | #E18BCB | — |
| meta.delimiter.comma, punctuation.separator.parameter, punctuation.terminator.statement, constant.other.color, constant.other.symbol, punctuation.definition.block.tag, punctuation.accessor, keyword.operator.accessor, meta.attribute.href.html, punctuation.definition.tag.jsx, punctuation.definition.tag.tsx, punctuation.definition.typeparameters, punctuation.separator, support.class.component | #41BAB9 | — |
| support.type.object.console | #4197D5 | — |
| support.type.object.dom | #41BAB9 | — |
| variable.interpolation | #CC3D69 | — |
| meta.definition.variable.name | #CBCB5B | — |
| meta.object-literal.key | #8E6CD7 | — |
| JSXAttrs, JSXNested, support.type.property-name.css, support.type.property-name.scss | #BBBAD2 | — |
| meta.type.cast.expr, meta.type.new.expr, support.constant.math, support.constant.dom | #4197D5 | — |
| comment keyword.codetag.notation, comment.block.documentation keyword, comment.block.documentation storage.type.class | #41BAB9 | — |
| comment.block.documentation entity.name.type punctuation.definition.bracket, comment.block.documentation entity.name.type | #4197D5 | italic |
| comment.block.documentation variable | #BBBAD2 | italic |
| meta.array-binding-pattern-variable, keyword.operator.other.powershell, keyword.other.statement-separator.powershell, meta.brace.curly, meta.brace.round, meta.brace.square, punctuation.definition.arguments.begin, punctuation.definition.arguments.end, punctuation.definition.entity.begin, punctuation.definition.entity.end, punctuation.definition.tag, punctuation.definition.type.begin, punctuation.definition.type.end, punctuation.section.scope.begin, punctuation.section.scope.end, storage.type.generic.java, string.template meta.brace, string.template punctuation.accessor | #BBBAD2 | — |
| punctuation.definition.entity, string.unquoted.heredoc punctuation.definition.string, punctuation.separator.annotation, punctuation.colon.graphql, punctuation.definition.entity.other.inherited-class, punctuation.function.swift, meta.object-binding-pattern-variable punctuation.destructuring, entity.other.attribute-name.placeholder punctuation, constant.other.symbol.hashkey punctuation.definition.constant.ruby, entity.other.attribute-name.pseudo-class punctuation, punctuation.separator.dictionary.key-value, punctuation.separator.hash, punctuation.separator.inheritance, punctuation.separator.key-value.mapping.yaml, punctuation.separator.namespace, punctuation.separator.pointer-access, punctuation.separator.slice | #41BAB9 | — |
| meta.embedded, source.groovy.embedded | #BBBAD2 | — |
| entity.name.tag | #8E6CD7 | — |
| entity.other.attribute-name | #CBCB5B | — |
| entity.other.attribute-name.id | #E18BCB | — |
| entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class, entity.other.attribute-name.class, entity.other.attribute-name.class.mixin, entity.other.attribute-name.parent-selector, entity.other.attribute-name.attribute, meta.group.double.toml, meta.group.toml, support.other.chomping-indicator.yaml | #CBCB5B | — |
| support.constant.font-name, support.constant.media-type, support.constant.media, constant.other.color.rgb-value, constant.other.rgb-value, support.constant.color | #29BD62 | — |
| support.constant.property-value | #BBBAD2 | — |
| punctuation.separator.key-value | #41BAB9 | — |
| punctuation.definition.constant | #CBCB5B | — |
| meta.property-list punctuation.separator.key-value | #BBBAD2 | — |
| meta.selector | #41BAB9 | — |
| header | #8E6CD7 | — |
| constant.other.object.key string.unquoted, punctuation.quasi.element, keyword.other.definition, variable.language.prototype, variable.other.jsdoc | #8E6CD7 | — |
| punctuation.definition.block.scalar.folded.yaml, punctuation.definition.block.scalar.literal.yaml, punctuation.definition.block.sequence.item.yaml | #BD42AA | — |
| meta.preprocessor, entity.name.function.preprocessor | #E18BCB | — |
| meta.preprocessor.string | #29BD62 | — |
| meta.preprocessor.numeric | #CBCB5B | — |
| meta.structure.dictionary.key.python | #8E6CD7 | — |
| meta.diff.header | #41BAB9 | — |
| meta.decorator variable.other.readwrite, meta.decorator variable.other.property, meta.decorator variable.other.object | #BBBAD2 | — |
| entity.name.function.target.makefile, entity.name.section.toml, variable.other.key.toml | #8E6CD7 | — |
| constant.other.date, constant.other.timestamp | #41BAB9 | — |
| entity.name.type.type-parameter, meta.indexer.mapped type.declaration entity.name.type, meta.type.parameters entity.name.type | #BBBAD2 | — |
| punctuation.support.type.property-name.begin, punctuation.support.type.property-name.end | #8E6CD7 | — |
| string.quoted.docstring.multi, string.quoted.docstring.multi.python punctuation.definition.string.begin, string.quoted.docstring.multi.python punctuation.definition.string.end, string.quoted.docstring.multi.python constant.character.escape | #29BD62 | — |
| source.shell variable.other | #4197D5 | — |
| meta.scope.prerequisites.makefile | #29BD62 | — |
| support.function.git-rebase | #CBCB5B | — |
| constant.sha.git-rebase | #CBCB5B | — |
| markup.underline | — | underline |
| punctuation.definition.bold.markdown, markup.bold | #CBCB5B | italic |
| markup.italic | #29BD62 | italic |
| beginning.punctuation.definition.list.markdown, entity.name.section.markdown, markup.heading.setext, markup.heading, punctuation.definition.heading.markdown, punctuation.definition.list.begin.markdown, text.html.markdown invalid.deprecated, text.html.markdown punctuation.definition.tag | #BD42AA | — |
| markup.heading punctuation.definition.heading | #CBCB5B | — |
| markup.error, markup.deleted | #CC3D69 | — |
| markup.fenced_code.block.markdown, markup.inline.raw.markdown, markup.inline.raw.string.markdown, markup.inline.raw, markup.inserted, markup.raw.block.markdown, markup.raw, punctuation.definition.markdown, punctuation.definition.raw.markdown | #29BD62 | — |
| constant.other.reference.link.markdown, string.other.link.description.markdown, string.other.link.title.markdown | #E18BCB | — |
| markup.changed, punctuation.definition.constant.begin.markdown, punctuation.definition.constant.end.markdown, punctuation.definition.constant.markdown, punctuation.definition.metadata.markdown, punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, string.other.link.description.title.markdown, text.html.markdown string.quoted | #8E6CD7 | — |
| beginning.punctuation.definition.quote.markdown, markup.link, markup.quote.markdown, markup.quote, markup.underline.link.image.markdown, markup.underline.link.markdown, meta.attribute.href.html string.quoted.double.html, meta.attribute.href.html string.quoted.single.html, punctuation.definition.link.restructuredtext | #4197D5 | — |
| string.regexp, constant.regexp, keyword.operator.or.regexp | #29BD62 | — |
| constant.character.escape.backslash.regexp, meta.group.regexp, punctuation.definition.group.assertion.regexp, punctuation.definition.character-class.regexp, punctuation.character.set.begin.regexp, punctuation.character.set.end.regexp, support.other.parenthesis.regexp | #41BAB9 | — |
| 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.capture.regexp, keyword.control.anchor.regexp | #8E6CD7 | — |
| keyword.operator.quantifier.regexp | #CBCB5B | — |
| keyword.operator.negation.regexp, constant.character.regexp, punctuation.definition.range.regexp | #E18BCB | — |
| meta.structure.dictionary.json support.type.property-name.json, meta.structure.dictionary support.type.property-name punctuation.support.type.property-name.begin, meta.structure.dictionary support.type.property-name punctuation.support.type.property-name.end | #8E6CD7 | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted | #29BD62 | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json, meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json punctuation.support.type.property-name.begin, meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json punctuation.support.type.property-name.end | #BD42AA | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value string.quoted | #4197D5 | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json, meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json punctuation.support.type.property-name.begin, meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json punctuation.support.type.property-name.end | #29BD62 | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value string.quoted | #8E6CD7 | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json, meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json punctuation.support.type.property-name.begin, meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json punctuation.support.type.property-name.end | #4197D5 | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value string.quoted | #BD42AA | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json, meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json punctuation.support.type.property-name.begin, meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json punctuation.support.type.property-name.end | #8E6CD7 | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value string.quoted | #29BD62 | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json, meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json punctuation.support.type.property-name.begin, meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json punctuation.support.type.property-name.end | #BD42AA | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value string.quoted | #4197D5 | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json, meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json punctuation.support.type.property-name.begin, meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json punctuation.support.type.property-name.end | #29BD62 | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value string.quoted | #8E6CD7 | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json, meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json punctuation.support.type.property-name.begin, meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json punctuation.support.type.property-name.end | #4197D5 | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value string.quoted | #BD42AA | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json, meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json punctuation.support.type.property-name.begin, meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json punctuation.support.type.property-name.end | #8E6CD7 | — |
| meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value string.quoted | #29BD62 | — |
| keyword.operator.new, keyword.control.new, keyword.operator.accessor, punctuation.accessor | — | — |
| storage.type.accessor, variable.language.super | — | — |
| constant.language.boolean, entity.name.class, entity.name.namespace, entity.name.other.preprocessor.macro, entity.name.type, entity.name.type.alias, entity.name.type.class, entity.name.type.interface, entity.name.type.module, entity.other.inherited-class, keyword.operator.decorator, storage.type.accessor, storage.type.struct, support.class, support.type.primitive, variable.language.self, variable.language.super, variable.language.this, variable.language, variable.other.class, variable.other.event, variable.parameter.function.language.special, variable.parameter | — | italic |
| keyword.control.new, keyword.operator.new | — | bold italic |
| keyword - keyword.operator | #24B6F0 | bold |
| keyword.control | #24B6F0 | bold |
| storage | #24B6F0 | bold |
| storage.type | #24B6F0 | bold |
| comment | #6A7E58 | bold italic |
| entity.other.attribute-name.js.jsx | #2BADF8 | bold |
| entity.name.function.js.jsx | #CBCE27 | bold |
| support.class.component, entity.name.tag.js.jsx, entity.name.tag.js | #B968FC | bold |
| keyword.control.export, keyword.control.import | #E76060 | bold |
| string | #F1BF34 | |
| meta.jsx.children.js.jsx | #AEAFAB | |
| punctuation.definition.tag | #1D88B9 | bold |
| keyword.control.at-rule.tailwind.tailwind | #1D88B9 | bold |
| token.info-token | #6796E6 | — |
| token.warn-token | #CD9731 | — |
| token.error-token | #F44747 | — |
| token.debug-token | #B267E6 | — |
| support.type.property-name.json.comments | #37A0E6 | bold |
| comment | #328B17 | italic bold |
| support.type.property-name.json.comments | #37A0E6 | bold |
| comment | #328B17 | italic bold |
| support.type.property-name.json.comments | #37A0E6 | bold |
| comment | #328B17 | italic bold |
| support.type.property-name.json.comments | #37A0E6 | bold |
| comment | #328B17 | italic bold |
| support.type.property-name.json.comments | #37A0E6 | bold |
| comment | #328B17 | italic bold |
| support.type.property-name.json.comments | #3C978F | bold |
| comment | #328B17 | italic bold |
| string.quoted.double.json, meta.structure.dictionary.value.json, meta.structure.dictionary.json, source.json, support.type.property-name.json, string.json | #589FCE | italic |
| support.type.property-name.json.comments | #3C978F | bold |
| comment | #328B17 | italic bold |
| string.quoted.double.json, meta.structure.dictionary.value.json, meta.structure.dictionary.json, source.json, support.type.property-name.json, string.json | #589FCE | italic |
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}!`;
}