fix(webui): self-host Geist, and fold the cross-check findings into the plan

Four review agents checked the bootstrap and the migration checklist against
the deleted tree and the Go handlers. Three found real problems.

The shadcn-vue CLI's default font resolved to a Google Fonts @import. archied
is deployed on LAN-only and air-gapped hosts, where that silently falls back to
a generic sans and makes an admin tool that otherwise has no third-party calls
start making one. Now @fontsource-variable/geist, self-hosted: five woff2 files
in dist and no external URL left in the bundle.

vite.config.ts used __dirname for the @ alias, which Vite 8 already warns is
unsupported under its native config loader. Now import.meta.url. Dropped the
leftover template vite.svg.

The checklist gained what the review found missing, most of it consequential:

  - main.jsx was never named as a source, so the jump-to search, the `soon:`
    nav treatment, the boot-time task-meta re-render and the route-keying rule
    (keyed on path+params but NOT the query, so a tab switch does not remount)
    had no home. vue-router needs an equivalent key strategy.
  - css/layout.css is 498 lines and holds the shell, the chat dock and morph,
    and every breakpoint Phase 5 described only in prose. Named as the source
    to port from rather than left to reverse-engineering.
  - Six further CSS files carried behaviour with no mapping: focus-visible,
    .sr-only, the global prefers-reduced-motion override, and the pill colours
    a Badge port has to match.
  - Chat's content features -- session switching, persona and model selectors,
    inline tool-call rendering -- were absent; Phase 5 described only chrome.
  - Configuration's editable-vs-read-only dual mode (503 when the process only
    holds a published snapshot) is architecture, not styling.
  - Tasks writes tab/attempt state with history.replaceState specifically to
    avoid a remount per tab click.
  - statTile also exports Sparkline, gauge also exports SegmentBar, and five
    icons have no 1:1 Lucide equivalent, so those swaps are design calls.
  - LOG_LEVELS is a wire contract matched by splitCSV server-side.

Corrections: the API surface is 48 methods plus two SSE subscribers, not ~45.
Mutations require both X-Archie-CSRF: 1 and Content-Type: application/json,
answered 403 and 415 -- the likeliest silent breakage after the port, now
stated exactly. My claim that a test enforced "no second fetch()" was wrong:
that text-scan was deliberately removed upstream for testing the file's wording
rather than its behaviour. The real guard was per-method header classification,
flagged as the one test worth bringing back first.

The 106px clipping figure is a live measurement and not recoverable from git,
so it now carries the viewport and both edge positions.
This commit is contained in:
sam committed 2026-09-20 17:22:51 +10:00
1 parent 154f36f255
commit 83c939b3df
12 files changed
+136 -55

No files matched your search

