Kaii Code Themes
Publisher: little-kaiiThemes in package: 2
dark vs code themes by little-kaii
dark vs code themes by little-kaii
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 |
|---|---|---|
| support.type.object.module | #88abf9 | — |
| variable.language.this, support.variable.property.js, variable.language.arguments.js, variable.language.self.js, variable.language.proto.js, variable.language.constructor.js, variable.language.prototype.js | #4ec9b0 | italic |
| support.variable.dom.js, support.variable | #e8c37d | |
| support.function.dom.js | #53c6ba | |
| variable.language.super | #d16969 | italic |
| meta.brace.square, meta.brace.round | #6c8093 | |
| keyword.operator.new | #569cd6 | — |
| keyword.control | #d16969 | — |
| support.variable.property.dom.js, variable.other.property | #c8d1df | — |
| punctuation.section.embedded | #6c8093 | |
| meta.tag | #c8d1df | — |
| support.class.component | #e8c37d | — |
| source.graphql support.type.graphql, source.graphql support.type.enum.graphql | #88abf9 | — |
| meta.variables.graphql support.type.graphql | #c8d1df | — |
| support.type.builtin.graphql | #e8c37d | — |
| variable.graphql | #E6A26F | — |
| keyword.operator.nulltype.graphql | #f386bf | — |
| source.graphql string.block.description.graphql.DOCSTRING, source.graphql string.block.description.graphql.DOCSTRING punctuation.definition.string.graphql, string.description.graphql, punctuation.definition.string.graphql | #b38098 | italic |
| punctuation.definition.string.graphql, meta.embedded.block.graphql | #6c8093 | — |
| meta.arguments.graphql variable.graphql, support.type.builtin.graphql | #e8c37d | — |
| source.js meta.variables.graphql support.type.graphql | #88abf9 | — |
| source.css meta.property-list.media-query | #88abf9 | — |
| source.css variable.other.readwrite | #c8d1df | — |
| source.css meta.property-name.media-query, source.css constant.other.color, punctuation.definition.constant.css | #c8d1df | — |
| 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, support.type.vendored.property-name | #88abf9 | — |
| source.css keyword.control.at-rule, source.sass keyword.control.at-rule, source.scss keyword.control.at-rule, source.less keyword.control.at-rule, source.stylus keyword.control.at-rule, source.postcss keyword.control.at-rule | #d16969 | — |
| entity.other.attribute-name.parent-selector-suffix punctuation.definition.entity | #88abf9 | — |
| constant.numeric, keyword.other.unit | #c8d1df | — |
| source.css entity.name.tag.reference, source.sass entity.name.tag.reference, source.scss entity.name.tag.reference, source.less entity.name.tag.reference, source.stylus entity.name.tag.reference, source.postcss entity.name.tag.reference | #6c8093 | |
| source.css support.constant.property-value, source.sass support.constant.property-value, source.scss support.constant.property-value, source.less support.constant.property-value, source.stylus support.constant.property-value, source.postcss support.constant.property-value | #c8d1df | |
| source.css variable, source.sass variable, source.scss variable, source.less variable, source.stylus variable, source.postcss variable | #f386bf | |
| source.css meta.property-value, source.sass meta.property-value, source.scss meta.property-value, source.less meta.property-value, source.stylus meta.property-value, source.postcss meta.property-value | #6c8093 | |
| entity.other.attribute-name.class | #e8c37d | italic |
| source.sass keyword.control | #53c6ba | — |
| source.css support.constant, source.sass support.constant, source.scss support.constant, source.less support.constant, source.stylus support.constant, source.postcss support.constant | #c8d1df | — |
| constant.keyword.clojure | #E6A26F | — |
| keyword.control.clojure | #ba7bcc | italic |
| meta.symbol.clojure, meta.var.clojure | #c8d1df | |
| storage.control.clojure | #ba7bcc | |
| meta.expression.clojure | #f386bf | |
| entity.global.clojure | #53c6ba | |
| meta.symbol.namespace.clojure | #53c6ba | italic |
| entity.name.function.clojure | #88abf9 | — |
| meta.objectliteral | #ce9178 | — |
| meta.object-literal.key | #E6AC6F | — |
| keyword.operator | #c8d1df | — |
| comment, punctuation.definition.comment | #6c8093 | italic |
| variable, variable.other.object., string constant.other.placeholder, support.type.graphql | #88abf9 | — |
| constant.other.color, variable.parameter | #88abf9 | — |
| invalid, invalid.illegal | #c8d1df | — |
| keyword, storage.type, storage.modifier | #569cd6 | — |
| keyword.operator.type.annotation.ts, constant.other.color, punctuation, punctuation.definition.tag, punctuation.separator.inheritance.php, punctuation.definition.tag.html, punctuation.definition.tag.begin.html, punctuation.definition.tag.end.html, punctuation.definition.string, keyword.other.template, keyword.other.substitution | #6c8093 | — |
| punctuation.accessor | #6c8093 | — |
| entity.name.tag, meta.tag.sgml, markup.deleted.git_gutter | #53c6ba | — |
| entity.name.function, meta.function-call, variable.function, support.function, keyword.other.special-method | #53c6ba | — |
| meta.block variable.other | #88abf9 | — |
| support.other.variable, string.other.link | #88abf9 | — |
| variable.other.constant, constant.language, support.constant, constant.character, constant.escape, keyword.other | #e8c37d | — |
| constant.language.undefined | #6c8093 | — |
| string, constant.other.symbol, constant.other.key, markup.heading, markup.inserted.git_gutter, meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js, source.css meta.attribute-selector | #c8d1df | |
| entity.name, support.class, support.orther.namespace.use.php, entity.other.inherited-class, meta.use.php, support.other.namespace.php, markup.changed.git_gutter, support.type.sys-types | #e8c37d | — |
| support.type | #4ec9b0 | — |
| entity.name.module.js, variable.import.parameter.js, variable.other.class.js | #c8d1df | — |
| variable.language | #c8d1df | italic |
| entity.name.method.js | #53c6ba | italic |
| meta.class-method.js entity.name.function.js, variable.function.constructor | #53c6ba | — |
| entity.other.attribute-name, text.html.basic entity.other.attribute-name.html, text.html.basic entity.other.attribute-name | #E6AC6F | italic |
| markup.inserted | #98c379 | — |
| markup.deleted | #c8d1df | — |
| markup.changed | #e8c37d | — |
| string.regexp | #98c379 | — |
| punctuation.definition.group.regexp | #ce9178 | — |
| constant.other.character-class.regexp | #E6A26F | — |
| string.regexp punctuation.definition.character-class.regexp | #88abf9 | — |
| string.regexp punctuation.definition.string.begin, string.regexp punctuation.definition.string.end | #c8d1df | — |
| constant.character.escape | #53c6ba | — |
| *url*, *link*, *uri* | — | underline |
| tag.decorator.js entity.name.tag.js, tag.decorator.js punctuation.definition.tag.js | #53c6ba | italic |
| source.js constant.other.object.key.js string.unquoted.label.js | #c8d1df | italic |
| source.json meta.structure.dictionary.json support.type.property-name.json | #E6A26F | — |
| text.html.markdown, punctuation.definition.list_item.markdown | #bbc6d8 | — |
| text.html.markdown markup.inline.raw.string.markdown | #87f1ae | — |
| text.html.markdown markup.inline.raw.markdown | #C792EA | — |
| text.html.markdown markup.inline.raw.markdown punctuation.definition.raw.markdown | #c8d1df | — |
| text.html.markdown meta.dummy.line-break | #0e131b | — |
| markdown.heading, markup.heading | markup.heading entity.name, markup.heading.markdown punctuation.definition.heading.markdown | #c983ef | — |
| markup.italic | #c8d1df | italic |
| markup.bold, markup.bold string | #c8d1df | 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 | #c8d1df | bold |
| markup.underline | #E6AC6F | underline |
| markup.strike | #9ba2ad | italic strikethrough |
| markup.quote punctuation.definition.blockquote.markdown | #c8d1df | — |
| markup.quote | #5b8d74 | italic |
| string.other.link.title.markdown | #53c6ba | — |
| string.other.link.description.title.markdown | #ba7bcc | — |
| constant.other.reference.link.markdown | #E6AC6F | — |
| markup.raw.block | #ba7bcc | — |
| markup.raw.block.fenced.markdown | #00000050 | — |
| punctuation.definition.fenced.markdown | #00000050 | — |
| markup.raw.block.fenced.markdown, variable.language.fenced.markdown, punctuation.section.class.end | #c8d1df | — |
| variable.language.fenced.markdown | #c8d1df | — |
| meta.separator | #c8d1df | bold |
| markup.table | #c8d1df | — |
| token.info-token | #53c6ba | — |
| token.warn-token | #e8c37d | — |
| token.error-token | #88abf9 | — |
| token.debug-token | #ba7bcc | — |
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}!`;
}