@luci-dev/ui 0.5.4 → 0.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -0
- package/dist/about.d.ts +1 -1
- package/dist/about.js +1 -1
- package/dist/styles.d.ts +3 -3
- package/dist/styles.d.ts.map +1 -1
- package/dist/styles.js +14 -1
- package/dist/styles.js.map +1 -1
- package/dist/tokens.d.ts +3 -2
- package/dist/tokens.d.ts.map +1 -1
- package/dist/tokens.js +3 -2
- package/dist/tokens.js.map +1 -1
- package/package.json +1 -1
- package/src/tokens.css +2 -1
package/README.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# @luci-dev/ui
|
|
2
|
+
|
|
3
|
+
Luci's design tokens, styles and Preact components, shared by the dev toolbar and the browser extension.
|
|
4
|
+
|
|
5
|
+
This package is a part of [Luci](https://github.com/waidesign/luci-by-pawprint.design#readme), design control for AI coding agents. You do not need to install it yourself: start with the CLI, which brings it in.
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npx @luci-dev/cli@latest init
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
See [@luci-dev/cli](https://www.npmjs.com/package/@luci-dev/cli) for setup and updating.
|
|
12
|
+
|
|
13
|
+
MIT licensed. Runs on your machine: no telemetry, no account.
|
package/dist/about.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* LUCI_VERSION is the one version of Luci: the root package.json and the shipped packages (the luci
|
|
5
5
|
* CLI, the extension, luci-mcp) say the same, and a test checks it. Bump them together.
|
|
6
6
|
*/
|
|
7
|
-
export declare const LUCI_VERSION = "0.5.
|
|
7
|
+
export declare const LUCI_VERSION = "0.5.6";
|
|
8
8
|
/** The public repository. Null until it is published: the button then shows the version, without a link. */
|
|
9
9
|
export declare const LUCI_REPO_URL: string | null;
|
|
10
10
|
//# sourceMappingURL=about.d.ts.map
|
package/dist/about.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* LUCI_VERSION is the one version of Luci: the root package.json and the shipped packages (the luci
|
|
5
5
|
* CLI, the extension, luci-mcp) say the same, and a test checks it. Bump them together.
|
|
6
6
|
*/
|
|
7
|
-
export const LUCI_VERSION = '0.5.
|
|
7
|
+
export const LUCI_VERSION = '0.5.6';
|
|
8
8
|
/** The public repository. Null until it is published: the button then shows the version, without a link. */
|
|
9
9
|
export const LUCI_REPO_URL = 'https://github.com/waidesign/luci-by-pawprint.design';
|
|
10
10
|
//# sourceMappingURL=about.js.map
|
package/dist/styles.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare const BASE_CSS = "\n.luci-theme {\n /* Buttons: md is 40 px with 15 px labels (DESIGN.md section 6); a compact surface sets sm as its default */\n --luci-btn-h: 40px;\n --luci-btn-font: 15px;\n --luci-btn-line: 20px;\n --luci-btn-pad: var(--luci-space-16);\n font-family: var(--luci-font-body);\n font-size: var(--luci-type-body-size);\n line-height: var(--luci-type-body-line);\n font-weight: var(--luci-type-body-weight);\n color: var(--luci-color-ink);\n -webkit-font-smoothing: antialiased;\n}\n.luci-theme *, .luci-theme *::before, .luci-theme *::after { box-sizing: border-box; }\n.luci-theme :where(button, input, select, textarea) { font: inherit; color: inherit; }\n.luci-theme :where(code, kbd, pre, samp) { font-family: var(--luci-font-code); }\n.luci-theme :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {\n outline: 2px solid var(--luci-color-focus);\n outline-offset: 2px;\n}\n/* Type roles */\n.t-display { font: var(--luci-type-display-weight) var(--luci-type-display-size)/var(--luci-type-display-line) var(--luci-font-display); }\n.t-title { font: var(--luci-type-title-weight) var(--luci-type-title-size)/var(--luci-type-title-line) var(--luci-font-display); margin: 0; }\n.t-heading { font: var(--luci-type-heading-weight) var(--luci-type-heading-size)/var(--luci-type-heading-line) var(--luci-font-body); margin: 0; }\n.t-small { font-size: var(--luci-type-small-size); line-height: var(--luci-type-small-line); font-weight: var(--luci-type-small-weight); }\n.t-micro { font-size: var(--luci-type-micro-size); line-height: var(--luci-type-micro-line); font-weight: var(--luci-type-micro-weight); }\n.t-code { font: var(--luci-type-code-weight) var(--luci-type-code-size)/var(--luci-type-code-line) var(--luci-font-code); }\n.overline { font-size: var(--luci-type-micro-size); line-height: var(--luci-type-micro-line); font-weight: var(--luci-type-micro-weight);\n letter-spacing: 0.06em; text-transform: uppercase; color: var(--luci-color-link); }\n/* Icons follow the text colour */\n.icon { flex: none; display: block; }\n/* The mascot */\n.mascot { display: inline-block; flex: none; line-height: 0; }\n.mascot svg { display: block; width: 100%; height: auto; }\n.luci-still, .luci-still * { animation: none !important; }\n.luci-avatar { display: inline-flex; flex: none; align-items: center; justify-content: center; border-radius: var(--luci-radius-full);\n background: var(--luci-color-primary); overflow: hidden; }\n/* Reduced motion: UI transitions become instant; the kit's CSS stops the mascot loops */\n@media (prefers-reduced-motion: reduce) {\n .luci-theme *, .luci-theme *::before, .luci-theme *::after { transition-duration: 0s !important; }\n}\n";
|
|
2
|
-
export declare const COMPONENTS_CSS = "\n/*\n * Button (DESIGN.md section 6). Variants: btn-primary, btn-secondary, btn-outline, btn-ghost (also a\n * bare button), btn-danger, btn-link; btn-icon for icon-only (square, round). Sizes: btn-sm 32,\n * btn-md 40, btn-lg 48 (default: the surface's). States: hover, :active (pressed), :focus-visible,\n * :disabled, aria-pressed=\"true\" (toggled on), aria-busy=\"true\" (working).\n */\n.luci-theme button {\n position: relative;\n display: inline-block;\n vertical-align: middle;\n min-height: var(--luci-btn-h);\n padding: calc((var(--luci-btn-h) - var(--luci-btn-line)) / 2) var(--luci-btn-pad);\n border: 0;\n border-radius: var(--luci-radius-full);\n background: transparent;\n color: var(--luci-color-ink);\n font-size: var(--luci-btn-font);\n font-weight: 600;\n line-height: var(--luci-btn-line);\n text-align: center;\n white-space: nowrap;\n cursor: pointer;\n transition: background-color var(--luci-motion-fast), color var(--luci-motion-fast), transform var(--luci-motion-fast);\n}\n/* Every button is a 44 px target, even when it is drawn 32 px tall */\n.luci-theme button::before { content: \"\"; position: absolute; inset: min(0px, calc((var(--luci-btn-h) - var(--luci-size-touch-target)) / 2)) 0; }\n.luci-theme button:hover:not(:disabled) { background: var(--luci-color-ghost-hover); }\n.luci-theme button:active:not(:disabled) { transform: translateY(1px); }\n.luci-theme button:disabled { color: var(--luci-color-ink-disabled); background: transparent; cursor: not-allowed; }\n.luci-theme button[aria-busy=\"true\"] { cursor: progress; }\n/* On (a tool, a toggle, a segment): one look everywhere, the kit's active tool fill (ginger-400, Charcoal text, 6.9:1) */\n.luci-theme button[aria-pressed=\"true\"]:not(.btn-primary),\n.luci-theme button[aria-pressed=\"true\"]:not(.btn-primary):hover:not(:disabled) { background: var(--luci-color-tool-active); color: var(--luci-color-on-tool-active); }\n/* A small count on a button */\n.btn-badge { position: absolute; top: 0; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--luci-radius-full);\n background: var(--luci-color-accent); color: var(--luci-color-on-accent); font: 600 11px/18px var(--luci-font-body); text-align: center; pointer-events: none; }\n\n/* Sizes */\n.luci-theme .btn-sm { --luci-btn-h: 32px; --luci-btn-font: var(--luci-type-small-size); --luci-btn-line: var(--luci-type-small-line); --luci-btn-pad: var(--luci-space-12); }\n.luci-theme .btn-md { --luci-btn-h: 40px; --luci-btn-font: 15px; --luci-btn-line: 20px; --luci-btn-pad: var(--luci-space-16); }\n.luci-theme .btn-lg { --luci-btn-h: 48px; --luci-btn-font: 15px; --luci-btn-line: 20px; --luci-btn-pad: var(--luci-space-20); }\n\n/* Text with an icon, and icon only */\n.luci-theme .btn-with-ico { display: inline-flex; align-items: center; justify-content: center; gap: var(--luci-space-8); padding-block: 0; }\n.luci-theme .btn-with-ico .icon { margin-inline-start: calc(var(--luci-space-4) * -1); }\n.luci-theme .btn-icon { display: inline-flex; align-items: center; justify-content: center; width: var(--luci-btn-h); height: var(--luci-btn-h); padding: 0; }\n.luci-theme .btn-icon::before { inset: min(0px, calc((var(--luci-btn-h) - var(--luci-size-touch-target)) / 2)); }\n\n/* Variants */\n.luci-theme .btn-primary { background: var(--luci-color-primary); color: var(--luci-color-on-primary); }\n.luci-theme .btn-primary:hover:not(:disabled) { background: var(--luci-color-primary-hover); }\n.luci-theme .btn-primary:disabled { background: var(--luci-color-surface-sunken); color: var(--luci-color-ink-disabled); }\n.luci-theme .btn-secondary { background: var(--luci-color-surface-raised); border: 1px solid var(--luci-color-stroke-subtle);\n padding-block: calc((var(--luci-btn-h) - var(--luci-btn-line)) / 2 - 1px); }\n.luci-theme .btn-secondary:hover:not(:disabled) { background: var(--luci-color-secondary-hover); }\n.luci-theme .btn-secondary:disabled { background: var(--luci-color-surface-raised); }\n.luci-theme .btn-outline { background: transparent; border: 1px solid var(--luci-color-stroke-subtle);\n padding-block: calc((var(--luci-btn-h) - var(--luci-btn-line)) / 2 - 1px); }\n.luci-theme .btn-outline:hover:not(:disabled) { background: var(--luci-color-ghost-hover); border-color: var(--luci-color-stroke-strong); }\n.luci-theme :is(.btn-secondary, .btn-outline):is(.btn-with-ico, .btn-icon) { padding-block: 0; }\n.luci-theme .btn-ghost { background: transparent; }\n.luci-theme .btn-danger { background: var(--luci-color-danger-bg); color: var(--luci-color-danger); }\n.luci-theme .btn-danger:hover:not(:disabled) { background: var(--luci-color-danger-hover); }\n.luci-theme .btn-danger:disabled { background: var(--luci-color-danger-bg); color: var(--luci-color-danger); opacity: 0.5; }\n.luci-theme .btn-link { min-height: 0; padding: 0; border-radius: var(--luci-radius-sm); background: transparent; color: var(--luci-color-link);\n font-weight: 500; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px;\n transition: text-decoration-color var(--luci-motion-fast); }\n.luci-theme .btn-link:hover:not(:disabled) { background: transparent; text-decoration-color: currentColor; }\n.luci-theme .btn-link:active:not(:disabled) { transform: none; }\n.luci-theme .btn-link::before { inset: -8px -4px; }\n/* Working: the label stays for layout, a ring turns over it */\n.luci-theme button[aria-busy=\"true\"] > * { opacity: 0.4; }\n.badge, .count { display: inline-flex; align-items: center; justify-content: center; height: 22px; padding: 0 var(--luci-space-8);\n border-radius: var(--luci-radius-full); font-size: var(--luci-type-micro-size); line-height: var(--luci-type-micro-line);\n font-weight: var(--luci-type-micro-weight); white-space: nowrap; }\n.badge { background: var(--luci-color-surface-sunken); color: var(--luci-color-ink); }\n.badge.brand { background: var(--luci-color-primary-soft); color: var(--luci-color-link); }\n.count { min-width: 22px; background: var(--luci-color-accent); color: var(--luci-color-on-accent); }\n\n/* Status message and toast: tinted fill, the status icon and coloured title, Charcoal detail, no stroke */\n.status-msg { display: flex; gap: var(--luci-space-12); align-items: flex-start; margin: 0; padding: var(--luci-space-12) var(--luci-space-16);\n border-radius: var(--luci-radius-lg); background: var(--status-bg); color: var(--luci-color-muzzle-900); }\n.status-msg.success { --status: var(--luci-color-success); --status-bg: var(--luci-color-success-bg); }\n.status-msg.warning { --status: var(--luci-color-warning); --status-bg: var(--luci-color-warning-bg); }\n.status-msg.danger { --status: var(--luci-color-danger); --status-bg: var(--luci-color-danger-bg); }\n.status-msg.info { --status: var(--luci-color-info); --status-bg: var(--luci-color-info-bg); }\n.status-msg > .icon { color: var(--status); margin-top: 2px; }\n.status-msg .status-body { display: flex; flex-direction: column; gap: var(--luci-space-4); min-width: 0; }\n.status-msg .status-title { margin: 0; color: var(--status); font-size: var(--luci-type-heading-size); line-height: var(--luci-type-heading-line); font-weight: var(--luci-type-heading-weight); }\n.status-msg .status-detail { margin: 0; }\n.status-msg .mascot { width: 48px; }\n.toast { position: fixed; z-index: 2147483647; box-shadow: var(--luci-shadow-float); }\n\n/* Card and panel */\n.card { padding: var(--luci-space-24); border: 1px solid var(--luci-color-stroke-subtle); border-radius: var(--luci-radius-xl); background: var(--luci-color-surface-raised); }\n\n/* Input, select and text area */\n.luci-theme :where(input[type=\"text\"], input[type=\"search\"], input[type=\"number\"], input[type=\"url\"], input:not([type]), select, textarea) {\n min-height: var(--luci-btn-h);\n padding: 0 var(--luci-space-12);\n border: 1px solid var(--luci-color-stroke-subtle);\n border-radius: var(--luci-radius-sm);\n background-color: var(--luci-color-surface-raised);\n color: var(--luci-color-ink);\n transition: border-color var(--luci-motion-fast);\n}\n.luci-theme :where(textarea) { padding: var(--luci-space-8) var(--luci-space-12); resize: vertical; }\n/* Select: the component wraps it with the kit's chevron icon, 12 px from the edge */\n.luci-theme :where(select) { appearance: none; padding-inline-end: 36px; text-overflow: ellipsis; cursor: pointer; }\n.select { position: relative; display: inline-flex; vertical-align: middle; min-width: 0; }\n.select > select { flex: 1 1 auto; min-width: 0; }\n.select > .icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; }\n.luci-theme :where(input, select, textarea):hover:not(:disabled) { border-color: var(--luci-color-stroke-strong); }\n.luci-theme ::placeholder { color: var(--luci-color-ink-secondary); opacity: 1; }\n.luci-theme :where(input[type=\"checkbox\"], input[type=\"radio\"]) { accent-color: var(--luci-color-primary); }\n.field-error { display: flex; gap: var(--luci-space-4); align-items: center; margin: 0; color: var(--luci-color-danger);\n font-size: var(--luci-type-small-size); line-height: var(--luci-type-small-line); }\n\n/* The repository pill: GitHub's mark and Luci's version, in the code font (a link once the repository is public) */\n.luci-theme .repo-btn { position: relative; display: inline-flex; flex: none; align-items: center; gap: 6px; height: 32px; padding: 0 var(--luci-space-12);\n border: 1px solid var(--luci-color-stroke-subtle); border-radius: var(--luci-radius-full); background: var(--luci-color-surface-raised);\n color: var(--luci-color-ink); font: 600 13px/1 var(--luci-font-code); text-decoration: none; white-space: nowrap; }\n.luci-theme .repo-btn .repo-beta { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: var(--luci-radius-full);\n background: var(--luci-color-primary-soft); color: var(--luci-color-link); font: 700 10px/1.2 var(--luci-font-sans); text-transform: uppercase; letter-spacing: 0.04em; margin-left: 2px; }\n.luci-theme a.repo-btn:hover { background: var(--luci-color-ghost-hover); }\n.luci-theme a.repo-btn:focus-visible { outline: 2px solid var(--luci-color-focus); outline-offset: 2px; }\n.luci-theme .repo-btn .gh-mark { display: block; width: 16px; height: 16px; line-height: 0; }\n.luci-theme .repo-btn .gh-mark svg { display: block; width: 16px; height: 16px; }\n/* Tooltip host: relative positioning and raised z-index on hover so tooltips render above sibling elements */\n.luci-theme [data-tip] { position: relative; }\n.luci-theme [data-tip]:is(:hover, :focus-visible) { z-index: 10; }\n\n/* Tooltip: the text in data-tip; below the element, or above with data-tip-pos=\"above\". Shows after 300 ms. */\n.luci-theme [data-tip]::after { content: attr(data-tip); position: absolute; left: 50%; top: calc(100% + var(--luci-space-8)); z-index: 10;\n width: max-content; max-width: 340px; box-sizing: border-box; padding: 6px 10px; border-radius: var(--luci-radius-md); background: var(--luci-color-ink);\n color: var(--luci-color-surface); font-size: var(--luci-type-small-size); line-height: var(--luci-type-small-line); font-weight: var(--luci-type-small-weight);\n white-space: pre-wrap; word-break: normal; overflow-wrap: break-word; text-align: left; pointer-events: none; opacity: 0; transform: translate(-50%, -4px);\n transition: opacity var(--luci-motion-exit), transform var(--luci-motion-exit); }\n.luci-theme [data-tip][data-tip-pos=\"above\"]::after { top: auto; bottom: calc(100% + var(--luci-space-8)); transform: translate(-50%, 4px); }\n.luci-theme [data-tip]:is(:hover, :focus-visible)::after { opacity: 1; transform: translate(-50%, 0);\n transition: opacity var(--luci-motion-base) 300ms, transform var(--luci-motion-base) 300ms; }\n\n/* Left-aligned tooltips (first button in rows, cards, or explicit data-tip-align=\"left\") open rightwards to prevent clipping inside cards/panels */\n.luci-theme [data-tip][data-tip-align=\"left\"]::after,\n.luci-theme .panel .actions > [data-tip]:first-child::after,\n.luci-theme .panel .row > [data-tip]:first-child::after {\n left: 0; right: auto; transform: translate(0, -4px);\n}\n.luci-theme [data-tip][data-tip-pos=\"above\"][data-tip-align=\"left\"]::after,\n.luci-theme .panel .actions > [data-tip]:first-child[data-tip-pos=\"above\"]::after,\n.luci-theme .panel .row > [data-tip]:first-child[data-tip-pos=\"above\"]::after {\n top: auto; bottom: calc(100% + var(--luci-space-8)); left: 0; right: auto; transform: translate(0, 4px);\n}\n.luci-theme [data-tip][data-tip-align=\"left\"]:is(:hover, :focus-visible)::after,\n.luci-theme .panel .actions > [data-tip]:first-child:is(:hover, :focus-visible)::after,\n.luci-theme .panel .row > [data-tip]:first-child:is(:hover, :focus-visible)::after {\n transform: translate(0, 0);\n}\n\n/* Right-aligned tooltips (repo button, last button in rows, cards, or explicit data-tip-align=\"right\") open leftwards */\n.luci-theme .repo-btn[data-tip]::after,\n.luci-theme [data-tip][data-tip-align=\"right\"]::after,\n.luci-theme .panel .actions > [data-tip]:last-child::after,\n.luci-theme .panel .row > [data-tip]:last-child::after {\n left: auto; right: 0; transform: translate(0, -4px);\n}\n.luci-theme .repo-btn[data-tip][data-tip-pos=\"above\"]::after,\n.luci-theme [data-tip][data-tip-pos=\"above\"][data-tip-align=\"right\"]::after,\n.luci-theme .panel .actions > [data-tip]:last-child[data-tip-pos=\"above\"]::after,\n.luci-theme .panel .row > [data-tip]:last-child[data-tip-pos=\"above\"]::after {\n top: auto; bottom: calc(100% + var(--luci-space-8)); left: auto; right: 0; transform: translate(0, 4px);\n}\n.luci-theme .repo-btn[data-tip]:is(:hover, :focus-visible)::after,\n.luci-theme [data-tip][data-tip-align=\"right\"]:is(:hover, :focus-visible)::after,\n.luci-theme .panel .actions > [data-tip]:last-child:is(:hover, :focus-visible)::after,\n.luci-theme .panel .row > [data-tip]:last-child:is(:hover, :focus-visible)::after {\n transform: translate(0, 0);\n}\n\n/* Empty state: Luci, a title, one line, an optional primary button */\n.empty { display: flex; flex-direction: column; align-items: center; gap: var(--luci-space-12); padding: var(--luci-space-24) var(--luci-space-16); text-align: center; }\n.empty .t-title { margin: 0; }\n.empty p:not(.t-title) { margin: 0; color: var(--luci-color-ink-secondary); }\n";
|
|
1
|
+
export declare const BASE_CSS = "\n.luci-theme {\n /* Buttons: md is 40 px with 15 px labels (DESIGN.md section 6); a compact surface sets sm as its default */\n --luci-btn-h: 40px;\n --luci-btn-font: 15px;\n --luci-btn-line: 20px;\n --luci-btn-pad: var(--luci-space-16);\n font-family: var(--luci-font-body);\n font-size: var(--luci-type-body-size);\n line-height: var(--luci-type-body-line);\n font-weight: var(--luci-type-body-weight);\n color: var(--luci-color-ink);\n -webkit-font-smoothing: antialiased;\n}\n/*\n * Elevation for cards floating over the page: the float shadow, plus the faint inner edge on Charcoal\n * (the dark theme's cards), so they stay apart from a dark host page of the same colour.\n */\n.luci-theme { --luci-elevation: var(--luci-shadow-float); --luci-elevation-bar: var(--luci-shadow-edge), var(--luci-shadow-float); }\n@media (prefers-color-scheme: dark) { .luci-theme:not([data-theme=\"light\"]) { --luci-elevation: var(--luci-shadow-edge), var(--luci-shadow-float); } }\n.luci-theme[data-theme=\"dark\"] { --luci-elevation: var(--luci-shadow-edge), var(--luci-shadow-float); }\n.luci-theme *, .luci-theme *::before, .luci-theme *::after { box-sizing: border-box; }\n.luci-theme :where(button, input, select, textarea) { font: inherit; color: inherit; }\n.luci-theme :where(code, kbd, pre, samp) { font-family: var(--luci-font-code); }\n.luci-theme :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {\n outline: 2px solid var(--luci-color-focus);\n outline-offset: 2px;\n}\n/* Type roles */\n.t-display { font: var(--luci-type-display-weight) var(--luci-type-display-size)/var(--luci-type-display-line) var(--luci-font-display); }\n.t-title { font: var(--luci-type-title-weight) var(--luci-type-title-size)/var(--luci-type-title-line) var(--luci-font-display); margin: 0; }\n.t-heading { font: var(--luci-type-heading-weight) var(--luci-type-heading-size)/var(--luci-type-heading-line) var(--luci-font-body); margin: 0; }\n.t-small { font-size: var(--luci-type-small-size); line-height: var(--luci-type-small-line); font-weight: var(--luci-type-small-weight); }\n.t-micro { font-size: var(--luci-type-micro-size); line-height: var(--luci-type-micro-line); font-weight: var(--luci-type-micro-weight); }\n.t-code { font: var(--luci-type-code-weight) var(--luci-type-code-size)/var(--luci-type-code-line) var(--luci-font-code); }\n.overline { font-size: var(--luci-type-micro-size); line-height: var(--luci-type-micro-line); font-weight: var(--luci-type-micro-weight);\n letter-spacing: 0.06em; text-transform: uppercase; color: var(--luci-color-link); }\n/* Icons follow the text colour */\n.icon { flex: none; display: block; }\n/* The mascot */\n.mascot { display: inline-block; flex: none; line-height: 0; }\n.mascot svg { display: block; width: 100%; height: auto; }\n.luci-still, .luci-still * { animation: none !important; }\n.luci-avatar { display: inline-flex; flex: none; align-items: center; justify-content: center; border-radius: var(--luci-radius-full);\n background: var(--luci-color-primary); overflow: hidden; }\n/* Reduced motion: UI transitions become instant; the kit's CSS stops the mascot loops */\n@media (prefers-reduced-motion: reduce) {\n .luci-theme *, .luci-theme *::before, .luci-theme *::after { transition-duration: 0s !important; }\n}\n";
|
|
2
|
+
export declare const COMPONENTS_CSS = "\n/*\n * Button (DESIGN.md section 6). Variants: btn-primary, btn-secondary, btn-outline, btn-ghost (also a\n * bare button), btn-danger, btn-link; btn-icon for icon-only (square, round). Sizes: btn-sm 32,\n * btn-md 40, btn-lg 48 (default: the surface's). States: hover, :active (pressed), :focus-visible,\n * :disabled, aria-pressed=\"true\" (toggled on), aria-busy=\"true\" (working).\n */\n.luci-theme button {\n position: relative;\n display: inline-block;\n vertical-align: middle;\n min-height: var(--luci-btn-h);\n padding: calc((var(--luci-btn-h) - var(--luci-btn-line)) / 2) var(--luci-btn-pad);\n border: 0;\n border-radius: var(--luci-radius-full);\n background: transparent;\n color: var(--luci-color-ink);\n font-size: var(--luci-btn-font);\n font-weight: 600;\n line-height: var(--luci-btn-line);\n text-align: center;\n white-space: nowrap;\n cursor: pointer;\n transition: background-color var(--luci-motion-fast), color var(--luci-motion-fast), transform var(--luci-motion-fast);\n}\n/* Every button is a 44 px target, even when it is drawn 32 px tall */\n.luci-theme button::before { content: \"\"; position: absolute; inset: min(0px, calc((var(--luci-btn-h) - var(--luci-size-touch-target)) / 2)) 0; }\n.luci-theme button:hover:not(:disabled) { background: var(--luci-color-ghost-hover); }\n.luci-theme button:active:not(:disabled) { transform: translateY(1px); }\n.luci-theme button:disabled { color: var(--luci-color-ink-disabled); background: transparent; cursor: not-allowed; }\n.luci-theme button[aria-busy=\"true\"] { cursor: progress; }\n/* On (a tool, a toggle, a segment): one look everywhere, the kit's active tool fill (ginger-400, Charcoal text, 6.9:1) */\n.luci-theme button[aria-pressed=\"true\"]:not(.btn-primary),\n.luci-theme button[aria-pressed=\"true\"]:not(.btn-primary):hover:not(:disabled) { background: var(--luci-color-tool-active); color: var(--luci-color-on-tool-active); }\n/* A small count on a button */\n.btn-badge { position: absolute; top: 0; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--luci-radius-full);\n background: var(--luci-color-accent); color: var(--luci-color-on-accent); font: 600 11px/18px var(--luci-font-body); text-align: center; pointer-events: none; }\n\n/* Sizes */\n.luci-theme .btn-sm { --luci-btn-h: 32px; --luci-btn-font: var(--luci-type-small-size); --luci-btn-line: var(--luci-type-small-line); --luci-btn-pad: var(--luci-space-12); }\n.luci-theme .btn-md { --luci-btn-h: 40px; --luci-btn-font: 15px; --luci-btn-line: 20px; --luci-btn-pad: var(--luci-space-16); }\n.luci-theme .btn-lg { --luci-btn-h: 48px; --luci-btn-font: 15px; --luci-btn-line: 20px; --luci-btn-pad: var(--luci-space-20); }\n\n/* Text with an icon, and icon only */\n.luci-theme .btn-with-ico { display: inline-flex; align-items: center; justify-content: center; gap: var(--luci-space-8); padding-block: 0; }\n.luci-theme .btn-with-ico .icon { margin-inline-start: calc(var(--luci-space-4) * -1); }\n.luci-theme .btn-icon { display: inline-flex; align-items: center; justify-content: center; width: var(--luci-btn-h); height: var(--luci-btn-h); padding: 0; }\n.luci-theme .btn-icon::before { inset: min(0px, calc((var(--luci-btn-h) - var(--luci-size-touch-target)) / 2)); }\n\n/* Variants */\n.luci-theme .btn-primary { background: var(--luci-color-primary); color: var(--luci-color-on-primary); }\n.luci-theme .btn-primary:hover:not(:disabled) { background: var(--luci-color-primary-hover); }\n.luci-theme .btn-primary:disabled { background: var(--luci-color-surface-sunken); color: var(--luci-color-ink-disabled); }\n.luci-theme .btn-secondary { background: var(--luci-color-surface-raised); border: 1px solid var(--luci-color-stroke-subtle);\n padding-block: calc((var(--luci-btn-h) - var(--luci-btn-line)) / 2 - 1px); }\n.luci-theme .btn-secondary:hover:not(:disabled) { background: var(--luci-color-secondary-hover); }\n.luci-theme .btn-secondary:disabled { background: var(--luci-color-surface-raised); }\n.luci-theme .btn-outline { background: transparent; border: 1px solid var(--luci-color-stroke-subtle);\n padding-block: calc((var(--luci-btn-h) - var(--luci-btn-line)) / 2 - 1px); }\n.luci-theme .btn-outline:hover:not(:disabled) { background: var(--luci-color-ghost-hover); border-color: var(--luci-color-stroke-strong); }\n.luci-theme :is(.btn-secondary, .btn-outline):is(.btn-with-ico, .btn-icon) { padding-block: 0; }\n.luci-theme .btn-ghost { background: transparent; }\n.luci-theme .btn-danger { background: var(--luci-color-danger-bg); color: var(--luci-color-danger); }\n.luci-theme .btn-danger:hover:not(:disabled) { background: var(--luci-color-danger-hover); }\n.luci-theme .btn-danger:disabled { background: var(--luci-color-danger-bg); color: var(--luci-color-danger); opacity: 0.5; }\n.luci-theme .btn-link { min-height: 0; padding: 0; border-radius: var(--luci-radius-sm); background: transparent; color: var(--luci-color-link);\n font-weight: 500; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px;\n transition: text-decoration-color var(--luci-motion-fast); }\n.luci-theme .btn-link:hover:not(:disabled) { background: transparent; text-decoration-color: currentColor; }\n.luci-theme .btn-link:active:not(:disabled) { transform: none; }\n.luci-theme .btn-link::before { inset: -8px -4px; }\n/* Working: the label stays for layout, a ring turns over it */\n.luci-theme button[aria-busy=\"true\"] > * { opacity: 0.4; }\n.badge, .count { display: inline-flex; align-items: center; justify-content: center; height: 22px; padding: 0 var(--luci-space-8);\n border-radius: var(--luci-radius-full); font-size: var(--luci-type-micro-size); line-height: var(--luci-type-micro-line);\n font-weight: var(--luci-type-micro-weight); white-space: nowrap; }\n.badge { background: var(--luci-color-surface-sunken); color: var(--luci-color-ink); }\n.badge.brand { background: var(--luci-color-primary-soft); color: var(--luci-color-link); }\n.count { min-width: 22px; background: var(--luci-color-accent); color: var(--luci-color-on-accent); }\n\n/* Status message and toast: tinted fill, the status icon and coloured title, Charcoal detail, no stroke */\n.status-msg { display: flex; gap: var(--luci-space-12); align-items: flex-start; margin: 0; padding: var(--luci-space-12) var(--luci-space-16);\n border-radius: var(--luci-radius-lg); background: var(--status-bg); color: var(--luci-color-muzzle-900); }\n.status-msg.success { --status: var(--luci-color-success); --status-bg: var(--luci-color-success-bg); }\n.status-msg.warning { --status: var(--luci-color-warning); --status-bg: var(--luci-color-warning-bg); }\n.status-msg.danger { --status: var(--luci-color-danger); --status-bg: var(--luci-color-danger-bg); }\n.status-msg.info { --status: var(--luci-color-info); --status-bg: var(--luci-color-info-bg); }\n.status-msg > .icon { color: var(--status); margin-top: 2px; }\n.status-msg .status-body { display: flex; flex-direction: column; gap: var(--luci-space-4); min-width: 0; }\n.status-msg .status-title { margin: 0; color: var(--status); font-size: var(--luci-type-heading-size); line-height: var(--luci-type-heading-line); font-weight: var(--luci-type-heading-weight); }\n.status-msg .status-detail { margin: 0; }\n.status-msg .mascot { width: 48px; }\n.toast { position: fixed; z-index: 2147483647; box-shadow: var(--luci-elevation); }\n\n/* Card and panel */\n.card { padding: var(--luci-space-24); border: 1px solid var(--luci-color-stroke-subtle); border-radius: var(--luci-radius-xl); background: var(--luci-color-surface-raised); }\n\n/* Input, select and text area */\n.luci-theme :where(input[type=\"text\"], input[type=\"search\"], input[type=\"number\"], input[type=\"url\"], input:not([type]), select, textarea) {\n min-height: var(--luci-btn-h);\n padding: 0 var(--luci-space-12);\n border: 1px solid var(--luci-color-stroke-subtle);\n border-radius: var(--luci-radius-sm);\n background-color: var(--luci-color-surface-raised);\n color: var(--luci-color-ink);\n transition: border-color var(--luci-motion-fast);\n}\n.luci-theme :where(textarea) { padding: var(--luci-space-8) var(--luci-space-12); resize: vertical; }\n/* Select: the component wraps it with the kit's chevron icon, 12 px from the edge */\n.luci-theme :where(select) { appearance: none; padding-inline-end: 36px; text-overflow: ellipsis; cursor: pointer; }\n.select { position: relative; display: inline-flex; vertical-align: middle; min-width: 0; }\n.select > select { flex: 1 1 auto; min-width: 0; }\n.select > .icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; }\n.luci-theme :where(input, select, textarea):hover:not(:disabled) { border-color: var(--luci-color-stroke-strong); }\n.luci-theme ::placeholder { color: var(--luci-color-ink-secondary); opacity: 1; }\n.luci-theme :where(input[type=\"checkbox\"], input[type=\"radio\"]) { accent-color: var(--luci-color-primary); }\n.field-error { display: flex; gap: var(--luci-space-4); align-items: center; margin: 0; color: var(--luci-color-danger);\n font-size: var(--luci-type-small-size); line-height: var(--luci-type-small-line); }\n\n/* The repository pill: GitHub's mark and Luci's version, in the code font (a link once the repository is public) */\n.luci-theme .repo-btn { position: relative; display: inline-flex; flex: none; align-items: center; gap: 6px; height: 32px; padding: 0 var(--luci-space-12);\n border: 1px solid var(--luci-color-stroke-subtle); border-radius: var(--luci-radius-full); background: var(--luci-color-surface-raised);\n color: var(--luci-color-ink); font: 600 13px/1 var(--luci-font-code); text-decoration: none; white-space: nowrap; }\n.luci-theme .repo-btn .repo-beta { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: var(--luci-radius-full);\n background: var(--luci-color-primary-soft); color: var(--luci-color-link); font: 700 10px/1.2 var(--luci-font-sans); text-transform: uppercase; letter-spacing: 0.04em; margin-left: 2px; }\n.luci-theme a.repo-btn:hover { background: var(--luci-color-ghost-hover); }\n.luci-theme a.repo-btn:focus-visible { outline: 2px solid var(--luci-color-focus); outline-offset: 2px; }\n.luci-theme .repo-btn .gh-mark { display: block; width: 16px; height: 16px; line-height: 0; }\n.luci-theme .repo-btn .gh-mark svg { display: block; width: 16px; height: 16px; }\n/* Tooltip host: relative positioning and raised z-index on hover so tooltips render above sibling elements */\n.luci-theme [data-tip] { position: relative; }\n.luci-theme [data-tip]:is(:hover, :focus-visible) { z-index: 10; }\n\n/* Tooltip: the text in data-tip; below the element, or above with data-tip-pos=\"above\". Shows after 300 ms. */\n.luci-theme [data-tip]::after { content: attr(data-tip); position: absolute; left: 50%; top: calc(100% + var(--luci-space-8)); z-index: 10;\n width: max-content; max-width: 340px; box-sizing: border-box; padding: 6px 10px; border-radius: var(--luci-radius-md); background: var(--luci-color-ink);\n color: var(--luci-color-surface); font-size: var(--luci-type-small-size); line-height: var(--luci-type-small-line); font-weight: var(--luci-type-small-weight);\n white-space: pre-wrap; word-break: normal; overflow-wrap: break-word; text-align: left; pointer-events: none; opacity: 0; transform: translate(-50%, -4px);\n transition: opacity var(--luci-motion-exit), transform var(--luci-motion-exit); }\n.luci-theme [data-tip][data-tip-pos=\"above\"]::after { top: auto; bottom: calc(100% + var(--luci-space-8)); transform: translate(-50%, 4px); }\n.luci-theme [data-tip]:is(:hover, :focus-visible)::after { opacity: 1; transform: translate(-50%, 0);\n transition: opacity var(--luci-motion-base) 300ms, transform var(--luci-motion-base) 300ms; }\n\n/*\n * Touch screens have no hover: a tapped button would keep its tooltip until the next tap elsewhere, over\n * the bar and its cards. There they show for keyboard focus only.\n */\n@media (hover: none) { .luci-theme [data-tip]:hover:not(:focus-visible)::after { opacity: 0; transition: none; } }\n\n/* Left-aligned tooltips (first button in rows, cards, or explicit data-tip-align=\"left\") open rightwards to prevent clipping inside cards/panels */\n.luci-theme [data-tip][data-tip-align=\"left\"]::after,\n.luci-theme .panel .actions > [data-tip]:first-child::after,\n.luci-theme .panel .row > [data-tip]:first-child::after {\n left: 0; right: auto; transform: translate(0, -4px);\n}\n.luci-theme [data-tip][data-tip-pos=\"above\"][data-tip-align=\"left\"]::after,\n.luci-theme .panel .actions > [data-tip]:first-child[data-tip-pos=\"above\"]::after,\n.luci-theme .panel .row > [data-tip]:first-child[data-tip-pos=\"above\"]::after {\n top: auto; bottom: calc(100% + var(--luci-space-8)); left: 0; right: auto; transform: translate(0, 4px);\n}\n.luci-theme [data-tip][data-tip-align=\"left\"]:is(:hover, :focus-visible)::after,\n.luci-theme .panel .actions > [data-tip]:first-child:is(:hover, :focus-visible)::after,\n.luci-theme .panel .row > [data-tip]:first-child:is(:hover, :focus-visible)::after {\n transform: translate(0, 0);\n}\n\n/* Right-aligned tooltips (repo button, last button in rows, cards, or explicit data-tip-align=\"right\") open leftwards */\n.luci-theme .repo-btn[data-tip]::after,\n.luci-theme [data-tip][data-tip-align=\"right\"]::after,\n.luci-theme .panel .actions > [data-tip]:last-child::after,\n.luci-theme .panel .row > [data-tip]:last-child::after {\n left: auto; right: 0; transform: translate(0, -4px);\n}\n.luci-theme .repo-btn[data-tip][data-tip-pos=\"above\"]::after,\n.luci-theme [data-tip][data-tip-pos=\"above\"][data-tip-align=\"right\"]::after,\n.luci-theme .panel .actions > [data-tip]:last-child[data-tip-pos=\"above\"]::after,\n.luci-theme .panel .row > [data-tip]:last-child[data-tip-pos=\"above\"]::after {\n top: auto; bottom: calc(100% + var(--luci-space-8)); left: auto; right: 0; transform: translate(0, 4px);\n}\n.luci-theme .repo-btn[data-tip]:is(:hover, :focus-visible)::after,\n.luci-theme [data-tip][data-tip-align=\"right\"]:is(:hover, :focus-visible)::after,\n.luci-theme .panel .actions > [data-tip]:last-child:is(:hover, :focus-visible)::after,\n.luci-theme .panel .row > [data-tip]:last-child:is(:hover, :focus-visible)::after {\n transform: translate(0, 0);\n}\n\n/* Empty state: Luci, a title, one line, an optional primary button */\n.empty { display: flex; flex-direction: column; align-items: center; gap: var(--luci-space-12); padding: var(--luci-space-24) var(--luci-space-16); text-align: center; }\n.empty .t-title { margin: 0; }\n.empty p:not(.t-title) { margin: 0; color: var(--luci-color-ink-secondary); }\n";
|
|
3
3
|
/** Everything a Luci surface needs in its shadow root, in order. */
|
|
4
|
-
export declare const UI_CSS = "/* Generated by scripts/brand-sync.mjs from brand/. Do not edit: run `pnpm brand:sync`. */\n:host, :root {\n --luci-color-ginger-50: #FEF5E8;\n --luci-color-ginger-100: #FEEBD1;\n --luci-color-ginger-200: #FCD7AA;\n --luci-color-ginger-300: #FBBE7A;\n --luci-color-ginger-400: #F6A24F;\n --luci-color-ginger-500: #EC862B;\n --luci-color-ginger-600: #D86D1D;\n --luci-color-ginger-700: #AD4F1A;\n --luci-color-ginger-800: #893D1B;\n --luci-color-ginger-900: #652D18;\n --luci-color-ginger-950: #451F12;\n --luci-color-collar-lime-100: #EAF5C7;\n --luci-color-collar-lime-300: #CBE66D;\n --luci-color-collar-lime-500: #B4D43C;\n --luci-color-collar-lime-700: #547617;\n --luci-color-nose-pink-100: #FFE4E1;\n --luci-color-nose-pink-300: #F5B9B4;\n --luci-color-nose-pink-500: #E79993;\n --luci-color-nose-pink-700: #AB5050;\n --luci-color-iris-gold-100: #F7F0CA;\n --luci-color-iris-gold-300: #E6D17A;\n --luci-color-iris-gold-500: #CBB042;\n --luci-color-iris-gold-700: #7B6813;\n --luci-color-success-100: #DFF3D5;\n --luci-color-success-700: #3F7932;\n --luci-color-warning-100: #FEEDC9;\n --luci-color-warning-700: #975F03;\n --luci-color-danger-100: #FFE3DF;\n --luci-color-danger-700: #C5372F;\n --luci-color-info-100: #D9F0F3;\n --luci-color-info-700: #1E767F;\n --luci-color-muzzle-0: #FDF9F6;\n --luci-color-muzzle-50: #F5EFEA;\n --luci-color-muzzle-100: #EBE5E0;\n --luci-color-muzzle-200: #DBD4CF;\n --luci-color-muzzle-300: #C2BCB8;\n --luci-color-muzzle-400: #A29D99;\n --luci-color-muzzle-500: #837F7C;\n --luci-color-muzzle-600: #656360;\n --luci-color-muzzle-700: #4F4D4B;\n --luci-color-muzzle-800: #3B3A39;\n --luci-color-muzzle-900: #2B2B2B;\n --luci-radius-sm: 8px;\n --luci-radius-md: 12px;\n --luci-radius-lg: 16px;\n --luci-radius-xl: 24px;\n --luci-radius-full: 9999px;\n --luci-space-4: 4px;\n --luci-space-8: 8px;\n --luci-space-12: 12px;\n --luci-space-16: 16px;\n --luci-space-20: 20px;\n --luci-space-24: 24px;\n --luci-space-32: 32px;\n --luci-space-40: 40px;\n --luci-space-48: 48px;\n --luci-space-64: 64px;\n --luci-space-80: 80px;\n --luci-font-display: \"Luci Fredoka\", Fredoka, \"Luci Inter\", Inter, sans-serif;\n --luci-font-body: \"Luci Inter\", Inter, system-ui, sans-serif;\n --luci-font-code: \"Luci JetBrains Mono\", 'JetBrains Mono', ui-monospace, monospace;\n --luci-type-display-size: 40px;\n --luci-type-display-line: 44px;\n --luci-type-display-weight: 600;\n --luci-type-title-size: 24px;\n --luci-type-title-line: 30px;\n --luci-type-title-weight: 600;\n --luci-type-heading-size: 17px;\n --luci-type-heading-line: 24px;\n --luci-type-heading-weight: 600;\n --luci-type-body-size: 15px;\n --luci-type-body-line: 22px;\n --luci-type-body-weight: 400;\n --luci-type-small-size: 13px;\n --luci-type-small-line: 18px;\n --luci-type-small-weight: 500;\n --luci-type-micro-size: 12px;\n --luci-type-micro-line: 16px;\n --luci-type-micro-weight: 600;\n --luci-type-code-size: 13px;\n --luci-type-code-line: 20px;\n --luci-type-code-weight: 500;\n --luci-shadow-float: 0 8px 24px rgba(43, 43, 43, 0.14);\n --luci-motion-fast: 150ms ease-out;\n --luci-motion-base: 200ms ease-out;\n --luci-motion-exit: 150ms ease-in;\n --luci-size-touch-target: 44px;\n --luci-size-toolbar-button: 48px;\n --luci-size-toolbar-icon: 22px;\n --luci-size-mascot-min: 96px;\n --luci-size-toast-face: 48px;\n --luci-color-surface: var(--luci-color-muzzle-50);\n --luci-color-surface-raised: var(--luci-color-muzzle-0);\n --luci-color-surface-sunken: var(--luci-color-muzzle-100);\n --luci-color-ink: var(--luci-color-muzzle-900);\n --luci-color-ink-secondary: var(--luci-color-muzzle-600);\n --luci-color-ink-disabled: var(--luci-color-muzzle-400);\n --luci-color-primary: var(--luci-color-ginger-500);\n --luci-color-on-primary: var(--luci-color-muzzle-900);\n --luci-color-primary-hover: var(--luci-color-ginger-600);\n --luci-color-primary-soft: var(--luci-color-ginger-100);\n --luci-color-link: var(--luci-color-ginger-700);\n --luci-color-accent: var(--luci-color-collar-lime-500);\n --luci-color-on-accent: var(--luci-color-muzzle-900);\n --luci-color-success: var(--luci-color-success-700);\n --luci-color-success-bg: var(--luci-color-success-100);\n --luci-color-warning: var(--luci-color-warning-700);\n --luci-color-warning-bg: var(--luci-color-warning-100);\n --luci-color-danger: var(--luci-color-danger-700);\n --luci-color-danger-bg: var(--luci-color-danger-100);\n --luci-color-danger-hover: #FFD3CD;\n --luci-color-info: var(--luci-color-info-700);\n --luci-color-info-bg: var(--luci-color-info-100);\n --luci-color-secondary-hover: var(--luci-color-muzzle-100);\n --luci-color-ghost-hover: color-mix(in srgb, var(--luci-color-muzzle-900) 6%, transparent);\n --luci-color-stroke-subtle: color-mix(in srgb, var(--luci-color-muzzle-900) 12%, transparent);\n --luci-color-stroke-muzzle: var(--luci-color-muzzle-200);\n --luci-color-stroke-strong: color-mix(in srgb, var(--luci-color-muzzle-900) 24%, transparent);\n --luci-color-focus: var(--luci-color-muzzle-900);\n --luci-color-bar: var(--luci-color-muzzle-900);\n --luci-color-bar-ink: var(--luci-color-muzzle-50);\n --luci-color-bar-ink-secondary: var(--luci-color-muzzle-300);\n --luci-color-bar-hover: var(--luci-color-muzzle-700);\n --luci-color-bar-stroke: color-mix(in srgb, var(--luci-color-muzzle-50) 16%, transparent);\n --luci-color-tool-active: var(--luci-color-ginger-400);\n --luci-color-on-tool-active: var(--luci-color-muzzle-900);\n --luci-color-pick: var(--luci-color-ginger-500);\n --luci-color-pick-fill: color-mix(in srgb, var(--luci-color-ginger-500) 14%, transparent);\n --luci-color-pick-blocked: var(--luci-color-danger-700);\n --luci-color-pick-blocked-fill: color-mix(in srgb, var(--luci-color-muzzle-500) 35%, transparent);\n --luci-color-pad-fill: color-mix(in srgb, var(--luci-color-collar-lime-500) 35%, transparent);\n --luci-color-margin-fill: color-mix(in srgb, var(--luci-color-ginger-300) 35%, transparent);\n --luci-color-insert: var(--luci-color-nose-pink-500);\n --luci-color-insert-fill: color-mix(in srgb, var(--luci-color-nose-pink-500) 16%, transparent);\n --luci-color-insert-ink: var(--luci-color-nose-pink-100);\n}\n@media (prefers-color-scheme: dark) {\n .luci-theme:not([data-theme=\"light\"]) {\n --luci-color-surface: var(--luci-color-muzzle-900);\n --luci-color-surface-raised: var(--luci-color-muzzle-800);\n --luci-color-surface-sunken: var(--luci-color-muzzle-800);\n --luci-color-ink: var(--luci-color-muzzle-50);\n --luci-color-ink-secondary: var(--luci-color-muzzle-300);\n --luci-color-ink-disabled: var(--luci-color-muzzle-500);\n --luci-color-primary: var(--luci-color-ginger-400);\n --luci-color-on-primary: var(--luci-color-muzzle-900);\n --luci-color-primary-hover: var(--luci-color-ginger-300);\n --luci-color-primary-soft: color-mix(in srgb, var(--luci-color-ginger-400) 18%, transparent);\n --luci-color-link: var(--luci-color-ginger-300);\n --luci-color-accent: var(--luci-color-collar-lime-500);\n --luci-color-on-accent: var(--luci-color-muzzle-900);\n --luci-color-success: var(--luci-color-success-700);\n --luci-color-success-bg: var(--luci-color-success-100);\n --luci-color-warning: var(--luci-color-warning-700);\n --luci-color-warning-bg: var(--luci-color-warning-100);\n --luci-color-danger: var(--luci-color-danger-700);\n --luci-color-danger-bg: var(--luci-color-danger-100);\n --luci-color-danger-hover: #FFD3CD;\n --luci-color-info: var(--luci-color-info-700);\n --luci-color-info-bg: var(--luci-color-info-100);\n --luci-color-secondary-hover: var(--luci-color-muzzle-700);\n --luci-color-ghost-hover: color-mix(in srgb, var(--luci-color-muzzle-50) 8%, transparent);\n --luci-color-stroke-subtle: color-mix(in srgb, var(--luci-color-muzzle-50) 16%, transparent);\n --luci-color-stroke-muzzle: var(--luci-color-muzzle-700);\n --luci-color-stroke-strong: color-mix(in srgb, var(--luci-color-muzzle-50) 28%, transparent);\n --luci-color-focus: var(--luci-color-muzzle-50);\n }\n}\n.luci-theme[data-theme=\"dark\"] {\n --luci-color-surface: var(--luci-color-muzzle-900);\n --luci-color-surface-raised: var(--luci-color-muzzle-800);\n --luci-color-surface-sunken: var(--luci-color-muzzle-800);\n --luci-color-ink: var(--luci-color-muzzle-50);\n --luci-color-ink-secondary: var(--luci-color-muzzle-300);\n --luci-color-ink-disabled: var(--luci-color-muzzle-500);\n --luci-color-primary: var(--luci-color-ginger-400);\n --luci-color-on-primary: var(--luci-color-muzzle-900);\n --luci-color-primary-hover: var(--luci-color-ginger-300);\n --luci-color-primary-soft: color-mix(in srgb, var(--luci-color-ginger-400) 18%, transparent);\n --luci-color-link: var(--luci-color-ginger-300);\n --luci-color-accent: var(--luci-color-collar-lime-500);\n --luci-color-on-accent: var(--luci-color-muzzle-900);\n --luci-color-success: var(--luci-color-success-700);\n --luci-color-success-bg: var(--luci-color-success-100);\n --luci-color-warning: var(--luci-color-warning-700);\n --luci-color-warning-bg: var(--luci-color-warning-100);\n --luci-color-danger: var(--luci-color-danger-700);\n --luci-color-danger-bg: var(--luci-color-danger-100);\n --luci-color-danger-hover: #FFD3CD;\n --luci-color-info: var(--luci-color-info-700);\n --luci-color-info-bg: var(--luci-color-info-100);\n --luci-color-secondary-hover: var(--luci-color-muzzle-700);\n --luci-color-ghost-hover: color-mix(in srgb, var(--luci-color-muzzle-50) 8%, transparent);\n --luci-color-stroke-subtle: color-mix(in srgb, var(--luci-color-muzzle-50) 16%, transparent);\n --luci-color-stroke-muzzle: var(--luci-color-muzzle-700);\n --luci-color-stroke-strong: color-mix(in srgb, var(--luci-color-muzzle-50) 28%, transparent);\n --luci-color-focus: var(--luci-color-muzzle-50);\n}\n\n/* Luci mascot animations. Works on the layered SVGs (inline) or inside the animated SVG files. */\n.luci .luci-ear,.luci .luci-eye,.luci .luci-tail,.luci .luci-body,.luci .luci-head,.luci .luci-z,.luci .luci-pupil,.luci .luci-arm,.luci .luci-ruler-line{transform-box:fill-box}\n.luci .luci-ear-l{transform-origin:70% 100%}\n.luci .luci-ear-r{transform-origin:30% 100%}\n.luci .luci-eye{transform-origin:50% 50%}\n.luci .luci-body{transform-origin:50% 100%}\n.luci .luci-head{transform-origin:50% 85%}\n.luci .luci-tail-wrap{transform-origin:92% 20%}\n.luci .luci-tail-up{transform-origin:5% 95%}\n.luci .luci-arm{transform-origin:10% 90%}\n.luci .luci-z{transform-origin:50% 50%}\n\n@keyframes luci-breathe{0%,100%{transform:scaleY(1)}50%{transform:scaleY(1.025)}}\n@keyframes luci-blink{0%,90%,100%{transform:scaleY(1)}94%{transform:scaleY(.08)}}\n@keyframes luci-slowblink{0%,25%{transform:scaleY(1)}42%,68%{transform:scaleY(.08)}85%,100%{transform:scaleY(1)}}\n@keyframes luci-twitch{0%,86%,100%{transform:rotate(0)}89%{transform:rotate(-12deg)}92%{transform:rotate(5deg)}95%{transform:rotate(-6deg)}98%{transform:rotate(0)}}\n@keyframes luci-sway{0%,100%{transform:rotate(-2.5deg)}50%{transform:rotate(2.5deg)}}\n@keyframes luci-lash{0%{transform:rotate(-9deg)}100%{transform:rotate(9deg)}}\n@keyframes luci-look{0%,18%{transform:translateX(0)}30%,50%{transform:translateX(-4px)}62%,82%{transform:translateX(4px)}94%,100%{transform:translateX(0)}}\n@keyframes luci-z{0%{opacity:0;transform:translate(0,6px) scale(.8)}25%{opacity:1}100%{opacity:0;transform:translate(10px,-20px) scale(1.1)}}\n@keyframes luci-tap{0%,100%{transform:rotate(0)}50%{transform:rotate(-7deg)}}\n@keyframes luci-pulse{0%,100%{opacity:1}50%{opacity:.3}}\n@keyframes luci-tilt{0%,100%{transform:rotate(0)}50%{transform:rotate(3deg)}}\n@keyframes luci-bristle{0%{transform:rotate(-2deg)}100%{transform:rotate(2deg)}}\n\n/* Idle: sitting tall */\n.luci-pose-sit .luci-body{animation:luci-breathe 4.5s ease-in-out infinite}\n.luci-pose-sit .luci-eye{animation:luci-blink 6s ease-in-out infinite}\n.luci-pose-sit .luci-ear-r{animation:luci-twitch 7s ease-in-out infinite}\n.luci-pose-sit .luci-tail{animation:luci-sway 5s ease-in-out infinite}\n/* Hello: slow blink (add class luci-hello to the sitting pose) */\n.luci-hello .luci-eye{animation:luci-slowblink 5s ease-in-out infinite}\n.luci-hello .luci-head{animation:luci-tilt 5s ease-in-out infinite}\n/* Avatar head */\n.luci-pose-head .luci-eye{animation:luci-blink 6s ease-in-out infinite}\n.luci-pose-head .luci-ear-l{animation:luci-twitch 8s ease-in-out infinite 2s}\n/* Watching (empty state) */\n.luci-pose-peek .luci-pupil{animation:luci-look 7s ease-in-out infinite}\n.luci-pose-peek .luci-eye{animation:luci-blink 7s ease-in-out infinite 3s}\n.luci-pose-peek .luci-ear-l{animation:luci-twitch 6s ease-in-out infinite 1s}\n/* Measuring (spacing tool) */\n.luci-pose-measure .luci-ruler-line{animation:luci-pulse 1.6s ease-in-out infinite}\n.luci-pose-measure .luci-arm{animation:luci-tap 1.6s ease-in-out infinite}\n.luci-pose-measure .luci-eye{animation:luci-blink 5s ease-in-out infinite}\n/* In the box (capture basket) */\n.luci-pose-box .luci-eye{animation:luci-blink 6s ease-in-out infinite}\n.luci-pose-box .luci-pupil{animation:luci-look 9s ease-in-out infinite 1s}\n.luci-pose-box .luci-ear-r{animation:luci-twitch 5s ease-in-out infinite}\n/* Asleep (loading) */\n.luci-pose-sleep .luci-body{animation:luci-breathe 3.5s ease-in-out infinite}\n.luci-pose-sleep .luci-z1{animation:luci-z 3s ease-out infinite}\n.luci-pose-sleep .luci-z2{animation:luci-z 3s ease-out infinite 1.5s}\n/* Content (success) */\n.luci-pose-content .luci-body{animation:luci-breathe 4s ease-in-out infinite}\n.luci-pose-content .luci-tail{animation:luci-sway 6s ease-in-out infinite}\n.luci-pose-content .luci-ear-r{animation:luci-twitch 6s ease-in-out infinite 2s}\n/* Annoyed (error) */\n.luci-pose-annoyed .luci-tail{animation:luci-lash .9s ease-in-out infinite alternate}\n.luci-pose-annoyed .luci-ear{animation:luci-bristle .35s ease-in-out infinite alternate}\n.luci-pose-annoyed .luci-body{animation:luci-breathe 1.8s ease-in-out infinite}\n/* Turned away (not now) */\n.luci-pose-turned .luci-tail{animation:luci-sway 4s ease-in-out infinite}\n.luci-pose-turned .luci-ear-r{animation:luci-twitch 5s ease-in-out infinite}\n.luci-pose-turned .luci-head{animation:luci-tilt 6s ease-in-out infinite}\n\n/* Tool poses: Pressing, Reading, Swatch, Comparing, Noting, Arranging, Placing, Sketching */\n.luci .luci-button-cap,.luci .luci-highlight,.luci .luci-chip-lift,.luci .luci-tick,.luci .luci-marker,.luci .luci-select-box,.luci .luci-block,.luci .luci-draft{transform-box:fill-box}\n.luci .luci-highlight{transform-origin:0 50%}\n.luci .luci-tick{transform-origin:50% 50%}\n.luci .luci-select-box{transform-origin:0 100%}\n\n@keyframes luci-press{0%,100%{transform:translateY(3px)}50%{transform:translateY(0)}}\n@keyframes luci-select{0%{transform:scaleX(.05);opacity:1}45%,85%{transform:scaleX(1);opacity:1}100%{transform:scaleX(1);opacity:0}}\n@keyframes luci-scan{0%,15%{transform:translateX(-3px)}50%,65%{transform:translateX(3px)}100%{transform:translateX(-3px)}}\n@keyframes luci-lift{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}\n@keyframes luci-glance{0%,40%{transform:translateX(-3px)}50%,90%{transform:translateX(3px)}100%{transform:translateX(-3px)}}\n@keyframes luci-pop{0%,100%{transform:scale(1)}50%{transform:scale(1.08)}}\n@keyframes luci-drop{0%{transform:translateY(-8px);opacity:0}20%{opacity:1}35%,85%{transform:translateY(0);opacity:1}100%{transform:translateY(0);opacity:0}}\n@keyframes luci-resize{0%,100%{transform:scale(1)}50%{transform:scale(1.06)}}\n@keyframes luci-settle{0%,100%{transform:translateY(0)}50%{transform:translateY(5px)}}\n@keyframes luci-push{0%,100%{transform:rotate(0)}50%{transform:rotate(5deg)}}\n\n/* Pressing (Component tool) */\n.luci-pose-press .luci-arm{animation:luci-tap 1.6s ease-in-out infinite}\n.luci-pose-press .luci-button-cap{animation:luci-press 1.6s ease-in-out infinite}\n.luci-pose-press .luci-click{animation:luci-pulse 1.6s ease-in-out infinite}\n.luci-pose-press .luci-eye{animation:luci-blink 5s ease-in-out infinite}\n/* Reading (Text tool) */\n.luci-pose-read .luci-highlight{animation:luci-select 3.2s ease-in-out infinite}\n.luci-pose-read .luci-pupil{animation:luci-scan 3.2s ease-in-out infinite}\n.luci-pose-read .luci-eye{animation:luci-blink 6s ease-in-out infinite 2s}\n/* Swatch (Colour tool) */\n.luci-pose-swatch .luci-chip-lift{animation:luci-lift 2s ease-in-out infinite}\n.luci-pose-swatch .luci-arm{animation:luci-tap 2s ease-in-out infinite}\n.luci-pose-swatch .luci-eye{animation:luci-blink 6s ease-in-out infinite}\n/* Comparing (Check) */\n.luci-pose-compare .luci-pupil{animation:luci-glance 4s ease-in-out infinite}\n.luci-pose-compare .luci-tick{animation:luci-pop 4s ease-in-out infinite}\n.luci-pose-compare .luci-head{animation:luci-tilt 6s ease-in-out infinite}\n.luci-pose-compare .luci-tail{animation:luci-sway 5s ease-in-out infinite}\n/* Noting (Feedback: Annotate) */\n.luci-pose-note .luci-marker{animation:luci-drop 3s ease-out infinite}\n.luci-pose-note .luci-arm{animation:luci-tap 3s ease-in-out infinite}\n.luci-pose-note .luci-eye{animation:luci-blink 6s ease-in-out infinite 1s}\n/* Arranging (Layout: Select) */\n.luci-pose-arrange .luci-select-box{animation:luci-resize 2.4s ease-in-out infinite}\n.luci-pose-arrange .luci-ear-r{animation:luci-twitch 6s ease-in-out infinite}\n.luci-pose-arrange .luci-eye{animation:luci-blink 5s ease-in-out infinite}\n/* Placing (Layout: Insert) */\n.luci-pose-place .luci-block{animation:luci-settle 2s ease-in-out infinite}\n.luci-pose-place .luci-arm{animation:luci-push 2s ease-in-out infinite}\n.luci-pose-place .luci-arrow{animation:luci-pulse 2s ease-in-out infinite}\n/* Sketching (Layout: New page) */\n.luci-pose-sketch .luci-draft{animation:luci-pulse 2.4s ease-in-out infinite}\n.luci-pose-sketch .luci-arm{animation:luci-tap 1.2s ease-in-out infinite}\n.luci-pose-sketch .luci-eye{animation:luci-blink 6s ease-in-out infinite}\n\n@media (prefers-reduced-motion: reduce){.luci *{animation:none!important}}\n\n.luci-theme {\n /* Buttons: md is 40 px with 15 px labels (DESIGN.md section 6); a compact surface sets sm as its default */\n --luci-btn-h: 40px;\n --luci-btn-font: 15px;\n --luci-btn-line: 20px;\n --luci-btn-pad: var(--luci-space-16);\n font-family: var(--luci-font-body);\n font-size: var(--luci-type-body-size);\n line-height: var(--luci-type-body-line);\n font-weight: var(--luci-type-body-weight);\n color: var(--luci-color-ink);\n -webkit-font-smoothing: antialiased;\n}\n.luci-theme *, .luci-theme *::before, .luci-theme *::after { box-sizing: border-box; }\n.luci-theme :where(button, input, select, textarea) { font: inherit; color: inherit; }\n.luci-theme :where(code, kbd, pre, samp) { font-family: var(--luci-font-code); }\n.luci-theme :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {\n outline: 2px solid var(--luci-color-focus);\n outline-offset: 2px;\n}\n/* Type roles */\n.t-display { font: var(--luci-type-display-weight) var(--luci-type-display-size)/var(--luci-type-display-line) var(--luci-font-display); }\n.t-title { font: var(--luci-type-title-weight) var(--luci-type-title-size)/var(--luci-type-title-line) var(--luci-font-display); margin: 0; }\n.t-heading { font: var(--luci-type-heading-weight) var(--luci-type-heading-size)/var(--luci-type-heading-line) var(--luci-font-body); margin: 0; }\n.t-small { font-size: var(--luci-type-small-size); line-height: var(--luci-type-small-line); font-weight: var(--luci-type-small-weight); }\n.t-micro { font-size: var(--luci-type-micro-size); line-height: var(--luci-type-micro-line); font-weight: var(--luci-type-micro-weight); }\n.t-code { font: var(--luci-type-code-weight) var(--luci-type-code-size)/var(--luci-type-code-line) var(--luci-font-code); }\n.overline { font-size: var(--luci-type-micro-size); line-height: var(--luci-type-micro-line); font-weight: var(--luci-type-micro-weight);\n letter-spacing: 0.06em; text-transform: uppercase; color: var(--luci-color-link); }\n/* Icons follow the text colour */\n.icon { flex: none; display: block; }\n/* The mascot */\n.mascot { display: inline-block; flex: none; line-height: 0; }\n.mascot svg { display: block; width: 100%; height: auto; }\n.luci-still, .luci-still * { animation: none !important; }\n.luci-avatar { display: inline-flex; flex: none; align-items: center; justify-content: center; border-radius: var(--luci-radius-full);\n background: var(--luci-color-primary); overflow: hidden; }\n/* Reduced motion: UI transitions become instant; the kit's CSS stops the mascot loops */\n@media (prefers-reduced-motion: reduce) {\n .luci-theme *, .luci-theme *::before, .luci-theme *::after { transition-duration: 0s !important; }\n}\n\n\n/*\n * Button (DESIGN.md section 6). Variants: btn-primary, btn-secondary, btn-outline, btn-ghost (also a\n * bare button), btn-danger, btn-link; btn-icon for icon-only (square, round). Sizes: btn-sm 32,\n * btn-md 40, btn-lg 48 (default: the surface's). States: hover, :active (pressed), :focus-visible,\n * :disabled, aria-pressed=\"true\" (toggled on), aria-busy=\"true\" (working).\n */\n.luci-theme button {\n position: relative;\n display: inline-block;\n vertical-align: middle;\n min-height: var(--luci-btn-h);\n padding: calc((var(--luci-btn-h) - var(--luci-btn-line)) / 2) var(--luci-btn-pad);\n border: 0;\n border-radius: var(--luci-radius-full);\n background: transparent;\n color: var(--luci-color-ink);\n font-size: var(--luci-btn-font);\n font-weight: 600;\n line-height: var(--luci-btn-line);\n text-align: center;\n white-space: nowrap;\n cursor: pointer;\n transition: background-color var(--luci-motion-fast), color var(--luci-motion-fast), transform var(--luci-motion-fast);\n}\n/* Every button is a 44 px target, even when it is drawn 32 px tall */\n.luci-theme button::before { content: \"\"; position: absolute; inset: min(0px, calc((var(--luci-btn-h) - var(--luci-size-touch-target)) / 2)) 0; }\n.luci-theme button:hover:not(:disabled) { background: var(--luci-color-ghost-hover); }\n.luci-theme button:active:not(:disabled) { transform: translateY(1px); }\n.luci-theme button:disabled { color: var(--luci-color-ink-disabled); background: transparent; cursor: not-allowed; }\n.luci-theme button[aria-busy=\"true\"] { cursor: progress; }\n/* On (a tool, a toggle, a segment): one look everywhere, the kit's active tool fill (ginger-400, Charcoal text, 6.9:1) */\n.luci-theme button[aria-pressed=\"true\"]:not(.btn-primary),\n.luci-theme button[aria-pressed=\"true\"]:not(.btn-primary):hover:not(:disabled) { background: var(--luci-color-tool-active); color: var(--luci-color-on-tool-active); }\n/* A small count on a button */\n.btn-badge { position: absolute; top: 0; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--luci-radius-full);\n background: var(--luci-color-accent); color: var(--luci-color-on-accent); font: 600 11px/18px var(--luci-font-body); text-align: center; pointer-events: none; }\n\n/* Sizes */\n.luci-theme .btn-sm { --luci-btn-h: 32px; --luci-btn-font: var(--luci-type-small-size); --luci-btn-line: var(--luci-type-small-line); --luci-btn-pad: var(--luci-space-12); }\n.luci-theme .btn-md { --luci-btn-h: 40px; --luci-btn-font: 15px; --luci-btn-line: 20px; --luci-btn-pad: var(--luci-space-16); }\n.luci-theme .btn-lg { --luci-btn-h: 48px; --luci-btn-font: 15px; --luci-btn-line: 20px; --luci-btn-pad: var(--luci-space-20); }\n\n/* Text with an icon, and icon only */\n.luci-theme .btn-with-ico { display: inline-flex; align-items: center; justify-content: center; gap: var(--luci-space-8); padding-block: 0; }\n.luci-theme .btn-with-ico .icon { margin-inline-start: calc(var(--luci-space-4) * -1); }\n.luci-theme .btn-icon { display: inline-flex; align-items: center; justify-content: center; width: var(--luci-btn-h); height: var(--luci-btn-h); padding: 0; }\n.luci-theme .btn-icon::before { inset: min(0px, calc((var(--luci-btn-h) - var(--luci-size-touch-target)) / 2)); }\n\n/* Variants */\n.luci-theme .btn-primary { background: var(--luci-color-primary); color: var(--luci-color-on-primary); }\n.luci-theme .btn-primary:hover:not(:disabled) { background: var(--luci-color-primary-hover); }\n.luci-theme .btn-primary:disabled { background: var(--luci-color-surface-sunken); color: var(--luci-color-ink-disabled); }\n.luci-theme .btn-secondary { background: var(--luci-color-surface-raised); border: 1px solid var(--luci-color-stroke-subtle);\n padding-block: calc((var(--luci-btn-h) - var(--luci-btn-line)) / 2 - 1px); }\n.luci-theme .btn-secondary:hover:not(:disabled) { background: var(--luci-color-secondary-hover); }\n.luci-theme .btn-secondary:disabled { background: var(--luci-color-surface-raised); }\n.luci-theme .btn-outline { background: transparent; border: 1px solid var(--luci-color-stroke-subtle);\n padding-block: calc((var(--luci-btn-h) - var(--luci-btn-line)) / 2 - 1px); }\n.luci-theme .btn-outline:hover:not(:disabled) { background: var(--luci-color-ghost-hover); border-color: var(--luci-color-stroke-strong); }\n.luci-theme :is(.btn-secondary, .btn-outline):is(.btn-with-ico, .btn-icon) { padding-block: 0; }\n.luci-theme .btn-ghost { background: transparent; }\n.luci-theme .btn-danger { background: var(--luci-color-danger-bg); color: var(--luci-color-danger); }\n.luci-theme .btn-danger:hover:not(:disabled) { background: var(--luci-color-danger-hover); }\n.luci-theme .btn-danger:disabled { background: var(--luci-color-danger-bg); color: var(--luci-color-danger); opacity: 0.5; }\n.luci-theme .btn-link { min-height: 0; padding: 0; border-radius: var(--luci-radius-sm); background: transparent; color: var(--luci-color-link);\n font-weight: 500; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px;\n transition: text-decoration-color var(--luci-motion-fast); }\n.luci-theme .btn-link:hover:not(:disabled) { background: transparent; text-decoration-color: currentColor; }\n.luci-theme .btn-link:active:not(:disabled) { transform: none; }\n.luci-theme .btn-link::before { inset: -8px -4px; }\n/* Working: the label stays for layout, a ring turns over it */\n.luci-theme button[aria-busy=\"true\"] > * { opacity: 0.4; }\n.badge, .count { display: inline-flex; align-items: center; justify-content: center; height: 22px; padding: 0 var(--luci-space-8);\n border-radius: var(--luci-radius-full); font-size: var(--luci-type-micro-size); line-height: var(--luci-type-micro-line);\n font-weight: var(--luci-type-micro-weight); white-space: nowrap; }\n.badge { background: var(--luci-color-surface-sunken); color: var(--luci-color-ink); }\n.badge.brand { background: var(--luci-color-primary-soft); color: var(--luci-color-link); }\n.count { min-width: 22px; background: var(--luci-color-accent); color: var(--luci-color-on-accent); }\n\n/* Status message and toast: tinted fill, the status icon and coloured title, Charcoal detail, no stroke */\n.status-msg { display: flex; gap: var(--luci-space-12); align-items: flex-start; margin: 0; padding: var(--luci-space-12) var(--luci-space-16);\n border-radius: var(--luci-radius-lg); background: var(--status-bg); color: var(--luci-color-muzzle-900); }\n.status-msg.success { --status: var(--luci-color-success); --status-bg: var(--luci-color-success-bg); }\n.status-msg.warning { --status: var(--luci-color-warning); --status-bg: var(--luci-color-warning-bg); }\n.status-msg.danger { --status: var(--luci-color-danger); --status-bg: var(--luci-color-danger-bg); }\n.status-msg.info { --status: var(--luci-color-info); --status-bg: var(--luci-color-info-bg); }\n.status-msg > .icon { color: var(--status); margin-top: 2px; }\n.status-msg .status-body { display: flex; flex-direction: column; gap: var(--luci-space-4); min-width: 0; }\n.status-msg .status-title { margin: 0; color: var(--status); font-size: var(--luci-type-heading-size); line-height: var(--luci-type-heading-line); font-weight: var(--luci-type-heading-weight); }\n.status-msg .status-detail { margin: 0; }\n.status-msg .mascot { width: 48px; }\n.toast { position: fixed; z-index: 2147483647; box-shadow: var(--luci-shadow-float); }\n\n/* Card and panel */\n.card { padding: var(--luci-space-24); border: 1px solid var(--luci-color-stroke-subtle); border-radius: var(--luci-radius-xl); background: var(--luci-color-surface-raised); }\n\n/* Input, select and text area */\n.luci-theme :where(input[type=\"text\"], input[type=\"search\"], input[type=\"number\"], input[type=\"url\"], input:not([type]), select, textarea) {\n min-height: var(--luci-btn-h);\n padding: 0 var(--luci-space-12);\n border: 1px solid var(--luci-color-stroke-subtle);\n border-radius: var(--luci-radius-sm);\n background-color: var(--luci-color-surface-raised);\n color: var(--luci-color-ink);\n transition: border-color var(--luci-motion-fast);\n}\n.luci-theme :where(textarea) { padding: var(--luci-space-8) var(--luci-space-12); resize: vertical; }\n/* Select: the component wraps it with the kit's chevron icon, 12 px from the edge */\n.luci-theme :where(select) { appearance: none; padding-inline-end: 36px; text-overflow: ellipsis; cursor: pointer; }\n.select { position: relative; display: inline-flex; vertical-align: middle; min-width: 0; }\n.select > select { flex: 1 1 auto; min-width: 0; }\n.select > .icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; }\n.luci-theme :where(input, select, textarea):hover:not(:disabled) { border-color: var(--luci-color-stroke-strong); }\n.luci-theme ::placeholder { color: var(--luci-color-ink-secondary); opacity: 1; }\n.luci-theme :where(input[type=\"checkbox\"], input[type=\"radio\"]) { accent-color: var(--luci-color-primary); }\n.field-error { display: flex; gap: var(--luci-space-4); align-items: center; margin: 0; color: var(--luci-color-danger);\n font-size: var(--luci-type-small-size); line-height: var(--luci-type-small-line); }\n\n/* The repository pill: GitHub's mark and Luci's version, in the code font (a link once the repository is public) */\n.luci-theme .repo-btn { position: relative; display: inline-flex; flex: none; align-items: center; gap: 6px; height: 32px; padding: 0 var(--luci-space-12);\n border: 1px solid var(--luci-color-stroke-subtle); border-radius: var(--luci-radius-full); background: var(--luci-color-surface-raised);\n color: var(--luci-color-ink); font: 600 13px/1 var(--luci-font-code); text-decoration: none; white-space: nowrap; }\n.luci-theme .repo-btn .repo-beta { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: var(--luci-radius-full);\n background: var(--luci-color-primary-soft); color: var(--luci-color-link); font: 700 10px/1.2 var(--luci-font-sans); text-transform: uppercase; letter-spacing: 0.04em; margin-left: 2px; }\n.luci-theme a.repo-btn:hover { background: var(--luci-color-ghost-hover); }\n.luci-theme a.repo-btn:focus-visible { outline: 2px solid var(--luci-color-focus); outline-offset: 2px; }\n.luci-theme .repo-btn .gh-mark { display: block; width: 16px; height: 16px; line-height: 0; }\n.luci-theme .repo-btn .gh-mark svg { display: block; width: 16px; height: 16px; }\n/* Tooltip host: relative positioning and raised z-index on hover so tooltips render above sibling elements */\n.luci-theme [data-tip] { position: relative; }\n.luci-theme [data-tip]:is(:hover, :focus-visible) { z-index: 10; }\n\n/* Tooltip: the text in data-tip; below the element, or above with data-tip-pos=\"above\". Shows after 300 ms. */\n.luci-theme [data-tip]::after { content: attr(data-tip); position: absolute; left: 50%; top: calc(100% + var(--luci-space-8)); z-index: 10;\n width: max-content; max-width: 340px; box-sizing: border-box; padding: 6px 10px; border-radius: var(--luci-radius-md); background: var(--luci-color-ink);\n color: var(--luci-color-surface); font-size: var(--luci-type-small-size); line-height: var(--luci-type-small-line); font-weight: var(--luci-type-small-weight);\n white-space: pre-wrap; word-break: normal; overflow-wrap: break-word; text-align: left; pointer-events: none; opacity: 0; transform: translate(-50%, -4px);\n transition: opacity var(--luci-motion-exit), transform var(--luci-motion-exit); }\n.luci-theme [data-tip][data-tip-pos=\"above\"]::after { top: auto; bottom: calc(100% + var(--luci-space-8)); transform: translate(-50%, 4px); }\n.luci-theme [data-tip]:is(:hover, :focus-visible)::after { opacity: 1; transform: translate(-50%, 0);\n transition: opacity var(--luci-motion-base) 300ms, transform var(--luci-motion-base) 300ms; }\n\n/* Left-aligned tooltips (first button in rows, cards, or explicit data-tip-align=\"left\") open rightwards to prevent clipping inside cards/panels */\n.luci-theme [data-tip][data-tip-align=\"left\"]::after,\n.luci-theme .panel .actions > [data-tip]:first-child::after,\n.luci-theme .panel .row > [data-tip]:first-child::after {\n left: 0; right: auto; transform: translate(0, -4px);\n}\n.luci-theme [data-tip][data-tip-pos=\"above\"][data-tip-align=\"left\"]::after,\n.luci-theme .panel .actions > [data-tip]:first-child[data-tip-pos=\"above\"]::after,\n.luci-theme .panel .row > [data-tip]:first-child[data-tip-pos=\"above\"]::after {\n top: auto; bottom: calc(100% + var(--luci-space-8)); left: 0; right: auto; transform: translate(0, 4px);\n}\n.luci-theme [data-tip][data-tip-align=\"left\"]:is(:hover, :focus-visible)::after,\n.luci-theme .panel .actions > [data-tip]:first-child:is(:hover, :focus-visible)::after,\n.luci-theme .panel .row > [data-tip]:first-child:is(:hover, :focus-visible)::after {\n transform: translate(0, 0);\n}\n\n/* Right-aligned tooltips (repo button, last button in rows, cards, or explicit data-tip-align=\"right\") open leftwards */\n.luci-theme .repo-btn[data-tip]::after,\n.luci-theme [data-tip][data-tip-align=\"right\"]::after,\n.luci-theme .panel .actions > [data-tip]:last-child::after,\n.luci-theme .panel .row > [data-tip]:last-child::after {\n left: auto; right: 0; transform: translate(0, -4px);\n}\n.luci-theme .repo-btn[data-tip][data-tip-pos=\"above\"]::after,\n.luci-theme [data-tip][data-tip-pos=\"above\"][data-tip-align=\"right\"]::after,\n.luci-theme .panel .actions > [data-tip]:last-child[data-tip-pos=\"above\"]::after,\n.luci-theme .panel .row > [data-tip]:last-child[data-tip-pos=\"above\"]::after {\n top: auto; bottom: calc(100% + var(--luci-space-8)); left: auto; right: 0; transform: translate(0, 4px);\n}\n.luci-theme .repo-btn[data-tip]:is(:hover, :focus-visible)::after,\n.luci-theme [data-tip][data-tip-align=\"right\"]:is(:hover, :focus-visible)::after,\n.luci-theme .panel .actions > [data-tip]:last-child:is(:hover, :focus-visible)::after,\n.luci-theme .panel .row > [data-tip]:last-child:is(:hover, :focus-visible)::after {\n transform: translate(0, 0);\n}\n\n/* Empty state: Luci, a title, one line, an optional primary button */\n.empty { display: flex; flex-direction: column; align-items: center; gap: var(--luci-space-12); padding: var(--luci-space-24) var(--luci-space-16); text-align: center; }\n.empty .t-title { margin: 0; }\n.empty p:not(.t-title) { margin: 0; color: var(--luci-color-ink-secondary); }\n";
|
|
4
|
+
export declare const UI_CSS = "/* Generated by scripts/brand-sync.mjs from brand/. Do not edit: run `pnpm brand:sync`. */\n:host, :root {\n --luci-color-ginger-50: #FEF5E8;\n --luci-color-ginger-100: #FEEBD1;\n --luci-color-ginger-200: #FCD7AA;\n --luci-color-ginger-300: #FBBE7A;\n --luci-color-ginger-400: #F6A24F;\n --luci-color-ginger-500: #EC862B;\n --luci-color-ginger-600: #D86D1D;\n --luci-color-ginger-700: #AD4F1A;\n --luci-color-ginger-800: #893D1B;\n --luci-color-ginger-900: #652D18;\n --luci-color-ginger-950: #451F12;\n --luci-color-collar-lime-100: #EAF5C7;\n --luci-color-collar-lime-300: #CBE66D;\n --luci-color-collar-lime-500: #B4D43C;\n --luci-color-collar-lime-700: #547617;\n --luci-color-nose-pink-100: #FFE4E1;\n --luci-color-nose-pink-300: #F5B9B4;\n --luci-color-nose-pink-500: #E79993;\n --luci-color-nose-pink-700: #AB5050;\n --luci-color-iris-gold-100: #F7F0CA;\n --luci-color-iris-gold-300: #E6D17A;\n --luci-color-iris-gold-500: #CBB042;\n --luci-color-iris-gold-700: #7B6813;\n --luci-color-success-100: #DFF3D5;\n --luci-color-success-700: #3F7932;\n --luci-color-warning-100: #FEEDC9;\n --luci-color-warning-700: #975F03;\n --luci-color-danger-100: #FFE3DF;\n --luci-color-danger-700: #C5372F;\n --luci-color-info-100: #D9F0F3;\n --luci-color-info-700: #1E767F;\n --luci-color-muzzle-0: #FDF9F6;\n --luci-color-muzzle-50: #F5EFEA;\n --luci-color-muzzle-100: #EBE5E0;\n --luci-color-muzzle-200: #DBD4CF;\n --luci-color-muzzle-300: #C2BCB8;\n --luci-color-muzzle-400: #A29D99;\n --luci-color-muzzle-500: #837F7C;\n --luci-color-muzzle-600: #656360;\n --luci-color-muzzle-700: #4F4D4B;\n --luci-color-muzzle-800: #3B3A39;\n --luci-color-muzzle-900: #2B2B2B;\n --luci-radius-sm: 8px;\n --luci-radius-md: 12px;\n --luci-radius-lg: 16px;\n --luci-radius-xl: 24px;\n --luci-radius-full: 9999px;\n --luci-space-4: 4px;\n --luci-space-8: 8px;\n --luci-space-12: 12px;\n --luci-space-16: 16px;\n --luci-space-20: 20px;\n --luci-space-24: 24px;\n --luci-space-32: 32px;\n --luci-space-40: 40px;\n --luci-space-48: 48px;\n --luci-space-64: 64px;\n --luci-space-80: 80px;\n --luci-font-display: \"Luci Fredoka\", Fredoka, \"Luci Inter\", Inter, sans-serif;\n --luci-font-body: \"Luci Inter\", Inter, system-ui, sans-serif;\n --luci-font-code: \"Luci JetBrains Mono\", 'JetBrains Mono', ui-monospace, monospace;\n --luci-type-display-size: 40px;\n --luci-type-display-line: 44px;\n --luci-type-display-weight: 600;\n --luci-type-title-size: 24px;\n --luci-type-title-line: 30px;\n --luci-type-title-weight: 600;\n --luci-type-heading-size: 17px;\n --luci-type-heading-line: 24px;\n --luci-type-heading-weight: 600;\n --luci-type-body-size: 15px;\n --luci-type-body-line: 22px;\n --luci-type-body-weight: 400;\n --luci-type-small-size: 13px;\n --luci-type-small-line: 18px;\n --luci-type-small-weight: 500;\n --luci-type-micro-size: 12px;\n --luci-type-micro-line: 16px;\n --luci-type-micro-weight: 600;\n --luci-type-code-size: 13px;\n --luci-type-code-line: 20px;\n --luci-type-code-weight: 500;\n --luci-shadow-float: 0 1px 2px rgba(0, 0, 0, 0.24), 0 8px 24px rgba(0, 0, 0, 0.28);\n --luci-shadow-edge: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.05);\n --luci-motion-fast: 150ms ease-out;\n --luci-motion-base: 200ms ease-out;\n --luci-motion-exit: 150ms ease-in;\n --luci-size-touch-target: 44px;\n --luci-size-toolbar-button: 48px;\n --luci-size-toolbar-icon: 22px;\n --luci-size-mascot-min: 96px;\n --luci-size-toast-face: 48px;\n --luci-color-surface: var(--luci-color-muzzle-50);\n --luci-color-surface-raised: var(--luci-color-muzzle-0);\n --luci-color-surface-sunken: var(--luci-color-muzzle-100);\n --luci-color-ink: var(--luci-color-muzzle-900);\n --luci-color-ink-secondary: var(--luci-color-muzzle-600);\n --luci-color-ink-disabled: var(--luci-color-muzzle-400);\n --luci-color-primary: var(--luci-color-ginger-500);\n --luci-color-on-primary: var(--luci-color-muzzle-900);\n --luci-color-primary-hover: var(--luci-color-ginger-600);\n --luci-color-primary-soft: var(--luci-color-ginger-100);\n --luci-color-link: var(--luci-color-ginger-700);\n --luci-color-accent: var(--luci-color-collar-lime-500);\n --luci-color-on-accent: var(--luci-color-muzzle-900);\n --luci-color-success: var(--luci-color-success-700);\n --luci-color-success-bg: var(--luci-color-success-100);\n --luci-color-warning: var(--luci-color-warning-700);\n --luci-color-warning-bg: var(--luci-color-warning-100);\n --luci-color-danger: var(--luci-color-danger-700);\n --luci-color-danger-bg: var(--luci-color-danger-100);\n --luci-color-danger-hover: #FFD3CD;\n --luci-color-info: var(--luci-color-info-700);\n --luci-color-info-bg: var(--luci-color-info-100);\n --luci-color-secondary-hover: var(--luci-color-muzzle-100);\n --luci-color-ghost-hover: color-mix(in srgb, var(--luci-color-muzzle-900) 6%, transparent);\n --luci-color-stroke-subtle: color-mix(in srgb, var(--luci-color-muzzle-900) 12%, transparent);\n --luci-color-stroke-muzzle: var(--luci-color-muzzle-200);\n --luci-color-stroke-strong: color-mix(in srgb, var(--luci-color-muzzle-900) 24%, transparent);\n --luci-color-focus: var(--luci-color-muzzle-900);\n --luci-color-bar: var(--luci-color-muzzle-900);\n --luci-color-bar-ink: var(--luci-color-muzzle-50);\n --luci-color-bar-ink-secondary: var(--luci-color-muzzle-300);\n --luci-color-bar-hover: var(--luci-color-muzzle-700);\n --luci-color-bar-stroke: color-mix(in srgb, var(--luci-color-muzzle-50) 16%, transparent);\n --luci-color-tool-active: var(--luci-color-ginger-400);\n --luci-color-on-tool-active: var(--luci-color-muzzle-900);\n --luci-color-pick: var(--luci-color-ginger-500);\n --luci-color-pick-fill: color-mix(in srgb, var(--luci-color-ginger-500) 14%, transparent);\n --luci-color-pick-blocked: var(--luci-color-danger-700);\n --luci-color-pick-blocked-fill: color-mix(in srgb, var(--luci-color-muzzle-500) 35%, transparent);\n --luci-color-pad-fill: color-mix(in srgb, var(--luci-color-collar-lime-500) 35%, transparent);\n --luci-color-margin-fill: color-mix(in srgb, var(--luci-color-ginger-300) 35%, transparent);\n --luci-color-insert: var(--luci-color-nose-pink-500);\n --luci-color-insert-fill: color-mix(in srgb, var(--luci-color-nose-pink-500) 16%, transparent);\n --luci-color-insert-ink: var(--luci-color-nose-pink-100);\n}\n@media (prefers-color-scheme: dark) {\n .luci-theme:not([data-theme=\"light\"]) {\n --luci-color-surface: var(--luci-color-muzzle-900);\n --luci-color-surface-raised: var(--luci-color-muzzle-800);\n --luci-color-surface-sunken: var(--luci-color-muzzle-800);\n --luci-color-ink: var(--luci-color-muzzle-50);\n --luci-color-ink-secondary: var(--luci-color-muzzle-300);\n --luci-color-ink-disabled: var(--luci-color-muzzle-500);\n --luci-color-primary: var(--luci-color-ginger-400);\n --luci-color-on-primary: var(--luci-color-muzzle-900);\n --luci-color-primary-hover: var(--luci-color-ginger-300);\n --luci-color-primary-soft: color-mix(in srgb, var(--luci-color-ginger-400) 18%, transparent);\n --luci-color-link: var(--luci-color-ginger-300);\n --luci-color-accent: var(--luci-color-collar-lime-500);\n --luci-color-on-accent: var(--luci-color-muzzle-900);\n --luci-color-success: var(--luci-color-success-700);\n --luci-color-success-bg: var(--luci-color-success-100);\n --luci-color-warning: var(--luci-color-warning-700);\n --luci-color-warning-bg: var(--luci-color-warning-100);\n --luci-color-danger: var(--luci-color-danger-700);\n --luci-color-danger-bg: var(--luci-color-danger-100);\n --luci-color-danger-hover: #FFD3CD;\n --luci-color-info: var(--luci-color-info-700);\n --luci-color-info-bg: var(--luci-color-info-100);\n --luci-color-secondary-hover: var(--luci-color-muzzle-700);\n --luci-color-ghost-hover: color-mix(in srgb, var(--luci-color-muzzle-50) 8%, transparent);\n --luci-color-stroke-subtle: color-mix(in srgb, var(--luci-color-muzzle-50) 16%, transparent);\n --luci-color-stroke-muzzle: var(--luci-color-muzzle-700);\n --luci-color-stroke-strong: color-mix(in srgb, var(--luci-color-muzzle-50) 28%, transparent);\n --luci-color-focus: var(--luci-color-muzzle-50);\n }\n}\n.luci-theme[data-theme=\"dark\"] {\n --luci-color-surface: var(--luci-color-muzzle-900);\n --luci-color-surface-raised: var(--luci-color-muzzle-800);\n --luci-color-surface-sunken: var(--luci-color-muzzle-800);\n --luci-color-ink: var(--luci-color-muzzle-50);\n --luci-color-ink-secondary: var(--luci-color-muzzle-300);\n --luci-color-ink-disabled: var(--luci-color-muzzle-500);\n --luci-color-primary: var(--luci-color-ginger-400);\n --luci-color-on-primary: var(--luci-color-muzzle-900);\n --luci-color-primary-hover: var(--luci-color-ginger-300);\n --luci-color-primary-soft: color-mix(in srgb, var(--luci-color-ginger-400) 18%, transparent);\n --luci-color-link: var(--luci-color-ginger-300);\n --luci-color-accent: var(--luci-color-collar-lime-500);\n --luci-color-on-accent: var(--luci-color-muzzle-900);\n --luci-color-success: var(--luci-color-success-700);\n --luci-color-success-bg: var(--luci-color-success-100);\n --luci-color-warning: var(--luci-color-warning-700);\n --luci-color-warning-bg: var(--luci-color-warning-100);\n --luci-color-danger: var(--luci-color-danger-700);\n --luci-color-danger-bg: var(--luci-color-danger-100);\n --luci-color-danger-hover: #FFD3CD;\n --luci-color-info: var(--luci-color-info-700);\n --luci-color-info-bg: var(--luci-color-info-100);\n --luci-color-secondary-hover: var(--luci-color-muzzle-700);\n --luci-color-ghost-hover: color-mix(in srgb, var(--luci-color-muzzle-50) 8%, transparent);\n --luci-color-stroke-subtle: color-mix(in srgb, var(--luci-color-muzzle-50) 16%, transparent);\n --luci-color-stroke-muzzle: var(--luci-color-muzzle-700);\n --luci-color-stroke-strong: color-mix(in srgb, var(--luci-color-muzzle-50) 28%, transparent);\n --luci-color-focus: var(--luci-color-muzzle-50);\n}\n\n/* Luci mascot animations. Works on the layered SVGs (inline) or inside the animated SVG files. */\n.luci .luci-ear,.luci .luci-eye,.luci .luci-tail,.luci .luci-body,.luci .luci-head,.luci .luci-z,.luci .luci-pupil,.luci .luci-arm,.luci .luci-ruler-line{transform-box:fill-box}\n.luci .luci-ear-l{transform-origin:70% 100%}\n.luci .luci-ear-r{transform-origin:30% 100%}\n.luci .luci-eye{transform-origin:50% 50%}\n.luci .luci-body{transform-origin:50% 100%}\n.luci .luci-head{transform-origin:50% 85%}\n.luci .luci-tail-wrap{transform-origin:92% 20%}\n.luci .luci-tail-up{transform-origin:5% 95%}\n.luci .luci-arm{transform-origin:10% 90%}\n.luci .luci-z{transform-origin:50% 50%}\n\n@keyframes luci-breathe{0%,100%{transform:scaleY(1)}50%{transform:scaleY(1.025)}}\n@keyframes luci-blink{0%,90%,100%{transform:scaleY(1)}94%{transform:scaleY(.08)}}\n@keyframes luci-slowblink{0%,25%{transform:scaleY(1)}42%,68%{transform:scaleY(.08)}85%,100%{transform:scaleY(1)}}\n@keyframes luci-twitch{0%,86%,100%{transform:rotate(0)}89%{transform:rotate(-12deg)}92%{transform:rotate(5deg)}95%{transform:rotate(-6deg)}98%{transform:rotate(0)}}\n@keyframes luci-sway{0%,100%{transform:rotate(-2.5deg)}50%{transform:rotate(2.5deg)}}\n@keyframes luci-lash{0%{transform:rotate(-9deg)}100%{transform:rotate(9deg)}}\n@keyframes luci-look{0%,18%{transform:translateX(0)}30%,50%{transform:translateX(-4px)}62%,82%{transform:translateX(4px)}94%,100%{transform:translateX(0)}}\n@keyframes luci-z{0%{opacity:0;transform:translate(0,6px) scale(.8)}25%{opacity:1}100%{opacity:0;transform:translate(10px,-20px) scale(1.1)}}\n@keyframes luci-tap{0%,100%{transform:rotate(0)}50%{transform:rotate(-7deg)}}\n@keyframes luci-pulse{0%,100%{opacity:1}50%{opacity:.3}}\n@keyframes luci-tilt{0%,100%{transform:rotate(0)}50%{transform:rotate(3deg)}}\n@keyframes luci-bristle{0%{transform:rotate(-2deg)}100%{transform:rotate(2deg)}}\n\n/* Idle: sitting tall */\n.luci-pose-sit .luci-body{animation:luci-breathe 4.5s ease-in-out infinite}\n.luci-pose-sit .luci-eye{animation:luci-blink 6s ease-in-out infinite}\n.luci-pose-sit .luci-ear-r{animation:luci-twitch 7s ease-in-out infinite}\n.luci-pose-sit .luci-tail{animation:luci-sway 5s ease-in-out infinite}\n/* Hello: slow blink (add class luci-hello to the sitting pose) */\n.luci-hello .luci-eye{animation:luci-slowblink 5s ease-in-out infinite}\n.luci-hello .luci-head{animation:luci-tilt 5s ease-in-out infinite}\n/* Avatar head */\n.luci-pose-head .luci-eye{animation:luci-blink 6s ease-in-out infinite}\n.luci-pose-head .luci-ear-l{animation:luci-twitch 8s ease-in-out infinite 2s}\n/* Watching (empty state) */\n.luci-pose-peek .luci-pupil{animation:luci-look 7s ease-in-out infinite}\n.luci-pose-peek .luci-eye{animation:luci-blink 7s ease-in-out infinite 3s}\n.luci-pose-peek .luci-ear-l{animation:luci-twitch 6s ease-in-out infinite 1s}\n/* Measuring (spacing tool) */\n.luci-pose-measure .luci-ruler-line{animation:luci-pulse 1.6s ease-in-out infinite}\n.luci-pose-measure .luci-arm{animation:luci-tap 1.6s ease-in-out infinite}\n.luci-pose-measure .luci-eye{animation:luci-blink 5s ease-in-out infinite}\n/* In the box (capture basket) */\n.luci-pose-box .luci-eye{animation:luci-blink 6s ease-in-out infinite}\n.luci-pose-box .luci-pupil{animation:luci-look 9s ease-in-out infinite 1s}\n.luci-pose-box .luci-ear-r{animation:luci-twitch 5s ease-in-out infinite}\n/* Asleep (loading) */\n.luci-pose-sleep .luci-body{animation:luci-breathe 3.5s ease-in-out infinite}\n.luci-pose-sleep .luci-z1{animation:luci-z 3s ease-out infinite}\n.luci-pose-sleep .luci-z2{animation:luci-z 3s ease-out infinite 1.5s}\n/* Content (success) */\n.luci-pose-content .luci-body{animation:luci-breathe 4s ease-in-out infinite}\n.luci-pose-content .luci-tail{animation:luci-sway 6s ease-in-out infinite}\n.luci-pose-content .luci-ear-r{animation:luci-twitch 6s ease-in-out infinite 2s}\n/* Annoyed (error) */\n.luci-pose-annoyed .luci-tail{animation:luci-lash .9s ease-in-out infinite alternate}\n.luci-pose-annoyed .luci-ear{animation:luci-bristle .35s ease-in-out infinite alternate}\n.luci-pose-annoyed .luci-body{animation:luci-breathe 1.8s ease-in-out infinite}\n/* Turned away (not now) */\n.luci-pose-turned .luci-tail{animation:luci-sway 4s ease-in-out infinite}\n.luci-pose-turned .luci-ear-r{animation:luci-twitch 5s ease-in-out infinite}\n.luci-pose-turned .luci-head{animation:luci-tilt 6s ease-in-out infinite}\n\n/* Tool poses: Pressing, Reading, Swatch, Comparing, Noting, Arranging, Placing, Sketching */\n.luci .luci-button-cap,.luci .luci-highlight,.luci .luci-chip-lift,.luci .luci-tick,.luci .luci-marker,.luci .luci-select-box,.luci .luci-block,.luci .luci-draft{transform-box:fill-box}\n.luci .luci-highlight{transform-origin:0 50%}\n.luci .luci-tick{transform-origin:50% 50%}\n.luci .luci-select-box{transform-origin:0 100%}\n\n@keyframes luci-press{0%,100%{transform:translateY(3px)}50%{transform:translateY(0)}}\n@keyframes luci-select{0%{transform:scaleX(.05);opacity:1}45%,85%{transform:scaleX(1);opacity:1}100%{transform:scaleX(1);opacity:0}}\n@keyframes luci-scan{0%,15%{transform:translateX(-3px)}50%,65%{transform:translateX(3px)}100%{transform:translateX(-3px)}}\n@keyframes luci-lift{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}\n@keyframes luci-glance{0%,40%{transform:translateX(-3px)}50%,90%{transform:translateX(3px)}100%{transform:translateX(-3px)}}\n@keyframes luci-pop{0%,100%{transform:scale(1)}50%{transform:scale(1.08)}}\n@keyframes luci-drop{0%{transform:translateY(-8px);opacity:0}20%{opacity:1}35%,85%{transform:translateY(0);opacity:1}100%{transform:translateY(0);opacity:0}}\n@keyframes luci-resize{0%,100%{transform:scale(1)}50%{transform:scale(1.06)}}\n@keyframes luci-settle{0%,100%{transform:translateY(0)}50%{transform:translateY(5px)}}\n@keyframes luci-push{0%,100%{transform:rotate(0)}50%{transform:rotate(5deg)}}\n\n/* Pressing (Component tool) */\n.luci-pose-press .luci-arm{animation:luci-tap 1.6s ease-in-out infinite}\n.luci-pose-press .luci-button-cap{animation:luci-press 1.6s ease-in-out infinite}\n.luci-pose-press .luci-click{animation:luci-pulse 1.6s ease-in-out infinite}\n.luci-pose-press .luci-eye{animation:luci-blink 5s ease-in-out infinite}\n/* Reading (Text tool) */\n.luci-pose-read .luci-highlight{animation:luci-select 3.2s ease-in-out infinite}\n.luci-pose-read .luci-pupil{animation:luci-scan 3.2s ease-in-out infinite}\n.luci-pose-read .luci-eye{animation:luci-blink 6s ease-in-out infinite 2s}\n/* Swatch (Colour tool) */\n.luci-pose-swatch .luci-chip-lift{animation:luci-lift 2s ease-in-out infinite}\n.luci-pose-swatch .luci-arm{animation:luci-tap 2s ease-in-out infinite}\n.luci-pose-swatch .luci-eye{animation:luci-blink 6s ease-in-out infinite}\n/* Comparing (Check) */\n.luci-pose-compare .luci-pupil{animation:luci-glance 4s ease-in-out infinite}\n.luci-pose-compare .luci-tick{animation:luci-pop 4s ease-in-out infinite}\n.luci-pose-compare .luci-head{animation:luci-tilt 6s ease-in-out infinite}\n.luci-pose-compare .luci-tail{animation:luci-sway 5s ease-in-out infinite}\n/* Noting (Feedback: Annotate) */\n.luci-pose-note .luci-marker{animation:luci-drop 3s ease-out infinite}\n.luci-pose-note .luci-arm{animation:luci-tap 3s ease-in-out infinite}\n.luci-pose-note .luci-eye{animation:luci-blink 6s ease-in-out infinite 1s}\n/* Arranging (Layout: Select) */\n.luci-pose-arrange .luci-select-box{animation:luci-resize 2.4s ease-in-out infinite}\n.luci-pose-arrange .luci-ear-r{animation:luci-twitch 6s ease-in-out infinite}\n.luci-pose-arrange .luci-eye{animation:luci-blink 5s ease-in-out infinite}\n/* Placing (Layout: Insert) */\n.luci-pose-place .luci-block{animation:luci-settle 2s ease-in-out infinite}\n.luci-pose-place .luci-arm{animation:luci-push 2s ease-in-out infinite}\n.luci-pose-place .luci-arrow{animation:luci-pulse 2s ease-in-out infinite}\n/* Sketching (Layout: New page) */\n.luci-pose-sketch .luci-draft{animation:luci-pulse 2.4s ease-in-out infinite}\n.luci-pose-sketch .luci-arm{animation:luci-tap 1.2s ease-in-out infinite}\n.luci-pose-sketch .luci-eye{animation:luci-blink 6s ease-in-out infinite}\n\n@media (prefers-reduced-motion: reduce){.luci *{animation:none!important}}\n\n.luci-theme {\n /* Buttons: md is 40 px with 15 px labels (DESIGN.md section 6); a compact surface sets sm as its default */\n --luci-btn-h: 40px;\n --luci-btn-font: 15px;\n --luci-btn-line: 20px;\n --luci-btn-pad: var(--luci-space-16);\n font-family: var(--luci-font-body);\n font-size: var(--luci-type-body-size);\n line-height: var(--luci-type-body-line);\n font-weight: var(--luci-type-body-weight);\n color: var(--luci-color-ink);\n -webkit-font-smoothing: antialiased;\n}\n/*\n * Elevation for cards floating over the page: the float shadow, plus the faint inner edge on Charcoal\n * (the dark theme's cards), so they stay apart from a dark host page of the same colour.\n */\n.luci-theme { --luci-elevation: var(--luci-shadow-float); --luci-elevation-bar: var(--luci-shadow-edge), var(--luci-shadow-float); }\n@media (prefers-color-scheme: dark) { .luci-theme:not([data-theme=\"light\"]) { --luci-elevation: var(--luci-shadow-edge), var(--luci-shadow-float); } }\n.luci-theme[data-theme=\"dark\"] { --luci-elevation: var(--luci-shadow-edge), var(--luci-shadow-float); }\n.luci-theme *, .luci-theme *::before, .luci-theme *::after { box-sizing: border-box; }\n.luci-theme :where(button, input, select, textarea) { font: inherit; color: inherit; }\n.luci-theme :where(code, kbd, pre, samp) { font-family: var(--luci-font-code); }\n.luci-theme :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {\n outline: 2px solid var(--luci-color-focus);\n outline-offset: 2px;\n}\n/* Type roles */\n.t-display { font: var(--luci-type-display-weight) var(--luci-type-display-size)/var(--luci-type-display-line) var(--luci-font-display); }\n.t-title { font: var(--luci-type-title-weight) var(--luci-type-title-size)/var(--luci-type-title-line) var(--luci-font-display); margin: 0; }\n.t-heading { font: var(--luci-type-heading-weight) var(--luci-type-heading-size)/var(--luci-type-heading-line) var(--luci-font-body); margin: 0; }\n.t-small { font-size: var(--luci-type-small-size); line-height: var(--luci-type-small-line); font-weight: var(--luci-type-small-weight); }\n.t-micro { font-size: var(--luci-type-micro-size); line-height: var(--luci-type-micro-line); font-weight: var(--luci-type-micro-weight); }\n.t-code { font: var(--luci-type-code-weight) var(--luci-type-code-size)/var(--luci-type-code-line) var(--luci-font-code); }\n.overline { font-size: var(--luci-type-micro-size); line-height: var(--luci-type-micro-line); font-weight: var(--luci-type-micro-weight);\n letter-spacing: 0.06em; text-transform: uppercase; color: var(--luci-color-link); }\n/* Icons follow the text colour */\n.icon { flex: none; display: block; }\n/* The mascot */\n.mascot { display: inline-block; flex: none; line-height: 0; }\n.mascot svg { display: block; width: 100%; height: auto; }\n.luci-still, .luci-still * { animation: none !important; }\n.luci-avatar { display: inline-flex; flex: none; align-items: center; justify-content: center; border-radius: var(--luci-radius-full);\n background: var(--luci-color-primary); overflow: hidden; }\n/* Reduced motion: UI transitions become instant; the kit's CSS stops the mascot loops */\n@media (prefers-reduced-motion: reduce) {\n .luci-theme *, .luci-theme *::before, .luci-theme *::after { transition-duration: 0s !important; }\n}\n\n\n/*\n * Button (DESIGN.md section 6). Variants: btn-primary, btn-secondary, btn-outline, btn-ghost (also a\n * bare button), btn-danger, btn-link; btn-icon for icon-only (square, round). Sizes: btn-sm 32,\n * btn-md 40, btn-lg 48 (default: the surface's). States: hover, :active (pressed), :focus-visible,\n * :disabled, aria-pressed=\"true\" (toggled on), aria-busy=\"true\" (working).\n */\n.luci-theme button {\n position: relative;\n display: inline-block;\n vertical-align: middle;\n min-height: var(--luci-btn-h);\n padding: calc((var(--luci-btn-h) - var(--luci-btn-line)) / 2) var(--luci-btn-pad);\n border: 0;\n border-radius: var(--luci-radius-full);\n background: transparent;\n color: var(--luci-color-ink);\n font-size: var(--luci-btn-font);\n font-weight: 600;\n line-height: var(--luci-btn-line);\n text-align: center;\n white-space: nowrap;\n cursor: pointer;\n transition: background-color var(--luci-motion-fast), color var(--luci-motion-fast), transform var(--luci-motion-fast);\n}\n/* Every button is a 44 px target, even when it is drawn 32 px tall */\n.luci-theme button::before { content: \"\"; position: absolute; inset: min(0px, calc((var(--luci-btn-h) - var(--luci-size-touch-target)) / 2)) 0; }\n.luci-theme button:hover:not(:disabled) { background: var(--luci-color-ghost-hover); }\n.luci-theme button:active:not(:disabled) { transform: translateY(1px); }\n.luci-theme button:disabled { color: var(--luci-color-ink-disabled); background: transparent; cursor: not-allowed; }\n.luci-theme button[aria-busy=\"true\"] { cursor: progress; }\n/* On (a tool, a toggle, a segment): one look everywhere, the kit's active tool fill (ginger-400, Charcoal text, 6.9:1) */\n.luci-theme button[aria-pressed=\"true\"]:not(.btn-primary),\n.luci-theme button[aria-pressed=\"true\"]:not(.btn-primary):hover:not(:disabled) { background: var(--luci-color-tool-active); color: var(--luci-color-on-tool-active); }\n/* A small count on a button */\n.btn-badge { position: absolute; top: 0; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--luci-radius-full);\n background: var(--luci-color-accent); color: var(--luci-color-on-accent); font: 600 11px/18px var(--luci-font-body); text-align: center; pointer-events: none; }\n\n/* Sizes */\n.luci-theme .btn-sm { --luci-btn-h: 32px; --luci-btn-font: var(--luci-type-small-size); --luci-btn-line: var(--luci-type-small-line); --luci-btn-pad: var(--luci-space-12); }\n.luci-theme .btn-md { --luci-btn-h: 40px; --luci-btn-font: 15px; --luci-btn-line: 20px; --luci-btn-pad: var(--luci-space-16); }\n.luci-theme .btn-lg { --luci-btn-h: 48px; --luci-btn-font: 15px; --luci-btn-line: 20px; --luci-btn-pad: var(--luci-space-20); }\n\n/* Text with an icon, and icon only */\n.luci-theme .btn-with-ico { display: inline-flex; align-items: center; justify-content: center; gap: var(--luci-space-8); padding-block: 0; }\n.luci-theme .btn-with-ico .icon { margin-inline-start: calc(var(--luci-space-4) * -1); }\n.luci-theme .btn-icon { display: inline-flex; align-items: center; justify-content: center; width: var(--luci-btn-h); height: var(--luci-btn-h); padding: 0; }\n.luci-theme .btn-icon::before { inset: min(0px, calc((var(--luci-btn-h) - var(--luci-size-touch-target)) / 2)); }\n\n/* Variants */\n.luci-theme .btn-primary { background: var(--luci-color-primary); color: var(--luci-color-on-primary); }\n.luci-theme .btn-primary:hover:not(:disabled) { background: var(--luci-color-primary-hover); }\n.luci-theme .btn-primary:disabled { background: var(--luci-color-surface-sunken); color: var(--luci-color-ink-disabled); }\n.luci-theme .btn-secondary { background: var(--luci-color-surface-raised); border: 1px solid var(--luci-color-stroke-subtle);\n padding-block: calc((var(--luci-btn-h) - var(--luci-btn-line)) / 2 - 1px); }\n.luci-theme .btn-secondary:hover:not(:disabled) { background: var(--luci-color-secondary-hover); }\n.luci-theme .btn-secondary:disabled { background: var(--luci-color-surface-raised); }\n.luci-theme .btn-outline { background: transparent; border: 1px solid var(--luci-color-stroke-subtle);\n padding-block: calc((var(--luci-btn-h) - var(--luci-btn-line)) / 2 - 1px); }\n.luci-theme .btn-outline:hover:not(:disabled) { background: var(--luci-color-ghost-hover); border-color: var(--luci-color-stroke-strong); }\n.luci-theme :is(.btn-secondary, .btn-outline):is(.btn-with-ico, .btn-icon) { padding-block: 0; }\n.luci-theme .btn-ghost { background: transparent; }\n.luci-theme .btn-danger { background: var(--luci-color-danger-bg); color: var(--luci-color-danger); }\n.luci-theme .btn-danger:hover:not(:disabled) { background: var(--luci-color-danger-hover); }\n.luci-theme .btn-danger:disabled { background: var(--luci-color-danger-bg); color: var(--luci-color-danger); opacity: 0.5; }\n.luci-theme .btn-link { min-height: 0; padding: 0; border-radius: var(--luci-radius-sm); background: transparent; color: var(--luci-color-link);\n font-weight: 500; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px;\n transition: text-decoration-color var(--luci-motion-fast); }\n.luci-theme .btn-link:hover:not(:disabled) { background: transparent; text-decoration-color: currentColor; }\n.luci-theme .btn-link:active:not(:disabled) { transform: none; }\n.luci-theme .btn-link::before { inset: -8px -4px; }\n/* Working: the label stays for layout, a ring turns over it */\n.luci-theme button[aria-busy=\"true\"] > * { opacity: 0.4; }\n.badge, .count { display: inline-flex; align-items: center; justify-content: center; height: 22px; padding: 0 var(--luci-space-8);\n border-radius: var(--luci-radius-full); font-size: var(--luci-type-micro-size); line-height: var(--luci-type-micro-line);\n font-weight: var(--luci-type-micro-weight); white-space: nowrap; }\n.badge { background: var(--luci-color-surface-sunken); color: var(--luci-color-ink); }\n.badge.brand { background: var(--luci-color-primary-soft); color: var(--luci-color-link); }\n.count { min-width: 22px; background: var(--luci-color-accent); color: var(--luci-color-on-accent); }\n\n/* Status message and toast: tinted fill, the status icon and coloured title, Charcoal detail, no stroke */\n.status-msg { display: flex; gap: var(--luci-space-12); align-items: flex-start; margin: 0; padding: var(--luci-space-12) var(--luci-space-16);\n border-radius: var(--luci-radius-lg); background: var(--status-bg); color: var(--luci-color-muzzle-900); }\n.status-msg.success { --status: var(--luci-color-success); --status-bg: var(--luci-color-success-bg); }\n.status-msg.warning { --status: var(--luci-color-warning); --status-bg: var(--luci-color-warning-bg); }\n.status-msg.danger { --status: var(--luci-color-danger); --status-bg: var(--luci-color-danger-bg); }\n.status-msg.info { --status: var(--luci-color-info); --status-bg: var(--luci-color-info-bg); }\n.status-msg > .icon { color: var(--status); margin-top: 2px; }\n.status-msg .status-body { display: flex; flex-direction: column; gap: var(--luci-space-4); min-width: 0; }\n.status-msg .status-title { margin: 0; color: var(--status); font-size: var(--luci-type-heading-size); line-height: var(--luci-type-heading-line); font-weight: var(--luci-type-heading-weight); }\n.status-msg .status-detail { margin: 0; }\n.status-msg .mascot { width: 48px; }\n.toast { position: fixed; z-index: 2147483647; box-shadow: var(--luci-elevation); }\n\n/* Card and panel */\n.card { padding: var(--luci-space-24); border: 1px solid var(--luci-color-stroke-subtle); border-radius: var(--luci-radius-xl); background: var(--luci-color-surface-raised); }\n\n/* Input, select and text area */\n.luci-theme :where(input[type=\"text\"], input[type=\"search\"], input[type=\"number\"], input[type=\"url\"], input:not([type]), select, textarea) {\n min-height: var(--luci-btn-h);\n padding: 0 var(--luci-space-12);\n border: 1px solid var(--luci-color-stroke-subtle);\n border-radius: var(--luci-radius-sm);\n background-color: var(--luci-color-surface-raised);\n color: var(--luci-color-ink);\n transition: border-color var(--luci-motion-fast);\n}\n.luci-theme :where(textarea) { padding: var(--luci-space-8) var(--luci-space-12); resize: vertical; }\n/* Select: the component wraps it with the kit's chevron icon, 12 px from the edge */\n.luci-theme :where(select) { appearance: none; padding-inline-end: 36px; text-overflow: ellipsis; cursor: pointer; }\n.select { position: relative; display: inline-flex; vertical-align: middle; min-width: 0; }\n.select > select { flex: 1 1 auto; min-width: 0; }\n.select > .icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; }\n.luci-theme :where(input, select, textarea):hover:not(:disabled) { border-color: var(--luci-color-stroke-strong); }\n.luci-theme ::placeholder { color: var(--luci-color-ink-secondary); opacity: 1; }\n.luci-theme :where(input[type=\"checkbox\"], input[type=\"radio\"]) { accent-color: var(--luci-color-primary); }\n.field-error { display: flex; gap: var(--luci-space-4); align-items: center; margin: 0; color: var(--luci-color-danger);\n font-size: var(--luci-type-small-size); line-height: var(--luci-type-small-line); }\n\n/* The repository pill: GitHub's mark and Luci's version, in the code font (a link once the repository is public) */\n.luci-theme .repo-btn { position: relative; display: inline-flex; flex: none; align-items: center; gap: 6px; height: 32px; padding: 0 var(--luci-space-12);\n border: 1px solid var(--luci-color-stroke-subtle); border-radius: var(--luci-radius-full); background: var(--luci-color-surface-raised);\n color: var(--luci-color-ink); font: 600 13px/1 var(--luci-font-code); text-decoration: none; white-space: nowrap; }\n.luci-theme .repo-btn .repo-beta { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: var(--luci-radius-full);\n background: var(--luci-color-primary-soft); color: var(--luci-color-link); font: 700 10px/1.2 var(--luci-font-sans); text-transform: uppercase; letter-spacing: 0.04em; margin-left: 2px; }\n.luci-theme a.repo-btn:hover { background: var(--luci-color-ghost-hover); }\n.luci-theme a.repo-btn:focus-visible { outline: 2px solid var(--luci-color-focus); outline-offset: 2px; }\n.luci-theme .repo-btn .gh-mark { display: block; width: 16px; height: 16px; line-height: 0; }\n.luci-theme .repo-btn .gh-mark svg { display: block; width: 16px; height: 16px; }\n/* Tooltip host: relative positioning and raised z-index on hover so tooltips render above sibling elements */\n.luci-theme [data-tip] { position: relative; }\n.luci-theme [data-tip]:is(:hover, :focus-visible) { z-index: 10; }\n\n/* Tooltip: the text in data-tip; below the element, or above with data-tip-pos=\"above\". Shows after 300 ms. */\n.luci-theme [data-tip]::after { content: attr(data-tip); position: absolute; left: 50%; top: calc(100% + var(--luci-space-8)); z-index: 10;\n width: max-content; max-width: 340px; box-sizing: border-box; padding: 6px 10px; border-radius: var(--luci-radius-md); background: var(--luci-color-ink);\n color: var(--luci-color-surface); font-size: var(--luci-type-small-size); line-height: var(--luci-type-small-line); font-weight: var(--luci-type-small-weight);\n white-space: pre-wrap; word-break: normal; overflow-wrap: break-word; text-align: left; pointer-events: none; opacity: 0; transform: translate(-50%, -4px);\n transition: opacity var(--luci-motion-exit), transform var(--luci-motion-exit); }\n.luci-theme [data-tip][data-tip-pos=\"above\"]::after { top: auto; bottom: calc(100% + var(--luci-space-8)); transform: translate(-50%, 4px); }\n.luci-theme [data-tip]:is(:hover, :focus-visible)::after { opacity: 1; transform: translate(-50%, 0);\n transition: opacity var(--luci-motion-base) 300ms, transform var(--luci-motion-base) 300ms; }\n\n/*\n * Touch screens have no hover: a tapped button would keep its tooltip until the next tap elsewhere, over\n * the bar and its cards. There they show for keyboard focus only.\n */\n@media (hover: none) { .luci-theme [data-tip]:hover:not(:focus-visible)::after { opacity: 0; transition: none; } }\n\n/* Left-aligned tooltips (first button in rows, cards, or explicit data-tip-align=\"left\") open rightwards to prevent clipping inside cards/panels */\n.luci-theme [data-tip][data-tip-align=\"left\"]::after,\n.luci-theme .panel .actions > [data-tip]:first-child::after,\n.luci-theme .panel .row > [data-tip]:first-child::after {\n left: 0; right: auto; transform: translate(0, -4px);\n}\n.luci-theme [data-tip][data-tip-pos=\"above\"][data-tip-align=\"left\"]::after,\n.luci-theme .panel .actions > [data-tip]:first-child[data-tip-pos=\"above\"]::after,\n.luci-theme .panel .row > [data-tip]:first-child[data-tip-pos=\"above\"]::after {\n top: auto; bottom: calc(100% + var(--luci-space-8)); left: 0; right: auto; transform: translate(0, 4px);\n}\n.luci-theme [data-tip][data-tip-align=\"left\"]:is(:hover, :focus-visible)::after,\n.luci-theme .panel .actions > [data-tip]:first-child:is(:hover, :focus-visible)::after,\n.luci-theme .panel .row > [data-tip]:first-child:is(:hover, :focus-visible)::after {\n transform: translate(0, 0);\n}\n\n/* Right-aligned tooltips (repo button, last button in rows, cards, or explicit data-tip-align=\"right\") open leftwards */\n.luci-theme .repo-btn[data-tip]::after,\n.luci-theme [data-tip][data-tip-align=\"right\"]::after,\n.luci-theme .panel .actions > [data-tip]:last-child::after,\n.luci-theme .panel .row > [data-tip]:last-child::after {\n left: auto; right: 0; transform: translate(0, -4px);\n}\n.luci-theme .repo-btn[data-tip][data-tip-pos=\"above\"]::after,\n.luci-theme [data-tip][data-tip-pos=\"above\"][data-tip-align=\"right\"]::after,\n.luci-theme .panel .actions > [data-tip]:last-child[data-tip-pos=\"above\"]::after,\n.luci-theme .panel .row > [data-tip]:last-child[data-tip-pos=\"above\"]::after {\n top: auto; bottom: calc(100% + var(--luci-space-8)); left: auto; right: 0; transform: translate(0, 4px);\n}\n.luci-theme .repo-btn[data-tip]:is(:hover, :focus-visible)::after,\n.luci-theme [data-tip][data-tip-align=\"right\"]:is(:hover, :focus-visible)::after,\n.luci-theme .panel .actions > [data-tip]:last-child:is(:hover, :focus-visible)::after,\n.luci-theme .panel .row > [data-tip]:last-child:is(:hover, :focus-visible)::after {\n transform: translate(0, 0);\n}\n\n/* Empty state: Luci, a title, one line, an optional primary button */\n.empty { display: flex; flex-direction: column; align-items: center; gap: var(--luci-space-12); padding: var(--luci-space-24) var(--luci-space-16); text-align: center; }\n.empty .t-title { margin: 0; }\n.empty p:not(.t-title) { margin: 0; color: var(--luci-color-ink-secondary); }\n";
|
|
5
5
|
//# sourceMappingURL=styles.d.ts.map
|
package/dist/styles.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../src/styles.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../src/styles.ts"],"names":[],"mappings":"AAQA,eAAO,MAAM,QAAQ,mvGAiDpB,CAAC;AAEF,eAAO,MAAM,cAAc,q4cA8L1B,CAAC;AAEF,oEAAoE;AACpE,eAAO,MAAM,MAAM,y+mCAAqE,CAAC"}
|
package/dist/styles.js
CHANGED
|
@@ -19,6 +19,13 @@ export const BASE_CSS = `
|
|
|
19
19
|
color: var(--luci-color-ink);
|
|
20
20
|
-webkit-font-smoothing: antialiased;
|
|
21
21
|
}
|
|
22
|
+
/*
|
|
23
|
+
* Elevation for cards floating over the page: the float shadow, plus the faint inner edge on Charcoal
|
|
24
|
+
* (the dark theme's cards), so they stay apart from a dark host page of the same colour.
|
|
25
|
+
*/
|
|
26
|
+
.luci-theme { --luci-elevation: var(--luci-shadow-float); --luci-elevation-bar: var(--luci-shadow-edge), var(--luci-shadow-float); }
|
|
27
|
+
@media (prefers-color-scheme: dark) { .luci-theme:not([data-theme="light"]) { --luci-elevation: var(--luci-shadow-edge), var(--luci-shadow-float); } }
|
|
28
|
+
.luci-theme[data-theme="dark"] { --luci-elevation: var(--luci-shadow-edge), var(--luci-shadow-float); }
|
|
22
29
|
.luci-theme *, .luci-theme *::before, .luci-theme *::after { box-sizing: border-box; }
|
|
23
30
|
.luci-theme :where(button, input, select, textarea) { font: inherit; color: inherit; }
|
|
24
31
|
.luci-theme :where(code, kbd, pre, samp) { font-family: var(--luci-font-code); }
|
|
@@ -140,7 +147,7 @@ export const COMPONENTS_CSS = `
|
|
|
140
147
|
.status-msg .status-title { margin: 0; color: var(--status); font-size: var(--luci-type-heading-size); line-height: var(--luci-type-heading-line); font-weight: var(--luci-type-heading-weight); }
|
|
141
148
|
.status-msg .status-detail { margin: 0; }
|
|
142
149
|
.status-msg .mascot { width: 48px; }
|
|
143
|
-
.toast { position: fixed; z-index: 2147483647; box-shadow: var(--luci-
|
|
150
|
+
.toast { position: fixed; z-index: 2147483647; box-shadow: var(--luci-elevation); }
|
|
144
151
|
|
|
145
152
|
/* Card and panel */
|
|
146
153
|
.card { padding: var(--luci-space-24); border: 1px solid var(--luci-color-stroke-subtle); border-radius: var(--luci-radius-xl); background: var(--luci-color-surface-raised); }
|
|
@@ -191,6 +198,12 @@ export const COMPONENTS_CSS = `
|
|
|
191
198
|
.luci-theme [data-tip]:is(:hover, :focus-visible)::after { opacity: 1; transform: translate(-50%, 0);
|
|
192
199
|
transition: opacity var(--luci-motion-base) 300ms, transform var(--luci-motion-base) 300ms; }
|
|
193
200
|
|
|
201
|
+
/*
|
|
202
|
+
* Touch screens have no hover: a tapped button would keep its tooltip until the next tap elsewhere, over
|
|
203
|
+
* the bar and its cards. There they show for keyboard focus only.
|
|
204
|
+
*/
|
|
205
|
+
@media (hover: none) { .luci-theme [data-tip]:hover:not(:focus-visible)::after { opacity: 0; transition: none; } }
|
|
206
|
+
|
|
194
207
|
/* Left-aligned tooltips (first button in rows, cards, or explicit data-tip-align="left") open rightwards to prevent clipping inside cards/panels */
|
|
195
208
|
.luci-theme [data-tip][data-tip-align="left"]::after,
|
|
196
209
|
.luci-theme .panel .actions > [data-tip]:first-child::after,
|
package/dist/styles.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../src/styles.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjD,MAAM,CAAC,MAAM,QAAQ,GAAG
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../src/styles.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,OAAO,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAEjD,MAAM,CAAC,MAAM,QAAQ,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiDvB,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8L7B,CAAC;AAEF,oEAAoE;AACpE,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,UAAU,KAAK,cAAc,KAAK,QAAQ,KAAK,cAAc,EAAE,CAAC"}
|
package/dist/tokens.d.ts
CHANGED
|
@@ -156,7 +156,8 @@ export declare const MOTION: {
|
|
|
156
156
|
readonly reducedMotion: "UI instant, mascot loops stop";
|
|
157
157
|
};
|
|
158
158
|
export declare const SHADOW: {
|
|
159
|
-
readonly float: "0 8px 24px rgba(
|
|
159
|
+
readonly float: "0 1px 2px rgba(0, 0, 0, 0.24), 0 8px 24px rgba(0, 0, 0, 0.28)";
|
|
160
|
+
readonly edge: "inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.05)";
|
|
160
161
|
};
|
|
161
162
|
export declare const SIZE: {
|
|
162
163
|
readonly touchTarget: 44;
|
|
@@ -170,5 +171,5 @@ export declare const SIZE: {
|
|
|
170
171
|
* variables never reach inside). Put class "luci-theme" and data-theme="system|light|dark" on the
|
|
171
172
|
* surface's root element to switch themes.
|
|
172
173
|
*/
|
|
173
|
-
export declare const TOKENS_CSS = "/* Generated by scripts/brand-sync.mjs from brand/. Do not edit: run `pnpm brand:sync`. */\n:host, :root {\n --luci-color-ginger-50: #FEF5E8;\n --luci-color-ginger-100: #FEEBD1;\n --luci-color-ginger-200: #FCD7AA;\n --luci-color-ginger-300: #FBBE7A;\n --luci-color-ginger-400: #F6A24F;\n --luci-color-ginger-500: #EC862B;\n --luci-color-ginger-600: #D86D1D;\n --luci-color-ginger-700: #AD4F1A;\n --luci-color-ginger-800: #893D1B;\n --luci-color-ginger-900: #652D18;\n --luci-color-ginger-950: #451F12;\n --luci-color-collar-lime-100: #EAF5C7;\n --luci-color-collar-lime-300: #CBE66D;\n --luci-color-collar-lime-500: #B4D43C;\n --luci-color-collar-lime-700: #547617;\n --luci-color-nose-pink-100: #FFE4E1;\n --luci-color-nose-pink-300: #F5B9B4;\n --luci-color-nose-pink-500: #E79993;\n --luci-color-nose-pink-700: #AB5050;\n --luci-color-iris-gold-100: #F7F0CA;\n --luci-color-iris-gold-300: #E6D17A;\n --luci-color-iris-gold-500: #CBB042;\n --luci-color-iris-gold-700: #7B6813;\n --luci-color-success-100: #DFF3D5;\n --luci-color-success-700: #3F7932;\n --luci-color-warning-100: #FEEDC9;\n --luci-color-warning-700: #975F03;\n --luci-color-danger-100: #FFE3DF;\n --luci-color-danger-700: #C5372F;\n --luci-color-info-100: #D9F0F3;\n --luci-color-info-700: #1E767F;\n --luci-color-muzzle-0: #FDF9F6;\n --luci-color-muzzle-50: #F5EFEA;\n --luci-color-muzzle-100: #EBE5E0;\n --luci-color-muzzle-200: #DBD4CF;\n --luci-color-muzzle-300: #C2BCB8;\n --luci-color-muzzle-400: #A29D99;\n --luci-color-muzzle-500: #837F7C;\n --luci-color-muzzle-600: #656360;\n --luci-color-muzzle-700: #4F4D4B;\n --luci-color-muzzle-800: #3B3A39;\n --luci-color-muzzle-900: #2B2B2B;\n --luci-radius-sm: 8px;\n --luci-radius-md: 12px;\n --luci-radius-lg: 16px;\n --luci-radius-xl: 24px;\n --luci-radius-full: 9999px;\n --luci-space-4: 4px;\n --luci-space-8: 8px;\n --luci-space-12: 12px;\n --luci-space-16: 16px;\n --luci-space-20: 20px;\n --luci-space-24: 24px;\n --luci-space-32: 32px;\n --luci-space-40: 40px;\n --luci-space-48: 48px;\n --luci-space-64: 64px;\n --luci-space-80: 80px;\n --luci-font-display: \"Luci Fredoka\", Fredoka, \"Luci Inter\", Inter, sans-serif;\n --luci-font-body: \"Luci Inter\", Inter, system-ui, sans-serif;\n --luci-font-code: \"Luci JetBrains Mono\", 'JetBrains Mono', ui-monospace, monospace;\n --luci-type-display-size: 40px;\n --luci-type-display-line: 44px;\n --luci-type-display-weight: 600;\n --luci-type-title-size: 24px;\n --luci-type-title-line: 30px;\n --luci-type-title-weight: 600;\n --luci-type-heading-size: 17px;\n --luci-type-heading-line: 24px;\n --luci-type-heading-weight: 600;\n --luci-type-body-size: 15px;\n --luci-type-body-line: 22px;\n --luci-type-body-weight: 400;\n --luci-type-small-size: 13px;\n --luci-type-small-line: 18px;\n --luci-type-small-weight: 500;\n --luci-type-micro-size: 12px;\n --luci-type-micro-line: 16px;\n --luci-type-micro-weight: 600;\n --luci-type-code-size: 13px;\n --luci-type-code-line: 20px;\n --luci-type-code-weight: 500;\n --luci-shadow-float: 0 8px 24px rgba(43, 43, 43, 0.14);\n --luci-motion-fast: 150ms ease-out;\n --luci-motion-base: 200ms ease-out;\n --luci-motion-exit: 150ms ease-in;\n --luci-size-touch-target: 44px;\n --luci-size-toolbar-button: 48px;\n --luci-size-toolbar-icon: 22px;\n --luci-size-mascot-min: 96px;\n --luci-size-toast-face: 48px;\n --luci-color-surface: var(--luci-color-muzzle-50);\n --luci-color-surface-raised: var(--luci-color-muzzle-0);\n --luci-color-surface-sunken: var(--luci-color-muzzle-100);\n --luci-color-ink: var(--luci-color-muzzle-900);\n --luci-color-ink-secondary: var(--luci-color-muzzle-600);\n --luci-color-ink-disabled: var(--luci-color-muzzle-400);\n --luci-color-primary: var(--luci-color-ginger-500);\n --luci-color-on-primary: var(--luci-color-muzzle-900);\n --luci-color-primary-hover: var(--luci-color-ginger-600);\n --luci-color-primary-soft: var(--luci-color-ginger-100);\n --luci-color-link: var(--luci-color-ginger-700);\n --luci-color-accent: var(--luci-color-collar-lime-500);\n --luci-color-on-accent: var(--luci-color-muzzle-900);\n --luci-color-success: var(--luci-color-success-700);\n --luci-color-success-bg: var(--luci-color-success-100);\n --luci-color-warning: var(--luci-color-warning-700);\n --luci-color-warning-bg: var(--luci-color-warning-100);\n --luci-color-danger: var(--luci-color-danger-700);\n --luci-color-danger-bg: var(--luci-color-danger-100);\n --luci-color-danger-hover: #FFD3CD;\n --luci-color-info: var(--luci-color-info-700);\n --luci-color-info-bg: var(--luci-color-info-100);\n --luci-color-secondary-hover: var(--luci-color-muzzle-100);\n --luci-color-ghost-hover: color-mix(in srgb, var(--luci-color-muzzle-900) 6%, transparent);\n --luci-color-stroke-subtle: color-mix(in srgb, var(--luci-color-muzzle-900) 12%, transparent);\n --luci-color-stroke-muzzle: var(--luci-color-muzzle-200);\n --luci-color-stroke-strong: color-mix(in srgb, var(--luci-color-muzzle-900) 24%, transparent);\n --luci-color-focus: var(--luci-color-muzzle-900);\n --luci-color-bar: var(--luci-color-muzzle-900);\n --luci-color-bar-ink: var(--luci-color-muzzle-50);\n --luci-color-bar-ink-secondary: var(--luci-color-muzzle-300);\n --luci-color-bar-hover: var(--luci-color-muzzle-700);\n --luci-color-bar-stroke: color-mix(in srgb, var(--luci-color-muzzle-50) 16%, transparent);\n --luci-color-tool-active: var(--luci-color-ginger-400);\n --luci-color-on-tool-active: var(--luci-color-muzzle-900);\n --luci-color-pick: var(--luci-color-ginger-500);\n --luci-color-pick-fill: color-mix(in srgb, var(--luci-color-ginger-500) 14%, transparent);\n --luci-color-pick-blocked: var(--luci-color-danger-700);\n --luci-color-pick-blocked-fill: color-mix(in srgb, var(--luci-color-muzzle-500) 35%, transparent);\n --luci-color-pad-fill: color-mix(in srgb, var(--luci-color-collar-lime-500) 35%, transparent);\n --luci-color-margin-fill: color-mix(in srgb, var(--luci-color-ginger-300) 35%, transparent);\n --luci-color-insert: var(--luci-color-nose-pink-500);\n --luci-color-insert-fill: color-mix(in srgb, var(--luci-color-nose-pink-500) 16%, transparent);\n --luci-color-insert-ink: var(--luci-color-nose-pink-100);\n}\n@media (prefers-color-scheme: dark) {\n .luci-theme:not([data-theme=\"light\"]) {\n --luci-color-surface: var(--luci-color-muzzle-900);\n --luci-color-surface-raised: var(--luci-color-muzzle-800);\n --luci-color-surface-sunken: var(--luci-color-muzzle-800);\n --luci-color-ink: var(--luci-color-muzzle-50);\n --luci-color-ink-secondary: var(--luci-color-muzzle-300);\n --luci-color-ink-disabled: var(--luci-color-muzzle-500);\n --luci-color-primary: var(--luci-color-ginger-400);\n --luci-color-on-primary: var(--luci-color-muzzle-900);\n --luci-color-primary-hover: var(--luci-color-ginger-300);\n --luci-color-primary-soft: color-mix(in srgb, var(--luci-color-ginger-400) 18%, transparent);\n --luci-color-link: var(--luci-color-ginger-300);\n --luci-color-accent: var(--luci-color-collar-lime-500);\n --luci-color-on-accent: var(--luci-color-muzzle-900);\n --luci-color-success: var(--luci-color-success-700);\n --luci-color-success-bg: var(--luci-color-success-100);\n --luci-color-warning: var(--luci-color-warning-700);\n --luci-color-warning-bg: var(--luci-color-warning-100);\n --luci-color-danger: var(--luci-color-danger-700);\n --luci-color-danger-bg: var(--luci-color-danger-100);\n --luci-color-danger-hover: #FFD3CD;\n --luci-color-info: var(--luci-color-info-700);\n --luci-color-info-bg: var(--luci-color-info-100);\n --luci-color-secondary-hover: var(--luci-color-muzzle-700);\n --luci-color-ghost-hover: color-mix(in srgb, var(--luci-color-muzzle-50) 8%, transparent);\n --luci-color-stroke-subtle: color-mix(in srgb, var(--luci-color-muzzle-50) 16%, transparent);\n --luci-color-stroke-muzzle: var(--luci-color-muzzle-700);\n --luci-color-stroke-strong: color-mix(in srgb, var(--luci-color-muzzle-50) 28%, transparent);\n --luci-color-focus: var(--luci-color-muzzle-50);\n }\n}\n.luci-theme[data-theme=\"dark\"] {\n --luci-color-surface: var(--luci-color-muzzle-900);\n --luci-color-surface-raised: var(--luci-color-muzzle-800);\n --luci-color-surface-sunken: var(--luci-color-muzzle-800);\n --luci-color-ink: var(--luci-color-muzzle-50);\n --luci-color-ink-secondary: var(--luci-color-muzzle-300);\n --luci-color-ink-disabled: var(--luci-color-muzzle-500);\n --luci-color-primary: var(--luci-color-ginger-400);\n --luci-color-on-primary: var(--luci-color-muzzle-900);\n --luci-color-primary-hover: var(--luci-color-ginger-300);\n --luci-color-primary-soft: color-mix(in srgb, var(--luci-color-ginger-400) 18%, transparent);\n --luci-color-link: var(--luci-color-ginger-300);\n --luci-color-accent: var(--luci-color-collar-lime-500);\n --luci-color-on-accent: var(--luci-color-muzzle-900);\n --luci-color-success: var(--luci-color-success-700);\n --luci-color-success-bg: var(--luci-color-success-100);\n --luci-color-warning: var(--luci-color-warning-700);\n --luci-color-warning-bg: var(--luci-color-warning-100);\n --luci-color-danger: var(--luci-color-danger-700);\n --luci-color-danger-bg: var(--luci-color-danger-100);\n --luci-color-danger-hover: #FFD3CD;\n --luci-color-info: var(--luci-color-info-700);\n --luci-color-info-bg: var(--luci-color-info-100);\n --luci-color-secondary-hover: var(--luci-color-muzzle-700);\n --luci-color-ghost-hover: color-mix(in srgb, var(--luci-color-muzzle-50) 8%, transparent);\n --luci-color-stroke-subtle: color-mix(in srgb, var(--luci-color-muzzle-50) 16%, transparent);\n --luci-color-stroke-muzzle: var(--luci-color-muzzle-700);\n --luci-color-stroke-strong: color-mix(in srgb, var(--luci-color-muzzle-50) 28%, transparent);\n --luci-color-focus: var(--luci-color-muzzle-50);\n}\n";
|
|
174
|
+
export declare const TOKENS_CSS = "/* Generated by scripts/brand-sync.mjs from brand/. Do not edit: run `pnpm brand:sync`. */\n:host, :root {\n --luci-color-ginger-50: #FEF5E8;\n --luci-color-ginger-100: #FEEBD1;\n --luci-color-ginger-200: #FCD7AA;\n --luci-color-ginger-300: #FBBE7A;\n --luci-color-ginger-400: #F6A24F;\n --luci-color-ginger-500: #EC862B;\n --luci-color-ginger-600: #D86D1D;\n --luci-color-ginger-700: #AD4F1A;\n --luci-color-ginger-800: #893D1B;\n --luci-color-ginger-900: #652D18;\n --luci-color-ginger-950: #451F12;\n --luci-color-collar-lime-100: #EAF5C7;\n --luci-color-collar-lime-300: #CBE66D;\n --luci-color-collar-lime-500: #B4D43C;\n --luci-color-collar-lime-700: #547617;\n --luci-color-nose-pink-100: #FFE4E1;\n --luci-color-nose-pink-300: #F5B9B4;\n --luci-color-nose-pink-500: #E79993;\n --luci-color-nose-pink-700: #AB5050;\n --luci-color-iris-gold-100: #F7F0CA;\n --luci-color-iris-gold-300: #E6D17A;\n --luci-color-iris-gold-500: #CBB042;\n --luci-color-iris-gold-700: #7B6813;\n --luci-color-success-100: #DFF3D5;\n --luci-color-success-700: #3F7932;\n --luci-color-warning-100: #FEEDC9;\n --luci-color-warning-700: #975F03;\n --luci-color-danger-100: #FFE3DF;\n --luci-color-danger-700: #C5372F;\n --luci-color-info-100: #D9F0F3;\n --luci-color-info-700: #1E767F;\n --luci-color-muzzle-0: #FDF9F6;\n --luci-color-muzzle-50: #F5EFEA;\n --luci-color-muzzle-100: #EBE5E0;\n --luci-color-muzzle-200: #DBD4CF;\n --luci-color-muzzle-300: #C2BCB8;\n --luci-color-muzzle-400: #A29D99;\n --luci-color-muzzle-500: #837F7C;\n --luci-color-muzzle-600: #656360;\n --luci-color-muzzle-700: #4F4D4B;\n --luci-color-muzzle-800: #3B3A39;\n --luci-color-muzzle-900: #2B2B2B;\n --luci-radius-sm: 8px;\n --luci-radius-md: 12px;\n --luci-radius-lg: 16px;\n --luci-radius-xl: 24px;\n --luci-radius-full: 9999px;\n --luci-space-4: 4px;\n --luci-space-8: 8px;\n --luci-space-12: 12px;\n --luci-space-16: 16px;\n --luci-space-20: 20px;\n --luci-space-24: 24px;\n --luci-space-32: 32px;\n --luci-space-40: 40px;\n --luci-space-48: 48px;\n --luci-space-64: 64px;\n --luci-space-80: 80px;\n --luci-font-display: \"Luci Fredoka\", Fredoka, \"Luci Inter\", Inter, sans-serif;\n --luci-font-body: \"Luci Inter\", Inter, system-ui, sans-serif;\n --luci-font-code: \"Luci JetBrains Mono\", 'JetBrains Mono', ui-monospace, monospace;\n --luci-type-display-size: 40px;\n --luci-type-display-line: 44px;\n --luci-type-display-weight: 600;\n --luci-type-title-size: 24px;\n --luci-type-title-line: 30px;\n --luci-type-title-weight: 600;\n --luci-type-heading-size: 17px;\n --luci-type-heading-line: 24px;\n --luci-type-heading-weight: 600;\n --luci-type-body-size: 15px;\n --luci-type-body-line: 22px;\n --luci-type-body-weight: 400;\n --luci-type-small-size: 13px;\n --luci-type-small-line: 18px;\n --luci-type-small-weight: 500;\n --luci-type-micro-size: 12px;\n --luci-type-micro-line: 16px;\n --luci-type-micro-weight: 600;\n --luci-type-code-size: 13px;\n --luci-type-code-line: 20px;\n --luci-type-code-weight: 500;\n --luci-shadow-float: 0 1px 2px rgba(0, 0, 0, 0.24), 0 8px 24px rgba(0, 0, 0, 0.28);\n --luci-shadow-edge: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.05);\n --luci-motion-fast: 150ms ease-out;\n --luci-motion-base: 200ms ease-out;\n --luci-motion-exit: 150ms ease-in;\n --luci-size-touch-target: 44px;\n --luci-size-toolbar-button: 48px;\n --luci-size-toolbar-icon: 22px;\n --luci-size-mascot-min: 96px;\n --luci-size-toast-face: 48px;\n --luci-color-surface: var(--luci-color-muzzle-50);\n --luci-color-surface-raised: var(--luci-color-muzzle-0);\n --luci-color-surface-sunken: var(--luci-color-muzzle-100);\n --luci-color-ink: var(--luci-color-muzzle-900);\n --luci-color-ink-secondary: var(--luci-color-muzzle-600);\n --luci-color-ink-disabled: var(--luci-color-muzzle-400);\n --luci-color-primary: var(--luci-color-ginger-500);\n --luci-color-on-primary: var(--luci-color-muzzle-900);\n --luci-color-primary-hover: var(--luci-color-ginger-600);\n --luci-color-primary-soft: var(--luci-color-ginger-100);\n --luci-color-link: var(--luci-color-ginger-700);\n --luci-color-accent: var(--luci-color-collar-lime-500);\n --luci-color-on-accent: var(--luci-color-muzzle-900);\n --luci-color-success: var(--luci-color-success-700);\n --luci-color-success-bg: var(--luci-color-success-100);\n --luci-color-warning: var(--luci-color-warning-700);\n --luci-color-warning-bg: var(--luci-color-warning-100);\n --luci-color-danger: var(--luci-color-danger-700);\n --luci-color-danger-bg: var(--luci-color-danger-100);\n --luci-color-danger-hover: #FFD3CD;\n --luci-color-info: var(--luci-color-info-700);\n --luci-color-info-bg: var(--luci-color-info-100);\n --luci-color-secondary-hover: var(--luci-color-muzzle-100);\n --luci-color-ghost-hover: color-mix(in srgb, var(--luci-color-muzzle-900) 6%, transparent);\n --luci-color-stroke-subtle: color-mix(in srgb, var(--luci-color-muzzle-900) 12%, transparent);\n --luci-color-stroke-muzzle: var(--luci-color-muzzle-200);\n --luci-color-stroke-strong: color-mix(in srgb, var(--luci-color-muzzle-900) 24%, transparent);\n --luci-color-focus: var(--luci-color-muzzle-900);\n --luci-color-bar: var(--luci-color-muzzle-900);\n --luci-color-bar-ink: var(--luci-color-muzzle-50);\n --luci-color-bar-ink-secondary: var(--luci-color-muzzle-300);\n --luci-color-bar-hover: var(--luci-color-muzzle-700);\n --luci-color-bar-stroke: color-mix(in srgb, var(--luci-color-muzzle-50) 16%, transparent);\n --luci-color-tool-active: var(--luci-color-ginger-400);\n --luci-color-on-tool-active: var(--luci-color-muzzle-900);\n --luci-color-pick: var(--luci-color-ginger-500);\n --luci-color-pick-fill: color-mix(in srgb, var(--luci-color-ginger-500) 14%, transparent);\n --luci-color-pick-blocked: var(--luci-color-danger-700);\n --luci-color-pick-blocked-fill: color-mix(in srgb, var(--luci-color-muzzle-500) 35%, transparent);\n --luci-color-pad-fill: color-mix(in srgb, var(--luci-color-collar-lime-500) 35%, transparent);\n --luci-color-margin-fill: color-mix(in srgb, var(--luci-color-ginger-300) 35%, transparent);\n --luci-color-insert: var(--luci-color-nose-pink-500);\n --luci-color-insert-fill: color-mix(in srgb, var(--luci-color-nose-pink-500) 16%, transparent);\n --luci-color-insert-ink: var(--luci-color-nose-pink-100);\n}\n@media (prefers-color-scheme: dark) {\n .luci-theme:not([data-theme=\"light\"]) {\n --luci-color-surface: var(--luci-color-muzzle-900);\n --luci-color-surface-raised: var(--luci-color-muzzle-800);\n --luci-color-surface-sunken: var(--luci-color-muzzle-800);\n --luci-color-ink: var(--luci-color-muzzle-50);\n --luci-color-ink-secondary: var(--luci-color-muzzle-300);\n --luci-color-ink-disabled: var(--luci-color-muzzle-500);\n --luci-color-primary: var(--luci-color-ginger-400);\n --luci-color-on-primary: var(--luci-color-muzzle-900);\n --luci-color-primary-hover: var(--luci-color-ginger-300);\n --luci-color-primary-soft: color-mix(in srgb, var(--luci-color-ginger-400) 18%, transparent);\n --luci-color-link: var(--luci-color-ginger-300);\n --luci-color-accent: var(--luci-color-collar-lime-500);\n --luci-color-on-accent: var(--luci-color-muzzle-900);\n --luci-color-success: var(--luci-color-success-700);\n --luci-color-success-bg: var(--luci-color-success-100);\n --luci-color-warning: var(--luci-color-warning-700);\n --luci-color-warning-bg: var(--luci-color-warning-100);\n --luci-color-danger: var(--luci-color-danger-700);\n --luci-color-danger-bg: var(--luci-color-danger-100);\n --luci-color-danger-hover: #FFD3CD;\n --luci-color-info: var(--luci-color-info-700);\n --luci-color-info-bg: var(--luci-color-info-100);\n --luci-color-secondary-hover: var(--luci-color-muzzle-700);\n --luci-color-ghost-hover: color-mix(in srgb, var(--luci-color-muzzle-50) 8%, transparent);\n --luci-color-stroke-subtle: color-mix(in srgb, var(--luci-color-muzzle-50) 16%, transparent);\n --luci-color-stroke-muzzle: var(--luci-color-muzzle-700);\n --luci-color-stroke-strong: color-mix(in srgb, var(--luci-color-muzzle-50) 28%, transparent);\n --luci-color-focus: var(--luci-color-muzzle-50);\n }\n}\n.luci-theme[data-theme=\"dark\"] {\n --luci-color-surface: var(--luci-color-muzzle-900);\n --luci-color-surface-raised: var(--luci-color-muzzle-800);\n --luci-color-surface-sunken: var(--luci-color-muzzle-800);\n --luci-color-ink: var(--luci-color-muzzle-50);\n --luci-color-ink-secondary: var(--luci-color-muzzle-300);\n --luci-color-ink-disabled: var(--luci-color-muzzle-500);\n --luci-color-primary: var(--luci-color-ginger-400);\n --luci-color-on-primary: var(--luci-color-muzzle-900);\n --luci-color-primary-hover: var(--luci-color-ginger-300);\n --luci-color-primary-soft: color-mix(in srgb, var(--luci-color-ginger-400) 18%, transparent);\n --luci-color-link: var(--luci-color-ginger-300);\n --luci-color-accent: var(--luci-color-collar-lime-500);\n --luci-color-on-accent: var(--luci-color-muzzle-900);\n --luci-color-success: var(--luci-color-success-700);\n --luci-color-success-bg: var(--luci-color-success-100);\n --luci-color-warning: var(--luci-color-warning-700);\n --luci-color-warning-bg: var(--luci-color-warning-100);\n --luci-color-danger: var(--luci-color-danger-700);\n --luci-color-danger-bg: var(--luci-color-danger-100);\n --luci-color-danger-hover: #FFD3CD;\n --luci-color-info: var(--luci-color-info-700);\n --luci-color-info-bg: var(--luci-color-info-100);\n --luci-color-secondary-hover: var(--luci-color-muzzle-700);\n --luci-color-ghost-hover: color-mix(in srgb, var(--luci-color-muzzle-50) 8%, transparent);\n --luci-color-stroke-subtle: color-mix(in srgb, var(--luci-color-muzzle-50) 16%, transparent);\n --luci-color-stroke-muzzle: var(--luci-color-muzzle-700);\n --luci-color-stroke-strong: color-mix(in srgb, var(--luci-color-muzzle-50) 28%, transparent);\n --luci-color-focus: var(--luci-color-muzzle-50);\n}\n";
|
|
174
175
|
//# sourceMappingURL=tokens.d.ts.map
|
package/dist/tokens.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../src/tokens.ts"],"names":[],"mappings":"AACA,qEAAqE;AACrE,eAAO,MAAM,OAAO;aAClB,WAAW,EAAE,SAAS;aACtB,YAAY,EAAE,SAAS;aACvB,YAAY,EAAE,SAAS;aACvB,YAAY,EAAE,SAAS;aACvB,YAAY,EAAE,SAAS;aACvB,YAAY,EAAE,SAAS;aACvB,YAAY,EAAE,SAAS;aACvB,YAAY,EAAE,SAAS;aACvB,YAAY,EAAE,SAAS;aACvB,YAAY,EAAE,SAAS;aACvB,YAAY,EAAE,SAAS;aACvB,iBAAiB,EAAE,SAAS;aAC5B,iBAAiB,EAAE,SAAS;aAC5B,iBAAiB,EAAE,SAAS;aAC5B,iBAAiB,EAAE,SAAS;aAC5B,eAAe,EAAE,SAAS;aAC1B,eAAe,EAAE,SAAS;aAC1B,eAAe,EAAE,SAAS;aAC1B,eAAe,EAAE,SAAS;aAC1B,eAAe,EAAE,SAAS;aAC1B,eAA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C,aAAe,EAAE,GAAG;aACpB,IAAM,EAAE,8BAA8B;aACtC,IAAM,EAAE,2CAA2C;CAC3C,CAAC;AACX,eAAO,MAAM,IAAI;aACf,OAAS,YACP,EAAE,EACF,EAAE,EACF,GAAG,EACH,SAAS;aAEX,KAAO,YACL,EAAE,EACF,EAAE,EACF,GAAG,EACH,SAAS;aAEX,OAAS,YACP,EAAE,EACF,EAAE,EACF,GAAG,EACH,OAAO;aAET,IAAM,YACJ,EAAE,EACF,EAAE,EACF,GAAG,EACH,OAAO;aAET,KAAO,YACL,EAAE,EACF,EAAE,EACF,GAAG,EACH,OAAO;aAET,KAAO,YACL,EAAE,EACF,EAAE,EACF,GAAG,EACH,OAAO;aAET,IAAM,YACJ,EAAE,EACF,EAAE,EACF,GAAG,EACH,gBAAgB;CAEV,CAAC;AACX,eAAO,MAAM,MAAM;aACjB,IAAM,EAAE,gBAAgB;aACxB,IAAM,EAAE,gBAAgB;aACxB,IAAM,EAAE,eAAe;aACvB,UAAY,EAAE,OAAO;aACrB,SAAW,EAAE,MAAM;aACnB,aAAe,EAAE,+BAA+B;CACxC,CAAC;AACX,eAAO,MAAM,MAAM;aACjB,KAAO,EAAE,+DAA+D;aACxE,IAAM,EAAE,oFAAoF;CACpF,CAAC;AACX,eAAO,MAAM,IAAI;aACf,WAAa,EAAE,EAAE;aACjB,aAAe,EAAE,EAAE;aACnB,WAAa,EAAE,EAAE;aACjB,SAAW,EAAE,EAAE;aACf,SAAW,EAAE,EAAE;CACP,CAAC;AAEX;;;;GAIG;AACH,eAAO,MAAM,UAAU,k2TAAk2T,CAAC"}
|
package/dist/tokens.js
CHANGED
|
@@ -204,7 +204,8 @@ export const MOTION = {
|
|
|
204
204
|
"reducedMotion": "UI instant, mascot loops stop"
|
|
205
205
|
};
|
|
206
206
|
export const SHADOW = {
|
|
207
|
-
"float": "0 8px 24px rgba(
|
|
207
|
+
"float": "0 1px 2px rgba(0, 0, 0, 0.24), 0 8px 24px rgba(0, 0, 0, 0.28)",
|
|
208
|
+
"edge": "inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.05)"
|
|
208
209
|
};
|
|
209
210
|
export const SIZE = {
|
|
210
211
|
"touchTarget": 44,
|
|
@@ -218,5 +219,5 @@ export const SIZE = {
|
|
|
218
219
|
* variables never reach inside). Put class "luci-theme" and data-theme="system|light|dark" on the
|
|
219
220
|
* surface's root element to switch themes.
|
|
220
221
|
*/
|
|
221
|
-
export const TOKENS_CSS = "/* Generated by scripts/brand-sync.mjs from brand/. Do not edit: run `pnpm brand:sync`. */\n:host, :root {\n --luci-color-ginger-50: #FEF5E8;\n --luci-color-ginger-100: #FEEBD1;\n --luci-color-ginger-200: #FCD7AA;\n --luci-color-ginger-300: #FBBE7A;\n --luci-color-ginger-400: #F6A24F;\n --luci-color-ginger-500: #EC862B;\n --luci-color-ginger-600: #D86D1D;\n --luci-color-ginger-700: #AD4F1A;\n --luci-color-ginger-800: #893D1B;\n --luci-color-ginger-900: #652D18;\n --luci-color-ginger-950: #451F12;\n --luci-color-collar-lime-100: #EAF5C7;\n --luci-color-collar-lime-300: #CBE66D;\n --luci-color-collar-lime-500: #B4D43C;\n --luci-color-collar-lime-700: #547617;\n --luci-color-nose-pink-100: #FFE4E1;\n --luci-color-nose-pink-300: #F5B9B4;\n --luci-color-nose-pink-500: #E79993;\n --luci-color-nose-pink-700: #AB5050;\n --luci-color-iris-gold-100: #F7F0CA;\n --luci-color-iris-gold-300: #E6D17A;\n --luci-color-iris-gold-500: #CBB042;\n --luci-color-iris-gold-700: #7B6813;\n --luci-color-success-100: #DFF3D5;\n --luci-color-success-700: #3F7932;\n --luci-color-warning-100: #FEEDC9;\n --luci-color-warning-700: #975F03;\n --luci-color-danger-100: #FFE3DF;\n --luci-color-danger-700: #C5372F;\n --luci-color-info-100: #D9F0F3;\n --luci-color-info-700: #1E767F;\n --luci-color-muzzle-0: #FDF9F6;\n --luci-color-muzzle-50: #F5EFEA;\n --luci-color-muzzle-100: #EBE5E0;\n --luci-color-muzzle-200: #DBD4CF;\n --luci-color-muzzle-300: #C2BCB8;\n --luci-color-muzzle-400: #A29D99;\n --luci-color-muzzle-500: #837F7C;\n --luci-color-muzzle-600: #656360;\n --luci-color-muzzle-700: #4F4D4B;\n --luci-color-muzzle-800: #3B3A39;\n --luci-color-muzzle-900: #2B2B2B;\n --luci-radius-sm: 8px;\n --luci-radius-md: 12px;\n --luci-radius-lg: 16px;\n --luci-radius-xl: 24px;\n --luci-radius-full: 9999px;\n --luci-space-4: 4px;\n --luci-space-8: 8px;\n --luci-space-12: 12px;\n --luci-space-16: 16px;\n --luci-space-20: 20px;\n --luci-space-24: 24px;\n --luci-space-32: 32px;\n --luci-space-40: 40px;\n --luci-space-48: 48px;\n --luci-space-64: 64px;\n --luci-space-80: 80px;\n --luci-font-display: \"Luci Fredoka\", Fredoka, \"Luci Inter\", Inter, sans-serif;\n --luci-font-body: \"Luci Inter\", Inter, system-ui, sans-serif;\n --luci-font-code: \"Luci JetBrains Mono\", 'JetBrains Mono', ui-monospace, monospace;\n --luci-type-display-size: 40px;\n --luci-type-display-line: 44px;\n --luci-type-display-weight: 600;\n --luci-type-title-size: 24px;\n --luci-type-title-line: 30px;\n --luci-type-title-weight: 600;\n --luci-type-heading-size: 17px;\n --luci-type-heading-line: 24px;\n --luci-type-heading-weight: 600;\n --luci-type-body-size: 15px;\n --luci-type-body-line: 22px;\n --luci-type-body-weight: 400;\n --luci-type-small-size: 13px;\n --luci-type-small-line: 18px;\n --luci-type-small-weight: 500;\n --luci-type-micro-size: 12px;\n --luci-type-micro-line: 16px;\n --luci-type-micro-weight: 600;\n --luci-type-code-size: 13px;\n --luci-type-code-line: 20px;\n --luci-type-code-weight: 500;\n --luci-shadow-float: 0 8px 24px rgba(43, 43, 43, 0.14);\n --luci-motion-fast: 150ms ease-out;\n --luci-motion-base: 200ms ease-out;\n --luci-motion-exit: 150ms ease-in;\n --luci-size-touch-target: 44px;\n --luci-size-toolbar-button: 48px;\n --luci-size-toolbar-icon: 22px;\n --luci-size-mascot-min: 96px;\n --luci-size-toast-face: 48px;\n --luci-color-surface: var(--luci-color-muzzle-50);\n --luci-color-surface-raised: var(--luci-color-muzzle-0);\n --luci-color-surface-sunken: var(--luci-color-muzzle-100);\n --luci-color-ink: var(--luci-color-muzzle-900);\n --luci-color-ink-secondary: var(--luci-color-muzzle-600);\n --luci-color-ink-disabled: var(--luci-color-muzzle-400);\n --luci-color-primary: var(--luci-color-ginger-500);\n --luci-color-on-primary: var(--luci-color-muzzle-900);\n --luci-color-primary-hover: var(--luci-color-ginger-600);\n --luci-color-primary-soft: var(--luci-color-ginger-100);\n --luci-color-link: var(--luci-color-ginger-700);\n --luci-color-accent: var(--luci-color-collar-lime-500);\n --luci-color-on-accent: var(--luci-color-muzzle-900);\n --luci-color-success: var(--luci-color-success-700);\n --luci-color-success-bg: var(--luci-color-success-100);\n --luci-color-warning: var(--luci-color-warning-700);\n --luci-color-warning-bg: var(--luci-color-warning-100);\n --luci-color-danger: var(--luci-color-danger-700);\n --luci-color-danger-bg: var(--luci-color-danger-100);\n --luci-color-danger-hover: #FFD3CD;\n --luci-color-info: var(--luci-color-info-700);\n --luci-color-info-bg: var(--luci-color-info-100);\n --luci-color-secondary-hover: var(--luci-color-muzzle-100);\n --luci-color-ghost-hover: color-mix(in srgb, var(--luci-color-muzzle-900) 6%, transparent);\n --luci-color-stroke-subtle: color-mix(in srgb, var(--luci-color-muzzle-900) 12%, transparent);\n --luci-color-stroke-muzzle: var(--luci-color-muzzle-200);\n --luci-color-stroke-strong: color-mix(in srgb, var(--luci-color-muzzle-900) 24%, transparent);\n --luci-color-focus: var(--luci-color-muzzle-900);\n --luci-color-bar: var(--luci-color-muzzle-900);\n --luci-color-bar-ink: var(--luci-color-muzzle-50);\n --luci-color-bar-ink-secondary: var(--luci-color-muzzle-300);\n --luci-color-bar-hover: var(--luci-color-muzzle-700);\n --luci-color-bar-stroke: color-mix(in srgb, var(--luci-color-muzzle-50) 16%, transparent);\n --luci-color-tool-active: var(--luci-color-ginger-400);\n --luci-color-on-tool-active: var(--luci-color-muzzle-900);\n --luci-color-pick: var(--luci-color-ginger-500);\n --luci-color-pick-fill: color-mix(in srgb, var(--luci-color-ginger-500) 14%, transparent);\n --luci-color-pick-blocked: var(--luci-color-danger-700);\n --luci-color-pick-blocked-fill: color-mix(in srgb, var(--luci-color-muzzle-500) 35%, transparent);\n --luci-color-pad-fill: color-mix(in srgb, var(--luci-color-collar-lime-500) 35%, transparent);\n --luci-color-margin-fill: color-mix(in srgb, var(--luci-color-ginger-300) 35%, transparent);\n --luci-color-insert: var(--luci-color-nose-pink-500);\n --luci-color-insert-fill: color-mix(in srgb, var(--luci-color-nose-pink-500) 16%, transparent);\n --luci-color-insert-ink: var(--luci-color-nose-pink-100);\n}\n@media (prefers-color-scheme: dark) {\n .luci-theme:not([data-theme=\"light\"]) {\n --luci-color-surface: var(--luci-color-muzzle-900);\n --luci-color-surface-raised: var(--luci-color-muzzle-800);\n --luci-color-surface-sunken: var(--luci-color-muzzle-800);\n --luci-color-ink: var(--luci-color-muzzle-50);\n --luci-color-ink-secondary: var(--luci-color-muzzle-300);\n --luci-color-ink-disabled: var(--luci-color-muzzle-500);\n --luci-color-primary: var(--luci-color-ginger-400);\n --luci-color-on-primary: var(--luci-color-muzzle-900);\n --luci-color-primary-hover: var(--luci-color-ginger-300);\n --luci-color-primary-soft: color-mix(in srgb, var(--luci-color-ginger-400) 18%, transparent);\n --luci-color-link: var(--luci-color-ginger-300);\n --luci-color-accent: var(--luci-color-collar-lime-500);\n --luci-color-on-accent: var(--luci-color-muzzle-900);\n --luci-color-success: var(--luci-color-success-700);\n --luci-color-success-bg: var(--luci-color-success-100);\n --luci-color-warning: var(--luci-color-warning-700);\n --luci-color-warning-bg: var(--luci-color-warning-100);\n --luci-color-danger: var(--luci-color-danger-700);\n --luci-color-danger-bg: var(--luci-color-danger-100);\n --luci-color-danger-hover: #FFD3CD;\n --luci-color-info: var(--luci-color-info-700);\n --luci-color-info-bg: var(--luci-color-info-100);\n --luci-color-secondary-hover: var(--luci-color-muzzle-700);\n --luci-color-ghost-hover: color-mix(in srgb, var(--luci-color-muzzle-50) 8%, transparent);\n --luci-color-stroke-subtle: color-mix(in srgb, var(--luci-color-muzzle-50) 16%, transparent);\n --luci-color-stroke-muzzle: var(--luci-color-muzzle-700);\n --luci-color-stroke-strong: color-mix(in srgb, var(--luci-color-muzzle-50) 28%, transparent);\n --luci-color-focus: var(--luci-color-muzzle-50);\n }\n}\n.luci-theme[data-theme=\"dark\"] {\n --luci-color-surface: var(--luci-color-muzzle-900);\n --luci-color-surface-raised: var(--luci-color-muzzle-800);\n --luci-color-surface-sunken: var(--luci-color-muzzle-800);\n --luci-color-ink: var(--luci-color-muzzle-50);\n --luci-color-ink-secondary: var(--luci-color-muzzle-300);\n --luci-color-ink-disabled: var(--luci-color-muzzle-500);\n --luci-color-primary: var(--luci-color-ginger-400);\n --luci-color-on-primary: var(--luci-color-muzzle-900);\n --luci-color-primary-hover: var(--luci-color-ginger-300);\n --luci-color-primary-soft: color-mix(in srgb, var(--luci-color-ginger-400) 18%, transparent);\n --luci-color-link: var(--luci-color-ginger-300);\n --luci-color-accent: var(--luci-color-collar-lime-500);\n --luci-color-on-accent: var(--luci-color-muzzle-900);\n --luci-color-success: var(--luci-color-success-700);\n --luci-color-success-bg: var(--luci-color-success-100);\n --luci-color-warning: var(--luci-color-warning-700);\n --luci-color-warning-bg: var(--luci-color-warning-100);\n --luci-color-danger: var(--luci-color-danger-700);\n --luci-color-danger-bg: var(--luci-color-danger-100);\n --luci-color-danger-hover: #FFD3CD;\n --luci-color-info: var(--luci-color-info-700);\n --luci-color-info-bg: var(--luci-color-info-100);\n --luci-color-secondary-hover: var(--luci-color-muzzle-700);\n --luci-color-ghost-hover: color-mix(in srgb, var(--luci-color-muzzle-50) 8%, transparent);\n --luci-color-stroke-subtle: color-mix(in srgb, var(--luci-color-muzzle-50) 16%, transparent);\n --luci-color-stroke-muzzle: var(--luci-color-muzzle-700);\n --luci-color-stroke-strong: color-mix(in srgb, var(--luci-color-muzzle-50) 28%, transparent);\n --luci-color-focus: var(--luci-color-muzzle-50);\n}\n";
|
|
222
|
+
export const TOKENS_CSS = "/* Generated by scripts/brand-sync.mjs from brand/. Do not edit: run `pnpm brand:sync`. */\n:host, :root {\n --luci-color-ginger-50: #FEF5E8;\n --luci-color-ginger-100: #FEEBD1;\n --luci-color-ginger-200: #FCD7AA;\n --luci-color-ginger-300: #FBBE7A;\n --luci-color-ginger-400: #F6A24F;\n --luci-color-ginger-500: #EC862B;\n --luci-color-ginger-600: #D86D1D;\n --luci-color-ginger-700: #AD4F1A;\n --luci-color-ginger-800: #893D1B;\n --luci-color-ginger-900: #652D18;\n --luci-color-ginger-950: #451F12;\n --luci-color-collar-lime-100: #EAF5C7;\n --luci-color-collar-lime-300: #CBE66D;\n --luci-color-collar-lime-500: #B4D43C;\n --luci-color-collar-lime-700: #547617;\n --luci-color-nose-pink-100: #FFE4E1;\n --luci-color-nose-pink-300: #F5B9B4;\n --luci-color-nose-pink-500: #E79993;\n --luci-color-nose-pink-700: #AB5050;\n --luci-color-iris-gold-100: #F7F0CA;\n --luci-color-iris-gold-300: #E6D17A;\n --luci-color-iris-gold-500: #CBB042;\n --luci-color-iris-gold-700: #7B6813;\n --luci-color-success-100: #DFF3D5;\n --luci-color-success-700: #3F7932;\n --luci-color-warning-100: #FEEDC9;\n --luci-color-warning-700: #975F03;\n --luci-color-danger-100: #FFE3DF;\n --luci-color-danger-700: #C5372F;\n --luci-color-info-100: #D9F0F3;\n --luci-color-info-700: #1E767F;\n --luci-color-muzzle-0: #FDF9F6;\n --luci-color-muzzle-50: #F5EFEA;\n --luci-color-muzzle-100: #EBE5E0;\n --luci-color-muzzle-200: #DBD4CF;\n --luci-color-muzzle-300: #C2BCB8;\n --luci-color-muzzle-400: #A29D99;\n --luci-color-muzzle-500: #837F7C;\n --luci-color-muzzle-600: #656360;\n --luci-color-muzzle-700: #4F4D4B;\n --luci-color-muzzle-800: #3B3A39;\n --luci-color-muzzle-900: #2B2B2B;\n --luci-radius-sm: 8px;\n --luci-radius-md: 12px;\n --luci-radius-lg: 16px;\n --luci-radius-xl: 24px;\n --luci-radius-full: 9999px;\n --luci-space-4: 4px;\n --luci-space-8: 8px;\n --luci-space-12: 12px;\n --luci-space-16: 16px;\n --luci-space-20: 20px;\n --luci-space-24: 24px;\n --luci-space-32: 32px;\n --luci-space-40: 40px;\n --luci-space-48: 48px;\n --luci-space-64: 64px;\n --luci-space-80: 80px;\n --luci-font-display: \"Luci Fredoka\", Fredoka, \"Luci Inter\", Inter, sans-serif;\n --luci-font-body: \"Luci Inter\", Inter, system-ui, sans-serif;\n --luci-font-code: \"Luci JetBrains Mono\", 'JetBrains Mono', ui-monospace, monospace;\n --luci-type-display-size: 40px;\n --luci-type-display-line: 44px;\n --luci-type-display-weight: 600;\n --luci-type-title-size: 24px;\n --luci-type-title-line: 30px;\n --luci-type-title-weight: 600;\n --luci-type-heading-size: 17px;\n --luci-type-heading-line: 24px;\n --luci-type-heading-weight: 600;\n --luci-type-body-size: 15px;\n --luci-type-body-line: 22px;\n --luci-type-body-weight: 400;\n --luci-type-small-size: 13px;\n --luci-type-small-line: 18px;\n --luci-type-small-weight: 500;\n --luci-type-micro-size: 12px;\n --luci-type-micro-line: 16px;\n --luci-type-micro-weight: 600;\n --luci-type-code-size: 13px;\n --luci-type-code-line: 20px;\n --luci-type-code-weight: 500;\n --luci-shadow-float: 0 1px 2px rgba(0, 0, 0, 0.24), 0 8px 24px rgba(0, 0, 0, 0.28);\n --luci-shadow-edge: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.05);\n --luci-motion-fast: 150ms ease-out;\n --luci-motion-base: 200ms ease-out;\n --luci-motion-exit: 150ms ease-in;\n --luci-size-touch-target: 44px;\n --luci-size-toolbar-button: 48px;\n --luci-size-toolbar-icon: 22px;\n --luci-size-mascot-min: 96px;\n --luci-size-toast-face: 48px;\n --luci-color-surface: var(--luci-color-muzzle-50);\n --luci-color-surface-raised: var(--luci-color-muzzle-0);\n --luci-color-surface-sunken: var(--luci-color-muzzle-100);\n --luci-color-ink: var(--luci-color-muzzle-900);\n --luci-color-ink-secondary: var(--luci-color-muzzle-600);\n --luci-color-ink-disabled: var(--luci-color-muzzle-400);\n --luci-color-primary: var(--luci-color-ginger-500);\n --luci-color-on-primary: var(--luci-color-muzzle-900);\n --luci-color-primary-hover: var(--luci-color-ginger-600);\n --luci-color-primary-soft: var(--luci-color-ginger-100);\n --luci-color-link: var(--luci-color-ginger-700);\n --luci-color-accent: var(--luci-color-collar-lime-500);\n --luci-color-on-accent: var(--luci-color-muzzle-900);\n --luci-color-success: var(--luci-color-success-700);\n --luci-color-success-bg: var(--luci-color-success-100);\n --luci-color-warning: var(--luci-color-warning-700);\n --luci-color-warning-bg: var(--luci-color-warning-100);\n --luci-color-danger: var(--luci-color-danger-700);\n --luci-color-danger-bg: var(--luci-color-danger-100);\n --luci-color-danger-hover: #FFD3CD;\n --luci-color-info: var(--luci-color-info-700);\n --luci-color-info-bg: var(--luci-color-info-100);\n --luci-color-secondary-hover: var(--luci-color-muzzle-100);\n --luci-color-ghost-hover: color-mix(in srgb, var(--luci-color-muzzle-900) 6%, transparent);\n --luci-color-stroke-subtle: color-mix(in srgb, var(--luci-color-muzzle-900) 12%, transparent);\n --luci-color-stroke-muzzle: var(--luci-color-muzzle-200);\n --luci-color-stroke-strong: color-mix(in srgb, var(--luci-color-muzzle-900) 24%, transparent);\n --luci-color-focus: var(--luci-color-muzzle-900);\n --luci-color-bar: var(--luci-color-muzzle-900);\n --luci-color-bar-ink: var(--luci-color-muzzle-50);\n --luci-color-bar-ink-secondary: var(--luci-color-muzzle-300);\n --luci-color-bar-hover: var(--luci-color-muzzle-700);\n --luci-color-bar-stroke: color-mix(in srgb, var(--luci-color-muzzle-50) 16%, transparent);\n --luci-color-tool-active: var(--luci-color-ginger-400);\n --luci-color-on-tool-active: var(--luci-color-muzzle-900);\n --luci-color-pick: var(--luci-color-ginger-500);\n --luci-color-pick-fill: color-mix(in srgb, var(--luci-color-ginger-500) 14%, transparent);\n --luci-color-pick-blocked: var(--luci-color-danger-700);\n --luci-color-pick-blocked-fill: color-mix(in srgb, var(--luci-color-muzzle-500) 35%, transparent);\n --luci-color-pad-fill: color-mix(in srgb, var(--luci-color-collar-lime-500) 35%, transparent);\n --luci-color-margin-fill: color-mix(in srgb, var(--luci-color-ginger-300) 35%, transparent);\n --luci-color-insert: var(--luci-color-nose-pink-500);\n --luci-color-insert-fill: color-mix(in srgb, var(--luci-color-nose-pink-500) 16%, transparent);\n --luci-color-insert-ink: var(--luci-color-nose-pink-100);\n}\n@media (prefers-color-scheme: dark) {\n .luci-theme:not([data-theme=\"light\"]) {\n --luci-color-surface: var(--luci-color-muzzle-900);\n --luci-color-surface-raised: var(--luci-color-muzzle-800);\n --luci-color-surface-sunken: var(--luci-color-muzzle-800);\n --luci-color-ink: var(--luci-color-muzzle-50);\n --luci-color-ink-secondary: var(--luci-color-muzzle-300);\n --luci-color-ink-disabled: var(--luci-color-muzzle-500);\n --luci-color-primary: var(--luci-color-ginger-400);\n --luci-color-on-primary: var(--luci-color-muzzle-900);\n --luci-color-primary-hover: var(--luci-color-ginger-300);\n --luci-color-primary-soft: color-mix(in srgb, var(--luci-color-ginger-400) 18%, transparent);\n --luci-color-link: var(--luci-color-ginger-300);\n --luci-color-accent: var(--luci-color-collar-lime-500);\n --luci-color-on-accent: var(--luci-color-muzzle-900);\n --luci-color-success: var(--luci-color-success-700);\n --luci-color-success-bg: var(--luci-color-success-100);\n --luci-color-warning: var(--luci-color-warning-700);\n --luci-color-warning-bg: var(--luci-color-warning-100);\n --luci-color-danger: var(--luci-color-danger-700);\n --luci-color-danger-bg: var(--luci-color-danger-100);\n --luci-color-danger-hover: #FFD3CD;\n --luci-color-info: var(--luci-color-info-700);\n --luci-color-info-bg: var(--luci-color-info-100);\n --luci-color-secondary-hover: var(--luci-color-muzzle-700);\n --luci-color-ghost-hover: color-mix(in srgb, var(--luci-color-muzzle-50) 8%, transparent);\n --luci-color-stroke-subtle: color-mix(in srgb, var(--luci-color-muzzle-50) 16%, transparent);\n --luci-color-stroke-muzzle: var(--luci-color-muzzle-700);\n --luci-color-stroke-strong: color-mix(in srgb, var(--luci-color-muzzle-50) 28%, transparent);\n --luci-color-focus: var(--luci-color-muzzle-50);\n }\n}\n.luci-theme[data-theme=\"dark\"] {\n --luci-color-surface: var(--luci-color-muzzle-900);\n --luci-color-surface-raised: var(--luci-color-muzzle-800);\n --luci-color-surface-sunken: var(--luci-color-muzzle-800);\n --luci-color-ink: var(--luci-color-muzzle-50);\n --luci-color-ink-secondary: var(--luci-color-muzzle-300);\n --luci-color-ink-disabled: var(--luci-color-muzzle-500);\n --luci-color-primary: var(--luci-color-ginger-400);\n --luci-color-on-primary: var(--luci-color-muzzle-900);\n --luci-color-primary-hover: var(--luci-color-ginger-300);\n --luci-color-primary-soft: color-mix(in srgb, var(--luci-color-ginger-400) 18%, transparent);\n --luci-color-link: var(--luci-color-ginger-300);\n --luci-color-accent: var(--luci-color-collar-lime-500);\n --luci-color-on-accent: var(--luci-color-muzzle-900);\n --luci-color-success: var(--luci-color-success-700);\n --luci-color-success-bg: var(--luci-color-success-100);\n --luci-color-warning: var(--luci-color-warning-700);\n --luci-color-warning-bg: var(--luci-color-warning-100);\n --luci-color-danger: var(--luci-color-danger-700);\n --luci-color-danger-bg: var(--luci-color-danger-100);\n --luci-color-danger-hover: #FFD3CD;\n --luci-color-info: var(--luci-color-info-700);\n --luci-color-info-bg: var(--luci-color-info-100);\n --luci-color-secondary-hover: var(--luci-color-muzzle-700);\n --luci-color-ghost-hover: color-mix(in srgb, var(--luci-color-muzzle-50) 8%, transparent);\n --luci-color-stroke-subtle: color-mix(in srgb, var(--luci-color-muzzle-50) 16%, transparent);\n --luci-color-stroke-muzzle: var(--luci-color-muzzle-700);\n --luci-color-stroke-strong: color-mix(in srgb, var(--luci-color-muzzle-50) 28%, transparent);\n --luci-color-focus: var(--luci-color-muzzle-50);\n}\n";
|
|
222
223
|
//# sourceMappingURL=tokens.js.map
|
package/dist/tokens.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.js","sourceRoot":"","sources":["../src/tokens.ts"],"names":[],"mappings":"AAAA,0FAA0F;AAC1F,qEAAqE;AACrE,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,WAAW,EAAE,SAAS;IACtB,YAAY,EAAE,SAAS;IACvB,YAAY,EAAE,SAAS;IACvB,YAAY,EAAE,SAAS;IACvB,YAAY,EAAE,SAAS;IACvB,YAAY,EAAE,SAAS;IACvB,YAAY,EAAE,SAAS;IACvB,YAAY,EAAE,SAAS;IACvB,YAAY,EAAE,SAAS;IACvB,YAAY,EAAE,SAAS;IACvB,YAAY,EAAE,SAAS;IACvB,iBAAiB,EAAE,SAAS;IAC5B,iBAAiB,EAAE,SAAS;IAC5B,iBAAiB,EAAE,SAAS;IAC5B,iBAAiB,EAAE,SAAS;IAC5B,eAAe,EAAE,SAAS;IAC1B,eAAe,EAAE,SAAS;IAC1B,eAAe,EAAE,SAAS;IAC1B,eAAe,EAAE,SAAS;IAC1B,eAAe,EAAE,SAAS;IAC1B,eAAe,EAAE,SAAS;IAC1B,eAAe,EAAE,SAAS;IAC1B,eAAe,EAAE,SAAS;IAC1B,aAAa,EAAE,SAAS;IACxB,aAAa,EAAE,SAAS;IACxB,aAAa,EAAE,SAAS;IACxB,aAAa,EAAE,SAAS;IACxB,YAAY,EAAE,SAAS;IACvB,YAAY,EAAE,SAAS;IACvB,UAAU,EAAE,SAAS;IACrB,UAAU,EAAE,SAAS;IACrB,UAAU,EAAE,SAAS;IACrB,WAAW,EAAE,SAAS;IACtB,YAAY,EAAE,SAAS;IACvB,YAAY,EAAE,SAAS;IACvB,YAAY,EAAE,SAAS;IACvB,YAAY,EAAE,SAAS;IACvB,YAAY,E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,CAAC,MAAM,KAAK,GAAG;IACnB,CAAC;IACD,CAAC;IACD,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;IACF,EAAE;CACM,CAAC;AACX,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,SAAS,EAAE,4BAA4B;IACvC,eAAe,EAAE,GAAG;IACpB,MAAM,EAAE,8BAA8B;IACtC,MAAM,EAAE,2CAA2C;CAC3C,CAAC;AACX,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,SAAS,EAAE;QACT,EAAE;QACF,EAAE;QACF,GAAG;QACH,SAAS;KACV;IACD,OAAO,EAAE;QACP,EAAE;QACF,EAAE;QACF,GAAG;QACH,SAAS;KACV;IACD,SAAS,EAAE;QACT,EAAE;QACF,EAAE;QACF,GAAG;QACH,OAAO;KACR;IACD,MAAM,EAAE;QACN,EAAE;QACF,EAAE;QACF,GAAG;QACH,OAAO;KACR;IACD,OAAO,EAAE;QACP,EAAE;QACF,EAAE;QACF,GAAG;QACH,OAAO;KACR;IACD,OAAO,EAAE;QACP,EAAE;QACF,EAAE;QACF,GAAG;QACH,OAAO;KACR;IACD,MAAM,EAAE;QACN,EAAE;QACF,EAAE;QACF,GAAG;QACH,gBAAgB;KACjB;CACO,CAAC;AACX,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,MAAM,EAAE,gBAAgB;IACxB,MAAM,EAAE,gBAAgB;IACxB,MAAM,EAAE,eAAe;IACvB,YAAY,EAAE,OAAO;IACrB,WAAW,EAAE,MAAM;IACnB,eAAe,EAAE,+BAA+B;CACxC,CAAC;AACX,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"tokens.js","sourceRoot":"","sources":["../src/tokens.ts"],"names":[],"mappings":"AAAA,0FAA0F;AAC1F,qEAAqE;AACrE,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,WAAW,EAAE,SAAS;IAC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IAAI,GAAG;IAClB,SAAS,EAAE;QACT,EAAE;QACF,EAAE;QACF,GAAG;QACH,SAAS;KACV;IACD,OAAO,EAAE;QACP,EAAE;QACF,EAAE;QACF,GAAG;QACH,SAAS;KACV;IACD,SAAS,EAAE;QACT,EAAE;QACF,EAAE;QACF,GAAG;QACH,OAAO;KACR;IACD,MAAM,EAAE;QACN,EAAE;QACF,EAAE;QACF,GAAG;QACH,OAAO;KACR;IACD,OAAO,EAAE;QACP,EAAE;QACF,EAAE;QACF,GAAG;QACH,OAAO;KACR;IACD,OAAO,EAAE;QACP,EAAE;QACF,EAAE;QACF,GAAG;QACH,OAAO;KACR;IACD,MAAM,EAAE;QACN,EAAE;QACF,EAAE;QACF,GAAG;QACH,gBAAgB;KACjB;CACO,CAAC;AACX,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,MAAM,EAAE,gBAAgB;IACxB,MAAM,EAAE,gBAAgB;IACxB,MAAM,EAAE,eAAe;IACvB,YAAY,EAAE,OAAO;IACrB,WAAW,EAAE,MAAM;IACnB,eAAe,EAAE,+BAA+B;CACxC,CAAC;AACX,MAAM,CAAC,MAAM,MAAM,GAAG;IACpB,OAAO,EAAE,+DAA+D;IACxE,MAAM,EAAE,oFAAoF;CACpF,CAAC;AACX,MAAM,CAAC,MAAM,IAAI,GAAG;IAClB,aAAa,EAAE,EAAE;IACjB,eAAe,EAAE,EAAE;IACnB,aAAa,EAAE,EAAE;IACjB,WAAW,EAAE,EAAE;IACf,WAAW,EAAE,EAAE;CACP,CAAC;AAEX;;;;GAIG;AACH,MAAM,CAAC,MAAM,UAAU,GAAG,+1TAA+1T,CAAC"}
|
package/package.json
CHANGED
package/src/tokens.css
CHANGED
|
@@ -82,7 +82,8 @@
|
|
|
82
82
|
--luci-type-code-size: 13px;
|
|
83
83
|
--luci-type-code-line: 20px;
|
|
84
84
|
--luci-type-code-weight: 500;
|
|
85
|
-
--luci-shadow-float: 0 8px 24px rgba(
|
|
85
|
+
--luci-shadow-float: 0 1px 2px rgba(0, 0, 0, 0.24), 0 8px 24px rgba(0, 0, 0, 0.28);
|
|
86
|
+
--luci-shadow-edge: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
|
|
86
87
|
--luci-motion-fast: 150ms ease-out;
|
|
87
88
|
--luci-motion-base: 200ms ease-out;
|
|
88
89
|
--luci-motion-exit: 150ms ease-in;
|