Packages

Layout and style that's easy to refactor, all without thinking about CSS.

Current section

Files

Jump to
legos include legos@internal@model_Styled.hrl
Raw

include/legos@internal@model_Styled.hrl

-record(styled, {
styles :: list(legos@internal@model:style()),
html :: fun((legos@internal@model:embed_style()) -> fun((legos@internal@model:layout_context()) -> lustre@vdom@vnode:element(any())))
}).