Color Fatigue Dark
Publisher: noidilinThemes in package: 1
The Color Fatigue Dark theme is designed for developers who appreciate a calm, understanded aesthetic.
The Color Fatigue Dark theme is designed for developers who appreciate a calm, understanded aesthetic.
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, keyword.operator, keyword.operator.logical, keyword.operator.constructor, storage | #9d9d9d | — |
| storage.modifier.import, storage.modifier.package | #878787 | — |
| storage.type, support.type, support.variable | #eaeaea | — |
| entity.name.class, entity.name.module, entity.name.type, storage.identifier, support.class | #878787 | — |
| entity.other.inherited-class | #c0c0c0 | — |
| entity.name.function, support.function, function.support.builtin, function.support.core | #c0c0c0 | — |
| variable.parameter, entity.name.variable.parameter, parameter.variable | #878787 | italic |
| entity.name.function-call | #8e8b85 | — |
| constant.language, constant.character, support.constant | #b4b0a7 | — |
| constant, constant.other | #eaeaea | — |
| variable, string variable, variable.other.object, variable.other.constant, variable.other.global, variable.other.readwrite.class, variable.other.readwrite.instance, variable.other.readwrite.batchfile, variable.readwrite, variable.readwrite.other.block | #878787 | — |
| variable.language | #9d9d9d | — |
| variable.other, variable.other.property, variable.other.block | #8e8b85 | — |
| entity.name.tag, entity.name.tag.class.js | #dcdcdc | — |
| entity.name.tag.class, entity.name.tag.id | #c0c0c0 | — |
| entity.other.attribute-name | #9d9d9d | — |
| comment.block.documentation storage.type.class, comment.block.documentation punctuation.definition.block.tag, comment.block.documentation punctuation.definition.inline.tag, comment.block.documentation variable.other | #686868 | — |
| comment, string.comment, punctuation.definition.comment | #555555 | — |
| string, string.template, punctuation.definition.string, string punctuation.section.embedded source, meta.scriptblock | #707070 | — |
| constant.numeric | #878787 | — |
| string.embedded.begin, string.embedded.end, punctuation.definition.template-expression, punctuation.section.embedded | #5d5d5d | — |
| string.detected-link, constant.other.reference.link, string.other.link, markup.underline.link.markdown | #707070 | underline |
| invalid | #b07878 | — |
| invalid.deprecated | #b07878 | italic strikethrough |
| punctuation.separator, punctuation.terminator, punctuation.accessor | #aaaaaa | — |
| meta.braces, meta.parens, meta.brackets, meta.generic, meta.tag, punctuation.definition.tag, punctuation.section.embedded.begin.js, punctuation.section.embedded.end.js | #4b4b4b | — |
| meta.tag.jsx | #4e4e4e | — |
| punctuation.section.embedded.begin.jsx, punctuation.section.embedded.end.jsx | — | bold underline |
| support.type.property-name.css, support.type.property-name.scss, support.type.property-name.less, support.type.property-name.sass | #878787 | — |
| support.constant.css, support.constant.scss, support.constant.less, support.constant.sass | #c0c0c0 | — |
| variable.css.string, variable.scss.string, variable.less.string, variable.sass.string | #707070 | — |
| keyword.other.unit, unit.css, unit.scss, unit.less, unit.sass | #686868 | — |
| entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-class.scss, entity.other.attribute-name.pseudo-class.less, entity.other.attribute-name.pseudo-class.sass, entity.other.attribute-name.pseudo-element.css, entity.other.attribute-name.pseudo-element.scss, entity.other.attribute-name.pseudo-element.less, entity.other.attribute-name.pseudo-element.sass | #878787 | — |
| variable.css, variable.scss, variable.less, variable.sass, function.css, function.scss, function.less, function.sass | #dcdcdc | — |
| punctuation.definition.italic.markdown, punctuation.definition.bold.markdown, punctuation.definition.heading.markdown | #555555 | — |
| punctuation.definition.list_item.markdown | #555555 | bold |
| markup.heading, markup.heading entity.name, markup.heading.markdown | #9d9d9d | bold |
| markup.quote.markdown | #8e8b85 | — |
| meta.separator.markdown | #5d5d5d | bold |
| markup.inline.raw, markup.raw.inline.markdown, markup.raw.block.markdown | #aaaaaa | — |
| source.regexp, string.regexp, string.regexp.character-class, string.regexp constant.character.escape, string.regexp source.ruby.embedded, string.regexp string.regexp.arbitrary-repetition | #707070 | — |
| string.regexp constant.character.escape | #aaaaaa | bold |
| support.dictionary.json, support.type.property-name.json | #9d9d9d | — |
| punctuation.quasi.element, punctuation.definition.quasi.begin.js, punctuation.definition.quasi.end.js | #9d9d9d | — |
| meta.diff, meta.diff.header | #8e8b85 | — |
| markup.deleted, meta.diff.header.from-file, punctuation.definition.deleted | #b07878 | — |
| markup.inserted, meta.diff.header.to-file, punctuation.definition.inserted | #778777 | — |
| markup.changed, punctuation.definition.changed | #b3ad9f | — |
| markup.ignored, markup.untracked | #686868 | — |
| meta.diff.range | #aaaaaa | bold |
| variable.other.property, entity.name.function.member, comment, comment.block.documentation storage.type.class, punctuation.definition.comment, entity.name.footnote, entity.other, constant.other.table-name, constant.other.placeholder, constant.other.color, constant.other.math, function.anonymous keyword, variable.language, variable.other.field, variable.other.member, variable.other.property, variable.other.object.property, storage.modifier, storage.type.built-in, storage.type.modifier, storage.type.primitive, sharing.modifier, support.type.primitive, support.class.builtin, support.type.builtin, support.type.vendored, support.constant.vendored, keyword.other.capture-specifier, keyword.import, keyword.other.import, keyword.control.export, keyword.package, meta.import keyword.control, markup.quote, markup.italic, markup.italic.markdown, punctuation.definition.italic.markdown, meta.tag.attributes entity.other.attribute-name, meta.attribute-selector entity.other.attribute-name | — | italic |
| keyword, keyword.control, keyword.operator, keyword.other.template, keyword.other.substitution, keyword.other.new, variable.parameter, entity.name.variable.parameter, parameter.variable, parameter.variable.function, storage.type.function.arrow, meta.function.parameters variable.other, support.function.textbf, entity.name.function.definition.special.constructor, entity.name.function.definition.special.member.destructor, entity.name.section, storage.type.generic.wildcard, storage.type.annotation, storage.type.powershell, punctuation.accessor, punctuation.definition.preprocessor, punctuation.separator.method, punctuation.section.directive, punctuation.bracket.angle, punctuation.separator.namespace, markup.bold, markup.bold.markdown, markup.bold string, markup.heading, markup.inline.raw punctuation.definition.raw, markup punctuation.definition, markdown.heading | — | bold |
| storage.type.type, markup.bold markup.italic, markup.italic markup.bold, markup.quote markup.bold, markup.bold markup.italic string, markup.italic markup.bold string, markup.quote markup.bold string, meta.attribute.id entity.other.attribute-name, source.ocaml punctuation.definition.tag emphasis, comment.block.documentation variable.other | — | bold italic |
| markup.strikethrough, markup.strikethrough.markdown | — | strikethrough |
| markup.underline, markup.underline.markdown, variable.other.event, entity.name.namespace, text.html.basic string, support.constant.color.w3c-standard-color-name.css, support.constant.property-value.css, keyword.other.unit, variable.parameter, entity.name.variable.parameter, parameter.variable | — | underline |
| variable.parameter.handlebars, punctuation.definition.variable, storage.modifier.import, storage.type, storage.modifier.array.bracket, storage.modifier.package, keyword.control.default, keyword.control.cucumber.table, keyword.control.directive, keyword.control.class, keyword.control.def, keyword.operator.function.infix, keyword.other.skinparam, meta.class.identifier storage.modifier, string.interpolated variable.parameter, source.reason entity.other.attribute-name constant.language constant.numeric | — | |
| token.info-token | #8e897d | — |
| token.warn-token | #c8a492 | — |
| token.error-token | #b07878 | — |
| token.debug-token | #7d96ad | — |
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}!`;
}