Technical documentation / Current implementation

Interface & motion

The BitsBites visual language, accessible interactions and the implementation behind the scroll scenes.

One geometry, many uses.

The identity starts with a whole and a precisely separated piece. The logo symbol, hero, reward diagrams and collection scenes reuse this relationship. Their geometry describes a concept; it does not encode balances, percentages or performance.

Geist is self-hosted. Wordmark exports contain vector outlines and do not require the font to render. The brand kit includes light, dark and monochrome SVG marks, an accent symbol, a favicon, and app/social icons in SVG and PNG.

UseLightDark
Background#f5f4ef#181a18
Foreground#20241f#f0f0e8
Graphical accent#ff5b28#ff7442

Light-theme orange display text uses a darker tone for contrast. Graphical accent colors and text colors are not interchangeable in every context.

Theme without a flash.

An inline head script resolves the saved bitsbites-theme preference before the page paints. Without a valid saved choice, the page follows prefers-color-scheme.

A manual theme change updates the document theme, browser theme color and toggle label. A supported View Transition provides a short transition; reduced-motion users receive an immediate change. If local storage is unavailable, changing the theme still works for the current page.

Motion explains the reward.

The main story moves from a complete object to a separated Bite and then to a collection. The value-flow scene shows a purchase moving toward a company and a Bite returning. The final scene brings separate fragments into one structure.

Scroll listeners schedule a single animation frame instead of running a permanent animation loop. Section measurements are cached, refreshed on resize and after fonts load. Transforms and opacity carry the graphical movement.

prefers-reduced-motion removes pinned scrolling and large transforms. The full explanation remains visible in reading order. JavaScript-free layouts retain the content and native signup forms. Mobile compositions use less separation and smaller movement ranges.

Keep the language aligned.

Shared financial vocabulary lives in src/content/brand.ts. New copy should use that module where applicable. Product details should change only when they have been confirmed.

Navigation data lives in src/content/navigation.ts. Editorial pages share EditorialLayout.astro; technical pages share DocsLayout.astro. Code examples are escaped text, with a copy interaction that does not execute or submit them.

Keep headings in a meaningful hierarchy, describe the purpose of diagrams, preserve visible keyboard focus and verify both themes at narrow widths. Technical detail belongs in these docs, while the homepage keeps the product idea accessible.