One column of meaning
Content flows top-to-bottom in a clear reading order. Side rails are for navigation and metadata, never the primary message.
Latest deployments from pinned environments
Search nội bộ
Nhập từ khóa để tìm trực tiếp trong bài viết của blog.
Brand Design DNA · Guideline Layer
B-DNA defines how UI/UX decisions stay consistent across the product — a documentation layer covering structure, color usage, typography, components, spacing, motion and hierarchy. It borrows the discipline of Bolt's brand thinking (color earns attention; neutral does the work), yet it ships no styles: it changes no theme tokens and overrides no existing UI. Read it before you build, audit against it before you ship.
Reference: Bolt brand · companion to S-DNA and the Branding Guideline.
--c-* tokensA page is a stack of clearly bounded sections built from a single primitive: the card. Structure first, decoration never.
Content flows top-to-bottom in a clear reading order. Side rails are for navigation and metadata, never the primary message.
Group related data in cards. Reach for a table only for dense, comparable rows — never as the default container.
Every section has a kicker, a title and a one-line purpose. If a block can't be named, it doesn't belong.
Surfaces sit at one elevation. Overlays (menus, dialogs) are the only thing allowed to float above content.
--c-bg-surface) to separate, not heavy borders.Bolt-inspired logic, applied to our palette: color earns attention, so spend it deliberately. These are usage rules only — every swatch below is an existing theme token. No new color is introduced and no token is changed.
Primary marks the one action you want taken. Action is reserved for high-stakes or destructive moments. Neutral carries everything else — and it is roughly 90% of any screen.
Neutral surfaces and text dominate; primary and action are the exceptions that direct the eye. If color is everywhere, it points to nothing.
var(--c-*) so light/dark just works.One family, inherited from the site. Hierarchy comes from size and weight — not from new fonts or color. Samples below render in the live theme font.
Buttons, cards and inputs are the core kit. Reuse them before inventing anything. Each demo below is scoped to this page and built only from theme tokens.
One primary per view. Secondary and ghost carry lower-priority actions; danger is reserved for destructive intent.
The default container: soft surface, thin border, generous padding, ~14px radius.
Group related content here before reaching for any other layout. Hover shows the standard lift.
Always paired with a label and an optional helper. Focus uses the theme focus ring for accessibility.
All spacing steps off a 4px base. Whitespace is a feature, not leftover room — when in doubt, add space, not another element.
Motion clarifies state; it never performs. Transitions land in 150–250ms with subtle easing, and always respect reduced-motion.
A 3px rise and a soft shadow at 200ms. Enough to feel responsive, never enough to distract.
prefers-reduced-motion everywhere.Make the important thing obvious in one glance. Large numbers earn weight; labels support; units whisper.
The value dominates, the label orients, the unit recedes — the same pattern scales to any metric.
Before shipping any new UI, walk this checklist. The readiness meter updates live — aim for 100% and pass the gate question.
Needs work — does not meet the B-DNA bar yet.
Gate question: “Would this look like it has always belonged in the product?” If not — simplify.
S-DNA · CI/CD Monitor
CI · GitHub
Không có PR nào đang mở.