+121 -50
View File
@@ -2,14 +2,16 @@
**Status:** In progress
**Date:** 2026-09-20
**Bead:** `archie-core-ocfm` (navigation restructure, folded in below)
**Bead:** `archie-core-tavn` (epic), `archie-core-ocfm` (navigation restructure)
**Bootstrap commit:** `e18fb8b2`
The Preact dashboard was deleted, not ported incrementally. This is the list of
what has to exist again, what must not be lost on the way, and the contracts
that break silently if missed.
Deleted source is recoverable at `git show e18fb8b2^:ui/src/<path>`.
Deleted source is recoverable at `git show e18fb8b2^:ui/src/<path>`. Every
claim below was cross-checked against that tree; where a number is a live
measurement rather than something recoverable from git, it says so.
## Invariants that outlive the framework
@@ -21,24 +23,46 @@ does not show up as a broken page.
in `vite.config.ts`; do not let a later Vite change reintroduce hashing.
- [ ] **Route registry.** `internal/gateway/dashboard_tools.go` hand-copies the
route table and `TestDashboardPagesRegistryCoversEveryRoute` parses
`ui/src/router/index.ts` to hold them in step. Adding a route without a
registry entry fails the gate; that guard caught a stale `/chat` entry
earlier today. Keep the `const routes = [` / one-per-line / `nav: false`
shape the parser expects.
`ui/src/router/index.ts` to hold them in step. The parser needs
`const routes = [` on its own line, `path: "..."` on a single line per
route, and `nav: false` on any entry the registry should skip. That guard
caught a stale `/chat` entry earlier today.
- [ ] **Mutation headers.** Every POST/PATCH/DELETE must send **both**
`X-Archie-CSRF: 1` and `Content-Type: application/json`. The server
returns 403 without the first and 415 without the second
(`internal/webui/api_tasks.go:376`, `authorizeTaskMutation`). GET sends
neither. This is the single most likely thing to silently break every
write after the port.
- [ ] **Hash routing.** Every existing bookmark, dashboard link and
agent-issued navigation is `#/tasks`. `createWebHashHistory`, already set.
- [ ] **Capability gating.** `GET /api/capabilities` returns which `section`s
the serving process can back; a route whose section is absent must be
hidden, not rendered empty. Was `capabilities.jsx` +
`hiddenRoutes(caps, routes)`. Fail open: unknown or failed response hides
nothing.
- [ ] **Single fetch path.** Every call went through one `send()` in
`base/api.jsx` so the CSRF header, content type, timeout and `ApiError`
shape lived in one place. A test used to fail if a second `fetch()`
appeared there. Port the constraint, not just the functions.
- [ ] **SSE lifecycle.** `subscribeLogs` and the dashboard event stream must be
torn down on unmount or the app leaks a connection per navigation. Preact
did this with an `archie:teardown` event; Vue should use `onUnmounted`.
- [ ] **Capability gating.** `GET /api/capabilities`
(`internal/webui/api_capabilities.go:20`) returns a `sections` map of ten
booleans: chat, logs, skills, curators, channels, captures, mappings,
bindings, and workflows/settings which are always true. A route whose
section is false must be hidden, not rendered empty. **Fail open**: on a
failed or null response hide nothing — the old client used a bare
`.catch(() => {})` for exactly this. A page that says "unavailable" is
recoverable; a nav entry that vanished is not.
- [ ] **`LOG_LEVELS`** in `base/log-row.jsx` is a wire contract, not a display
list: the CSV level filter is matched server-side by `splitCSV` in
`internal/webui/api_tasks_logs.go`. A value mismatch breaks filtering
with no error.
- [ ] **SSE lifecycle.** Three streams, all `id: <n>\ndata: <json>\n\n` except
chat which omits the id:
`/events` (task lifecycle, `sse.go:37`, supports `?since=` and
`Last-Event-ID` resume), `/api/logs/stream` (`api_logs.go:80`, same
resume protocol), `/api/chat/stream` (`api_chat.go:399`, frames typed
delta/tool/media/navigate). Each must be closed on unmount or the app
leaks a connection per navigation. Preact used an `archie:teardown`
event; Vue should use `onUnmounted`.
> **On tests.** Per Sam's call, the 43-file suite was not ported and tests
> return when there is behaviour worth pinning. Flagging one exception for when
> that moment comes: the deleted `ui/test/api-client.test.js` classified every
> API method as mutation/read/stream/url and asserted the right headers per
> class. It is the only cheap guard on the CSRF contract above. (It did **not**
> text-scan for a second `fetch()` — that check was deliberately removed
> upstream for testing the file's wording rather than its behaviour.)
## Phase 1 — Foundation
@@ -52,33 +76,54 @@ does not show up as a broken page.
- [ ] **Contrast values.** Carry the corrected tokens, not the originals:
`--fg-subtle` `#7d8b9e` dark / `#636f82` light, and `--accent-fg`
`#0d1014` on the dark accent. The originals failed WCAG AA at 3.37:1,
2.72:1 and 3.2:1. The accent itself is unchanged and is also the link
colour.
- [ ] **API client** (`base/api.jsx` → `src/lib/api.ts`). ~45 methods; list
recoverable from the deleted file. Keep `ApiError` carrying `status`, and
the 401/4xx/5xx classification callers branch on.
- [ ] **App shell.** Topbar, `.shell` frame, main outlet. Note `.shell` has
`backdrop-filter`, which makes it a containing block for `position:
fixed` — the chat launcher must render outside it or it anchors to the
scrolling shell.
2.72:1 and 3.2:1 (independently recomputed). The accent itself is
unchanged and is also the link colour.
- [ ] **API client** (`base/api.jsx` → `src/lib/api.ts`). **48 methods plus two
SSE subscribers.** Keep `ApiError` carrying `status`, and the
401/4xx/5xx classification callers branch on. `GET /api/bindings/{id}`
and `GET /api/mappings/{id}` exist server-side but were never called —
do not add clients for them without a reason.
- [ ] **App shell** — the real source is `main.jsx` (410 lines), not just CSS.
Beyond the topbar and outlet it carries:
- [ ] **Jump-to search**: Enter navigates to the first nav label matching the
typed prefix; Escape closes the field and calls `preventDefault` so it
does not also close the chat panel, which has its own Escape handler.
- [ ] **`soon: true` nav entries** — greyed, labelled, non-navigable. An
affordance, not dead code.
- [ ] **`loadTaskMeta()` at boot**, which re-renders the mounted route once
`/api/task-meta` lands so freeze-dried defaults are replaced.
- [ ] **Route keying**: keyed on path + params but deliberately **not** the
query string, so a query-only change (a task-detail tab switch) does
not remount and lose state, while two different `:id`s do get fresh
instances. vue-router needs an equivalent `:key` strategy or this
regresses silently.
- [ ] `.shell` has `backdrop-filter`, making it a containing block for
`position: fixed` — the chat launcher must render outside it.
- [ ] **CSS inventory.** Eleven files, of which only four map onto shadcn
primitives (`table.css`→Table, `empty.css`→Empty, `button.css`→Button,
`tokens.css`→theme). The rest carry behaviour with no other home:
`layout.css` (498 lines — the shell, topbar, nav, the whole chat dock and
morph, and every responsive breakpoint Phase 5 describes in prose; port
**from this file**, do not reverse-engineer it), `card.css`
(`.card`/`.grid-2`/`.grid-4`, used on nearly every page), `page.css`
(`.page-head`/`.page-title`/`.page-sub`/`.page-actions`, every page),
`pill.css` (the ok/warn/danger/info/idle colour definitions a Badge port
must match), `base.css` (`:focus-visible` ring, `.sr-only`),
`responsive.css` (the global `prefers-reduced-motion` override — an
accessibility invariant), `_main.css` (import order only).
- [ ] **Theme toggle** and its persistence.
## Phase 2 — Shared primitives
Old hand-built components and their shadcn-vue replacements. Take the
replacement unless the behaviour is genuinely bespoke.
| Was | Becomes |
|---|---|
| `base/pill.jsx` | `Badge`, with the status-token variants |
| `base/statTile.jsx` | `Card` composition |
| `base/icons.jsx` | `lucide-vue-next` (the set already matched a 24-grid stroke system) |
| `base/gauge.jsx` | bespoke SVG — port as-is |
| `base/log-row.jsx` | bespoke — port as-is |
| `base/format.jsx`, `base/task-meta.jsx` | plain modules, port as-is |
| `css/table.css` | `Table` |
| `css/empty.css` | `Empty` |
| `css/button.css` | `Button` |
| `base/pill.jsx` | `Badge`, with the status-token variants from `pill.css` |
| `base/statTile.jsx` | `Card` composition **plus** its `Sparkline` (inline SVG polyline with its own min/max/step math) and trend-arrow logic, where `goodDirection` distinguishes "up is good" from "up is bad" |
| `base/icons.jsx` | `lucide-vue-next` for most, but `dashboard`, `mappings`, `bindings`, `curators` and `memory` are bespoke glyphs with no 1:1 Lucide equivalent. Swapping them changes the drawing — a design call, not a rename |
| `base/gauge.jsx` | bespoke SVG, port as-is — **exports two components**, `Gauge` and `SegmentBar` (proportional multi-segment bar plus legend, used for budget composition). Easy to port only the one the filename names |
| `base/log-row.jsx` | bespoke, port as-is; see the `LOG_LEVELS` wire contract above |
| `base/format.jsx` | genuinely pure, port as-is |
| `base/task-meta.jsx` | **not** a plain module: module-level mutable cache, async fetch, and the boot-time re-render trigger above |
- [ ] **Copy verbatim.** These five are framework-free and need only a rename:
`dashboard/activity-detail.js`, `chat/command-scroll.js`,
@@ -90,18 +135,34 @@ replacement unless the behaviour is genuinely bespoke.
## Phase 3 — Pages
In dependency order. Each is `git show e18fb8b2^:ui/src/<folder>/`.
In dependency order. Each is `git show e18fb8b2^:ui/src/<folder>/`. File counts
verified against the deletion diff.
- [ ] **Dashboard** (5 files). Health row, Throughput tiles, Token outlook,
Live activity table.
Live activity table. Also the time-of-day `greeting()` and
`taskIDForEvent`, the click-through from an activity row to its task.
- [ ] **Tasks** (13 files — the largest). List, filters, row actions, detail
page with tab bar, stage rail, changed files, attempt config, task logs,
timeline, debug view.
- [ ] **Chat** (8 files). See Phase 5; this one carries the most recent work.
- [ ] **Configuration** (5 files). Currently one ~4000px page; the approved
design splits it into `/system/*` routes — see
`docs/prds/dashboard-navigation-groups.md`. Port into that shape directly
rather than porting the monolith and splitting later.
timeline, debug view. Two interaction contracts that are not visual:
detail `tab`/`attempt` state lives in the query string and is written
with `history.replaceState`, **not** `location.hash =`, so a tab click
does not remount and refetch; and the list has a reduced-motion-aware
scroll-to-row reveal for deep links.
- [ ] **Chat** (8 files, `chat.jsx` alone is 810 lines). Phase 5 covers the
launcher chrome; the content features are separate and none of them are
chrome: session list and switching, persona selector, provider and model
selectors (also driven by `/model` and persona slash commands), and
**inline tool-call rendering in the transcript** — name, parameters,
summary, and success-or-failure per call.
- [ ] **Configuration** (5 files). The approved design splits it into
`/system/*` routes — see `docs/prds/dashboard-navigation-groups.md` — so
port into that shape directly rather than porting the monolith first.
Content beyond layout: `RepositoriesCard`'s inline-editable cells
(PATCH-on-blur with keyboard handling), `ModelsAndProvidersCard`,
`ProvenanceCard`, `LifecycleCard`, and the **editable-vs-read-only dual
mode** — `editable={false}` when the serving process only has a published
config snapshot and the PATCH routes answer 503 (`archie-core-ymut`).
That is architecture, not styling.
- [ ] **Logs** (3 files). Filters, live tail, pause, the three empty states.
- [ ] **Event inspector / captures** (3 files).
- [ ] **Field mappings** (3 files), including the mapping editor.
@@ -123,11 +184,14 @@ port rather than porting the flat bar first.
- [ ] `/settings` redirects to `/system/status` — it is in bookmarks and in the
Go route registry.
- [ ] Add Logs to the nav. It was never in it.
- [ ] Preserve the `soon:` entry treatment.
- [ ] Update `dashboard_tools.go` for every new route in the same change.
## Phase 5 — Behaviour shipped today that a naive port loses
All of this landed in the last few hours and exists only in the deleted tree.
The implementation source for nearly all of it is
`git show e18fb8b2^:ui/src/css/layout.css` plus `main.jsx` and `chat/chat.jsx`.
- [ ] **Chat is a FAB, not a route.** No `/chat`, no nav entry, no topbar icon.
- [ ] **The panel grows out of the launcher**: collapsed to a pill over the
@@ -136,6 +200,8 @@ All of this landed in the last few hours and exists only in the deleted tree.
- [ ] **No scrim, no scroll lock.** The page stays readable and clickable.
- [ ] **No close button** — the FAB is the only toggle, and stays visible on
mobile where the panel becomes a sheet.
- [ ] Escape closes the panel **and returns focus to the launcher**; the dock
carries `aria-expanded`/`aria-controls`/`aria-hidden`.
- [ ] Header shows the open conversation's name (`panelTitle`).
- [ ] New chat = `message-circle-plus`, in the header.
- [ ] Slash palette is the only command surface; it floats above the input and
@@ -145,8 +211,12 @@ All of this landed in the last few hours and exists only in the deleted tree.
during a send.
- [ ] Bubbles carry no speaker label.
- [ ] **Topbar cannot clip.** The nav is the only shrinkable region; search
collapses below 1500px; nav wraps below 1270px. Previously 106px of the
utility cluster was unreachable between 1221px and ~1582px.
collapses below 1500px; nav wraps below 1270px; sheet mode at 720px;
edge-to-edge at 900px. Previously the utility cluster was unreachable
between 1221px and ~1582px: measured at 1440x900, `.topbar-end` ended at
x=1515 against a shell edge of 1409, so 106px carrying the avatar, theme
toggle and documentation button was clipped with no scroll affordance.
That figure is a live measurement, not recoverable from git.
- [ ] **Live activity detail is clamped** to one line with the full payload on
the title. Unclamped it made the dashboard 7,481px tall.
- [ ] **HEALTH cards take their own height** (`align-items: start`).
@@ -173,4 +243,5 @@ from nav), `86au` (gauge `aria-label` announces an unrounded percentage),
- Porting the 43 test files. Tests return when there is behaviour worth pinning
rather than a port to re-assert. `task test:ui` is a `vue-tsc` typecheck
meanwhile.
meanwhile. See the note under Invariants for the one exception worth
reconsidering first.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+2 -1
View File
@@ -1 +1,2 @@
@import "https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&display=swap";@layer components;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){:root,:host{--shimmer-angle:20deg}*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-blur:0;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-blur:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0;--scroll-fade-t:0;--scroll-fade-b:0;--scroll-fade-s:0;--scroll-fade-e:0;--scroll-fade-mask:initial;--shimmer-image:initial;--shimmer-text-fill:initial}}}@layer theme{:root,:host{--font-sans:"Geist Variable", sans-serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--font-weight-medium:500;--font-weight-semibold:600;--tracking-tight:-.025em;--tracking-widest:.1em;--radius-md:calc(var(--radius) - 2px);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:"Geist Variable", sans-serif;--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-buttoLine truncated
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){:root,:host{--shimmer-angle:20deg}*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-blur:0;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-blur:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0;--scroll-fade-t:0;--scroll-fade-b:0;--scroll-fade-s:0;--scroll-fade-e:0;--scroll-fade-mask:initial;--shimmer-image:initial;--shimmer-text-fill:initial}}}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./geist-cyrillic-ext-wght-normal.woff2)format("woff2-variations");unicode-range:U+460-52F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./geist-cyrillic-wght-normal.woff2)format("woff2-variations");unicode-range:U+301,U+400-45F,U+490-491,U+4B0-4B1,U+2116}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./geist-vietnamese-wght-normal.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./geist-latin-ext-wght-normal.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Geist Variable;font-style:normal;font-display:swap;font-weight:100 900;src:url(./geist-latin-wght-normal.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@layer theme{:root,:host{--font-sans:"Geist Variable", sans-serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--font-weight-medium:500;--font-weight-semibold:600;--tracking-tight:-.025em;--tracking-widest:.1em;--radius-md:calc(var(--radius) - 2px);--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:"Geist Variable", sans-serif;--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco,Line truncated
+10
View File
@@ -8,6 +8,7 @@
"name": "archie-ui",
"version": "0.0.0",
"dependencies": {
"@fontsource-variable/geist": "^5.3.0",
"@lucide/vue": "^1.47.0",
"@tailwindcss/vite": "^4.3.3",
"@vueuse/core": "^15.0.0",
@@ -738,6 +739,15 @@
}
}
},
"node_modules/@fontsource-variable/geist": {
"version": "5.3.0",
"resolved": "https://registry.npmjs.org/@fontsource-variable/geist/-/geist-5.3.0.tgz",
"integrity": "sha512-j0m+vLQuG5XAYoHtGCVu0spvlGreR3EzpECUVzkFmI1mTVnAO38l/NEPDCFgZ177JxzYJCLSmTQibIiYPilGrA==",
"license": "OFL-1.1",
"funding": {
"url": "https://github.com/sponsors/ayuhito"
}
},
"node_modules/@hono/node-server": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/@hono/node-server/-/node-server-2.1.1.tgz",
+1
View File
@@ -10,6 +10,7 @@
"typecheck": "vue-tsc --build --force"
},
"dependencies": {
"@fontsource-variable/geist": "^5.3.0",
"@lucide/vue": "^1.47.0",
"@tailwindcss/vite": "^4.3.3",
"@vueuse/core": "^15.0.0",
-1
View File
@@ -1 +0,0 @@
<svg xmlns="http://www.w3.org/2000/svg" width="77" height="47" fill="none" aria-labelledby="vite-logo-title" viewBox="0 0 77 47"><title id="vite-logo-title">Vite</title><style>.parenthesis{fill:#000}@media (prefers-color-scheme:dark){.parenthesis{fill:#fff}}</style><path fill="#9135ff" d="M40.151 45.71c-.663.844-2.02.374-2.02-.699V34.708a2.26 2.26 0 0 0-2.262-2.262H24.493c-.92 0-1.457-1.04-.92-1.788l7.479-10.471c1.07-1.498 0-3.578-1.842-3.578H15.443c-.92 0-1.456-1.04-.92-1.788l9.696-13.576c.213-.297.556-.474.92-.474h28.894c.92 0 1.456 1.04.92 1.788l-7.48 10.472c-1.07 1.497 0 3.578 1.842 3.578h11.376c.944 0 1.474 1.087.89 1.83L40.153 45.712z"/><mask id="a" width="48" height="47" x="14" y="0" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="#000" d="M40.047 45.71c-.663.843-2.02.374-2.02-.699V34.708a2.26 2.26 0 0 0-2.262-2.262H24.389c-.92 0-1.457-1.04-.92-1.788l7.479-10.472c1.07-1.497 0-3.578-1.842-3.578H15.34c-.92 0-1.456-1.04-.92-1.788l9.696-13.575c.213-.297.556-.474.92-.474H53.93c.92 0 1.456 1.04.92 1.788L47.37 13.03c-1.07 1.498 0 3.578 1.842 3.578h11.376c.944 0 1.474 1.088.89 1.831L40.049 45.712z"/></mask><g mask="url(#a)"><g filter="url(#b)"><ellipse cx="5.508" cy="14.704" fill="#eee6ff" rx="5.508" ry="14.704" transform="rotate(269.814 20.96 11.29)scale(-1 1)"/></g><g filter="url(#c)"><ellipse cx="10.399" cy="29.851" fill="#eee6ff" rx="10.399" ry="29.851" transform="rotate(89.814 -16.902 -8.275)scale(1 -1)"/></g><g filter="url(#d)"><ellipse cx="5.508" cy="30.487" fill="#8900ff" rx="5.508" ry="30.487" transform="rotate(89.814 -19.197 -7.127)scale(1 -1)"/></g><g filter="url(#e)"><ellipse cx="5.508" cy="30.599" fill="#8900ff" rx="5.508" ry="30.599" transform="rotate(89.814 -25.928 4.177)scale(1 -1)"/></g><g filter="url(#f)"><ellipse cx="5.508" cy="30.599" fill="#8900ff" rx="5.508" ry="30.599" transform="rotate(89.814 -25.738 5.52)scale(1 -1)"/></g><g filter="url(#g)"><ellipse cx="14.072" cy="22.078" fill="#eee6ff" rx="14.072" ry="22.078" transform="rotate(93.35 31.245 55.578)scale(-1 1)"/></g><g filter="url(#h)"><ellipse cx="3.47" cy="21.501" fill="#8900ff" rx="3.47" ry="21.501" transform="rotate(89.009 35.419 55.202)scale(-1 1)"/></g><g filter="url(#i)"><ellipse cx="3.47" cy="21.501" fill="#8900ff" rx="3.47" ry="21.501" transform="rotate(89.009 35.419 55.202)scale(-1 1)"/></g><g filter="url(#j)"><ellipse cx="14.592" cy="9.743" fill="#8900ff" rx="4.407" ry="29.108" transform="rotate(39.51 14.592 9.743)"/></g><g filter="url(#k)"><ellipse cx="61.728" cy="-5.321" fill="#8900ff" rx="4.407" ry="29.108" transform="rotate(37.892 61.728 -5.32)"/></g><g filter="url(#l)"><ellipse cx="55.618" cy="7.104" fill="#00c2ff" rx="5.971" ry="9.665" transform="rotate(37.892 55.618 7.104)"/></g><g filter="url(#m)"><ellipse cx="12.326" cy="39.103" fill="#8900ff" rx="4.407" ry="29.108" transform="rotate(37.892 12.326 39.103)"/></g><g filter="url(#n)"><ellipse cx="12.326" cy="39.103" fill="#8900ff" rx="4.407" ry="29.108" transform="rotate(37.892 12.326 39.103)"/></g><g filter="url(#o)"><ellipse cx="49.857" cy="30.678" fill="#8900ff" rx="4.407" ry="29.108" transform="rotate(37.892 49.857 30.678)"/></g><g filter="url(#p)"><ellipse cx="52.623" cy="33.171" fill="#00c2ff" rx="5.971" ry="15.297" transform="rotate(37.892 52.623 33.17)"/></g></g><path d="M6.919 0c-9.198 13.166-9.252 33.575 0 46.789h6.215c-9.25-13.214-9.196-33.623 0-46.789zm62.424 0h-6.215c9.198 13.166 9.252 33.575 0 46.789h6.215c9.25-13.214 9.196-33.623 0-46.789" class="parenthesis"/><defs><filter id="b" width="60.045" height="41.654" x="-5.564" y="16.92" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17286" stdDeviation="7.659"/></filter><filter id="c" width="90.34" height="51.437" x="-40.407" y="-6.762" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17286" stdDeviation="7.659"/></filter><filter id="d" width="79.355" height="29.4" x="-35.435" y="2.801" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17286" stdDeviation="4.596"/></filter><filter id="e" width="79.579" height="29.4" x="-30.84" y="20.8" color-interpolation-filters="sRGB" filterUnits="userSpaceOnUse"><feFlood flood-opacity="0" result="BackgroundImageFix"/><feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape"/><feGaussianBlur result="effect1_foregroundBlur_2002_17286" stdDeviation="4.596"/></filter><filter id="f" width="79.579" height="29.4" x="-29.307" y="21.949" color-interpolation-filters="sRGB" filterUnits="usLine truncated

Before

Width:  |  Height:  |  Size: 8.5 KiB

+1 -1
View File
@@ -1,5 +1,5 @@
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&display=swap');
@import "@fontsource-variable/geist";
@import "tailwindcss";
@import "tw-animate-css";
+1 -2
View File
@@ -1,4 +1,3 @@
import path from "node:path";
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue";
import tailwindcss from "@tailwindcss/vite";
@@ -16,7 +15,7 @@ export default defineConfig({
plugins: [vue(), tailwindcss()],
resolve: {
alias: {
"@": path.resolve(__dirname, "./src"),
"@": new URL("./src", import.meta.url).pathname,
},
},
base: "./",