Evergarden Winter
Publisher: concatenatelineThemes in package: 2
A cozy winter color theme inspired by Evergarden - perfect for long coding sessions
A cozy winter color theme inspired by Evergarden - perfect for long coding sessions
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 |
|---|---|---|
| keyword, storage.type.function, storage.type.class, storage.type.enum, storage.type.interface, storage.type.property, keyword.operator.new, keyword.operator.expression, keyword.operator.new, keyword.operator.delete, storage.type.extends | #f5a8b8 | — |
| keyword.other.debugger | #f5a8b8 | — |
| storage, modifier, keyword.var, entity.name.tag, keyword.control.case, keyword.control.switch | #f0b580 | — |
| keyword.operator | #f0b580 | — |
| string, punctuation.definition.string.end, punctuation.definition.string.begin, punctuation.definition.string.template.begin, punctuation.definition.string.template.end | #e8c9a0 | — |
| entity.other.attribute-name | #e8c9a0 | — |
| constant.character.escape, punctuation.quasi.element, punctuation.definition.template-expression, punctuation.section.embedded, storage.type.format, constant.other.placeholder, constant.other.placeholder, variable.interpolation | #9ae8a8 | — |
| entity.name.function, support.function, meta.function, meta.function-call, meta.definition.method | #9ae8a8 | — |
| keyword.control.at-rule, keyword.control.import, keyword.control.export, storage.type.namespace, punctuation.decorator, keyword.control.directive, keyword.preprocessor, punctuation.definition.preprocessor, punctuation.definition.directive, keyword.other.import, keyword.other.package, entity.name.type.namespace, entity.name.scope-resolution, keyword.other.using, keyword.package, keyword.import, keyword.map | #b8f0e0 | — |
| storage.type.annotation | #b8f0e0 | — |
| entity.name.label, constant.other.label | #b8f0e0 | — |
| support.module, support.node, support.other.module, support.type.object.module, entity.name.type.module, entity.name.type.class.module, keyword.control.module | #b8f0e0 | — |
| storage.type, support.type, entity.name.type, keyword.type | #a0c8f0 | — |
| entity.name.type.class, support.class, entity.name.class, entity.other.inherited-class, storage.class | #a0c8f0 | — |
| constant.numeric | #f5d0e3 | — |
| constant.language.boolean | #f5d0e3 | — |
| entity.name.function.preprocessor | #f5d0e3 | — |
| variable.language.this, variable.language.self, variable.language.super, keyword.other.this, variable.language.special, constant.language.null, constant.language.undefined, constant.language.nan | #f5d0e3 | — |
| constant.language, support.constant | #f5d0e3 | — |
| variable, support.variable, meta.definition.variable | #e2e3e4 | — |
| variable.object.property, support.variable.property, variable.other.property, variable.other.object.property, variable.other.enummember, variable.other.member, meta.object-literal.key | #e2e3e4 | — |
| punctuation, meta.brace, meta.delimiter, meta.bracket | #e2e3e4 | — |
| comment, punctuation.definition.comment | #9fb5bb | italic |
| heading.1.markdown, markup.heading.setext.1.markdown | #f5a8b8 | bold |
| heading.2.markdown, markup.heading.setext.2.markdown | #f0b580 | bold |
| heading.3.markdown | #e8c9a0 | bold |
| heading.4.markdown | #9ae8a8 | bold |
| heading.5.markdown | #a0c8f0 | bold |
| heading.6.markdown | #f5d0e3 | bold |
| punctuation.definition.heading.markdown | #b0bcb3 | regular |
| string.other.link.title.markdown, constant.other.reference.link.markdown, string.other.link.description.markdown | #f5d0e3 | regular |
| markup.underline.link.image.markdown, markup.underline.link.markdown | #9ae8a8 | underline |
| punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown, punctuation.definition.italic.markdown, punctuation.definition.quote.begin.markdown, punctuation.definition.metadata.markdown, punctuation.separator.key-value.markdown, punctuation.definition.constant.markdown | #b0bcb3 | — |
| punctuation.definition.bold.markdown | #b0bcb3 | regular |
| meta.separator.markdown, punctuation.definition.constant.begin.markdown, punctuation.definition.constant.end.markdown | #b0bcb3 | bold |
| markup.italic | — | italic |
| markup.bold | — | bold |
| markup.bold markup.italic, markup.italic markup.bold | — | italic bold |
| punctuation.definition.markdown, punctuation.definition.raw.markdown | #e8c9a0 | — |
| fenced_code.block.language | #e8c9a0 | — |
| markup.fenced_code.block.markdown, markup.inline.raw.string.markdown | #9ae8a8 | — |
| punctuation.definition.list.begin.markdown | #f5a8b8 | — |
| punctuation.definition.heading.restructuredtext | #f0b580 | bold |
| punctuation.definition.field.restructuredtext, punctuation.separator.key-value.restructuredtext, punctuation.definition.directive.restructuredtext, punctuation.definition.constant.restructuredtext, punctuation.definition.italic.restructuredtext, punctuation.definition.table.restructuredtext | #b0bcb3 | — |
| punctuation.definition.bold.restructuredtext | #b0bcb3 | regular |
| entity.name.tag.restructuredtext, punctuation.definition.link.restructuredtext, punctuation.definition.raw.restructuredtext, punctuation.section.raw.restructuredtext | #b8f0e0 | — |
| constant.other.footnote.link.restructuredtext | #f5d0e3 | — |
| support.directive.restructuredtext | #f5a8b8 | — |
| entity.name.directive.restructuredtext, markup.raw.restructuredtext, markup.raw.inner.restructuredtext, string.other.link.title.restructuredtext | #9ae8a8 | — |
| punctuation.definition.function.latex, punctuation.definition.function.tex, punctuation.definition.keyword.latex, constant.character.newline.tex, punctuation.definition.keyword.tex | #b0bcb3 | — |
| support.function.be.latex | #f5a8b8 | — |
| support.function.section.latex, keyword.control.table.cell.latex, keyword.control.table.newline.latex | #f0b580 | — |
| support.class.latex, variable.parameter.latex, variable.parameter.function.latex, variable.parameter.definition.label.latex, constant.other.reference.label.latex | #e8c9a0 | — |
| keyword.control.preamble.latex | #f5d0e3 | — |
| punctuation.separator.namespace.xml | #b0bcb3 | — |
| entity.name.tag.html, entity.name.tag.xml, entity.name.tag.localname.xml | #a080c0 | — |
| entity.other.attribute-name.html, entity.other.attribute-name.xml, entity.other.attribute-name.localname.xml | #e8c9a0 | — |
| string.quoted.double.html, string.quoted.single.html, punctuation.definition.string.begin.html, punctuation.definition.string.end.html, punctuation.separator.key-value.html, punctuation.definition.string.begin.xml, punctuation.definition.string.end.xml, string.quoted.double.xml, string.quoted.single.xml, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.definition.tag.xml, meta.tag.xml, meta.tag.preprocessor.xml, meta.tag.other.html, meta.tag.block.any.html, meta.tag.inline.any.html | #9ae8a8 | — |
| variable.language.documentroot.xml, meta.tag.sgml.doctype.xml | #f5d0e3 | — |
| storage.type.proto | #e8c9a0 | — |
| string.quoted.double.proto.syntax, string.quoted.single.proto.syntax, string.quoted.double.proto, string.quoted.single.proto | #9ae8a8 | — |
| entity.name.class.proto, entity.name.class.message.proto | #b8f0e0 | — |
| punctuation.definition.entity.css, punctuation.separator.key-value.css, punctuation.terminator.rule.css, punctuation.separator.list.comma.css | #b0bcb3 | — |
| entity.other.attribute-name.class.css | #f5a8b8 | — |
| keyword.other.unit | #f0b580 | — |
| entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #e8c9a0 | — |
| string.quoted.single.css, string.quoted.double.css, support.constant.property-value.css, meta.property-value.css, punctuation.definition.string.begin.css, punctuation.definition.string.end.css, constant.numeric.css, support.constant.font-name.css, variable.parameter.keyframe-list.css | #9ae8a8 | — |
| support.type.property-name.css | #b8f0e0 | — |
| support.type.vendored.property-name.css | #a0c8f0 | — |
| entity.name.tag.css, entity.other.keyframe-offset.css, punctuation.definition.keyword.css, keyword.control.at-rule.keyframes.css, meta.selector.css | #f5d0e3 | — |
| punctuation.accessor.js, punctuation.separator.key-value.js, punctuation.separator.label.js, keyword.operator.accessor.js | #b0bcb3 | — |
| punctuation.definition.block.tag.jsdoc | #f5a8b8 | — |
| storage.type.js, storage.type.function.arrow.js | #f0b580 | — |
| JSXNested | #e2e3e4 | — |
| punctuation.definition.tag.jsx, entity.other.attribute-name.jsx, punctuation.definition.tag.begin.js.jsx, punctuation.definition.tag.end.js.jsx, entity.other.attribute-name.js.jsx | #9ae8a8 | — |
| entity.name.type.module.ts | #e2e3e4 | — |
| keyword.operator.type.annotation.ts, punctuation.accessor.ts, punctuation.separator.key-value.ts | #b0bcb3 | — |
| punctuation.definition.tag.directive.ts, entity.other.attribute-name.directive.ts | #9ae8a8 | — |
| entity.name.type.ts, entity.name.type.interface.ts, entity.other.inherited-class.ts, entity.name.type.alias.ts, entity.name.type.class.ts, entity.name.type.enum.ts | #b8f0e0 | — |
| storage.type.ts, storage.type.function.arrow.ts, storage.type.type.ts | #f0b580 | — |
| entity.name.type.module.ts | #a0c8f0 | — |
| keyword.control.import.ts, keyword.control.export.ts, storage.type.namespace.ts | #f5d0e3 | — |
| entity.name.type.module.tsx | #e2e3e4 | — |
| keyword.operator.type.annotation.tsx, punctuation.accessor.tsx, punctuation.separator.key-value.tsx | #b0bcb3 | — |
| punctuation.definition.tag.directive.tsx, entity.other.attribute-name.directive.tsx, punctuation.definition.tag.begin.tsx, punctuation.definition.tag.end.tsx, entity.other.attribute-name.tsx | #9ae8a8 | — |
| entity.name.type.tsx, entity.name.type.interface.tsx, entity.other.inherited-class.tsx, entity.name.type.alias.tsx, entity.name.type.class.tsx, entity.name.type.enum.tsx | #b8f0e0 | — |
| entity.name.type.module.tsx | #a0c8f0 | — |
| keyword.control.import.tsx, keyword.control.export.tsx, storage.type.namespace.tsx | #f5d0e3 | — |
| storage.type.tsx, storage.type.function.arrow.tsx, storage.type.type.tsx, support.class.component.tsx | #f0b580 | — |
| meta.function-call.arguments.python | #e2e3e4 | — |
| punctuation.definition.decorator.python, punctuation.separator.period.python | #b0bcb3 | — |
| constant.language.python | #b8f0e0 | — |
| keyword.control.import.python, keyword.control.import.from.python | #f5d0e3 | — |
| entity.name.type.mod.rust | #e2e3e4 | — |
| keyword.operator.path.rust, keyword.operator.member-access.rust | #b0bcb3 | — |
| storage.type.rust | #f0b580 | — |
| support.constant.core.rust | #b8f0e0 | — |
| meta.attribute.rust, variable.language.rust, storage.type.module.rust | #f5d0e3 | — |
| meta.scope.if-block.shell, meta.scope.group.shell | #e2e3e4 | — |
| support.function.builtin.shell, entity.name.function.shell | #e8c9a0 | — |
| string.quoted.double.shell, string.quoted.single.shell, punctuation.definition.string.begin.shell, punctuation.definition.string.end.shell, string.unquoted.heredoc.shell | #9ae8a8 | — |
| keyword.control.heredoc-token.shell, variable.other.normal.shell, punctuation.definition.variable.shell, variable.other.special.shell, variable.other.positional.shell, variable.other.bracket.shell | #f5d0e3 | — |
| punctuation.definition.separator.diff | #b0bcb3 | — |
| markup.deleted.diff, punctuation.definition.deleted.diff | #f5a8b8 | — |
| meta.diff.range.context, punctuation.definition.range.diff | #f0b580 | — |
| meta.diff.header.from-file | #e8c9a0 | — |
| markup.inserted.diff, punctuation.definition.inserted.diff | #9ae8a8 | — |
| markup.changed.diff, punctuation.definition.changed.diff | #a0c8f0 | — |
| punctuation.definition.from-file.diff | #f5d0e3 | — |
| punctuation.support.type.property-name.begin.json, punctuation.support.type.property-name.end.json, punctuation.separator.dictionary.key-value.json, punctuation.definition.string.begin.json, punctuation.definition.string.end.json, punctuation.separator.dictionary.pair.json, punctuation.separator.array.json | #b0bcb3 | — |
| support.type.property-name.json | #f0b580 | — |
| string.quoted.double.json | #9ae8a8 | — |
| punctuation.separator.key-value.mapping.yaml | #b0bcb3 | — |
| string.unquoted.plain.out.yaml, string.quoted.single.yaml, string.quoted.double.yaml, punctuation.definition.string.begin.yaml, punctuation.definition.string.end.yaml, string.unquoted.plain.in.yaml, string.unquoted.block.yaml | #9ae8a8 | — |
| punctuation.definition.anchor.yaml, punctuation.definition.block.sequence.item.yaml | #b8f0e0 | — |
| keyword.key.toml | #f0b580 | — |
| string.quoted.single.basic.line.toml, string.quoted.single.literal.line.toml, punctuation.definition.keyValuePair.toml | #9ae8a8 | — |
| constant.other.boolean.toml | #a0c8f0 | — |
| entity.other.attribute-name.table.toml, punctuation.definition.table.toml, entity.other.attribute-name.table.array.toml, punctuation.definition.table.array.toml | #f5d0e3 | — |
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}!`;
}