wl dark ink
Publisher: Will LuftThemes in package: 1
Dark theme with bright colors I like.
Dark theme with bright colors I like.
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 |
|---|---|---|
| variable, string constant.other.placeholder, invalid.deprecated, storage.type, storage.modifier | #F7FAFC | — |
| variable, string constant.other.placeholder, entity.name.function, punctuation.definition.interpolation.end.bracket.curly.scss, punctuation.definition.interpolation.begin.bracket.curly.scss | — | italic |
| punctuation.definition.interpolation.end.bracket.curly.scss, punctuation.definition.interpolation.begin.bracket.curly.scss | #FFB170 | — |
| constant.other.php | #FF7400 | — |
| constant.other.color | #F7FAFC | — |
| invalid, invalid.illegal | #FFD600 | — |
| Keyword, Storage | — | italic |
| keyword.control, constant.other.color, punctuation, punctuation.separator.inheritance.php, punctuation.section.embedded, keyword.other.template, keyword.other.substitution, entity.name.tag.reference.scss | #ffe770 | — |
| punctuation.definition.tag, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, entity.name.type.module.js, punctuation.definition.entity.css, punctuation.separator.key-value.html | #A0AEC0 | — |
| keyword.control.at-rule, punctuation.terminator.rule.css, keyword.control.operator, punctuation.separator.comma.js, punctuation.definition.string.begin.js, punctuation.definition.string.end.js, punctuation.definition.binding-pattern.object.js | #0bdc00 | — |
| keyword.operator.assignment.js | #ffe770 | — |
| punctuation.definition, string.quoted.single.scss | #A7A8AF | — |
| keyword.control | — | bold |
| comment.line.scss, comment.line.double-slash.js, punctuation.definition.comment.scss, punctuation.definition.comment.js, punctuation.definition.comment.html, comment.block.html, comment.block.css | #c379ff | — |
| text.html.derivative | #f7fafc | — |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #D9007F | — |
| entity.name.tag.html | — | bold |
| variable.parameter.keyframe-list.css | #FF7400 | — |
| variable.other.object.js, variable.parameter.js, variable.other.constant.js | #f7fafc | — |
| variable.other.property.js | #00ffff | — |
| storage.type.js, string.other.link.title.markdown, variable.other.readwrite.js | #ff0095 | |
| string, string.quoted.double.html, variable.other.object.property.js, string.quoted.double.json, markup.fenced_code.block.markdown, markup.inline.raw.string.markdown, variable.function, keyword.other.special-method, markup.bold, markup.bold.markdown, markup.italic.markdown, variable.function.constructor, entity.name.tag.other.html, entity.name.tag.block.any.html, source.sass keyword.control | #FFB170 | — |
| entity.name.function, meta.class-method.js entity.name.function.js | #00ffff | — |
| punctuation.definition.string.begin.html, punctuation.definition.string.end.html | #0bdc00 | — |
| support.other.variable, string.other.link, markup.table, entity.other.attribute-name.pseudo-class | #EDF2F7 | — |
| constant.numeric, constant.language, constant.character, constant.escape, string.quoted.single.css, keyword.other | #00ffff | — |
| variable.parameter.function.language.special, variable.parameter | #FFD600 | — |
| constant.other.symbol, constant.other.key, entity.other.inherited-class, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly, constant.other.object.key.js, string.unquoted.label.js | #FFB170 | |
| entity.name, support.type, support.class, support.orther.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types, entity.other.attribute-name.html, keyword.other.unit | #ff0095 | — |
| support.type | #B2CCD6 | — |
| source.css support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.less support.type.property-name, source.stylus support.type.property-name, source.postcss support.type.property-name, support.type.vendored.property-name.css | #ffb170 | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #FFD600 | — |
| entity.name.method.js, tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #FF0095 | italic |
| entity.other.attribute-name, support.function | #00ffff | — |
| entity.other.attribute-name.css, support.function, variable.argument.css | #b2ccd6 | — |
| entity.other.attribute-name.id, entity.other.attribute-name.class, keyword.control.conditional.js, entity.other.attribute-name.html, string.quoted.single.js, storage.type.function.js | #ffb170 | — |
| entity.other.attribute-name.html, support.constant | #00ffff | — |
| entity.name.tag.css, keyword.control.at-rule, keyword | #ff0095 | — |
| meta.object-literal.key | #f7fafc | — |
| storage.type.function.arrow.js | #00ffff | — |
| source.scss keyword.control | #FF7400 | — |
| markup.inserted | #FFB170 | — |
| markup.deleted | #FFD600 | — |
| markup.changed | #FF7400 | — |
| string.regexp | #AC0065 | — |
| constant.character.escape | #AC0065 | — |
| *url*, *link*, *uri* | — | underline |
| source.js constant.other.object.key.js string.unquoted.label.js | #EDF2F7 | italic |
| support.type.property-name.json | #EDF2F7 | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #EDF2F7 | — |
| text.html.markdown markup.inline.raw.markdown | #FF7400 | — |
| text.html.markdown markup.inline.raw.markdown, punctuation.definition.raw.markdown | #00828250 | — |
| text.html.markdown meta.dummy.line-break | — | — |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown, entity.name.section.markdown | #00FFFF | bold |
| markup.underline | #FF0095 | underline |
| markup.strike | — | |
| markup.quote punctuation.definition.blockquote.markdown | #00828250 | — |
| markup.quote | — | italic |
| string.other.link.description.title.markdown | #FF7400 | — |
| constant.other.reference.link.markdown | #FF7400 | — |
| markup.raw.block | #FF7400 | — |
| punctuation.definition.raw.markdown, punctuation.definition.markdown | #AC0065 | — |
| variable.language.fenced.markdown | #008282 | — |
| meta.separator | #A7A8AF | bold |
| token.info-token | #008282 | — |
| token.warn-token | #FF7400 | — |
| token.error-token | #FF293B | — |
| token.debug-token | #AC0065 | — |
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}!`;
}