UwUstyl
Publisher: Finn LinnThemes in package: 1
Just trying to make my vs code prettier
Just trying to make my vs code prettier
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 |
|---|---|---|
| — | #c7c5c8 | — |
| meta.embedded, source.groovy.embedded | #c7c5c8 | — |
| comment | #9a999b | |
| string | #3aa894 | |
| string source | #e6b4ff | |
| constant.numeric | #dfa0ff | |
| constant.language | #408080 | |
| constant.character, constant.other | #8080FF | |
| keyword | #dfa0ff | |
| support | #9344c7 | |
| storage | #9872A2 | |
| entity.name.class, entity.name.type, entity.name.namespace, entity.name.scope-resolution | #74009b | |
| entity.other.inherited-class | #9344c7 | |
| entity.name.function | #910b98 | |
| variable.parameter | #dfa0ff | |
| entity.name.tag | #9872A2 | |
| entity.other.attribute-name | #9872A2 | |
| support.function | #9872A2 | |
| keyword | #686768 | |
| variable.other, variable.js, punctuation.separator.variable | #dfa0ff | |
| punctuation.section.embedded -(source string source punctuation.section.embedded), meta.brace.erb.html | #0faba1 | |
| invalid | #910b98 | |
| variable.other.php, variable.other.normal | #dfa0ff | |
| meta.function-call.object | #9872A2 | |
| variable.other.property | #9872A2 | |
| keyword.control, keyword.operator.new.cpp, keyword.operator.delete.cpp, keyword.other.using, keyword.other.operator | #9872A2 | |
| meta.tag | #3fe7e7 | |
| entity.name.tag | #dfa0ff | |
| meta.doctype, meta.tag.sgml-declaration.doctype, meta.tag.sgml.doctype | #3aa894 | |
| meta.tag.inline source, text.html.php.source | #3aa894 | |
| meta.tag.other, entity.name.tag.style, entity.name.tag.script, meta.tag.block.script, source.js.embedded punctuation.definition.tag.html, source.css.embedded punctuation.definition.tag.html | #9872A2 | |
| entity.other.attribute-name, meta.tag punctuation.definition.string | #3fe7e7 | |
| meta.tag string -source -punctuation, text source text meta.tag string -punctuation | #dfa0ff | |
| punctuation.section.embedded -(source string source punctuation.section.embedded), meta.brace.erb.html | #3fe7e7 | |
| meta.toc-list.id | #3aa894 | — |
| string.quoted.double.html, punctuation.definition.string.begin.html, punctuation.definition.string.end.html, punctuation.definition.string.end.html source, string.quoted.double.html source | #3aa894 | |
| punctuation.definition.tag.html, punctuation.definition.tag.begin, punctuation.definition.tag.end | #dfa0ff | |
| meta.selector.css entity.other.attribute-name.id | #9872A2 | |
| support.type.property-name.css | #686768 | |
| meta.property-group support.constant.property-value.css, meta.property-value support.constant.property-value.css | #9344c7 | |
| variable.language.js | #910b98 | — |
| punctuation.definition.template-expression, punctuation.section.embedded.coffee | #e6b4ff | — |
| meta.template.expression | #c7c5c8 | — |
| meta.function-call.object.php | #3fe7e7 | |
| punctuation.definition.string.end.php, punctuation.definition.string.begin.php | #3aa894 | — |
| source.php.embedded.line.html | #686768 | — |
| punctuation.section.embedded.begin.php, punctuation.section.embedded.end.php | #e6b4ff | |
| constant.other.symbol.ruby | #3aa894 | |
| variable.language.ruby | #3fe7e7 | |
| keyword.other.special-method.ruby | #ad5ed8 | |
| punctuation.section.embedded.begin.ruby, punctuation.section.embedded.end.ruby | #e6b4ff | — |
| keyword.other.DML.sql | #3fe7e7 | |
| meta.diff, meta.diff.header | #ddeaed | italic |
| markup.deleted | #db35e7 | |
| markup.changed | #910b98 | |
| markup.inserted | #219186 | — |
| markup.quote | #9872A2 | — |
| markup.list | #3aa894 | — |
| markup.bold, markup.italic | #dfa0ff | — |
| markup.inline.raw | #FF0080 | |
| markup.heading | #3fe7e7 | — |
| markup.heading.setext | #3fe7e7 | |
| markup.heading.markdown | — | bold |
| markup.quote.markdown | italic | |
| markup.bold.markdown | — | bold |
| string.other.link.title.markdown,string.other.link.description.markdown | #AE81FF | — |
| markup.underline.link.markdown,markup.underline.link.image.markdown | — | |
| markup.italic.markdown | — | italic |
| markup.strikethrough | — | strikethrough |
| markup.list.unnumbered.markdown, markup.list.numbered.markdown | — | |
| punctuation.definition.list.begin.markdown | — | |
| token.info-token | #6796e6 | — |
| token.warn-token | #69e6f1 | — |
| token.error-token | #db35e7 | — |
| token.debug-token | #b267e6 | — |
| variable.language | #9344c7 | — |
TypeScript sample highlighted with this variant's colors and tokenColors.
Loading...
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}!`;
}
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}!`;
}