KayVibe Dark
Publisher: Omolade KelvinThemes in package: 1
KayVibe Dark is a sleek, modern dark theme for VS Code, designed by Kelvin Omolade (KayVibe) for a comfortable coding experience.
KayVibe Dark is a sleek, modern dark theme for VS Code, designed by Kelvin Omolade (KayVibe) for a comfortable coding experience.
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 |
|---|---|---|
| , meta.embedded, variable, meta.tag.attributes punctuation.section.embedded, keyword.operator, storage.type.function.arrow, keyword.control.flow.block-scalar.literal, keyword.control.flow.block-scalar.folded, storage.modifier.chomping-indicator, storage.type.string, string.quoted.byte.raw, meta.macro.rules entity.name.function.macro.rust | #C0BFBC | |
| constant.numeric.binary, constant.numeric.octal, constant.numeric.hex, keyword.other.unit.binary, keyword.other.unit.octal, keyword.other.unit.hexadecimal, keyword.other.unit.imaginary, keyword.other.unit.exponent | #7D8AC7 | |
| constant.language.boolean, constant.language.bool | #7D8AC7 | |
| comment, entity.other.document.begin.yaml, entity.other.document.end.yaml | #77767B | |
| constant.language, string.quoted.single.char, support.type.property-name, support.constant.property-value.css, source.css keyword.other.unit | #7D8AC7 | |
| constant.numeric, constant.numeric entity.name.type.numeric | #7D8AC7 | |
| comment.block.documentation | #9A9996 | |
| constant.numeric.float | #7D8AC7 | |
| #62A0EA | ||
| markup.heading.markdown | #33B2A4 | bold |
| keyword, keyword.operator.new, keyword.operator.logical.python, source.js keyword.operator.expression, source.ts keyword.operator.expression, storage.modifier, storage.type.class, storage.type.function, entity.name.tag.yaml, source.js storage.type, source.ts storage.type, source.tsx storage.type, source.rust storage.type | #FFA348 | bold |
| constant.numeric | #7D8AC7 | |
| #7D8AC7 | ||
| meta.preprocessor, meta.preprocessor keyword.control, punctuation.decorator, meta.decorator entity.name.function, entity.name.function.decorator, keyword.control.at-rule.media, constant.character.entity, punctuation.section.embedded, punctuation.definition.template-expression | #E66100 | |
| comment.line.number-sign.shebang | #9A9996 | bold |
| constant.character.escape | #F66151 | |
| string | #5BC8AF | |
| markup.bold.markdown | — | bold |
| storage.type, entity.name.type, entity.name.namespace, keyword.type.cs, support.type, support.class.builtin, support.class.promise | #5BC8AF | bold |
| meta.preprocessor.cs | #5E5C64 | |
| constant.other.placeholder | #7D8AC7 | |
| source.c storage.modifier | #5BC8AF | bold |
| source.c storage.type | #5BC8AF | bold |
| entity.other.attribute-name.id.css | #33B2A4 | bold |
| support.type.property-name.css | #FF7800 | |
| entity.other.attribute-name.pseudo-element.css, entity.other.attribute-name.pseudo-class.css, meta.selector.css punctuation.section.function | #7D8AC7 | bold |
| meta.selector.css keyword.operator, entity.other.attribute-name.css | #FF7800 | bold |
| support.type.vendored.property-name.css | #E5A50A | |
| markup.inserted.diff | #33B2A4 | |
| markup.changed | #FF7800 | |
| meta.diff.header | #7D8AC7 | |
| meta.diff.range | #F5C211 | |
| markup.deleted.diff | #F66151 | |
| constant.other.placeholder.go | #4E57BA | |
| support.function.builtin.python | #62A0EA | |
| entity.name.type.class.python | #5BC8AF | bold |
| keyword.control.import.python | #F66151 | |
| meta.attribute.rust, meta.attribute.rust keyword.operator | #7D8AC7 | |
| entity.name.type.lifetime.rust | #FFA348 | |
| entity.name.function.macro | #7D8AC7 | |
| meta.tag entity.other.attribute-name, meta.tag keyword.operator.assignment, punctuation.separator.key-value.html, punctuation.separator.key-value.svelte, text.xml meta.tag | #FF7800 | |
| meta.tag string | #7D8AC7 | |
| entity.name.tag, support.class.component.svelte, punctuation.definition.tag | #33B2A4 | |
| text.xml meta.tag.preprocessor entity.name.tag, text.xml meta.tag.preprocessor punctuation.definition.tag | #F5C211 | bold |
| markup.italic.markdown | — | italic |
| markup.strikethrough.markdown | — | strikethrough |
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}!`;
}