Flare Theme
Publisher: PyxelThemes in package: 1
A minimal dark theme based on Min Dark and Railgun.
A minimal dark theme based on Min Dark and Railgun.
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.comment | #5f5f5f | — |
| keyword.operator | #FF8F2E | — |
| punctuation, delimiter, bracket, brace, paren, delimiter.tag, punctuation.tag, tag.html, tag.xml, meta.property-value punctuation.separator.key-value,punctuation.definition.metadata.md, string.link.md, meta.brace | #7f7b66 | — |
| string, meta.property-value.string, support.constant.property-value.string, meta.structure.dictionary.value.json string.quoted.double.json, meta.structure.dictionary.json string.quoted.double.json, meta.preprocessor string | #cc7f66 | — |
| constant.numeric, meta.property-value.numeric, support.constant.property-value.numeric, meta.property-value.color, support.constant.property-value.color,constant.language | #DB9833 | — |
| constant.character, constant.other,entity.name.function, entity.name.class, entity.other.inherited-class, entity.other.attribute-name, entity.name, entity.other.attribute-name, entity.other.attribute-name.html, support.type.property-name, entity.name.tag.table, meta.structure.dictionary.json string.quoted.double.json | #798283 | — |
| keyword, meta.property-value.keyword, support.constant.property-value.keyword, meta.preprocessor.keyword,keyword.other.use, keyword.other.function.use, keyword.other.namespace, keyword.other.new, keyword.other.special-method, keyword.other.unit, keyword.other.use-as | #ea603e | — |
| storage, storage.type, storage.type.ts, storage.type.var.ts, storage.type.js, storage.type.var.js, storage.type.const.ts, storage.type.let.ts, storage.type.let.js, storage.type.const.js, entity.name.tag | #FFC62F | — |
| meta.ptr, meta.pointer, meta.address, meta.array.cxx | #EBA96C | — |
| meta.preprocessor | #798283 | |
| support.type, support.class, support.function, support.constant | #FF8F2E | — |
| invalid | #f8f8f0 | |
| invalid.deprecated | #f8f8f0 | — |
| meta.diff, meta.diff.header | #75715E | — |
| markup.deleted | #F85931 | — |
| markup.inserted | #A6E22E | — |
| markup.changed | #E6DB74 | — |
| punctuation.definition.heading.md, entity.name.type.md, beginning.punctuation | #798283 | — |
| markup.heading, entity.name.section | #FFC62F | bold |
| markup.raw, markup.inline.raw, markup.fenced, markup.fenced_code | #cc7f66 | — |
| markup.link, string.other.link.title, string.other.link.description, meta.link.inline, meta.image.inline | #798283 | — |
| variable.language.makefile, variable.other.makefile | #798283 | — |
| markup.italic | — | italic |
| markup.bold | — | bold |
| entity.other.attribute-name.class.css | #FF8F2E | — |
| entity.name.tag.css | #FFC62F | |
| meta.property-name.css | #798283 | italic |
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}!`;
}