Lucario Theme
Publisher: Víctor González PrietoThemes in package: 1
Darkish theme for the 80% use case.
Darkish theme for the 80% use case.
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 | #5c98cd | — |
| string | #e6db74 | — |
| constant.numeric | #ca94ff | — |
| constant.language | #ca94ff | — |
| constant.character, constant.other | #ca94ff | — |
| constant | #ca94ff | — |
| variable.other.readwrite.instance | #ffab28 | — |
| constant.character.escaped, constant.character.escape, string.source, string.source.ruby | #ca94ff | — |
| keyword | #ff6541 | — |
| storage | #ff6541 | |
| storage.type | #66d9ef | — |
| entity.name.class | #72c05d | underline |
| entity.other.inherited-class | #72c05d | underline |
| entity.name.function | #72c05d | |
| variable.parameter | #ffab28 | italic |
| entity.name.tag | #ff6541 | — |
| punctuation.definition.tag.xml | #f8f8f280 | — |
| entity.other.attribute-name, markup.heading | #72c05d | |
| support.function | #66d9ef | |
| support.constant | #66d9ef | |
| support.type, support.class | #66d9ef | — |
| support.other.variable, variable.unordered, variable.ordered | #ffab28 | |
| invalid | #f8f8f0 | |
| invalid.deprecated | #f8f8f0 | — |
| meta.diff, meta.diff.header | #75715e | — |
| markup.deleted | #f92672 | — |
| markup.inserted | #a6e22e | — |
| markup.changed | #f0cc04 | — |
| markup.bold, markup.italic | #ff6541 | — |
| markup.raw | #66d9ef | — |
| markup.heading.markdown | — | bold |
| markup.bold.markdown | — | bold |
| markup.italic.markdown | — | italic |
| punctuation.definition.raw.markdown, markup.inline.raw.string.markdown | #ffab28 | — |
| markup.fenced_code.block.markdown punctuation.definition.markdown, punctuation.definition.quote.begin.markdown, meta.separator.markdown | #ca94ff | — |
| text.html.markdown fenced_code.block.language | #ca94ff | — |
| markup.quote.markdown meta.paragraph.markdown | #f8f8f2c0 | — |
| punctuation.definition.strikethrough.markdown | #ff6541 | — |
| markup.strikethrough.markdown | #f8f8f280 | — |
| text.html.markdown string.other.link, text.html.markdown punctuation.definition.link | #e6db74 | — |
| text.html.markdown markup.underline.link, punctuation.definition.metadata.markdown | #66d9ef90 | — |
| meta.link.inet.markdown markup.underline.link.markdown, meta.link.inet.markdown punctuation.definition.link.markdown | #66d9ef | — |
| text.html.markdown punctuation.definition.list.begin | #ca94ff | — |
| text.html.markdown constant.character.entity.named | #ca94ff | — |
| punctuation.definition.tag.xml.plist, constant.name.xml | #f8f8f2 | — |
| entity.name.tag.yaml | #66d9ef | — |
| entity.name.type.anchor.yaml, punctuation.definition.anchor.yaml | #f8f8f2 | — |
| variable.other.alias.yaml, punctuation.definition.alias.yaml | #ffab28 | — |
| source.yaml punctuation.definition.string | #f8f8f2 | — |
| storage.type.tag-handle.yaml | #ff6541 | — |
| punctuation.definition.directive.begin.yaml, meta.directive.yaml keyword.other.directive, meta.directive.yaml constant.numeric, meta.directive.yaml storage.type, meta.directive.yaml support.type | #72c05d | — |
| source.yaml keyword.control.flow.block-scalar, storage.modifier.chomping-indicator.yaml | #f8f8f2 | — |
| variable.other.block.ruby | #ffab28 | — |
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}!`;
}