Kaian
Publisher: Kevin Parra LopezThemes in package: 2
The Kaian theme is a theme with warm and vibrant colors, designed to provide a pleasant and aesthetically pleasing coding experience. This theme includes two variants: 'Light' and 'Dark'.
The Kaian theme is a theme with warm and vibrant colors, designed to provide a pleasant and aesthetically pleasing coding experience. This theme includes two variants: 'Light' and 'Dark'.
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.definition.comment | #6e7686 | italic |
| variable, string constant.other.placeholder | #757575 | — |
| meta.block variable.other | #757575 | — |
| constant.other.color | #757575 | — |
| invalid, invalid.illegal | #e0303c | — |
| keyword, storage.type, storage.modifier | #ec0633 | — |
| keyword.control, constant.other.color, punctuation, meta.tag, punctuation.definition.tag, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.section.embedded, keyword.other.template, keyword.other.substitution | #ec0633 | — |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #198534 | — |
| entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method | #446af8 | — |
| support.other.variable, string.other.link | #e5222d | — |
| constant.numeric, constant.language, support.constant, constant.character, constant.escape, variable.parameter, keyword.other.unit, keyword.other | #31a481 | — |
| string, constant.other.symbol, constant.other.key, entity.other.inherited-class, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js | #298354 | — |
| entity.name, support.type, support.class, support.other.namespace.use.php, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types | #298354 | — |
| support.type | #4e7b92 | — |
| source.css support.type.property-name, source.sass support.type.property-name, source.scss support.type.property-name, source.less support.type.property-name, source.stylus support.type.property-name, source.postcss support.type.property-name | #4e7b92 | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #d63f28 | — |
| variable.language | #d63f28 | italic |
| entity.name.method.js | #2069fe | italic |
| meta.class-method.js entity.name.function.js, variable.function.constructor | #2069fe | — |
| entity.other.attribute-name | #d63f28 | — |
| text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #004b34 | italic |
| entity.other.attribute-name.class | #004b34 | — |
| source.sass keyword.control | #2069fe | — |
| markup.inserted | #56811b | — |
| markup.deleted | #ec0028 | — |
| markup.changed | #a24cdc | — |
| string.regexp | #007db3 | — |
| constant.character.escape | #007db3 | — |
| *url*, *link*, *uri* | — | underline |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #2069fe | italic |
| source.js constant.other.object.key.js string.unquoted.label.js | #ec0028 | italic |
| source.json meta.structure.dictionary.json support.type.property-name.json | #ec0633 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #004b34 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #d93b0d | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #ec0028 | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #b05e4c | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #2069fe | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #e5222d | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #a24cdc | — |
| source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json support.type.property-name.json | #56811b | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #757575 | — |
| text.html.markdown markup.inline.raw.markdown | #a24cdc | — |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #697783 | — |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #56811b | — |
| markup.italic | #e5222d | italic |
| markup.bold, markup.bold string | #e5222d | bold |
| markup.bold markup.italic, markup.italic markup.bold, markup.quote markup.bold, markup.bold markup.italic string, markup.italic markup.bold string, markup.quote markup.bold string | #e5222d | bold |
| markup.underline | #d93b0d | underline |
| markup.quote punctuation.definition.blockquote.markdown | #697783 | — |
| markup.quote | — | italic |
| string.other.link.title.markdown | #2069fe | — |
| string.other.link.description.title.markdown | #a24cdc | — |
| constant.other.reference.link.markdown | #004b34 | — |
| markup.raw.block | #a24cdc | — |
| markup.raw.block.fenced.markdown | #F8F9FA50 | — |
| punctuation.definition.fenced.markdown | #F8F9FA50 | — |
| markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end | #757575 | — |
| variable.language.fenced.markdown | #697783 | — |
| meta.separator | #697783 | bold |
| markup.table | #757575 | — |
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}!`;
}