Tiny Light
Publisher: luqiminThemes in package: 1
BEST FOR YOUR EYES!
BEST FOR YOUR EYES!
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 |
|---|---|---|
| — | #3e4b53 | — |
| console.error | #ca0000ff | — |
| console.input | #00ae50ff | — |
| console.prompt | #b651bcff | bold |
| console.warning | #cd6600ff | — |
| console.debug | #5d6666ff | — |
| hyperlink | #0d1171ff | — |
| string | #248C85 | — |
| property | #934b3cff | — |
| constant | #9b1cebff | — |
| constant.other.placeholder.py | #7b0000ff | — |
| entity | #cc3611ff | — |
| entity.other.inherited-class | #000000ff | — |
| entity.name.function | #db7800ff | — |
| keyword | #577909 | — |
| keyword.control, keyword.other.rust | #577909 | bold |
| storage | #577909 | — |
| token.storage.js,token.storage.ts | #577909 | bold |
| meta.selector | #577909 | bold |
| support, support.type, meta.property-name | #3c7a03ff | — |
| variable | #499504 | — |
| variable.parameter | #a57800ff | — |
| invalid.deprecated | #333333ff | underline,bold |
| invalid.illegal | #333333ff | — |
| string.regexp, string.regexp.character-class | #cf5628ff | — |
| string.regexp constant.character.escape | #811f24ff | — |
| support.constant | #c44f00ff | — |
| support.variable | #295502ff | — |
| entity.name.namespace, entity.name.scope-resolution, entity.name.class.identifier.namespace.type, support.class | #a57800 | — |
| entity.name.type.namespace, entity.name.type | #268BD2 | — |
| entity.name.type.class, entity.name.class | #268bd2 | bold |
| meta.embedded, source.groovy.embedded | #657B83 | — |
| meta.image.inline.markdown | #373224 | — |
| markup.underline.link.image.markdown | #1564E6 | — |
| string.other.link.description.image.title.markdown | #EA465C | — |
| text.html.markdown | #499504 | — |
| comment | #93A1A1 | italic |
| punctuation.definition.comment | #93A1A1 | italic |
| comment.conditional.keyword | #859900 | — |
| comment.conditional.define | #268BD2 | bold |
| string.other.link.description.markdown | #EA465C | — |
| string.other.link.title.markdown | #1A9F00 | — |
| string.regexp | #D30102 | — |
| constant.numeric | #D33682 | — |
| variable.language, variable.scss | #268BD2 | — |
| punctuation.definition.variable | #859900 | — |
| beginning.punctuation.definition.list.markdown | #4E3B00 | — |
| punctuation.definition.todo.markdown | #E60000 | — |
| beginning.punctuation.definition.numbered.list.markdown | #4E759D | — |
| punctuation.section.embedded.begin, punctuation.section.embedded.end | #D30102 | — |
| constant.language, meta.preprocessor | #B58900 | — |
| support.function.construct, keyword.other.new | #D30102 | — |
| constant.character, constant.other | #CB4B16 | — |
| entity.other.inherited-class | — | — |
| variable.parameter | — | — |
| entity.name.tag | #2367C7 | — |
| punctuation.definition.tag.begin, punctuation.definition.tag.end, punctuation.definition.tag | #2367C7 | — |
| entity.other.attribute-name | #cb2d01 | — |
| support.function | #268BD2 | — |
| punctuation.separator.continuation | #D30102 | — |
| support.type.exception | #CB4B16 | — |
| meta.diff, meta.diff.header | #E0EDDD | italic |
| markup.deleted | #dc322f | |
| markup.underline.link.markdown | #1564E6 | — |
| markup.changed | #cb4b16 | |
| markup.inserted | #219186 | — |
| markup.quote.markdown | #C05384 | italic |
| markup.list.numbered.markdown | #35485c | — |
| markup.list.unnumbered.markdown | #8d634a | — |
| markup.fenced_code.block.markdown | #325390 | italic|filled |
| text.html.markdown markup.list.numbered.markdown meta.paragraph.markdown markup.bold.markdown, text.html.markdown markup.list.numbered.markdown meta.paragraph.markdown markup.bold.markdown punctuation.definition.bold.markdown | #35485c | bold |
| text.html.markdown meta.paragraph.markdown markup.bold.markdown, text.html.markdown meta.paragraph.markdown markup.bold.markdown punctuation.definition.bold.markdown | #373224 | bold |
| text.html.markdown markup.heading.h1.markdown entity.name.section.markdown markup.bold.markdown, text.html.markdown markup.heading.h1.markdown entity.name.section.markdown markup.bold.markdown punctuation.definition.bold.markdown | #154431 | bold |
| text.html.markdown markup.heading.h2.markdown entity.name.section.markdown markup.bold.markdown, text.html.markdown markup.heading.h2.markdown entity.name.section.markdown markup.bold.markdown punctuation.definition.bold.markdown | #10642c | bold |
| text.html.markdown markup.heading.h3.markdown entity.name.section.markdown markup.bold.markdown, text.html.markdown markup.heading.h3.markdown entity.name.section.markdown markup.bold.markdown punctuation.definition.bold.markdown | #09734f | bold |
| text.html.markdown markup.heading.h4.markdown entity.name.section.markdown markup.bold.markdown, text.html.markdown markup.heading.h4.markdown entity.name.section.markdown markup.bold.markdown punctuation.definition.bold.markdown | #15936d | bold |
| text.html.markdown markup.quote.markdown meta.paragraph.markdown markup.bold.markdown, text.html.markdown markup.quote.markdown meta.paragraph.markdown markup.bold.markdown punctuation.definition.bold.markdown | #C05384 | bold|italic |
| text.html.markdown markup.list.unnumbered.markdown meta.paragraph.markdown markup.bold.markdown, text.html.markdown markup.list.unnumbered.markdown meta.paragraph.markdown markup.bold.markdown punctuation.definition.bold.markdown | #8d634a | bold |
| markup.bold.markdown | — | bold |
| markup.italic.markdown | — | italic |
| markup.dividingline.markdown | #B7AF94 | — |
| markup.commondividingline.markdown | #2B2922 | — |
| markup.inline.raw.string.markdown | #db0eb7 | |
| markup.heading.h1.markdown | #154431 | bold |
| markup.heading.h2.markdown | #10642c | bold |
| markup.heading.h3.markdown | #09734f | bold |
| markup.heading.h4.markdown | #15936d | bold |
| markup.heading.setext | #268BD2 |
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}!`;
}