Dark Ever
Publisher: Correia DarkThemes in package: 5
A theme extension with Everforest, Kanagawa, Nordic, and Nordic Light variants for Visual Studio Code.
A theme extension with Everforest, Kanagawa, Nordic, and Nordic Light variants for Visual Studio Code.
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, punctuation.definition.comment | #7f897d | italic |
| meta.preprocessor.cs, meta.preprocessor, keyword.control.directive.region.cs, keyword.control.directive.endregion.cs, keyword.control.directive.region, keyword.control.directive.endregion, keyword.control.directive.cs, punctuation.definition.directive.cs, entity.name.function.preprocessor | #6f7a70 | — |
| meta.preprocessor.string.cs, meta.preprocessor.string, entity.name.section.region.cs, meta.preprocessor.region.cs | #859289 | — |
| string, string.quoted, string.template, string.regexp | #a7c080 | — |
| constant.character.escape, string.regexp.character-class | #83c092 | — |
| constant.numeric | #d699b6 | — |
| constant.language, constant.language.null, constant.language.undefined, constant.language.null.php, constant.language.boolean | #d699b6 | — |
| variable.other.constant, constant.other | #d699b6 | — |
| keyword, keyword.control, keyword.other | #d78789 | — |
| keyword.operator, keyword.operator.logical, keyword.operator.arithmetic, keyword.operator.comparison, keyword.operator.assignment | #e69875 | — |
| keyword.operator.access, keyword.operator.member, keyword.operator.object-access, keyword.operator.scope-resolution, keyword.operator.key-value, keyword.operator.object-access.php, keyword.operator.scope-resolution.php, keyword.operator.class.php, keyword.operator.array.php, punctuation.accessor, punctuation.separator.accessor, punctuation.separator.coloncolon, punctuation.separator.object-access, punctuation.separator.key-value, punctuation.separator.dictionary.key-value, punctuation.separator.object-access.php, punctuation.separator.coloncolon.php, punctuation.separator.key-value.php | #e69875 | — |
| keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.as | #7fbbb3 | — |
| keyword.control.return, keyword.control.flow, storage.modifier.async | #d78789 | — |
| storage.type, storage.modifier | #d78789 | — |
| storage.type.function.php | #e69875 | — |
| entity.name.type, entity.name.class, entity.name.interface, entity.name.enum, support.type, support.class | #dbbc7f | — |
| variable.parameter.type, entity.name.type.parameter | #e69875 | — |
| entity.other.inherited-class | #a7c080 | — |
| entity.name.function, meta.function-call entity.name.function, support.function | #83c092 | — |
| meta.function-call | #d3c6aa | — |
| variable, variable.other, variable.other.readwrite | #d3c6aa | — |
| punctuation.definition.variable.php | #e69875 | — |
| variable.parameter | #e69875 | — |
| variable.language.this, variable.language.self, variable.language.this.php | #D27E99 | — |
| variable.other.property, variable.other.object.property, meta.object-literal.key, support.type.property-name | #7fbbb3 | — |
| variable.other.member, variable.other.readwrite.member | #d3c6aa | — |
| punctuation, punctuation.separator, punctuation.terminator | #7f897d | — |
| punctuation.definition.block, punctuation.definition.parameters, meta.brace | #9aa79d | — |
| entity.name.tag, meta.tag.sgml | #e67e80 | — |
| entity.other.attribute-name | #dbbc7f | — |
| string.quoted.double.html, string.quoted.single.html | #a7c080 | — |
| support.class.component, entity.name.tag.tsx, entity.name.tag.jsx | #dbbc7f | — |
| punctuation.section.embedded, punctuation.definition.template-expression | #83c092 | — |
| entity.name.tag.css, entity.other.attribute-name.class.css, entity.other.attribute-name.id.css | #dbbc7f | — |
| support.type.property-name.css, meta.property-name | #7fbbb3 | — |
| support.constant.property-value.css, meta.property-value | #a7c080 | — |
| keyword.other.unit.css | #e69875 | — |
| constant.other.color.rgb-value.css, support.constant.color | #d699b6 | — |
| entity.other.attribute-name.pseudo-class, entity.other.attribute-name.pseudo-element | #83c092 | — |
| markup.heading, entity.name.section.markdown | #e67e80 | — |
| markup.bold | #dbbc7f | — |
| markup.italic | #d699b6 | — |
| markup.fenced_code, markup.inline.raw | #a7c080 | — |
| markup.underline.link, string.other.link | #83c092 | — |
| punctuation.definition.list.begin.markdown | #e69875 | — |
| markup.quote | #7f897d | — |
| support.type.property-name.json, source.yaml entity.name.tag | #7fbbb3 | — |
| source.yaml string.unquoted | #a7c080 | — |
| entity.name.lifetime.rust, storage.modifier.lifetime.rust | #e69875 | — |
| support.macro.rust, entity.name.function.macro.rust | #83c092 | — |
| meta.attribute.rust | #7f897d | — |
| source.go entity.name.package | #dbbc7f | — |
| entity.name.function.decorator, meta.decorator, punctuation.decorator | #d699b6 | — |
| invalid | #e67e80 | — |
| invalid.deprecated | #e69875 | — |
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}!`;
}