pastel-dreamy-theme
Publisher: yuimuicolorThemes in package: 1
A soft pastel theme with dreamy blue, purple, and mint tones for a calm coding experience.
A soft pastel theme with dreamy blue, purple, and mint tones for a calm coding experience.
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 |
|---|---|---|
| constant.other.color, keyword.other.substitution, keyword.other.template, punctuation.section.embedded, punctuation.separator.inheritance.php, punctuation, source | #F699D9 | — |
| support.type.object, constant.other.symbol, constant.other.key, entity.other.inherited-class, markup.heading, markup.inserted.git_gutter, support.type.property-name, variable.graphql, variable.parameter, entity.name.type.class, entity.name.type.interface, entity.name.type.module, support.class.builtin, variable.object.property, meta.object-literal, support.class, entity.name.function.tagged-template | #AEE9F5 | bold |
| markup.italic, meta.property-value, source.css constant, source.css support.constant, source.stylus constant, source.stylus support.constant, string, constant.numeric.css, string.quoted.single, string.template, support.function.console, meta.function-call.object | #BEE7FE | italic |
| entity.name.function | #ECF6FF | underline |
| support.variable.object, constant.language, support.constant, constant.character, constant.escape, keyword.other.unit, keyword.other, entity.name.type.class.php | #F699D9 | italic bold |
| variable.function.constructor, meta.function-call.static | #F699D9 | italic underline bold |
| variable.function, markup.underline.link, meta.function-call | #F699D9 | italic underline |
| constant.numeric.decimal, constant.other.reference.link.markdown, entity.other.attribute-name.class, entity.other.inherited-class, punctuation.section.embedded, 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, source.stylus string, entity.name.type.instance, meta.type.object.graphql, punctuation.definition.tag, entity.name.fragment.graphql, meta.function.php, variable.other.php | #EBEA8B | |
| variable.parameter.graphql, support.function.magic, storage.type.shape | #EBEA8B | italic |
| 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 | #EBEA8B | bold |
| meta.property.object, string.other.link.title.markdown, 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, 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, support.type, string.regexp, variable.other, variable.other.bracket.shell, variable.other.readwrite, variable.other.property | #AEE9F5 | |
| variable.other.object, variable.other.readwrite.alias, variable.fragment.graphql, entity.name.type.typedecl | #AEE9F5 | italic |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json, support.class.component, entity.name.tag | #AEE9F5 | bold |
| entity.name.tag, markup.deleted.git_gutter, support.class.component | #AEE9F5 | italic bold |
| #AEE9F5 | italic underline | |
| support.type, variable.other.constant, support.variable.property, 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, string.other.link, meta.property-list.scss, markup.inserted, meta.type.object.graphql, support.type.primitive | #A8F79A | |
| constant.character.escape, entity.name.type, entity.other.attribute-name, support.class.console, support.function, support.type.graphql, storage.type.php | #A8F79A | italic |
| #A8F79A | italic underline | |
| markup.underline | #A8F79A | underline |
| 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, markup.underline, entity.name.tag.css | #A8F79A | bold |
| keyword, punctuation, punctuation.operation.graphql, storage.modifier.php, storage.type | #F699D9 | |
| constant.language, storage.modifier, entity.name.tag.grapahql.js, constant.other | #F699D9 | bold |
| keyword.control, punctuation.definition, keyword.fragment.graphql | #F699D9 | italic |
| keyword.generator.asterisk | #F699D9 | italic bold |
| comment | #A3B5C3 | — |
| punctuation.definition.comment | #A3B5C3 | italic |
| invalid | #6589FF | — |
| meta.embedded, source.groovy.embedded, meta.template.expression | #FFFFFF | — |
| variable, punctuation.definition.variable, support.variable.property.dom, support.variable.dom, support.variable.property, punctuation.separator.parameter, string.interpolated.pug variable | #96EAFF | — |
| comment, punctuation.definition.comment | #BEBEBE | — |
| string, punctuation.definition.string | #BEE7FE | — |
| constant.character.escape | #52ABFF | — |
| keyword, constant.language.import-export-all | #9ED7FF | — |
| entity.name.type, support.type.primitive, support.type.builtin, meta.type.annotation entity.name.type, meta.type.parameters entity.name.type | #FEBEF0 | — |
| keyword.control, keyword.operator, storage, support.type, keyword.operator.expression, keyword.operator.new | #7DC0FF | — |
| entity.name.function, support.class, support.function, new.expr entity.name.type, entity.other.inherited-class | #BF94FF | — |
| punctuation.definition.typeparameters, keyword.operator.type, keyword.operator.optional, punctuation.definition.template-expression, source.tsx punctuation.section.embedded, source.jsx punctuation.section.embedded | #5FBCFF | — |
| constant | #FEBEF0 | — |
| constant.numeric, constant.language | #A3DDFF | — |
| variable.parameter, parameter.variable, meta.function.parameter variable, source.rust meta.type_params.rust | #A0FFFA | — |
| punctuation, meta.brace | #949494 | — |
| variable.language.this, variable.language.special.self | #52ABFF | — |
| comment.block.documentation entity.name.type | #1A9FFF | — |
| variable.language.super | #BF94FF | — |
| meta.tag.metadata.doctype entity.name.tag, meta.tag.metadata.doctype punctuation.definition.tag, meta.tag.metadata.doctype string, meta.tag.metadata.doctype entity.other.attribute-name.html, meta.tag.sgml.doctype | #949494 | — |
| entity.name.tag | #CEB9FF | — |
| meta.tag string | #C8FFE6 | — |
| meta.tag entity.other.attribute-name, entity.other.attribute-name.html | #9ED7FF | — |
| constant.character.entity, punctuation.definition.entity | #E8FFEB | — |
| entity.name.section.markdown, markup.heading.setext | #8ED0FF | — |
| punctuation.definition.list | #9ED7FF | — |
| meta.separator.markdown | #9ED7FF | — |
| markup.inline.raw | #4DA9FF | — |
| markup.bold | — | bold |
| markup.italic | — | italic |
| meta.link punctuation.definition.string, meta.image punctuation.definition.string | #949494 | — |
| link, markup.underline.link, constant.other.reference.link.markdown | #BF94FF | — |
| markup.quote | #C2FFC9 | — |
| entity.name.tag.css, entity.name.tag.wildcard | #BEFEE0 | — |
| entity.other.attribute-name.class, entity.other.attribute-name punctuation.definition.entity | #9ED7FF | — |
| entity.other.attribute-name.pseudo-element, entity.other.attribute-name.pseudo-class, constant.other.color | #52ABFF | — |
| entity.other.attribute-name.id, entity.other.attribute-name.id punctuation.definition.entity | #BF94FF | — |
| source.css constant.numeric, source.less constant.numeric, source.scss constant.numeric | #BEFEE0 | — |
| meta.property-name, support.type.property-name | #CCFFD2 | — |
| meta.property-value, meta.property-value constant.other, support.constant.property-value | #BF94FF | — |
| variable.parameter.url | #A9FEB3 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #9ED7FF | — |
| entity.name.section | #BF94FF | — |
| support.type.property-name.json | #9ED7FF | — |
| markup.inserted | #F0FFEB | — |
| markup.changed | #399EE6 | — |
| markup.deleted | #F07171 | — |
| meta.diff.header | #399EE6 | — |
| meta.diff.range | #52ABFF | — |
| token.info-token | #6796E6 | — |
| token.warn-token | #ffc964 | — |
| token.error-token | #F44747 | — |
| token.debug-token | #B267E6 | — |
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}!`;
}