CodeNebula
Publisher: vigneshwar_gaonkarThemes in package: 2
A warm, sophisticated VS Code theme inspired by the Claude desktop app — available in Dark and Light variants. Pairs beautifully with Fira Code.
A warm, sophisticated VS Code theme inspired by the Claude desktop app — available in Dark and Light variants. Pairs beautifully with Fira Code.
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 |
|---|---|---|
| source, text.html, text | #302820 | — |
| comment, punctuation.definition.comment, string.quoted.docstring | #988070 | italic |
| keyword.codetag.notation, comment.todo, comment.fixme | #8A5510 | bold italic |
| keyword, keyword.control, keyword.control.flow, keyword.control.import, keyword.control.from, keyword.other | #965018 | italic |
| storage.type, storage.modifier, keyword.declaration | #965018 | italic |
| keyword.operator.new, keyword.operator.expression, keyword.operator.logical, keyword.operator.in, keyword.operator.of | #7A3C10 | italic |
| keyword.operator, keyword.operator.arithmetic, keyword.operator.assignment, keyword.operator.comparison, keyword.operator.bitwise | #7A4418 | — |
| constant.language, constant.language.boolean, constant.language.null, constant.language.undefined, constant.language.none | #965018 | italic |
| constant.numeric | #7A5510 | — |
| constant.character, constant.character.escape, constant.other.placeholder | #6A3868 | — |
| constant.other, support.constant | #7A5510 | — |
| string, string.quoted | #296A42 | — |
| string.template, string.interpolated, string.quoted.template | #1E5C38 | — |
| punctuation.definition.template-expression, punctuation.section.embedded, meta.template.expression | #7A5510 | — |
| punctuation.definition.string.begin, punctuation.definition.string.end | #3A7A52 | — |
| string.regexp, constant.regexp | #6A3868 | — |
| entity.name.function, meta.definition.method entity.name.function | #126080 | — |
| meta.function-call.generic, meta.method-call entity.name.function | #126080 | — |
| support.function, support.function.builtin | #126080 | italic |
| entity.name.class, entity.name.type, entity.name.type.class | #7A4220 | — |
| entity.other.inherited-class | #7A4220 | italic |
| entity.name.interface, entity.name.enum | #8A5230 | italic |
| support.type, support.type.primitive, meta.type.annotation, meta.type.parameters | #8A5A30 | — |
| variable.other.enummember | #7A5510 | — |
| variable, variable.other.readwrite, variable.other.local | #2E2418 | — |
| variable.parameter | #604028 | italic |
| variable.other.property, variable.other.object.property, support.variable.property | #7A4220 | — |
| variable.language.this, variable.language.self, variable.language.super, variable.language.special.self.python, variable.language.special.cls.python | #965018 | italic |
| punctuation.separator, punctuation.terminator, punctuation.accessor | #988070 | — |
| punctuation.definition.block, punctuation.definition.parameters, punctuation.definition.array, meta.brace | #786050 | — |
| meta.decorator, entity.name.function.decorator, support.type.decorator, punctuation.decorator | #965018 | italic |
| entity.name.function.decorator.python, meta.function.decorator.python | #965018 | italic |
| support.function.magic.python | #126080 | italic |
| support.type.python | #7A4220 | — |
| entity.name.tag, entity.name.tag.html, entity.name.tag.jsx | #965018 | — |
| entity.other.attribute-name, entity.other.attribute-name.html, entity.other.attribute-name.jsx | #7A4220 | — |
| support.type.property-name.css, support.type.property-name.scss, meta.property-name | #126080 | — |
| meta.property-value, support.constant.property-value | #296A42 | — |
| entity.other.attribute-name.class.css, entity.other.attribute-name.pseudo-class.css, entity.other.attribute-name.pseudo-element.css | #7A5510 | — |
| constant.other.color.rgb-value, keyword.other.unit | #7A5510 | — |
| support.type.property-name.json | #126080 | — |
| string.quoted.double.json | #296A42 | — |
| constant.language.json | #965018 | — |
| entity.name.tag.yaml | #126080 | — |
| string.unquoted.yaml, string.quoted.single.yaml, string.quoted.double.yaml | #296A42 | — |
| markup.heading, entity.name.section.markdown | #965018 | bold |
| markup.bold | #302820 | bold |
| markup.italic | #7A4220 | italic |
| markup.inline.raw, markup.raw.inline | #296A42 | — |
| markup.underline.link, string.other.link | #126080 | — |
| markup.quote | #988070 | italic |
| punctuation.definition.list_item.markdown | #965018 | — |
| markup.inserted | #2A8055 | — |
| markup.deleted | #A83820 | — |
| markup.changed | #8A5510 | — |
| invalid, invalid.illegal | #A83820 | underline |
| invalid.deprecated | #988070 | 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}!`;
}