Skip to content

Latest commit

 

History

History
67 lines (50 loc) · 2.72 KB

File metadata and controls

67 lines (50 loc) · 2.72 KB

Layout Styles

The sixteen data-ly-layout values are focused token and topology profiles:

minimal-saas, bauhaus, tactile, cyberpunk, f-pattern, brutalism, neumorphism, y2k, retro-glass, z-pattern, retrofuturism, mondrian, synthwave, bento, maximalist, and split-screen.

<body class="ly-root" data-ly-layout="bento">
  <main data-ly-recipe="dashboard">...</main>
</body>

Shared Engine

Every profile feeds the same wrapper, primitive, and recipe engine. Profiles tune values such as:

  • wrapper measure
  • base and grid gaps
  • rail, pane, and media preferences
  • gallery and card minimums
  • frame ratio
  • shared recipe area and track templates

A profile must remain visibly distinct through at least two spatial characteristics. Personality files may not declare their own @container, viewport, or orientation breakpoint systems.

Ownership

Layout owns structure. UI Style Kit owns paint. Interactive Surface owns interaction styling.

The personality name does not promise colors, typography, borders, shadows, or interaction states. Pair the same name across libraries when desired, but import each library explicitly and let it own its layer.

Visual Pairing Guidance

layout-style-css/personalities.json is the public, machine-readable pairing source used by the demo. Its entries are recommendations, never dependencies: data-ly-layout, data-ui, data-theme, and data-mode are independently selectable on the same document.

Layout personality Visual pairing guidance
Minimal SaaS Native match: minimal-saas
Bento Native match: bento
Maximalist Native match: maximalist
Bauhaus Native match: bauhaus
Tactile Native match: tactile
Neumorphism Native match: neumorphism
Retrofuturism Native match: retrofuturism
Brutalism Native match: brutalism
Cyberpunk Native match: cyberpunk
Y2K Native match: y2k
Retro Glass Native match: retro-glass
F-pattern Any visual preset; this is structure only
Z-pattern Any visual preset; this is structure only
Split Screen Any visual preset; this is structure only
Mondrian Any visual preset; this is structure only
Synthwave Recommended: cyberpunk or retrofuturism; the browser contract verifies each preset's distinct rendered article shadow while retaining data-ly-layout="synthwave"

Customization

Override public tokens at .ly-root or a narrower scope:

.product-shell {
  --ly-profile-gap: 1.25rem;
  --ly-recipe-rail: 17rem;
  --ly-card-grid-min: 18rem;
}

Use data-ly-responsive="manual" plus an application-owned @container ly-scope query when token tuning is not enough.