vscode-autumn-highlighter-syntax
Publisher: undefyndThemes in package: 1
vscode version from the autumn-highlighter-syntax theme for atom
vscode version from the autumn-highlighter-syntax theme for atom
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 |
|---|---|---|
| markup.changed, meta.diff.header.git, meta.diff.header.from-file, meta.diff.header.to-file | #a2bffc | italic |
| markup.deleted.diff | #ff587490 | italic |
| markup.inserted.diff | #6EAA7F | italic |
| comment | #506686 | italic |
| string | #6EAA7F | — |
| string.quoted | #6EAA7F | — |
| support.constant.math | #E6BC9E | — |
| constant.numeric, constant.character.numeric | #E6BC9E | |
| constant.language, punctuation.definition.constant, variable.other.constant | #7B6D9C | — |
| constant.character, constant.other | #7B6D9C | — |
| constant.character.escape | #E6BC9E | — |
| string.regexp, string.regexp keyword.other | #7B6D9C | — |
| meta.function punctuation.separator.comma, punctuation.separator.comma.js, punctuation.separator.parameter.js | #a8b5d1 | — |
| variable | #a8b5d1 | — |
| punctuation.accessor, keyword | #8B4B65 | |
| storage, meta.var.expr, meta.class meta.method.declaration meta.var.expr storage.type.js | #8B4B65 | |
| storage.type | #8B4B65 | — |
| storage.type.function.arrow.js | — | |
| storage.modifier | #8B4B65 | |
| entity.name.class, meta.class entity.name.type.class | #C8E69E | — |
| entity.other.inherited-class | #6EAA7F | — |
| entity.name.function | #7B6D9C | |
| punctuation.definition.tag, meta.tag | #a8b5d1 | — |
| entity.name.tag, meta.tag.other.js, meta.tag.other.tsx, entity.name.tag.tsx, entity.name.tag.js, entity.name.tag.js.jsx, entity.name.tag, meta.tag.js, meta.tag.tsx, meta.tag.html | #c98b7e | |
| entity.other.attribute-name | #E6BC9E | |
| entity.name.tag.custom | #6EAA7F | — |
| support.function, support.constant | #7B6D9C | — |
| support.constant.meta.property-value | #9EC8E6 | — |
| support.type | #c98b7e | — |
| support.variable.dom | #c98b7e | — |
| invalid | #ff2c83 | — |
| invalid.deprecated | #d6465e | — |
| keyword.operator | #9EC8E6 | |
| keyword.operator.relational | #9EC8E6 | italic |
| keyword.operator.assignment | #9EC8E6 | — |
| keyword.operator.arithmetic | #9EC8E6 | — |
| keyword.operator.bitwise | #9EC8E6 | — |
| keyword.operator.increment | #9EC8E6 | — |
| keyword.operator.ternary | #9EC8E6 | — |
| keyword.operator.expression | #8B4B65 | — |
| comment.line.double-slash | #506686 | — |
| object | #a8b5d1 | — |
| constant.language.null | #E6BC9E | — |
| meta.brace | #a8b5d1 | — |
| meta.object-binding-pattern-variable.js, meta.array-binding-pattern-variable.js, punctuation.definition.binding-pattern.object.js | #a8b5d1 | — |
| meta.delimiter.period | #a8b5d1 | italic |
| meta.object-literal.key | #a8b5d1 | — |
| punctuation.definition.string | #6EAA7F | — |
| punctuation.definition.block | #a8b5d1 | — |
| punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end | #c98b7e | — |
| constant.language.boolean | #c98b7e | — |
| constant.language.undefined | #E6BC9E | — |
| object.comma | #a8b5d1 | — |
| variable.parameter.function | #9EC8E6 | |
| support.type.property-name, support.type.vendor.property-name, support.type.vendored.property-name, support.constant.vendor.property-value, support.constant.vendored.property-value, meta.property-list entity.name.tag | #9EC8E6 | |
| meta.property-list entity.name.tag.reference | #9EC8E6 | — |
| constant.other.color.rgb-value punctuation.definition.constant | #E6BC9E | — |
| constant.other.color, constant.other.rgb-value, constant.other.color.rgb-value | #C8E69E | — |
| keyword.other.unit | #C8E69E | — |
| meta.selector | #8B4B65 | italic |
| entity.other.attribute-name.id | #7B6D9C | — |
| meta.property-name | #9EC8E6 | — |
| entity.name.tag.doctype, meta.tag.sgml.doctype | #8B4B65 | italic |
| punctuation.definition.parameters | #a8b5d1 | — |
| keyword.control.operator | #9EC8E6 | — |
| keyword.operator.logical | #8B4B65 | |
| variable.instance, variable.other.instance, variable.readwrite.instance, variable.other.readwrite.instance | #9EC8E6 | — |
| variable.other.object.property, variable.other.property | #a8b5d1 | |
| variable.other.object.js | #9EC8E6 | |
| entity.name.function | #7B6D9C | |
| keyword.operator.comparison, keyword.control.flow.js, keyword.control.flow.tsx, keyword.control.ruby, keyword.control.module.ruby, keyword.control.class.ruby, keyword.control.def.ruby, keyword.control.loop.js, keyword.control.import.js, keyword.control.import.ts, keyword.control.import.tsx, keyword.control.from.js, keyword.control.from.ts, keyword.control.from.tsx | #8B4B65 | |
| keyword.control.conditional.js | #8B4B65 | |
| support.constant, keyword.other.special-method, keyword.other.new, keyword.operator.new, keyword.other.debugger, keyword.control | #8B4B65 | — |
| invalid.broken | #E6BC9E | — |
| invalid.unimplemented | #E6BC9E | — |
| invalid.illegal | #c98b7e | — |
| variable.language | #a8b5d1 | — |
| variable.language.this | #c98b7e | — |
| support.variable.property | #9EC8E6 | — |
| variable.function | #7B6D9C | — |
| variable.interpolation | #c98b7e | — |
| meta.function-call | #7B6D9C | — |
| punctuation.section.embedded | #c98b7e | — |
| punctuation.terminator.expression, punctuation.definition.arguments, punctuation.definition.array, punctuation.section.array, meta.array | #a8b5d1 | — |
| punctuation.definition.list.begin, punctuation.definition.list.end, punctuation.separator.arguments, punctuation.definition.list | #6EAA7F | — |
| string.template meta.template.expression | #d6465e | — |
| string.template punctuation.definition.string | #6EAA7F | — |
| italic | #8B4B65 | italic |
| bold | #6EAA7F | bold |
| quote | #a8b5d1 | italic |
| raw | #9EC8E6 | — |
| variable.assignment.coffee | #9EC8E6 | — |
| variable.parameter.function.coffee | #a8b5d1 | — |
| variable.assignment.coffee | #9EC8E6 | — |
| variable.other.readwrite.cs | #a8b5d1 | — |
| entity.name.type.class.cs, storage.type.cs | #8B4B65 | — |
| entity.name.type.namespace.cs | #a8b5d1 | — |
| entity.name.tag.css, entity.name.tag.less, entity.name.tag.custom.css, support.constant.property-value.css | #c98b7e | |
| entity.name.tag.wildcard.css, entity.name.tag.wildcard.less, entity.name.tag.wildcard.scss, entity.name.tag.wildcard.sass | #9EC8E6 | — |
| keyword.other.unit.css | #C8E69E | — |
| meta.attribute-selector.css entity.other.attribute-name.attribute, entity.other.attribute-name.class.css, variable.other.readwrite.js | #E6BC9E | — |
| entity.other.attribute-name.id.css | #7B6D9C | — |
| support.constant.font-name, support.constant.color | #E6BC9E | — |
| source.elixir support.type.elixir, source.elixir meta.module.elixir entity.name.class.elixir | #7B6D9C | — |
| source.elixir entity.name.function | #6EAA7F | — |
| source.elixir constant.other.symbol.elixir, source.elixir constant.other.keywords.elixir | #7B6D9C | — |
| source.elixir punctuation.definition.string | #6EAA7F | — |
| source.elixir variable.other.readwrite.module.elixir, source.elixir variable.other.readwrite.module.elixir punctuation.definition.variable.elixir | #6EAA7F | — |
| source.elixir .punctuation.binary.elixir | #8B4B65 | italic |
| keyword.function.go, keyword.package.go, keyword.import.go | #8B4B65 | — |
| source.go, entity.name.package.go | #a8b5d1 | bold |
| entity.other.attribute-name.id.html | #E6BC9E | — |
| punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.definition.string.begin.html, punctuation.definition.string.end.html | #a8b5d1 | — |
| meta.tag.sgml.doctype.html | #8B4B65 | italic |
| meta.class entity.name.type.class.js, support.class.builtin.js | #C8E69E | — |
| meta.method.declaration storage.type.js | #7B6D9C | |
| meta.method.declaration meta.var.expr.js storage.type.js | #8B4B65 | |
| storage.type.class.js | #8B4B65 | |
| terminator.js | #a8b5d1 | — |
| meta.js punctuation.definition.js | #a8b5d1 | — |
| entity.name.type.instance.jsdoc, entity.name.type.instance.phpdoc | #a8b5d1 | — |
| variable.other.jsdoc, variable.other.phpdoc | #7B6D9C | — |
| variable.other.meta.import.js, meta.import.js variable.other, variable.other.meta.export.js, meta.export.js variable.other | #C8E69E | — |
| constant.language.import-export-all.js | #9EC8E6 | — |
| variable.parameter.function.js | #7B6D9C | — |
| variable.other.object.js, variable.other.object.jsx, variable.object.property.js, variable.object.property.jsx | #A8B5D1 | — |
| variable.js, variable.other.js, variable.other.constant.js | #a8b5d1 | — |
| entity.name.type.js, entity.name.type.module.js | #C8E69E | |
| support.class | #C8E69E | — |
| support.function.console.js | #9EC8E6 | — |
| support.type.property-name.json | #7B6D9C | — |
| support.constant.json | #7B6D9C | — |
| meta.structure.dictionary.value.json string.quoted.double | #6EAA7F | — |
| string.quoted.double.json punctuation.definition.string.json, punctuation.definition.string.json | #6EAA7F | — |
| meta.structure.dictionary.json meta.structure.dictionary.value constant.language | #c98b7e | — |
| variable.other.ruby | #a8b5d1 | — |
| variable.other.readwrite.instance.ruby, variable.other.readwrite.class.ruby | #c98b7e | — |
| entity.name.type.class.ruby | #E6BC9E | — |
| entity.name.type.module.ruby | #C8E69E | — |
| constant.language.symbol.hashkey.ruby | #9EC8E6 | — |
| entity.name.tag.less | #9EC8E6 | — |
| keyword.other.unit.css | #C8E69E | — |
| meta.attribute-selector.less entity.other.attribute-name.attribute | #E6BC9E | — |
| markup.heading.markdown | #c98b7e | — |
| markup.italic.markdown | #8B4B65 | italic |
| markup.bold.markdown, punctuation.definition.bold.markdown | #E6BC9E | bold |
| beginning.punctuation.definition.quote.markdown, markup.quote.markdown | #506686 | italic |
| markup.inline.raw.markdown, markup.inline.raw | #6EAA7F | — |
| markup.underline.link.markdown, markup.underline.link.image.markdown | #9EC8E6 | — |
| string.other.link.title.markdown, string.other.link.description.markdown | #7B6D9C | — |
| punctuation.definition.string.markdown, punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, meta.link.inline.markdown punctuation.definition.string, punctuation.definition.metadata.markdown | #a8b5d1 | — |
| beginning.punctuation.definition.list.markdown | #c98b7e | — |
| variable.other.php, variable.other.property.php | #a8b5d1 | — |
| meta.function-call.php punctuation | #a8b5d1 | — |
| variable.other.global.php | #6EAA7F | — |
| variable.other.global.php punctuation.definition.variable | #6EAA7F | — |
| constant.language.python | #c98b7e | — |
| variable.parameter.function.python, meta.function-call.arguments.python | #7B6D9C | — |
| meta.function-call.python, meta.function-call.generic.python | #8B4B65 | — |
| punctuation.python | #a8b5d1 | — |
| entity.name.function.decorator.python | #6EAA7F | — |
| punctuation.separator.parameters.python | #c98b7e | — |
| source.python variable.language.special | #7B6D9C | — |
| variable.css, variable.argument.css | #c98b7e | — |
| variable.less, variable.other.less | #c98b7e | — |
| variable.scss, variable.sass, source.sass variable, variable.parameter.url.scss, variable.parameter.url.sass | #c98b7e | — |
| source.css.scss meta.at-rule variable, source.css.sass meta.at-rule variable | #7B6D9C | — |
| source.css.scss meta.at-rule variable, source.css.sass meta.at-rule variable | #a8b5d1 | — |
| meta.attribute-selector.scss entity.other.attribute-name.attribute, meta.attribute-selector.sass entity.other.attribute-name.attribute | #E6BC9E | — |
| entity.name.tag.scss, entity.name.tag.sass | #9EC8E6 | — |
| keyword.other.unit.scss, keyword.other.unit.sass | #C8E69E | — |
| variable.stylus, variable.other.stylus | #c98b7e | — |
| variable.other.readwrite.alias.ts, variable.other.readwrite.alias.tsx, variable.other.readwrite.ts, variable.other.readwrite.tsx, variable.other.object.ts, variable.other.object.tsx, variable.object.property.ts, variable.object.property.tsx, variable.other.ts, variable.other.tsx, variable.tsx, variable.ts | #a8b5d1 | — |
| entity.name.type.ts, entity.name.type.tsx | #C8E69E | — |
| support.class.node.ts, support.class.node.tsx | #7B6D9C | — |
| meta.type.parameters.ts entity.name.type, meta.type.parameters.tsx entity.name.type | #a8b5d1 | — |
| meta.import.ts punctuation.definition.block, meta.import.tsx punctuation.definition.block, meta.export.ts punctuation.definition.block, meta.export.tsx punctuation.definition.block | #a8b5d1 | — |
| meta.decorator punctuation.decorator.ts, meta.decorator punctuation.decorator.tsx | #7B6D9C | — |
| meta.tag.js meta.jsx.children.tsx | #7B6D9C | — |
| entity.name.tag.yaml | #7B6D9C | — |
| variable.other.property.js | #E6BC9E | — |
| variable.other.readwrite.js, variable.parameter | #a8b5d1 | — |
| support.class.component.js, support.class.component.js.jsx, support.class.component.tsx | #C8E69E | |
| support.class.component.html | #c98b7e | — |
| meta.jsx.children, meta.jsx.children.js, meta.jsx.children.tsx | #a8b5d1 | — |
| meta.directive.vue punctuation | #a8b5d1 | — |
| meta.class entity.name.type.class.tsx | #C8E69E | — |
| entity.name.type.tsx, entity.name.type.module.tsx | #C8E69E | — |
| meta.method.declaration storage.type.tsx | #7B6D9C | — |
| meta.property-list.css meta.property-value.css variable.other.less, meta.property-list.scss variable.scss, meta.property-list.sass variable.sass, meta.brace, keyword.operator.operator, keyword.operator.or.regexp, keyword.operator.expression.in, keyword.operator.relational, keyword.operator.assignment, keyword.operator.comparison, keyword.operator.type, keyword.operator, keyword, punctuation.definintion.string, punctuation, variable.other.readwrite.js, storage.type, source.css, string.quoted | — |
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}!`;
}