justwhitee Dark
Publisher: Matteo FontolanThemes in package: 1
Deep dark theme with aqua accents, warm readability, and balanced saturation. Yellow functions, green strings, aqua keywords.
Deep dark theme with aqua accents, warm readability, and balanced saturation. Yellow functions, green strings, aqua keywords.
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 |
|---|---|---|
| #dbd8c6 | — | |
| comment, comment.line, comment.block, punctuation.definition.comment | #486860 | italic |
| comment.block.documentation, comment.block.javadoc, comment.block.tsdoc | #557870 | italic |
| comment storage.type.class.jsdoc, comment entity.name.type.instance.jsdoc, comment punctuation.definition.block.tag.jsdoc | #3a8880 | italic bold |
| string, string.quoted.single, string.quoted.double, string.quoted.triple, string.other | #8acc7c | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #609060 | — |
| string.template, string.interpolated, meta.template.expression, punctuation.definition.template-expression.begin, punctuation.definition.template-expression.end | #5cc4a8 | — |
| constant.character.escape, string constant.character.escape | #3a9890 | — |
| string.regexp, constant.regexp, string.regexp.character-class | #90c880 | — |
| string.regexp keyword.operator, string.regexp punctuation.definition, keyword.operator.quantifier.regexp, keyword.operator.or.regexp, punctuation.definition.group.regexp, punctuation.definition.group.assertion.regexp, keyword.operator.negation.regexp | #c47888 | — |
| constant.numeric, constant.numeric.integer, constant.numeric.float, constant.numeric.hex, constant.numeric.octal, constant.numeric.binary | #ca6702 | — |
| constant.language, constant.language.boolean, constant.language.null, constant.language.undefined, constant.language.none, constant.language.nil, constant.language.infinity, constant.language.nan | #e4cc60 | — |
| constant.other, constant.other.color, constant.other.key, constant.character, variable.other.enummember, variable.other.constant, constant.other.enum | #e4cc60 | — |
| keyword.control, keyword.control.flow, keyword.control.conditional, keyword.control.loop, keyword.control.switch, keyword.control.case, keyword.control.default, keyword.control.try, keyword.control.except, keyword.control.catch, keyword.control.finally, keyword.control.with, keyword.control.async, keyword.control.await, keyword.other, keyword.operator.new, keyword.operator.void, keyword.operator.typeof, keyword.operator.instanceof, keyword.operator.in, keyword.operator.of | #3a9890 | — |
| keyword.control.return, keyword.control.yield, keyword.control.throw, keyword.control.raise, keyword.control.break, keyword.control.continue, keyword.control.pass | #dd2d4a | — |
| keyword.control.import, keyword.control.export, keyword.control.from, keyword.control.as, keyword.other.using, keyword.other.use | #8878d8 | — |
| keyword.operator.delete, keyword.operator.expression.delete, keyword.control.delete, keyword.other.unsafe, storage.modifier.unsafe, keyword.other.volatile | #dd2d4a | — |
| storage, storage.type, storage.type.function, storage.type.primitive, storage.type.builtin | #56b0a8 | — |
| storage.type.class, storage.type.interface, storage.type.enum, storage.type.type, storage.type.struct | #3a9890 | — |
| storage.type.namespace, storage.type.module, storage.type.import, storage.type.export, storage.type.annotation | #8878d8 | — |
| storage.modifier, storage.modifier.async, storage.modifier.static, storage.modifier.access, storage.modifier.final | #56b0a8 | — |
| storage.modifier.abstract, storage.modifier.declare, storage.modifier.override, storage.modifier.virtual, keyword.modifier.abstract, keyword.modifier.declare, keyword.modifier.override | #8878d8 | — |
| storage.modifier.readonly, keyword.modifier.readonly, storage.modifier.const | #e4cc60 | — |
| keyword.operator, keyword.operator.arithmetic, keyword.operator.logical, keyword.operator.bitwise, keyword.operator.comparison, keyword.operator.assignment, keyword.operator.ternary, keyword.operator.optional, keyword.operator.nullish, keyword.operator.spread, keyword.operator.rest, keyword.operator.type, keyword.operator.cast | #56b0a8 | — |
| storage.type.function.arrow, keyword.operator.arrow, punctuation.separator.key-value | #56b0a8 | — |
| punctuation, punctuation.separator, punctuation.terminator, punctuation.definition.parameters, punctuation.definition.arguments, punctuation.definition.block, punctuation.section, meta.brace | #789898 | — |
| entity.name.function, meta.function entity.name.function, meta.definition.method entity.name.function, entity.name.function.constructor, entity.name.function.destructor | #e0b44a | — |
| meta.function-call entity.name.function, meta.method-call entity.name.function, support.function | #e0b44a | — |
| support.function.builtin, support.function.magic, support.function.construct | #d4985a | italic |
| entity.name.class, entity.name.type, entity.name.type.class, entity.name.type.enum, entity.name.type.alias, entity.name.type.struct, entity.other.inherited-class | #c04878 | — |
| entity.name.type.interface | #c04878 | — |
| meta.type.annotation, support.type, support.class, support.type.builtin, support.type.primitive | #c04878 | — |
| entity.name.type.type-parameter, meta.type.parameters entity.name.type, punctuation.definition.typeparameters | #94d2bd | — |
| entity.name.namespace, entity.name.module, entity.name.package, support.module, meta.import entity.name, meta.import entity.other.inherited-class | #8cccc0 | — |
| variable, variable.other, variable.other.local, variable.other.block, variable.other.readwrite, meta.definition.variable variable.other | #dbd8c6 | — |
| variable.other.constant, variable.other.enummember | #e4cc60 | — |
| variable.parameter, meta.parameter, meta.parameters variable.other | #c8b890 | — |
| variable.other.object.property, variable.other.property, variable.other.member, support.variable.property, meta.property-name, entity.other.attribute | #8ecab8 | — |
| variable.language.self, variable.language.this, variable.language.super, variable.language.special | #3a9890 | italic |
| meta.decorator, punctuation.decorator, entity.name.function.decorator, meta.decorator entity.name.function, support.type.decorator, storage.type.decorator | #c47888 | — |
| entity.name.tag, meta.tag, support.class.component | #3a9890 | — |
| entity.other.attribute-name, meta.tag entity.other.attribute-name | #d4b45a | — |
| string.quoted.html, meta.tag string | #8acc7c | — |
| meta.attribute.id, entity.other.attribute-name.id | #d49858 | — |
| meta.attribute.class, entity.other.attribute-name.class | #d4b45a | — |
| meta.tag.sgml.doctype, entity.name.tag.doctype | #527070 | italic |
| entity.name.tag.css, entity.name.tag.wildcard.css | #3a9890 | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.id.css | #d4b45a | — |
| entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css, entity.other.attribute-name.pseudo-class.scss | #8878d8 | — |
| keyword.control.at-rule, keyword.control.at-rule.css, keyword.control.at-rule.scss, keyword.control.at-rule.less, support.type.property-name.media | #8878d8 | — |
| support.type.property-name.css, meta.property-name.css, support.type.property-name.scss | #8ecab8 | — |
| meta.property-value.css, support.constant.property-value.css, meta.property-value support.constant | #8acc7c | — |
| keyword.other.unit.css, constant.numeric.css | #d49858 | — |
| constant.other.color.rgb-value.css, support.constant.color | #d4b45a | — |
| keyword.other.important.css, keyword.other.important | #dd2d4a | bold |
| variable.css, variable.argument.css, support.variable.css | #8ecab8 | — |
| markup.heading, markup.heading.setext, entity.name.section.markdown | #e4cc60 | bold |
| markup.bold | #d4b45a | bold |
| markup.italic | #a4d890 | italic |
| markup.inline.raw, markup.raw.inline | #8acc7c | — |
| markup.raw.block | #8acc7c | — |
| markup.underline.link, string.other.link | #3a9890 | underline |
| meta.link.inline string.other.link.title | #d4b45a | — |
| markup.quote, punctuation.definition.blockquote | #527070 | italic |
| punctuation.definition.list.begin.markdown | #3a9890 | — |
| punctuation.definition.heading.markdown, punctuation.definition.bold.markdown, punctuation.definition.italic.markdown, punctuation.definition.raw.markdown | #527070 | — |
| support.type.property-name.json, meta.object-literal.key, meta.object-literal.key string | #8ecab8 | — |
| entity.name.tag.yaml | #8ecab8 | — |
| entity.name.type.anchor.yaml, variable.other.alias.yaml | #3a9890 | — |
| meta.tag.yaml, keyword.other.directive.yaml | #8878d8 | — |
| entity.name.section.toml, support.type.property-name.table.toml | #d4b45a | — |
| support.type.property-name.toml, variable.other.key.toml | #8ecab8 | — |
| storage.modifier.lifetime.rust, entity.name.lifetime.rust, punctuation.definition.lifetime.rust | #c47888 | italic |
| support.macro.rust, entity.name.function.macro.rust | #d4b45a | — |
| meta.attribute.rust, punctuation.definition.attribute.rust | #c47888 | — |
| keyword.other.unsafe.rust | #dd2d4a | bold |
| keyword.other.where.rust, storage.type.impl.rust | #8878d8 | — |
| support.function.magic.python | #c8a448 | italic |
| support.function.builtin.python | #56b0a8 | — |
| entity.name.function.decorator.python, meta.function.decorator.python | #c47888 | — |
| constant.character.format.placeholder.other.python, meta.fstring.python | #5cc4a8 | — |
| keyword.control.lambda.python | #8878d8 | — |
| keyword.control.directive, keyword.control.import.include, meta.preprocessor keyword.control | #8878d8 | — |
| entity.name.function.preprocessor, meta.preprocessor.macro entity.name.function | #d4b45a | — |
| meta.declaration.annotation entity.name.type, storage.type.annotation.java | #c47888 | — |
| support.function.builtin.shell | #d4b45a | — |
| variable.other.normal.shell, variable.other.special.shell, variable.other.positional.shell, variable.other.bracket.shell, punctuation.definition.variable.shell | #8ecab8 | — |
| string.unquoted.heredoc | #8acc7c | — |
| invalid, invalid.illegal | #c86868 | — |
| invalid.deprecated | #cca850 | strikethrough |
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}!`;
}