mirror of
https://github.com/hanzo-apps/hanzo.ai.git
synced 2026-10-30 14:58:08 +00:00
CI/CD's test job has failed on main since Oct 16: hanzo-design-lint counted
154 raw colours, 159 style objects, 8 bare z-indexes and 2 all-caps labels
past hanzo-design.allow.json, almost all in the creative studio surface, the
creative model registry, /research-access and the product sections. The
allowance is untouched; the code now meets it.
- Colour is a token. Each creative model's accent is one of @hanzo/design's
art palette (tide, iris, ember); stems, faders and axes read the same art
and state tokens; red/amber/green window dots are --chrome-dot-*; every
black or white wash is --pure-black/--pure-white mixed to a share. The
unused accentRgb field is gone with its literals.
- Style is gui props. style={} objects became @hanzo/gui props; buttons and
links are gui stacks rendering the native element; /research-access's
fields are @hanzo/ui Input, Textarea and Picker. What props cannot say
(keyframes, a media element's fill and filter, an SVG overlay's place in
the stack) sits in the studio's existing style block, keyed by data-*.
- Stacking is the ladder: the studio overlays and the beta strip's layers
are var(--z-base) and calc() off it, the same order as before.
- "HANZO / ENSO" reads in sentence case, as the system's labels do, and the
creative toggles' 11px labels are the 12px step of the type scale.
The next gate in line, audit-model-counts, also failed on two counts typed
on Oct 16: /playground's description says "every model in the catalog"
again, and Enso's model card draws <Models /> instead of "100+".
No feature is removed: every studio keeps its controls, state and motion.
The visible changes are the accent hues and a few pixels of spacing.
9 lines
380 B
TypeScript
9 lines
380 B
TypeScript
import { pageMeta } from '@/lib/page-meta'
|
|
export { default } from '@/lib/meta-layout'
|
|
|
|
export const metadata = pageMeta({
|
|
title: 'Playground — try every model in every mode',
|
|
description: 'Test and compare every model in the catalog interactively: chat, completions, vision, embeddings, audio, and image generation with real-time cost tracking.',
|
|
path: '/playground',
|
|
})
|