Kalel Theme
Publisher: gabrielvictordevThemes in package: 6
A wonderful theme
A wonderful 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 |
|---|---|---|
| — | #2B2E37 | — |
| comment, string.comment | #6A7182 | italic |
| string | #b48962 | — |
| punctuation.definition.template-expression.begin.js,punctuation.definition.template-expression.end.js,punctuation.definition.template-expression.begin.ts,punctuation.definition.template-expression.end.ts | #8c84ad | — |
| string.template.js | #b48962 | — |
| meta.template.expression.js | #4f5564 | — |
| constant.numeric | #8c84ad | — |
| string.embedded.begin, string.embedded.end | #8c84ad | — |
| string.embedded | #ab8c92 | — |
| constant.language | #8c84ad | — |
| constant.character, constant.other | #8c84ad | — |
| variable.language | #375C73 | — |
| variable.readwrite, variable.readwrite.other.block | #415F70 | — |
| keyword, keyword.operator.constructor | #1E5775 | — |
| keyword.operator | #324F74 | — |
| storage | #315E76 | — |
| storage.type | #2B5272 | — |
| entity.name.class, entity.name.module, entity.name.type, storage.identifier, support.class | #304E6E | — |
| variable.other.object | #476D86 | — |
| variable.other.property, variable.other.block | #4D616C | — |
| entity.other.inherited-class | #ab8c92 | — |
| entity.name.function, support.function | #6A4C66 | — |
| variable.parameter | #7F70A4 | — |
| entity.name.function-call | #4C5862 | — |
| function.support.builtin, function.support.core | #ab8c92 | — |
| entity.name.tag, entity.name.tag.class.js, entity.name.tag.class.jsx | #4e7a86 | — |
| entity.name.tag.class, entity.name.tag.id | #8c84ad | — |
| entity.other.attribute-name | #8c84ad | — |
| support.constant | #8c84ad | — |
| support.type, support.variable | #739199 | — |
| support.dictionary.json | #8c84ad | — |
| support.type.property-name.css, support.type.property-name.scss, support.type.property-name.less, support.type.property-name.sass | #515662 | — |
| support.constant.css, support.constant.scss, support.constant.less, support.constant.sass | #ab8c92 | — |
| variable.css, variable.scss, variable.less, variable.sass | #8c84ad | — |
| variable.css.string, variable.scss.string, variable.less.string, variable.sass.string | #b48962 | — |
| unit.css, unit.scss, unit.less, unit.sass | #8c84ad | — |
| function.css, function.scss, function.less, function.sass | #8c84ad | — |
| support.other.variable | — | |
| invalid | #3F4253 | — |
| invalid.deprecated | #3F4253 | — |
| structure.dictionary.property-name.json | #8c84ad | — |
| string.detected-link | #739199 | — |
| meta.diff, meta.diff.header | #62657A | — |
| markup.deleted | #739199 | — |
| markup.inserted | #b48962 | — |
| markup.changed | #b48962 | — |
| constant.numeric.line-number.find-in-files - match | #8c84adA0 | — |
| entity.name.filename.find-in-files | #b48962 | — |
| markup.italic, markup.italic.markdown | — | italic |
| punctuation.definition.italic.markdown | #8b8e96 | |
| markup.underline.link.markdown | #739199 | — |
| markup.bold.markdown | — | bold |
| punctuation.definition.bold.markdown | #8b8e96 | |
| markup.heading.markdown | #4e7a86 | bold |
| punctuation.definition.heading.markdown | #8b8e96 | |
| markup.quote.markdown | #ab8c92 | — |
| meta.separator.markdown | #8c84ad | bold |
| markup.raw.inline.markdown, markup.raw.block.markdown | #8c84ad | — |
| punctuation.definition.list_item.markdown | #303540 | bold |
| token.info-token | #5f87bc | — |
| token.warn-token | #996f44 | — |
| token.error-token | #c85353 | — |
| token.debug-token | #7d5db8 | — |
| variable.parameter.dart | #8c84ad | — |
| punctuation.comma, punctuation.dot, punctuation.terminator, punctuation.separator.comma, punctuation.accessor, storage.type.function.arrow, keyword.operator.logical | #62657A | — |
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 |
|---|---|---|
| emphasis | — | italic |
| strong | — | bold |
| comment | #616E88 | italic |
| constant.character | #EBCB8B | — |
| constant.character.escape | #EBCB8B | — |
| constant.language | #81A1C1 | — |
| constant.numeric | #B48EAD | — |
| constant.language.boolean.true | #B48EAD | — |
| constant.language.boolean.false | #B48EAD | — |
| constant.language.undefined | #7D7C9B | — |
| constant.language.null | #7D7C9B | — |
| constant.regexp | #EBCB8B | — |
| entity.name.class, entity.name.type.class | #8FBCBB | — |
| entity.name.function | #88C0D0 | — |
| entity.name.tag | #81A1C1 | — |
| entity.other.attribute-name | #8FBCBB | italic |
| entity.other.inherited-class | #8FBCBB | bold |
| invalid.deprecated | #EBCB8B | — |
| invalid.illegal | #BF616A | — |
| keyword | #81A1C1 | — |
| keyword.operator | #81A1C1 | — |
| keyword.other.new | #81A1C1 | — |
| markup.bold | — | bold |
| markup.changed | #EBCB8B | — |
| markup.deleted, punctuation.definition.deleted | #BF616A | — |
| markup.inserted | #A3BE8C | — |
| meta.preprocessor | #5E81AC | — |
| punctuation | #ECEFF4 | — |
| punctuation.definition.method-parameters, punctuation.definition.function-parameters, punctuation.definition.parameters | #ECEFF4 | — |
| punctuation.definition.tag | #81A1C1 | — |
| punctuation.definition.comment, punctuation.end.definition.comment, punctuation.start.definition.comment | #4C566A | — |
| punctuation.definition.inserted | #A3BE8C | — |
| punctuation.definition.deleted | #BF616A | — |
| punctuation.section | #ECEFF4 | — |
| punctuation.section.embedded.begin, punctuation.section.embedded.end | #81A1C1 | — |
| punctuation.terminator | #81A1C1 | — |
| punctuation.definition.variable | #81A1C1 | — |
| storage | #81A1C1 | — |
| string | #A3BE8C | — |
| string.regexp | #EBCB8B | — |
| support.class | #8FBCBB | — |
| support.constant | #81A1C1 | — |
| support.function | #88C0D0 | — |
| support.function.construct | #81A1C1 | — |
| support.type | #8FBCBB | — |
| support.type.exception | #8FBCBB | — |
| token.debug-token | #B48EAD | — |
| token.error-token | #BF616A | — |
| token.info-token | #88C0D0 | — |
| token.warn-token | #EBCB8B | — |
| variable.other | #D8DEE9 | — |
| variable.language | #81A1C1 | — |
| variable.parameter | #D8DEE9 | — |
| punctuation.separator.pointer-access.c | #81A1C1 | — |
| source.c meta.preprocessor.include, source.c string.quoted.other.lt-gt.include | #8FBCBB | — |
| source.cpp keyword.control.directive.conditional, source.cpp punctuation.definition.directive, source.c keyword.control.directive.conditional, source.c punctuation.definition.directive | #5E81AC | bold |
| source.css constant.other.color.rgb-value | #B48EAD | — |
| source.css meta.property-value | #88C0D0 | — |
| source.css keyword.control.at-rule.media, source.css keyword.control.at-rule.media punctuation.definition.keyword | #D08770 | — |
| source.css punctuation.definition.keyword | #81A1C1 | — |
| source.css support.type.property-name | #D8DEE9 | — |
| source.diff meta.diff.range.context | #8FBCBB | — |
| source.diff meta.diff.header.from-file | #8FBCBB | — |
| source.diff punctuation.definition.from-file | #8FBCBB | — |
| source.diff punctuation.definition.range | #8FBCBB | — |
| source.diff punctuation.definition.separator | #81A1C1 | — |
| source.go constant.other.placeholder.go | #EBCB8B | — |
| source.java comment.block.documentation.javadoc punctuation.definition.entity.html | #81A1C1 | — |
| source.java constant.other | #D8DEE9 | — |
| source.java keyword.other.documentation | #8FBCBB | — |
| source.java keyword.other.documentation.author.javadoc | #8FBCBB | — |
| source.java keyword.other.documentation.directive, source.java keyword.other.documentation.custom | #8FBCBB | — |
| source.java keyword.other.documentation.see.javadoc | #8FBCBB | — |
| source.java meta.method-call meta.method | #88C0D0 | — |
| source.java meta.tag.template.link.javadoc, source.java string.other.link.title.javadoc | #8FBCBB | — |
| source.java meta.tag.template.value.javadoc | #88C0D0 | — |
| source.java punctuation.definition.keyword.javadoc | #8FBCBB | — |
| source.java punctuation.definition.tag.begin.javadoc, source.java punctuation.definition.tag.end.javadoc | #4C566A | — |
| source.java storage.modifier.import | #8FBCBB | — |
| source.java storage.modifier.package | #8FBCBB | — |
| source.java storage.type | #8FBCBB | — |
| source.java storage.type.annotation | #D08770 | — |
| source.java storage.type.generic | #8FBCBB | — |
| source.java storage.type.primitive | #81A1C1 | — |
| source.js punctuation.decorator, source.js meta.decorator variable.other.readwrite, source.js meta.decorator entity.name.function | #D08770 | — |
| source.js meta.object-literal.key | #88C0D0 | — |
| source.js storage.type.class.jsdoc | #8FBCBB | — |
| source.js string.template punctuation.definition.template-expression | #5E81AC | — |
| source.js string.template meta.template.expression support.variable.property, source.js string.template meta.template.expression variable.other.object | #D8DEE9 | — |
| source.js support.type.primitive | #81A1C1 | — |
| variable.language.this.js | #B48EAD | italic |
| meta.tag.js entity.name.tag.js support.class.component.js | #81A1C1 | — |
| source.js meta.var.expr variable.other.object | #8FBCBB | — |
| source.js variable.other.readwrite.alias | #8FBCBB | — |
| text.html.basic constant.character.entity.html | #EBCB8B | — |
| text.html.basic constant.other.inline-data | #D08770 | italic |
| text.html.basic meta.tag.sgml.doctype | #5E81AC | — |
| text.html.basic punctuation.definition.entity | #81A1C1 | — |
| source.properties entity.name.section.group-title.ini | #88C0D0 | — |
| source.properties punctuation.separator.key-value.ini | #81A1C1 | — |
| text.html.markdown markup.fenced_code.block | #7B88A1 | — |
| text.html.markdown markup.fenced_code.block punctuation.definition | #D8DEE9 | — |
| fenced_code.block.language | #D8DEE9 | — |
| markup.heading | #88C0D0 | — |
| text.html.markdown markup.inline.raw, text.html.markdown markup.inline.raw punctuation.definition.raw | #8FBCBB | — |
| text.html.markdown markup.italic | — | italic |
| text.html.markdown markup.underline.link | — | underline |
| text.html.markdown beginning.punctuation.definition.list | #81A1C1 | — |
| text.html.markdown beginning.punctuation.definition.quote | #8FBCBB | — |
| text.html.markdown markup.quote | #4C566A | italic |
| text.html.markdown punctuation.definition.heading | #81A1C1 | — |
| text.html.markdown punctuation.definition.constant, text.html.markdown punctuation.definition.string | #81A1C1 | — |
| text.html.markdown constant.other.reference.link, text.html.markdown string.other.link.description, text.html.markdown string.other.link.title | #88C0D0 | — |
| source.php meta.function-call, source.php meta.function-call.object | #88C0D0 | — |
| source.python entity.name.function.decorator, source.python meta.function.decorator support.type | #D08770 | — |
| source.python meta.function-call, source.python meta.function-call.generic | #88C0D0 | — |
| source.python support.type | #88C0D0 | — |
| source.python variable.parameter.function.language | #D8DEE9 | — |
| source.python meta.function.parameters variable.parameter.function.language.special.self | #81A1C1 | — |
| source.css.scss punctuation.definition.interpolation.begin.bracket.curly, source.css.scss punctuation.definition.interpolation.end.bracket.curly | #81A1C1 | — |
| source.css.scss variable.interpolation | #D8DEE9 | italic |
| source.ts punctuation.decorator, source.ts meta.decorator variable.other.readwrite, source.ts meta.decorator entity.name.function, source.tsx punctuation.decorator, source.tsx meta.decorator variable.other.readwrite, source.tsx meta.decorator entity.name.function | #D08770 | — |
| source.ts meta.object-literal.key, source.tsx meta.object-literal.key | #D8DEE9 | — |
| source.ts meta.object-literal.key entity.name.function, source.tsx meta.object-literal.key entity.name.function | #88C0D0 | — |
| source.ts support.class, source.ts support.type, source.ts entity.name.type, source.ts entity.name.class, source.tsx support.class, source.tsx support.type, source.tsx entity.name.type, source.tsx entity.name.class | #8FBCBB | — |
| source.ts support.constant.math, source.ts support.constant.dom, source.ts support.constant.json, source.tsx support.constant.math, source.tsx support.constant.dom, source.tsx support.constant.json | #8FBCBB | — |
| source.ts support.variable, source.tsx support.variable | #D8DEE9 | — |
| text.xml entity.name.tag.namespace | #8FBCBB | — |
| text.xml keyword.other.doctype | #5E81AC | — |
| text.xml meta.tag.preprocessor entity.name.tag | #5E81AC | — |
| text.xml string.unquoted.cdata, text.xml string.unquoted.cdata punctuation.definition.string | #D08770 | italic |
| source.yaml entity.name.tag | #8FBCBB | — |
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}!`;
}