PIXEL Theme Dark
Publisher: P1X3L TH3M3Themes in package: 1
Esse tema foi criado para você que busa algo um tanto fora do comum. Então aproveitr meu caro!!
Esse tema foi criado para você que busa algo um tanto fora do comum. Então aproveitr meu caro!!
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 |
|---|---|---|
| comment, punctuation.definition.comment | #D7E4FF46 | italic |
| variable, string constant.other.placeholder | #A4B1CD | — |
| string constant.other.placeholder | #C5D1EB | — |
| constant.other.color | #FFFFFF | — |
| invalid, invalid.illegal | #FF8484 | — |
| keyword, storage.type, storage.modifier | #FF8484 | — |
| constant.other.color, punctuation, meta.tag, punctuation.definition.tag, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.section.embedded, keyword.other.template, keyword.other.substitution | #5CECC6 | — |
| keyword.control | #CF8DFB | — |
| markup.deleted.git_gutter | #C5D1EB | — |
| entity.name.tag, meta.tag.sgml | #FF8484 | — |
| markup.deleted.git_gutter | #C5D1EB | — |
| entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method | #FFCC5C | — |
| meta.block variable.other | #C5D1EB | — |
| support.other.variable | #FF8484 | — |
| string.other.link | #FF8484 | — |
| constant.numeric, constant.language, support.constant, constant.character, constant.escape, variable.parameter, keyword.other.unit, keyword.other | #5CB2FF | — |
| string, 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 | #c5f467 | — |
| 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 | #FF8484 | — |
| entity.name, entity.other.inherited-class | #ffffff | — |
| 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 | #FF8484 | — |
| support.type | #A4B1CD | — |
| 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 | #A4B1CD | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #FF8484 | — |
| variable.language | #FF8484 | italic |
| entity.name.method.js | #5CB2FF | italic |
| meta.class-method.js entity.name.function.js, variable.function.constructor | #FF8484 | — |
| entity.other.attribute-name | #5CB2FF | — |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #FFCC5C | italic |
| entity.other.attribute-name.class | #5CB2FF | — |
| source.sass keyword.control | #5CB2FF | — |
| markup.inserted | #f48f67 | — |
| markup.deleted | #FF8484 | — |
| markup.changed | #CF8DFB | — |
| string.regexp | #5CB2FF | — |
| constant.character.escape | #5CB2FF | — |
| *url*, *link*, *uri* | — | underline |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #5CB2FF | italic |
| source.js constant.other.object.key.js string.unquoted.label.js | #FF8484 | italic |
| source.json meta.structure.dictionary.json support.type.property-name.json | #CF8DFB | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #5CB2FF | — |
| 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 | #5CB2FF | — |
| 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 | #FF8484 | — |
| 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 meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #FF68B3 | — |
| 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 meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #5CB2FF | — |
| 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 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 | #FF8484 | — |
| 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 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 meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #CF8DFB | — |
| 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 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 meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #f48f67 | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #A4B1CD | — |
| text.html.markdown markup.inline.raw.markdown | #CF8DFB | — |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #313F55 | — |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #f48f67 | — |
| markup.italic | #FF8484 | italic |
| markup.bold, markup.bold string | #ff009d | — |
| 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 | #FF8484 | bold |
| markup.underline | #FF8484 | underline |
| markup.quote punctuation.definition.blockquote.markdown | #1A2332 | — |
| markup.quote | — | italic |
| string.other.link.title.markdown | #5CB2FF | — |
| string.other.link.description.title.markdown | #CF8DFB | — |
| constant.other.reference.link.markdown | #5CB2FF | — |
| markup.raw.block | #CF8DFB | — |
| markup.raw.block.fenced.markdown | #00000050 | — |
| punctuation.definition.fenced.markdown | #00000050 | — |
| markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end | #A4B1CD | — |
| variable.language.fenced.markdown | #313F55 | — |
| meta.separator | #313F55 | bold |
| markup.table | #A4B1CD | — |
| token.info-token | #5CB2FF | — |
| token.warn-token | #FFCC5C | — |
| token.error-token | #FF8484 | — |
| token.debug-token | #CF8DFB | — |
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}!`;
}