Hatsune Miku VS Code Theme
Publisher: vauxeThemes in package: 2
A VS Code color theme traced from Hatsune Miku's character design. Dark and light variants, built with perceptual color science.
A VS Code color theme traced from Hatsune Miku's character design. Dark and light variants, built with perceptual color science.
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 | #8DC6B6 | italic |
| comment.block.documentation, comment.line.documentation, comment.block.javadoc, storage.type.class.jsdoc | #85BCAD | italic |
| keyword.control | #66F3D3 | — |
| storage.type | #66F3D3 | — |
| storage.modifier | #66F3D3 | — |
| keyword.declaration, keyword.declaration.function, keyword.declaration.class, keyword.declaration.type | #66F3D3 | — |
| keyword.other, keyword.other.unit | #66F3D3 | — |
| keyword.operator, keyword.operator.ternary | #FFB7FF | — |
| keyword.operator.new, keyword.operator.expression, keyword.operator.spread, keyword.operator.rest | #66F3D3 | — |
| punctuation.separator, punctuation.terminator, punctuation.accessor | #7AD7C0 | — |
| entity.name.function, meta.function-call, meta.function-call.generic | #FFC39B | — |
| support.function, support.function.console, support.function.builtin | #FFC492 | — |
| entity.name.function.member, meta.method.declaration, meta.function.method | #FFC39B | — |
| meta.function-call.arguments, meta.function.arguments | #27F1FC | — |
| entity.name.type.class, entity.name.class | #E9D27B | — |
| entity.name.type.struct | #E4D28E | — |
| support.class | #E9D27B | — |
| support.type | #C9D0FF | — |
| entity.name.type.interface, entity.name.interface | #8DF0B1 | — |
| entity.name.type.enum, entity.name.enum | #E9D27B | — |
| entity.name.type, support.type.primitive, support.type.builtin | #C9D0FF | — |
| entity.name.type.parameter | #CDD3FF | — |
| entity.name.type.alias, entity.name.type.type-alias | #C9D0FF | — |
| entity.name.type.namespace, entity.name.namespace, entity.name.type.module | #C9D0FF | — |
| support.module, support.module.node | #C9D0FF | — |
| variable, meta.definition.variable.name | #27F1FC | — |
| variable.other.property, variable.other.object.property, variable.other.member, meta.object-literal.key | #FFBECD | — |
| variable.parameter, variable.parameter.function | #FFBECD | — |
| variable.other.constant, constant.language | #96E0FF | — |
| support.constant, constant.other | #96E0FF | — |
| variable.language, variable.language.this, variable.language.self | #66F3D3 | italic |
| support.variable, support.variable.property | #69EBF3 | — |
| string, string.quoted.double, string.quoted.single, string.quoted.triple, string.quoted.other | #BCE498 | — |
| string.template, string.interpolated | #BCE498 | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #BCE498 | — |
| punctuation.definition.template-expression, meta.template.expression | #FFB7FF | — |
| constant.numeric | #A8DEFF | — |
| constant.language.boolean, constant.language.true, constant.language.false | #A8DEFF | — |
| constant.language.null, constant.language.undefined | #A8DEFF | — |
| string.regexp, constant.regexp | #B7E888 | — |
| constant.character.escape | #FFBECD | — |
| meta.decorator, entity.name.function.decorator, punctuation.decorator | #F5C1FF | — |
| entity.other.attribute-name | #FFBECD | — |
| entity.name.tag, punctuation.definition.tag | #FAC8AA | — |
| entity.other.attribute-name.html, entity.other.attribute-name.jsx | #FFBECD | — |
| punctuation.section.embedded.jsx | #FFB7FF | — |
| markup.heading, entity.name.section | #FFC492 | bold |
| markup.bold | #FFC492 | bold |
| markup.italic | #69EBF3 | italic |
| emphasis | — | italic |
| strong | — | bold |
| markup.underline.link, string.other.link | #C9D0FF | — |
| markup.inline.raw, markup.raw.block, fenced_code.block.language | #27F1FC | — |
| markup.quote | #69EBF3 | italic |
| markup.list, punctuation.definition.list.begin.markdown | #8DF0B1 | — |
| support.type.property-name.json | #FFBECD | — |
| string.quoted.double.json | #BCE498 | — |
| punctuation.support.type.property-name.json, punctuation.definition.string.json | #7AD7C0 | — |
| entity.name.tag.yaml, support.type.property-name.yaml | #FFBECD | — |
| entity.name.type.anchor.yaml, punctuation.definition.anchor.yaml, variable.other.alias.yaml, punctuation.definition.alias.yaml | #F5C1FF | — |
| constant.other.timestamp.yaml | #A8DEFF | — |
| keyword.other.directive.yaml, punctuation.definition.directive.yaml | #66F3D3 | — |
| keyword.other.DML.sql, keyword.other.dml.sql | #66F3D3 | — |
| keyword.other.DDL.sql, keyword.other.ddl.sql, keyword.other.create.sql | #66F3D3 | — |
| keyword.other.sql, keyword.other.order.sql, keyword.other.alias.sql | #66F3D3 | — |
| support.function.sql, support.function.aggregate.sql | #FFC39B | — |
| entity.name.function.sql, constant.other.table-name.sql | #E9D27B | — |
| storage.type.sql, support.type.sql | #C9D0FF | — |
| entity.name.tag.css, entity.other.attribute-name.class.css | #FAC8AA | — |
| support.type.property-name.css, meta.property-name.css | #FFBECD | — |
| support.constant.property-value.css, meta.property-value.css | #BCE498 | — |
| keyword.other.unit.css | #A8DEFF | — |
| constant.rgb-value, constant.other.color, support.constant.color | #B7E888 | — |
| variable.scss, variable.sass | #27F1FC | — |
| entity.other.attribute-name.id.css | #FFC492 | — |
| punctuation.section.embedded.php, keyword.other.phpdoc.php | #66F3D3 | — |
| variable.other.php, punctuation.definition.variable.php | #27F1FC | — |
| support.function.php, support.function.construct.php | #FFC39B | — |
| entity.other.inherited-class, support.class.php | #E9D27B | — |
| constant.other.symbol.ruby, punctuation.definition.symbol.ruby | #96E0FF | — |
| variable.other.readwrite.instance.ruby | #FFBECD | — |
| variable.other.readwrite.class.ruby | #E9D27B | — |
| variable.other.readwrite.global.ruby | #96E0FF | — |
| variable.parameter.function.language.special.self.python | #66F3D3 | italic |
| support.function.magic.python | #FFC39B | — |
| entity.name.function.decorator.python, meta.function.decorator.python | #F5C1FF | — |
| constant.character.format.placeholder.other.python | #FFB7FF | — |
| entity.name.package.go | #C9D0FF | — |
| entity.name.import.go | #BCE498 | — |
| storage.modifier.lifetime.rust, entity.name.lifetime.rust | #66F3D3 | — |
| keyword.other.unsafe.rust | #FF97CD | — |
| entity.name.type.trait.rust | #8DF0B1 | — |
| entity.name.function.macro.rust, meta.macro.rust | #F5C1FF | — |
| keyword.query.linq.cs | #66F3D3 | — |
| keyword.other.await.cs, keyword.other.async.cs | #66F3D3 | — |
| entity.name.type.namespace.cs | #C9D0FF | — |
| meta.attribute.rust, meta.attribute.cs, entity.name.type.attribute.cs, storage.type.annotation.java, punctuation.definition.annotation.java | #F5C1FF | — |
| storage.modifier.package.java | #66F3D3 | — |
| storage.modifier.import.java | #66F3D3 | — |
| entity.name.function.target.makefile | #FFC492 | — |
| entity.name.function.prerequisite.makefile | #FFC39B | — |
| variable.other.makefile, variable.language.makefile | #27F1FC | — |
| support.function.makefile, meta.function-call.makefile | #FFC39B | — |
| keyword.other.special-method.dockerfile | #66F3D3 | — |
| variable.other.normal.shell, variable.other.special.shell | #27F1FC | — |
| string.interpolated.shell, string.interpolated.dollar.shell | #BCE498 | — |
| support.function.builtin.shell | #FFC492 | — |
| meta.preprocessor, meta.preprocessor.macro, entity.name.function.preprocessor | #66F3D3 | — |
| meta.function.parameters, meta.parameters, meta.class.body, meta.class.inheritance, meta.interface.body, meta.namespace.body, meta.object-literal, meta.array.literal, meta.objectliteral, meta.import, meta.export, meta.imports | #27F1FC | — |
| meta.return.type, meta.function.return-type | #C9D0FF | — |
| entity.name.label, entity.name.statement.label | #66F3D3 | — |
| entity.name.constant, entity.name.variable.constant | #96E0FF | — |
| entity.name.section.group-title.ini | #E9D27B | — |
| markup.strikethrough | — | strikethrough |
| markup.table | #7AD7C0 | — |
| punctuation.definition.heading.markdown | #FFCAA1 | — |
| markup.underline | — | underline |
| markup.link.label, string.other.link.title.markdown | #BCE498 | — |
| markup.underline.link.markdown, meta.link.inline.markdown | #C9D0FF | underline |
| markup.inserted | #BCE498 | — |
| markup.deleted | #FF97CD | — |
| markup.changed | #FFC39B | — |
| entity.deprecated, entity.name.deprecated, entity.name.function.deprecated, entity.name.type.deprecated, invalid.deprecated | #C9D0FF | strikethrough |
| invalid, invalid.illegal | #FF97CD | — |
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}!`;
}