Minimal
Publisher: Ephraim Atta-DuncanThemes in package: 1
A Nothing VSCode Theme
A Nothing VSCode Theme
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 |
|---|---|---|
| — | #F9FBFC | — |
| emphasis | — | italic |
| strong | — | bold |
| header | #F9FBFC | — |
| comment, punctuation.definition.comment | #6b7087 | — |
| punctuation.definition.string.template | #F9FBFC | — |
| punctuation.definition.string.begin, punctuation.definition.string.end, constant.language | #c2c2c2e7 | — |
| constant, support.constant, variable.arguments | #F9FBFC | underline |
| constant.language.boolean | #c2c2c2e7 | underline |
| constant.character.entity | #c2c2c2e7 | underline |
| constant.rgb-value | #f9fbfcce | underline |
| entity.name.selector | #F9FBFC | — |
| entity.other.attribute-name | #F9FBFC | — |
| entity.other.inherited-class | #F9FBFC | — |
| entity.name.tag, punctuation.tag, invalid.illegal.bad-ampersand | #c2c2c2e7 | — |
| invalid, invalid.illegal | #f44336 | — |
| invalid.deprecated | #ff0266 | — |
| meta.selector, meta.object.member | #F9FBFC | — |
| meta.preprocessor | #F9FBFC | — |
| meta.preprocessor.string | #F9FBFC | — |
| meta.preprocessor.numeric | #F9FBFC | — |
| meta.header.diff | #F9FBFC | — |
| meta.section.attributes.plain | #c2c2c2e7 | — |
| storage | #c2c2c2e7 | — |
| storage.modifier | #c2c2c2e7 | — |
| string | #F9FBFC | — |
| string.tag | #c2c2c2e7 | — |
| string.value | #F9FBFC | — |
| string.regexp | #F9FBFC | — |
| string.escape | #c2c2c2e7 | — |
| string.quasi | #c2c2c2e7 | — |
| string.entity | #F9FBFC | — |
| object | #F9FBFC | — |
| module.node | #F9FBFC | — |
| support.type.property-name | #F9FBFC | — |
| keyword | #c2c2c2e7 | italic bold |
| keyword.control | #c2c2c2e7 | — |
| keyword.control.try, keyword.control.catch, keyword.control.trycatch | #F9FBFC | — |
| keyword.control.conditional, keyword.control.loop | #F9FBFC | — |
| keyword.control.module | #F9FBFC | — |
| keyword.control.less | #F9FBFC | — |
| keyword.operator, keyword.operator.punctuation, keyword.operator.new | #c2c2c2e7 | — |
| keyword.operator.navigation | #c2c2c2e7 | — |
| keyword.other.unit | #F9FBFC | — |
| metatag.php | #F9FBFC | — |
| support.function.git-rebase | #F9FBFC | — |
| constant.sha.git-rebase | #F9FBFC | — |
| meta.type.name, meta.return.type, meta.return-type, meta.cast, support.type, storage.type.cs, variable.class | #c2c2c2e7 | — |
| variable.this, support.variable | #F9FBFC | — |
| entity.static, entity.name.class.static.function, entity.name.function, entity.name.class, entity.name.type.class | #F9FBFC | italic bold |
| meta.type.annotation, meta.type.parameters | #c2c2c2e7 | — |
| storage.type.function, entity.function, entity.name.function.static, meta.delimiter | #c2c2c2e7 | — |
| entity.name.function.function-call | #F9FBFC | — |
| support.function.builtin | #F9FBFC | — |
| entity.name.method, entity.name.method.function-call, entity.name.static.function-call | #c2c2c2e7 | — |
| brace, meta.brace.round, meta.brace.square, meta.brace.curly | #c2c2c2e7 | — |
| meta.parameter.type.variable, variable.parameter, variable.name, variable.other, variable, string.constant.other.placeholder | #F9FBFC | — |
| prototype | #F9FBFC | — |
| storage.type.class | #c2c2c2e7 | — |
| punctuation | #c2c2c2e7 | — |
| punctuation.quoted | #c2c2c2e7 | — |
| punctuation.quasi | #c2c2c2e7 | — |
| punctuation.accessor, keyword.operator.accessor | #F9FBFC | — |
| *url*, *link*, *uri* | — | underline |
| text.haml, string.quoted.double.ruby, meta.section.attributes.plain.haml | #F9FBFC | — |
| meta.section.attributes.plain.haml, entity.name.tag, meta.tag.haml | #c2c2c2e7 | — |
| support.type.python, meta.function.python, meta.function-call.python, entity.name.function.python, meta.function-call.generic, meta.function-call.arguments, constant.other.caps | #F9FBFC | — |
| storage.type.function.python, storage.modifier.declaration, storage.type.class.python, entity.name.function.decorator | #c2c2c2e7 | — |
| keyword.operator.logical | #c2c2c2e7 | — |
| punctuation.definition.logical-expression | #c2c2c2e7 | — |
| string.inperpolated.dollar.shell | #c2c2c2e7 | — |
| string.interpolated.dollar.shell, string.interpolated.backtick.shell | #c2c2c2e7 | — |
| keyword.control.directive | #c2c2c2e7 | — |
| support.function.C99 , keyword.control.c | #F9FBFC | — |
| meta.scope.prerequisites | #fabd2f | — |
| entity.name.function.target | #b8bb26 | bold |
| keyword.other.import.java, comment.block.javadoc variable.parameter.java, source.java variable.other.object, source.java variable.other.definition.java, storage.modifier.import.java, storage.modifier.package.java, punctuation.separator.period | #F9FBFC | — |
| keyword.other.package.java, keyword.other.import.java, storage.type.java, storage.type.annotation, keyword.other.documentation.javadoc | #c2c2c2e7 | — |
| meta.function-parameters.lisp | #fabd2f | — |
| markup.underline | — | underline |
| string.other.link.title.markdown | #F9FBFC | underline |
| markup.underline.link | #F9FBFC | — |
| markup.bold | #F9FBFC | bold |
| markup.heading | #F9FBFC | bold |
| markup.italic | — | italic |
| markup.inserted | #F9FBFC | — |
| markup.deleted | #F9FBFC | — |
| markup.changed | #F9FBFC | — |
| markup.punctuation.quote.beginning | #c2c2c2e7 | — |
| markup.punctuation.list.beginning | #c2c2c2e7 | — |
| markup.inline.raw, markup.fenced_code.block | #F9FBFC | — |
| string.quoted.double.interpolated.ruby, source.ruby.embedded.haml, meta.line.ruby.haml, tring.quoted.double.ruby | #F9FBFC | — |
| string.quoted.double.json | #F9FBFC | — |
| source.json meta.structure.dictionary.json support.type.property-name.json | #F9FBFC | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #F9FBFC | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #F9FBFC | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #F9FBFC | — |
| support.function.name.sass | #F9FBFC | — |
| entity.other.attribute-name.pseudo-class.css.sass, meta.property-list.css.sass, keyword.other.unit.css.sass | #c2c2c2e7 | — |
| entity.other.attribute-name.css, support.property-value, constant.rgb-value, support.property-value.scss, constant.rgb-value.scss, source.css support.function.transform, source.css support.function.timing-function, source.css support.function.misc, entity.other.attribute-name.class, punctuation.definition.entity, support.type.property-name.css, source.css meta.selector | #F9FBFC | — |
| entity.name.tag.css, punctuation.definition.entity.css, entity.other.attribute-name.pseudo-class.css, keyword.other.unit.px.css, keyword.other.unit.em.css, keyword.other.unit.rem.css, keyword.other.unit.percentage.css, keyword.other.unit.deg.css, entity.other.attribute-name.pseudo-element.css | #c2c2c2e7 | — |
| string.quoted.double.html | #F9FBFC | — |
| support.type.object.html-attribute, punctuation.definition.tag.end.html, punctuation.definition.tag, cast.expr, text.html entity.name.tag, text.html punctuation.tag | #c2c2c2e7 | — |
| #F9FBFC | — | |
| string.regexp.angular-interpolation.begin, string.regexp.angular-interpolation.end, meta.directive.angular, text.html.angular | #c2c2c2e7 | — |
| support.type.object, variable.language.self.js | #F9FBFC | — |
| source.js variable.language | #c2c2c2e7 | — |
| meta.decorator.ts, meta.objectliteral.ts, variable.other.object.ts | #F9FBFC | — |
| source.ts variable.language, punctuation.definition.string.begin.ts, punctuation.definition.string.end.ts | #c2c2c2e7 | — |
| source.go storage.type | #c2c2c2e7 | — |
| source.go entity.name.import | #F9FBFC | — |
| punctuation.other.period | #F9FBFC | — |
| source.go keyword.package, source.go keyword.import | #c2c2c2e7 | — |
| source.go keyword.interface, source.go keyword.struct | #c2c2c2e7 | — |
| source.go entity.name.type | #F9FBFC | — |
| source.go entity.name.function | #F9FBFC | — |
| keyword.control.cucumber.table | #F9FBFC | — |
| source.reason string.double | #F9FBFC | — |
| source.reason keyword.control.less | #c2c2c2e7 | — |
| source.reason entity.name.function | #F9FBFC | — |
| source.reason support.property-value, source.reason entity.name.filename | #F9FBFC | — |
| source.powershell variable.other.member.powershell | #F9FBFC | — |
| source.powershell support.function.powershell | #c2c2c2e7 | — |
| keyword.control.powershell | #F9FBFC | — |
| source.powershell support.function.attribute.powershell | #F9FBFC | — |
| source.powershell meta.hashtable.assignment.powershell variable.other.readwrite.powershell | #c2c2c2e7 | — |
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}!`;
}