ScoriaWeb.Layouts (scoria v0.1.2)

Copy Markdown View Source

Root layout for the embedded Scoria dashboard.

Scoria owns this layout (wired via the scoria_dashboard macro's live_session), so the dashboard renders a complete, self-contained HTML document — its own <head>, its own inlined stylesheet + client bundle, its own LiveSocket — independent of the host app's layout and asset pipeline.

Summary

Functions

TV-1 Span rail brand mark (evenodd vesicle holes; pixel-snapped 3-hole geometry from favicon).

Command palette sections for the shell template.

Inline stroke icons for nav items (brand book §9: stroke, rounded).

Nav groups passthrough for the shell template.

Functions

app(assigns)

brand_mark(assigns)

TV-1 Span rail brand mark (evenodd vesicle holes; pixel-snapped 3-hole geometry from favicon).

Attributes

  • class (:string) - Defaults to nil.

command_sections(base_path)

Command palette sections for the shell template.

icon(assigns)

Inline stroke icons for nav items (brand book §9: stroke, rounded).

Attributes

  • name (:atom) (required)
  • class (:string) - Defaults to "scoria-nav__icon".

root(assigns)