Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | 17x 285x | export const PILL_CLS = {
INSTALLED: "lilbee-pill-installed",
CONTEXT: "lilbee-pill-context",
SOURCE: "lilbee-pill-source",
SOURCE_USER: "lilbee-pill-source-user",
SOURCE_ENV: "lilbee-pill-source-env",
REINDEX: "lilbee-pill-reindex",
PROFILE_FOLDER: "lilbee-pill-profile-folder",
PROFILE_ACTIVE: "lilbee-pill-profile-active",
} as const;
export function renderPill(container: HTMLElement, text: string, cls: string): HTMLElement {
return container.createSpan({
text,
cls: `lilbee-pill ${cls}`,
});
}
|