ebox-playground/examples
2026-08-26 18:42:19 +08:00
..
basic.ebox feat: move and expand Ebox playground references 2026-08-05 20:36:35 +08:00
comprehensive.ebox refactor: put Flex and Grid participation on Box 2026-08-26 16:27:48 +08:00
flex-reference.ebox refactor: express side border overrides canonically 2026-08-26 18:42:19 +08:00
grid-reference.ebox refactor: express side border overrides canonically 2026-08-26 18:42:19 +08:00
public-layout-gallery.ebox refactor: express side border overrides canonically 2026-08-26 18:42:19 +08:00
README.md perf: make previews responsive to viewport changes 2026-08-25 17:16:57 +08:00
README.zh-CN.md perf: make previews responsive to viewport changes 2026-08-25 17:16:57 +08:00
responsive-reference.ebox refactor: express side border overrides canonically 2026-08-26 18:42:19 +08:00

Ebox Playground examples

The .ebox files in this directory are the concrete layouts consumed by the generic ebox-playground runner. They are intentionally ordinary, reader-valid Ebox DSL forms so authors can copy, edit, and open them directly.

The file itself is the data form: structural forms stay unquoted, while literal list and symbol property values use quote just as they do in etaf-view (for example, :gap '(1 (16)) and :justify-content 'center). An unquoted property value is an executable Elisp expression and is evaluated by the runner. The reader itself keeps read-time evaluation disabled.

public-layout-gallery.ebox is the default fixture used by M-x ebox-playground-open. The migrated low-level references live directly beside it: basic.ebox, comprehensive.ebox, flex-reference.ebox, responsive-reference.ebox, and grid-reference.ebox. The Flex reference owns its document viewport with a root :overflow 'scroll box: keyboard line scrolling follows the cursor's innermost scroll owner, mouse wheel scrolling follows the pointer, and residual movement bubbles through nested owners before native buffer scrolling. It keeps its original complete-content semantics during splitter resize. The Grid reference is the complete public property/value gallery: track templates (auto, NFR, (fr FACTOR), minmax, and repeat), implicit tracks, row/column auto-flow, gap shorthand/longhands/aliases, placement and spans, and every supported item/content alignment value. It also documents that Ebox supports row and column auto-flow rather than browser dense variants. To render another fixture, visit it and press C-c C-c, or call ebox-playground-open-file.