vscode-kalisi
Publisher: freeoThemes in package: 1
A light, eye-healthy theme for the long-term.
A light, eye-healthy theme for the long-term.
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 | #70a0d0 | — |
| string, string.quoted.docstring | #0060a0 | |
| constant.numeric | #0070c0 | — |
| constant.numeric.floating-point, constant.numeric.float | #00a0a0 | — |
| constant.language, meta.use.rust | #3c91e6 | — |
| constant.character | #66b600 | bold |
| constant.other, string.quoted.rune | #00a0a0 | bold |
| constant.character.format.placeholder, constant.other.placeholder | #a200ff | |
| variable | — | bold |
| variable.language, variable.parameter.function | #202090 | |
| support.type | #ae01e2 | |
| support.type.property-name.json | #000000 | |
| keyword, keyword.other.fn.rust, keyword.other.crate.rust | #66b600 | — |
| keyword, keyword.other.rust | #8400ff | — |
| keyword.operator | #000000 | — |
| keyword.operator.borrow | #ae01e2 | — |
| keyword.control.flow, keyword.control | #1177dd | bold |
| keyword.control.import, keyword.import, keyword.package | #d80050 | bold |
| storage | #66b600 | |
| storage.type | #ae01e2 | |
| storage.type.function, keyword.function, storage.type.class | #66b600 | bold |
| storage.type.ts, storage.type.rust | #229000 | |
| entity.name.class | #ffbf69 | underline |
| entity.other | #008b00 | |
| entity.name.function | #3c91e6 | bold |
| meta.function-call | #000000 | — |
| meta.function-call.arguments | #000000 | — |
| support.function | #000000 | |
| variable.parameter | #229000 | |
| entity.name.tag | #1177dd | |
| entity.other.attribute-name | #000 | bold |
| support.constant | #0070c0 | bold |
| support.class | #ae01e2 | bold |
| support.other.variable | #66b600 | |
| invalid | #e45e59 | |
| invalid.illegal | #ff0000 | |
| invalid.deprecated | #cf433e | — |
| string.quoted.double.json | #1daf00 | — |
| meta.diff, meta.diff.header | #aaaaaa | — |
| markup.deleted | #ff5f00 | — |
| markup.inserted | #A6E22E | — |
| markup.changed | #5f5fd7 | — |
| constant.numeric.line-number.find-in-files - match | #8FBE00A0 | — |
| entity.name.filename.find-in-files | #E6DB74 | — |
| keyword.other | #848484 | — |
| meta.property-value, support.constant.property-value, constant.other.color | #0070c0 | — |
| meta.property-name support.type.property-name | — | |
| meta.property-value punctuation.separator.key-value | #444444 | — |
| keyword.other.use, keyword.other.function.use, keyword.other.namespace, keyword.other.new, keyword.other.special-method, keyword.other.unit, keyword.other.use-as | #fa824c | — |
| meta.use support.class.builtin, meta.other.inherited-class support.class.builtin | #fa824c | |
| variable.other | #000000 | |
| variable.other.assignment, variable.other.declaration | #000000 | |
| variable.parameter.function.coffee | #9fd356 | |
| entity.name.section.markdown, punctuation.definition.heading.markdown | #66b600 | bold |
| markup.raw.inline.markdown | #9fd356 | — |
| punctuation.definition.bold.markdown, punctuation.definition.italic.markdown | #fa824c | — |
| punctuation.definition.string.begin.markdown, punctuation.definition.string.end.markdown | #fa824c | — |
| punctuation.definition.metadata.markdown | #fa824c | — |
| markup.underline.link.markdown, markup.underline.link.image.markdown, meta.image.inline.markdown | #fa824c | |
| markup.bold.markdown, markup.italic.markdown | #fa824c | — |
| markup.italic.markdown | — | italic |
| markup.bold.markdown | — | bold |
| markup.raw.block.markdown | #664e4d | — |
| markup.deleted.git_gutter | #ff4f00 | — |
| markup.inserted.git_gutter | #a7da1e | — |
| markup.changed.git_gutter | #5f5fd7 | — |
| meta.template.expression | #cc2200 | — |
| keyword.issue | #ff6600 | — |
| keyword.todo | #ffaa00 | — |
| keyword.done | #a7da1e | — |
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}!`;
}