/* SPDX-License-Identifier: CPAL-1.0 * Copyright (c) 2026 Marek Novák. Part of Ianitor, under the Common Public Attribution * License 1.0: see LICENSE (its Exhibit A is this file's notice). */ /* Ianitor's own tokens, on top of @domi/ui (docs/ui-handoff.md §1.1). The roles (ground, text, the murex accent and leaf, ok, warning, danger) come from @domi/ui: data-domi-room="ianitor" on gives them Ianitor's values, the same hex as before (domi-design docs/PALETTE.md). What is here is Ianitor's alone: status names, washes, type sizes, spacing, radii and layout. */ .ia { /* ── Structure and metal Ianitor adds to the roles ───────────────────── */ --hairline-strong: #3c3445; /* chip and frame edges (facts, not controls) */ --bronze: #b6adbe; /* ornaments: the interpunct rule (iron, not bronze) */ --gilt: #f6f0f7; /* the wordmark only */ /* ── Second light: quiet iron ───────────────────────────────────────────── */ --second-strong: var(--domi-fg); --second-edge: var(--domi-edge); /* ── Status: blue / amber / vermilion, stepped in lightness (L* 84 / 68 / 58) */ --kept: var(--domi-ok); /* host answers; a change was kept. Filled dot. */ --reverted: var(--domi-warning); /* partly failing; a change was reverted or not applied. Half dot. */ --down: var(--domi-danger); /* not reachable; needs attention; paused; danger actions. Hollow ring. */ --unknown: var(--domi-muted); /* no health check set; waiting for first check. Dashed ring. */ --running: var(--domi-accent); /* queued, applying, watching, switching, waiting for Custos */ /* Status washes (banner backgrounds) and edges. */ --wash-degraded: color-mix(in srgb, var(--domi-warning) 10%, var(--domi-bg)); /* #201913 */ --wash-kept: color-mix(in srgb, var(--kept) 10%, var(--domi-bg)); /* #1b1f26 */ --wash-down: color-mix(in srgb, var(--down) 10%, var(--domi-bg)); /* #211413 */ --edge-degraded: color-mix(in srgb, var(--domi-warning) 65%, var(--domi-bg)); /* #916828 */ --edge-kept: color-mix(in srgb, var(--kept) 65%, var(--domi-bg)); /* #708fa8 */ --edge-down: color-mix(in srgb, var(--down) 80%, var(--domi-bg)); /* #b75531 */ --hover-wash: color-mix(in srgb, var(--domi-accent) 8%, transparent); /* menu and nav hover */ /* ── Type: the three Domi faces come from @domi/ui (bundled, nothing fetched) */ --font-inscription: var(--domi-font-inscription); --font-book: var(--domi-font-book); --font-hand: var(--domi-font-hand); --fs-display: 2.6rem; --lh-display: 1.1; /* book 500: a view title ("Hosts") */ --fs-h2: 1.9rem; --lh-h2: 1.15; /* book 500: panel title; phone view title uses 2.1rem */ --fs-h3: 1.45rem; --lh-h3: 1.15; /* book 600: dialog and section titles */ --fs-body: 0.9375rem; --lh-body: 1.6; /* hand 400: everything read (15 px) */ --fs-host: 0.98rem; /* hand 600: hostname in a row */ --fs-button: 0.95rem; /* hand 600; 700 on primary */ --fs-field-label: 0.92rem; /* hand 400, text-2 */ --fs-hint: 0.88rem; --lh-hint: 1.5; /* hand 400, muted: hints, notes */ --fs-sub: 0.86rem; /* hand 400, muted: row sub-lines, times */ --fs-chip: 0.78rem; /* 12.5 px, hand 400, text-2 */ --fs-state: 0.95rem; /* hand 700, all-small-caps, tracking 0.12em */ --fs-label: 0.74rem; /* hand 700, tracking 0.26em: SECTION LABELS */ --fs-nav: 0.95rem; /* sidebar item, hand 600 */ --fs-tab-phone: 0.78rem; /* bottom-bar label, hand 600 */ --fs-wordmark: 0.8125rem; /* 13 px Cinzel 500, tracking 0.3em; phone 12 px, 0.26em */ --fs-code: 2.2rem; /* Cinzel 500, tracking 0.16em: Custos match code */ --tracking-state: 0.12em; --tracking-label: 0.26em; --tracking-wordmark: 0.3em; /* ── Spacing (Domi) ────────────────────────────────────────────────────── */ --space-1: 0.35rem; /* label to its field */ --space-2: 0.6rem; /* between buttons in a row, list items */ --space-3: 1rem; /* field to field */ --space-4: 1.4rem; /* panel padding */ --space-5: 2rem; /* between sections of a view */ --space-6: 3.5rem; /* a view's bottom padding */ --target: 44px; /* minimum height and width of every control and touch target */ /* ── Radii ─────────────────────────────────────────────────────────────── */ --radius-chip: 6px; --radius-sm: 10px; /* quiet buttons, fields, nav items, menu items */ --radius: 12px; /* primary button, cards inside panels */ --radius-lg: 18px; /* panels, banners, the bar, the host list, dialogs */ --radius-pill: 999px; /* chips, the engine chip */ /* ── Shadows ───────────────────────────────────────────────────────────── */ --leaf-bevel: 0 0 0 1px rgba(199,124,193,0.25), 0 12px 40px -14px rgba(141,59,137,0.6), inset 0 1px 0 rgba(255,220,250,0.30), inset 0 -2px 0 #3a1237; /* primary button */ --carved: inset 0 2px 6px rgba(12,11,15,0.8), inset 0 -1px 0 rgba(182,173,190,0.16); /* fields */ --inset-lit: inset 0 0 18px rgba(224,163,220,0.07); /* current nav item */ --shadow-dialog: 0 40px 100px -40px rgba(0,0,0,0.95); /* dialogs, menus, popover */ --scrim: rgba(12,11,15,0.82); /* behind modals */ /* ── Focus ─────────────────────────────────────────────────────────────── */ --focus-ring: 2px solid var(--domi-accent); /* outline, offset 3px, on every :focus-visible */ --focus-ring-primary: 2px solid var(--domi-accent-strong); --focus-offset: 3px; --focus-halo: 0 0 0 4px rgba(224,163,220,0.16); /* fields: border goes accent, plus this halo */ /* ── Motion (Domi's transitions; the last three are new for this UI) ──── */ --dur-color: 0.3s; /* border, background, colour */ --dur-lift: 0.45s; /* box-shadow, transform (primary hover lifts 1px) */ --ease: ease; --dur-tick: 1s; /* watch progress bar: linear, one step per second */ --dur-enter: 0.18s; /* dialog, panel, menu, toast enter (opacity + 8px) */ --dur-exit: 0.12s; /* ── Layout ────────────────────────────────────────────────────────────── */ --sidebar-w: 232px; --main-pad: 26px 32px 40px; /* desktop; phone 18px 16px 20px */ --gutter-phone: 16px; --panel-w: 480px; /* add/edit host side panel */ --dialog-w: 520px; /* share, token, device dialogs */ --popover-w: 420px; /* engine popover */ --phone-bar-h: 56px; /* bottom navigation item height */ --bp-phone: 720px; /* below: phone layout (header + bottom bar) */ color-scheme: dark; background: var(--domi-bg); color: var(--domi-fg); font-family: var(--font-hand); font-size: var(--fs-body); line-height: var(--lh-body); font-variant-numeric: tabular-nums; } .ia *, .ia *::before, .ia *::after { box-sizing: border-box; } .ia :focus-visible { outline: var(--focus-ring); outline-offset: var(--focus-offset); } .ia h1, .ia h2, .ia h3, .ia p { margin: 0; } .ia button { font: inherit; } /* Reduced motion: @domi/ui base.css (every duration 0; every state still shown). */