Semantic Lunaria
Publisher: ifplusorThemes in package: 4
A family of scientifically-designed, moderate-contrast, semantic color themes
A family of scientifically-designed, moderate-contrast, semantic color themes
Full workbench mockup using this variant's colors and tokenColors.
Workbench UI color keys from the theme JSON colors map.
TextMate scopes and font styles (syntax highlighting rules).
| scope | foreground | fontStyle |
|---|---|---|
| emphasis | — | italic |
| strong | — | bold |
| markup.underline | — | underline |
| markup.bold | #683824 | bold |
| markup.heading | #484069 | bold |
| markup.italic | #554600 | italic |
| beginning.punctuation.definition.list.markdown, beginning.punctuation.definition.quote.markdown, punctuation.definition.link.restructuredtext | #234B69 | — |
| markup.inline.raw, markup.raw.restructuredtext | #2E502E | — |
| markup.underline.link, markup.underline.link.image | #234B69 | — |
| meta.link.reference.def.restructuredtext, punctuation.definition.directive.restructuredtext, string.other.link.description, string.other.link.title | #613651 | — |
| entity.name.directive.restructuredtext, markup.quote | #554600 | italic |
| meta.separator.markdown | #888888 | — |
| fenced_code.block.language, markup.raw.inner.restructuredtext, markup.fenced_code.block.markdown punctuation.definition.markdown | #2E502E | — |
| punctuation.definition.constant.restructuredtext | #484069 | — |
| markup.heading.markdown punctuation.definition.string.begin, markup.heading.markdown punctuation.definition.string.end | #484069 | — |
| meta.paragraph.markdown punctuation.definition.string.begin, meta.paragraph.markdown punctuation.definition.string.end | #444444 | — |
| markup.quote.markdown meta.paragraph.markdown punctuation.definition.string.begin, markup.quote.markdown meta.paragraph.markdown punctuation.definition.string.end | #554600 | — |
| comment, punctuation.definition.comment | #888888 | — |
| keyword | — | bold |
| storage.modifier, storage.type.modifier | #234B69 | bold |
| storage.type.namespace | #111111 | bold |
| storage.type.class, storage.type.struct, storage.type.union, storage.type.enum | #683824 | bold |
| storage.type.template | — | bold |
| storage.type.function | #111111 | bold |
| variable.language.this, variable.parameter.function.language.special.self | — | bold |
| keyword.control | #234B69 | — |
| keyword.control.return, keyword.control.throw | #683824 | — |
| keyword.operator, entity.name.operator | #234B69 | |
| storage.modifier.reference | — | |
| constant.language | #234B69 | bold |
| constant.numeric | #234B69 | — |
| string | #2E502E | — |
| entity.name.namespace | #554600 | — |
| storage.type.primitive, storage.type.built-in | #484069 | bold |
| entity.name.type | #484069 | — |
| storage.type.return-type.lambda | #484069 | — |
| entity.name.function.member, variable.other.property, variable.other.enummember | — | italic |
| variable.parameter | #613651 | — |
| variable.parameter.function-call | #888888 | bold |
| meta.function.definition.parameters variable.parameter | — | underline |
| entity.name.function.preprocessor, entity.name.function.macro | #888888 | — |
| entity.name.other.preprocessor.macro.predefined | — | bold |
| support.function.builtin | — | bold |
| keyword.operator.new, keyword.operator.delete | #683824 | bold |
| keyword.other.using, keyword.other.typedef | #683824 | — |
| keyword.other.default.constructor.cpp, keyword.other.delete.constructor.cpp | #234B69 | — |
| keyword.other.operator.overload.cpp | #234B69 | |
| variable.parameter.preprocessor.cpp | — | underline |
| keyword.operator.logical.python | — | bold |
| punctuation.definition.decorator.python | #888888 | — |
| entity.name.function.decorator.python | #888888 | bold |
| keyword.control.new.java | #683824 | — |
| keyword.operator.instanceof.java | — | bold |
| variable.language.java | — | bold |
| storage.modifier.import.java | — | |
| punctuation.definition.annotation.java | #888888 | — |
| storage.type.annotation.java | #888888 | bold |
| key.function.go | #111111 | bold |
| storage.type.boolean.go | #234B69 | bold |
| entity.name.tag | #484069 | — |
| entity.other.attribute-name | #613651 | italic |
| entity.other.attribute-name.parent-selector | #484069 | — |
| storage.type.js | #234B69 | bold |
| keyword.operator.expression | — | bold |
| support.function.js | — | bold |
| meta.directive.vue entity.other.attribute-name | — | bold italic |
| expression.embedded punctuation.definition.generic.begin, expression.embedded punctuation.definition.generic.end | #234B69 | — |
| entity.name.function.target.makefile, entity.name.tag.yaml, support.type.property-name.json | #234B69 | — |
TypeScript sample highlighted with this variant's colors and tokenColors.
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}!`;
}