Kalia
Publisher: Krasimir TsonevThemes in package: 1
A thoughtful VS Code color theme
A thoughtful VS Code color theme
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 |
|---|---|---|
| keyword.control.import, keyword.control.from, storage.type | #7c7c7c | — |
| comment | #664e4e | — |
| storage.type.class, storage.type.function, keyword.declaration.dart | #4db8d3f0 | — |
| meta.class entity.name.type.class, meta.definition.function entity.name.function, meta.parameters punctuation.definition.parameters.begin, meta.parameters punctuation.definition.parameters.end, meta.definition.method entity.name.function, meta.method.declaration storage.type, entity.name.function.dart | #4db8d3 | bold |
| keyword.control.conditional, keyword.operator.relational, keyword.operator.arithmetic, keyword.control.loop, keyword.control.flow, keyword.operator.comparison, keyword.operator.expression.delete | #b896bb | — |
| entity.name.type.module, entity.other.inherited-class, punctuation.accessor, meta.definition.property, storage.modifier, variable.language.this, support.type.property-name.json, meta.function-call entity.name.function, meta.definition.variable, variable.other.object, variable.parameter, variable.other.readwrite | #c7c7c7 | |
| meta.function-call entity.name.function, new.expr entity.name.type | — | bold |
| storage.type, storage.modifier, comment, keyword.control.import, keyword.control.from | — | italic |
| string.quoted.double, string.quoted.single, string.template | #b0cab2 | — |
| meta.object.member variable.other.property, punctuation.terminator.statement, meta.definition.property entity.name.function | #cacacaBB | — |
| punctuation.terminator.statement | #cacaca90 | — |
| markup.quote.markdown | #a3a3a3 | italic |
| markup.heading.markdown | #e78181 | bold |
| markup.list.unnumbered.markdown | #b2e6c2 | — |
| meta.link.inline.markdown, meta.image.inline.markdown | #88b4ee | underline |
| markup.italic.markdown | — | italic |
| markup.bold.markdown | — | bold |
| support.type | #5c5c5c | — |
| entity.name.type.interface, entity.name.type.alias, meta.parameters meta.type.annotation entity.name.type, meta.var-single-variable.expr meta.type.annotation entity.name.type | #8fecc5 | — |
| entity.name.tag, punctuation.definition.tag.begin, punctuation.definition.tag.end | #eba3a3 | — |
| entity.other.attribute-name, meta.tag.attributes keyword.operator.assignment, meta.tag.attributes punctuation.section.embedded.begin, meta.tag.attributes punctuation.section.embedded.end | #c9b6b6 | — |
| meta.selector.css, punctuation.section.property-list.begin.bracket.curly | #eba3a3 | — |
| support.type.property-name.css | #fff | — |
| meta.property-value.css | #89a1b4 | — |
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}!`;
}