omen
Publisher: mikapikaThemes in package: 2
Originally inspired by Omen, from Valorant
Originally inspired by Omen, from Valorant
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.preprocessor.include.c, string.quoted.other.lt-gt.include.c, variable.other.object.access.c | #4B5098 | — |
| storage.modifier.array.bracket.square.c, variable.other.object.access.c | #FC5CA6 | |
| keyword.operator.c, keyword.operator.increment.c, keyword.operator.comparison.c, keyword.operator.decrement.c, keyword.operator.logical.c | #FC5CA6 | bold |
| variable.parameter.c, variable.other.property.c | #3088DF | — |
| comment, punctuation.definition.comment | #878DD4 | — |
| entity | #3088DF | — |
| entity.name.type.c | #3088DF | — |
| punctuation.definition.directive.c, keyword.control.directive.include.c | #3088DF | |
| comment, punctuation.definition.comment | #878DD4 | — |
| entity | #3088DF | — |
| constant | #ED7728 | bold |
| constant.numeric, constant.language.python | #D93A78 | — |
| keyword, storage.type.class.js | #ED7728 | — |
| meta | #3088DF | — |
| invalid | #D93A78 | — |
| meta.brace, punctuation.definition.parameters.begin.js, punctuation.definition.parameters.end.js | #878DD4 | — |
| punctuation | #878DD4 | — |
| punctuation.definition.template-expression | #ED7728 | — |
| storage | #878DD4 | — |
| storage.type.function.arrow | #878DD4 | — |
| string, punctuation.definition.string | #009467 | italic |
| string.template, punctuation.definition.string.template | #009467 | — |
| support | #FFA146 | — |
| support.function | #ED7728 | — |
| support.variable.property.dom | #3088DF | — |
| variable | #878DD4 | — |
| source.ini entity, meta.embedded.block.ini, source.ini | #4B5098 | — |
| source.ini keyword, keyword.other.definition.ini | #878DD4 | — |
| source.ini punctuation.definition | #ED7728 | — |
| source.ini punctuation.separator, punctuation.separator.key-value.ini | #ED7728 | — |
| source.css entity, source.stylus entity | #009467 | — |
| entity.other.attribute-name.class.css | #3088DF | — |
| entity.other.attribute-name.id.css, entity.other.attribute-name.pseudo-class.css | #ED7728 | — |
| entity.name.tag | #3088DF | — |
| source.css support, entity.name.tag.css, source.stylus support | #009467 | — |
| source.css constant, source.css support.constant, source.stylus constant, source.stylus support.constant | #ED7728 | — |
| source.css string, source.css punctuation.definition.string, source.stylus string, source.stylus punctuation.definition.string | #ED7728 | — |
| source.css variable, source.stylus variable | #3088DF | — |
| text.html.basic entity.name, punctuation.definition.tag.html, entity.name.tag.inline.any.html, meta.tag.other.html, meta.tag.inline.any.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, entity.name.tag, meta.tag.other.html, meta.tag.other.js, meta.tag.other.tsx, entity.name.tag.tsx, entity.name.tag.js, entity.name.tag, meta.tag.js, meta.tag.tsx, meta.tag.html | #3088DF | — |
| meta.toc-list.id.html | #009467 | — |
| text.html.basic entity.other | #878DD4 | — |
| meta.tag.metadata.script.html entity.name.tag.html | #878DD4 | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #009467 | — |
| meta.tag.inline.any.html, meta.tag.other | #ED7728 | — |
| source.json support | #878DD4 | — |
| source.json string, source.json punctuation.definition.string | #009467 | — |
| source.js storage.type.function | #878DD4 | — |
| variable.language, entity.name.type.class.js | #878DD4 | — |
| entity.other.inherited-class | #ED7728 | — |
| storage.type.extends.js, storage.type.class.jsdoc | #ED7728 | — |
| punctuation.definition.block.tag.jsdoc | #ED7728 | — |
| variable.other.jsdoc, entity.name.type.instance.jsdoc | #3088DF | — |
| variable.other.constant | #3088DF | — |
| punctuation.definition.tag.begin.js, punctuation.definition.tag.end.js | #3088DF | — |
| meta.jsx.children.js | #4B5098 | — |
| keyword.operator.bitwise.python, keyword.operator.arithmetic.python | #878DD4 | bold |
| storage.type, storage.type.class, storage.modifier, keyword.control, keyword.operator | #878DD4 | italic bold |
| punctuation.definition.bracket.curly | #878DD4 | — |
| keyword.operator.assignment.tsx, keyword.operator.assignment.jsx | #ED7728 | — |
| keyword.operator.assignment | #878DD4 | bold |
| meta.jsx.children.tsx | #4B5098 | — |
| meta.object-literal.key.js | #009467 | — |
| entity.name.type.class.tsx, entity.name.type.class.jsx, variable.other.readwrite.alias.tsx, variable.other.readwrite.tsx, variable.other.readwrite.alias.ts, variable.other.readwrite.alias.jsx, variable.other.readwrite.alias.js, variable.other.object.tsx, variable.other.object.jsx, variable.other.object, support.class.component.tsx, support.class.component.jsx, entity.name.type.tsx, entity.name.type.jsx, variable.other.readwrite, variable.other.object.js | #3088DF | — |
| variable.other.property, variable.other.object.property | #ED7728 | — |
| JSXNested | #4B5098 | — |
| variable.parameter, vairable.parameter.function.language.python | #009467 | italic |
| variable.parameter.function.language.special.self.python | #007D99 | — |
| meta.function-call.python, meta.function-call.generic.python, support.function.builtin.python | #878DD4 | — |
| punctuation.definition.decorator.python | #FC5CA6 | |
| entity.name.function.decorator.python | #FC5CA6 | bold |
| source.ts entity.name.type | #00C78A | — |
| source.ts keyword | #878DD4 | — |
| source.ts punctuation.definition.parameters | #4B5098 | — |
| meta.arrow.ts punctuation.definition.parameters | #ED7728 | — |
| source.ts storage | #3088DF | — |
| entity.name.section.markdown, markup.heading.setext.1.markdown, markup.heading.setext.2.markdown | #878DD4 | bold |
| markup.inserted.diff, punctuation.definition.inserted.diff | #009467 | — |
| markup.deleted.diff, punctuation.definition.deleted.diff | #D93A78 | — |
| meta.embedded.block.diff | #4B5098 | — |
| meta.paragraph.markdown | #4B5098 | — |
| punctuation.definition.from-file.diff, meta.diff.header.from-file | #878DD4 | — |
| markup.inline.raw.string.markdown | #878DD4 | — |
| beginning.punctuation.definition.quote.markdown | #878DD4 | — |
| markup.quote.markdown meta.paragraph.markdown, punctuation.definition.quote.begin.markdown | #878DD4 | — |
| meta.separator.markdown | #878DD4 | — |
| markup.bold.markdown | — | bold |
| markup.italic.markdown | — | italic |
| beginning.punctuation.definition.list.markdown, punctuation.definition.list.begin.markdown, markup.list.unnumbered.markdown | #878DD4 | — |
| string.other.link.description.title.markdown punctuation.definition.string.markdown, meta.link.inline.markdown string.other.link.description.title.markdown, string.other.link.description.title.markdown punctuation.definition.string.begin.markdown, string.other.link.description.title.markdown punctuation.definition.string.end.markdown, meta.image.inline.markdown string.other.link.description.title.markdown | #009467 | |
| meta.link.inline.markdown string.other.link.title.markdown, meta.link.reference.markdown string.other.link.title.markdown, meta.link.reference.def.markdown markup.underline.link.markdown | #878DD4 | underline |
| markup.underline.link.markdown, string.other.link.description.title.markdown | #878DD4 | — |
| fenced_code.block.language, markup.inline.raw.markdown | #3088DF | — |
| punctuation.definition.markdown, punctuation.definition.raw.markdown, punctuation.definition.heading.markdown, punctuation.definition.bold.markdown, punctuation.definition.italic.markdown | #878DD4 | — |
| meta.link.inline.markdown punctuation.definition.string.begin.markdown, meta.link.inline.markdown punctuation.definition.string.end.markdown, meta.link.reference.markdown punctuation.definition.string.begin.markdown, meta.link.reference.markdown punctuation.definition.string.end.markdown, string.other.link.description.markdown | #878DD4 | — |
| meta.image.inline.markdown punctuation.definition.string.begin.markdown, meta.image.inline.markdown punctuation.definition.string.end.markdown, string.other.link.description.markdown | #ED7728 | — |
| markup.underline.link.markdown, punctuation.definition.metadata.markdown, markup.underline.link.image.markdown, constant.other.reference.link.markdown, punctuation.definition.constant.markdown, punctuation.definition.constant.begin.markdown, punctuation.definition.constant.end.markdown | #878DD4 | — |
| text.jade entity.name | #3088DF | — |
| storage.type.function.pug | #ED7728 | — |
| variable.parameter.function.js | #3088DF | — |
| variable.control.import.include.pug | #009467 | — |
| text.jade string.interpolated | #ED7728 | — |
| storage.type.cs | #3088DF | — |
| entity.name.variable.property.cs | #3088DF | — |
| storage.modifier.cs | #009467 | — |
| source.php entity, variable.other.class.php | #3088DF | — |
| keyword.other.phpdoc.php | #ED7728 | — |
| entity.name.function.php, support.function.basic_functions.php, meta.function-call.php, variable.other.property | #878DD4 | — |
| variable.other.php, punctuation.definition.variable.php, variable.other.global.php, variable.language.this.php | #3088DF | — |
| storage.modifier.php, keyword.other.namespace.php | #ED7728 | — |
| entity.name.tag.yaml | #878DD4 | — |
| punctuation.definition.block.sequence.item.yaml | #4B5098 | — |
| storage.type.function.php, meta.function.parameters.php | #878DD4 | — |
| keyword.blade | #ED7728 | — |
| begin.bracket.round.blade.php, end.bracket.round.blade.php | #4B5098 | — |
| support.function.construct.begin.blade, support.function.construct.end.blade | #ED7728 | — |
| keyword.package.go, keyword.import.go | #ED7728 | — |
| keyword.function.go | #878DD4 | — |
| variable.other.assignment.go | #3088DF | — |
| punctuation.definition.string.begin.go, punctuation.definition.string.end.go, support.function.go | #878DD4 | — |
| punctuation.section.embedded.end.ruby, punctuation.section.embedded.begin.ruby, punctuation.section.scope.begin.ruby, punctuation.section.scope.end.ruby | #ED7728 | — |
| variable.other.constant.ruby | #00C78A | — |
| entity.name.type.class.ruby | #878DD4 | — |
| variable.other.block.ruby, variable.other.ruby | #3088DF | — |
| punctuation.separator.other.ruby | #ED7728 | — |
| keyword.other.special-method.ruby | #ED7728 | — |
| storage.type.function.shell | #878DD4 | — |
| variable.other.special.shell, punctuation.definition.variable.shell | #ED7728 | — |
| variable.graphql | #ED7728 | — |
| keyword.operation.graphql | #878DD4 | — |
| source.sql | #4B5098 | — |
| source.sql keyword.other, support.function.mysqli.php | #ED7728 | — |
| support.function.mysqli.php, source.sql support.function | #878DD4 | — |
| string.regexp, string.regexp keyword.other | #4B5098 | — |
| keyword.other.DML.sql | #ED7728 | — |
| punctuation.definition.table.array.toml | #4B5098 | — |
| entity.other.attribute-name.table.array.toml, entity.other.attribute-name.table.toml | #ED7728 | — |
| keyword.key.toml | #878DD4 | — |
| keyword.other.special-method.dockerfile | #878DD4 | — |
| keyword.other.rust | #ED7728 | — |
| keyword.other.fn.rust | #878DD4 | — |
| keyword.other.env | #ED7728 | — |
| variable.other.env | #878DD4 | — |
| source.env | #4B5098 | — |
| keyword.other.template.begin.env, keyword.other.template.end.env, keyword.operator.assignment.env | #ED7728 | — |
| variable.object.property | #3088DF | — |
| string.regexp.js | #878DD4 | — |
| keyword.rainbow2 | #ED7728 | — |
| keyword.other.nim, keyword.other | #ED7728 | — |
| keyword.boolean | #D93A78 | — |
| punctuation.pragma.start.nim, punctuation.pragma.end.nim, entity.name.function.nim | #878DD4 | — |
| markup.deleted | #D93A78 | — |
| markup.inserted | #009467 | — |
| markup.underline | — | underline |
| modifier, this, comment, storage.modifier, entity.other.attribute-name, entity.other.attribute-name.html, punctuation.definition.comment, text.html.basic entity.other, entity.other.attribute-name, markup.quote.markdown meta.paragraph.markdown, markup.italic.markdown, text.jade entity.other.attribute-name.tag, keyword.control.from, entity.other.attribute-name.tag.pug | — | italic bold |
| token.info-token | #878DD4 | — |
| token.warn-token | #ED7728 | — |
| token.error-token | #D93A78 | — |
| token.debug-token | #FC5CA6 | — |
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.preprocessor.include.c, string.quoted.other.lt-gt.include.c, variable.other.object.access.c | #FFFFFF | — |
| keyword.operator.c, keyword.operator.increment.c, keyword.operator.comparison.c, keyword.operator.decrement.c, keyword.operator.logical.c | #FFAAE1 | bold |
| variable.parameter.c, variable.other.property.c | #5EFBFD | — |
| comment, punctuation.definition.comment | #7181D5 | — |
| entity | #B8D3FF | — |
| entity.name.type.c | #5EFBFD | — |
| punctuation.definition.directive.c, keyword.control.directive.include.c | #B8D3FF | |
| constant | #FFEE80 | — |
| constant.numeric, constant.language.python | #E6468B | — |
| keyword, storage.type.class.js | #FFEE80 | — |
| meta | #5EFBFD | — |
| invalid | #E6468B | — |
| meta.brace, punctuation, storage.modifier.array.bracket.square.c, punctuation.definition.parameters.begin.js, punctuation.definition.parameters.end.js | #FFAAE1 | |
| punctuation.definition.template-expression | #FFEE80 | — |
| storage | #FFAAE1 | — |
| storage.type.function.arrow | #FFAAE1 | — |
| string, punctuation.definition.string | #29E6A7 | — |
| string.template, punctuation.definition.string.template | #29E6A7 | — |
| support | #5EFBFD | — |
| support.function, support | #FFEE80 | — |
| support.variable.property.dom | #5EFBFD | — |
| meta.indexed-name.python, variable.object.c, variable | #FFFFFF | — |
| source.ini entity, meta.embedded.block.ini, source.ini | #FFFFFF | — |
| source.ini keyword, keyword.other.definition.ini | #FFAAE1 | — |
| source.ini punctuation.definition | #FFEE80 | — |
| source.ini punctuation.separator, punctuation.separator.key-value.ini | #FFEE80 | — |
| source.css entity, source.stylus entity | #29E6A7 | — |
| entity.other.attribute-name.class.css | #5EFBFD | — |
| entity.other.attribute-name.id.css, entity.other.attribute-name.pseudo-class.css | #FFEE80 | — |
| entity.name.tag | #5EFBFD | — |
| source.css support, entity.name.tag.css, source.stylus support | #29E6A7 | — |
| source.css constant, source.css support.constant, source.stylus constant, source.stylus support.constant | #FFEE80 | — |
| source.css string, source.css punctuation.definition.string, source.stylus string, source.stylus punctuation.definition.string | #FFEE80 | — |
| source.css variable, source.stylus variable | #5EFBFD | — |
| text.html.basic entity.name, punctuation.definition.tag.html, entity.name.tag.inline.any.html, meta.tag.other.html, meta.tag.inline.any.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, entity.name.tag, meta.tag.other.html, meta.tag.other.js, meta.tag.other.tsx, entity.name.tag.tsx, entity.name.tag.js, entity.name.tag, meta.tag.js, meta.tag.tsx, meta.tag.html | #5EFBFD | — |
| meta.toc-list.id.html | #29E6A7 | — |
| text.html.basic entity.other | #FFAAE1 | — |
| meta.tag.metadata.script.html entity.name.tag.html | #FFAAE1 | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #29E6A7 | — |
| meta.tag.inline.any.html, meta.tag.other | #FFEE80 | — |
| source.json support | #B8D3FF | — |
| source.json string, source.json punctuation.definition.string | #29E6A7 | — |
| source.js storage.type.function | #FFAAE1 | — |
| variable.language, entity.name.type.class.js | #FFAAE1 | — |
| entity.other.inherited-class | #FFEE80 | — |
| storage.type.extends.js, storage.type.class.jsdoc | #FFEE80 | — |
| punctuation.definition.block.tag.jsdoc | #FFEE80 | — |
| variable.other.jsdoc, entity.name.type.instance.jsdoc | #5EFBFD | — |
| variable.other.constant | #5EFBFD | — |
| punctuation.definition.tag.begin.js, punctuation.definition.tag.end.js | #5EFBFD | — |
| meta.jsx.children.js | #FFFFFF | — |
| keyword.operator.bitwise.python, keyword.operator.arithmetic.python | #FFAAE1 | bold |
| storage.type, storage.type.class, storage.modifier, keyword.control, keyword.operator | #7181D5 | italic bold |
| punctuation.definition.bracket.curly | #7181D5 | — |
| keyword.operator.assignment.tsx, keyword.operator.assignment.jsx | #FFEE80 | — |
| keyword.operator.assignment | #FFAAE1 | bold |
| meta.jsx.children.tsx | #FFFFFF | — |
| meta.object-literal.key.js | #29E6A7 | — |
| entity.name.type.class.tsx, entity.name.type.class.jsx, variable.other.readwrite.alias.tsx, variable.other.readwrite.tsx, variable.other.readwrite.alias.ts, variable.other.readwrite.alias.jsx, variable.other.readwrite.alias.js, variable.other.object.tsx, variable.other.object.jsx, variable.other.object, support.class.component.tsx, support.class.component.jsx, entity.name.type.tsx, entity.name.type.jsx, variable.other.readwrite, variable.other.object.js | #5EFBFD | — |
| variable.other.object.property | #FFEE80 | — |
| JSXNested | #FFFFFF | — |
| variable.parameter | #29E6A7 | — |
| variable.parameter.function.language.special.self.python | #5EFBFD | — |
| meta.function-call.python, meta.function-call.generic.python, support.function.builtin.python | #B8D3FF | — |
| punctuation.definition.decorator.python | #FFAAE1 | bold |
| entity.name.function.decorator.python | #FFAAE1 | bold |
| source.ts entity.name.type | #80FFBB | — |
| source.ts keyword | #FFAAE1 | — |
| source.ts punctuation.definition.parameters | #FFFFFF | — |
| meta.arrow.ts punctuation.definition.parameters | #FFEE80 | — |
| source.ts storage | #5EFBFD | — |
| entity.name.section.markdown, markup.heading.setext.1.markdown, markup.heading.setext.2.markdown | #FFAAE1 | bold |
| markup.inserted.diff, punctuation.definition.inserted.diff | #29E6A7 | — |
| markup.deleted.diff, punctuation.definition.deleted.diff | #E6468B | — |
| meta.embedded.block.diff | #FFFFFF | — |
| meta.paragraph.markdown | #FFFFFF | — |
| punctuation.definition.from-file.diff, meta.diff.header.from-file | #B8D3FF | — |
| markup.inline.raw.string.markdown | #B8D3FF | — |
| beginning.punctuation.definition.quote.markdown | #FFAAE1 | — |
| markup.quote.markdown meta.paragraph.markdown, punctuation.definition.quote.begin.markdown | #B8D3FF | — |
| meta.separator.markdown | #FFAAE1 | — |
| markup.bold.markdown | — | bold |
| markup.italic.markdown | — | italic |
| beginning.punctuation.definition.list.markdown, punctuation.definition.list.begin.markdown, markup.list.unnumbered.markdown | #FFAAE1 | — |
| string.other.link.description.title.markdown punctuation.definition.string.markdown, meta.link.inline.markdown string.other.link.description.title.markdown, string.other.link.description.title.markdown punctuation.definition.string.begin.markdown, string.other.link.description.title.markdown punctuation.definition.string.end.markdown, meta.image.inline.markdown string.other.link.description.title.markdown | #29E6A7 | |
| meta.link.inline.markdown string.other.link.title.markdown, meta.link.reference.markdown string.other.link.title.markdown, meta.link.reference.def.markdown markup.underline.link.markdown | #FFAAE1 | underline |
| markup.underline.link.markdown, string.other.link.description.title.markdown | #B8D3FF | — |
| fenced_code.block.language, markup.inline.raw.markdown | #5EFBFD | — |
| punctuation.definition.markdown, punctuation.definition.raw.markdown, punctuation.definition.heading.markdown, punctuation.definition.bold.markdown, punctuation.definition.italic.markdown | #7181D5 | — |
| meta.link.inline.markdown punctuation.definition.string.begin.markdown, meta.link.inline.markdown punctuation.definition.string.end.markdown, meta.link.reference.markdown punctuation.definition.string.begin.markdown, meta.link.reference.markdown punctuation.definition.string.end.markdown, string.other.link.description.markdown | #FFAAE1 | — |
| meta.image.inline.markdown punctuation.definition.string.begin.markdown, meta.image.inline.markdown punctuation.definition.string.end.markdown, string.other.link.description.markdown | #FFEE80 | — |
| markup.underline.link.markdown, punctuation.definition.metadata.markdown, markup.underline.link.image.markdown, constant.other.reference.link.markdown, punctuation.definition.constant.markdown, punctuation.definition.constant.begin.markdown, punctuation.definition.constant.end.markdown | #B8D3FF | — |
| text.jade entity.name | #5EFBFD | — |
| storage.type.function.pug | #FFEE80 | — |
| variable.parameter.function.js | #5EFBFD | — |
| variable.control.import.include.pug | #29E6A7 | — |
| text.jade string.interpolated | #FFEE80 | — |
| storage.type.cs | #5EFBFD | — |
| entity.name.variable.property.cs | #5EFBFD | — |
| storage.modifier.cs | #29E6A7 | — |
| source.php entity, variable.other.class.php | #5EFBFD | — |
| keyword.other.phpdoc.php | #FFEE80 | — |
| entity.name.function.php, support.function.basic_functions.php, meta.function-call.php | #FFAAE1 | — |
| variable.other.php, punctuation.definition.variable.php, variable.other.global.php, variable.language.this.php | #5EFBFD | — |
| storage.modifier.php, keyword.other.namespace.php | #FFEE80 | — |
| entity.name.tag.yaml | #FFAAE1 | — |
| punctuation.definition.block.sequence.item.yaml | #FFFFFF | — |
| storage.type.function.php, meta.function.parameters.php | #FFAAE1 | — |
| keyword.blade | #FFEE80 | — |
| begin.bracket.round.blade.php, end.bracket.round.blade.php | #FFFFFF | — |
| support.function.construct.begin.blade, support.function.construct.end.blade | #FFEE80 | — |
| keyword.package.go, keyword.import.go | #FFEE80 | — |
| keyword.function.go | #FFAAE1 | — |
| variable.other.assignment.go | #5EFBFD | — |
| punctuation.definition.string.begin.go, punctuation.definition.string.end.go, support.function.go | #FFAAE1 | — |
| punctuation.section.embedded.end.ruby, punctuation.section.embedded.begin.ruby, punctuation.section.scope.begin.ruby, punctuation.section.scope.end.ruby | #FFEE80 | — |
| variable.other.constant.ruby | #80FFBB | — |
| entity.name.type.class.ruby | #FFAAE1 | — |
| variable.other.block.ruby, variable.other.ruby | #5EFBFD | — |
| punctuation.separator.other.ruby | #FFEE80 | — |
| keyword.other.special-method.ruby | #FFEE80 | — |
| storage.type.function.shell | #FFAAE1 | — |
| variable.other.special.shell, punctuation.definition.variable.shell | #FFEE80 | — |
| variable.graphql | #FFEE80 | — |
| keyword.operation.graphql | #FFAAE1 | — |
| source.sql | #FFFFFF | — |
| source.sql keyword.other, support.function.mysqli.php | #FFEE80 | — |
| support.function.mysqli.php, source.sql support.function | #FFAAE1 | — |
| string.regexp, string.regexp keyword.other | #FFFFFF | — |
| keyword.other.DML.sql | #FFEE80 | — |
| punctuation.definition.table.array.toml | #FFFFFF | — |
| entity.other.attribute-name.table.array.toml, entity.other.attribute-name.table.toml | #FFEE80 | — |
| keyword.key.toml | #FFAAE1 | — |
| keyword.other.special-method.dockerfile | #FFAAE1 | — |
| keyword.other.rust | #FFEE80 | — |
| keyword.other.fn.rust | #FFAAE1 | — |
| keyword.other.env | #FFEE80 | — |
| variable.other.env | #FFAAE1 | — |
| source.env | #FFFFFF | — |
| keyword.other.template.begin.env, keyword.other.template.end.env, keyword.operator.assignment.env | #FFEE80 | — |
| variable.object.property | #5EFBFD | — |
| string.regexp.js | #FFAAE1 | — |
| keyword.rainbow2 | #FFEE80 | — |
| keyword.other.nim, keyword.other | #FFEE80 | — |
| keyword.boolean | #E6468B | — |
| punctuation.pragma.start.nim, punctuation.pragma.end.nim, entity.name.function.nim | #FFAAE1 | — |
| markup.deleted | #E6468B | — |
| markup.inserted | #29E6A7 | — |
| markup.underline | — | underline |
| modifier, this, comment, storage.modifier, entity.other.attribute-name, entity.other.attribute-name.html, punctuation.definition.comment, text.html.basic entity.other, entity.other.attribute-name, markup.quote.markdown meta.paragraph.markdown, markup.italic.markdown, text.jade entity.other.attribute-name.tag, keyword.control.from, entity.other.attribute-name.tag.pug | — | italic bold |
| token.info-token | #7181D5 | — |
| token.warn-token | #F09220 | — |
| token.error-token | #E6468B | — |
| token.debug-token | #FF6FAD | — |
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}!`;
}