NillsColor
Publisher: Nillem CaldinThemes in package: 2
Like the others themes but better, more relaxing
Like the others themes but better, more relaxing
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, keyword | #62d2ffe3 | — |
| storage.type, storage.modifier | #aa7099b0 | — |
| variable, string constant.other.placeholder, punctuation.definition.interpolation.end.bracket.curly.scss, punctuation.definition.interpolation.begin.bracket.curly.scss | — | bold |
| punctuation.definition.interpolation.end.bracket.curly.scss, punctuation.definition.interpolation.begin.bracket.curly.scss | #7FBAFF | — |
| constant.other.php | #62D3FF | — |
| constant.other.color | #E0FFFD | — |
| invalid, invalid.illegal | #43F5F5 | — |
| Storage | — | italic |
| constant.other.color, punctuation.definition.tag, punctuation, punctuation.separator.inheritance.php, punctuation.definition.tag, punctuation.section.embedded, keyword.other.template, keyword.other.substitution, entity.name.tag.reference.scss | #25d2c1c7 | — |
| punctuation.definition.tag.begin, punctuation.definition.tag.end, entity.name.type.module | #8893FF | — |
| keyword.control.at-rule, punctuation.terminator.rule, keyword.control.operator, punctuation.definition.entity, keyword.operator.assignment, punctuation.separator.comma, punctuation.definition.string.begin, punctuation.definition.string.end, punctuation.definition.binding-pattern.object | #A9F9F6 | — |
| punctuation.definition | #A7A8AF | — |
| keyword.control | #4ddfc2b5 | bold |
| comment.line.double-slash, punctuation.definition.comment, comment.line, comment.block. | #826969 | — |
| text.html.derivative | #a5a5b1 | — |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #8472d1 | — |
| string | #9f6f3e | bold |
| entity.name.tag | #c54e91c2 | bold |
| meta | #1e81a3 | — |
| variable.parameter, variable.parameter.keyframe-list | #62D3FF | — |
| variable.other.object, storage.type, string.other.link.title.markdown | #8893FF | |
| variable.other.constant, variable.other.object.property, markup.fenced_code.block.markdown, markup.inline.raw.string.markdown, variable.function, keyword.other.special-method, entity.name.type, markup.bold, markup.bold.markdown, markup.italic.markdown, meta.class-method entity.name.function, variable.function.constructor, entity.name.tag.otherl, entity.name.tag.block.any, keyword.control.import | #b682c8d6 | — |
| entity.name.function.macro, storage.type.function | #d89effc3 | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #e4ffb69d | — |
| constant.numeric, constant.language, constant.character, constant.escape, keyword.other.unit, keyword.other, punctuation.separator.key-value | #9f60ccf8 | — |
| variable.parameter.function.language.special, variable.parameter | #43F5F5 | — |
| constant.other.symbol, constant.other.key, entity.other.inherited-class, keyword.other.unit, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly, constant.other.object.key, string.unquoted.label | #7FBAFF | |
| 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 | #62d2ffbc | — |
| support.type | #B2CCD6 | — |
| support.type.property-name.json, source | #1da9e0b4 | — |
| entity.name.module, variable.import.parameter, variable.other.class | #43F5F5 | — |
| entity.name.method, tag.decorator entity.name.tag, tag.decorator punctuation.definition.tag | #74FFCD | italic |
| entity.other.attribute-name, support.function | #62D3FF | — |
| entity.other.attribute-name.id, entity.other.attribute-name.class, entity.other.attribute-name.pseudo-class, entity.name.tag.css, keyword.control.conditional, support.constant, entity.other.attribute-name, meta.object-literal.key | #4afff9ad | — |
| markup.inserted | #7FBAFF | — |
| markup.deleted | #43F5F5 | — |
| markup.changed | #62D3FF | — |
| string.regexp | #E4FFB6 | — |
| constant.character.escape | #E4FFB6 | — |
| *url*, *link*, *uri* | — | underline |
| text.html.markdown markup.inline.raw.markdown | #62D3FF | — |
| text.html.markdown markup.inline.raw.markdown, punctuation.definition.raw.markdown | #2C8EFF50 | — |
| 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 | #8893FF | bold |
| markup.underline | #74FFCD | underline |
| markup.strike | — | |
| markup.quote punctuation.definition.blockquote.markdown | #2C8EFF50 | — |
| markup.quote | — | italic |
| string.other.link.description.title.markdown | #62D3FF | — |
| constant.other.reference.link.markdown | #62D3FF | — |
| markup.raw.block | #62D3FF | — |
| punctuation.definition.raw.markdown, punctuation.definition.markdown | #E4FFB6 | — |
| variable.language.fenced.markdown | #2C8EFF | — |
| meta.separator | #A7A8AF | bold |
| token.info-token | #2C8EFF | — |
| token.warn-token | #62D3FF | — |
| token.error-token | #FF293B | — |
| token.debug-token | #E4FFB6 | — |
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}!`;
}