Packages

A terminal-UI kit for Gleam: styled text, boxes, semantic messages, icons, and aligned/grouped output (Erlang + JavaScript)

Current section

Files

Jump to
spruce include spruce@box_ConfiguredBoxOptions.hrl
Raw

include/spruce@box_ConfiguredBoxOptions.hrl

-record(configured_box_options, {
title :: binary(),
color :: spruce@style:color(),
padding_top :: integer(),
padding_right :: integer(),
padding_bottom :: integer(),
padding_left :: integer(),
margin_top :: integer(),
margin_right :: integer(),
margin_bottom :: integer(),
margin_left :: integer(),
border :: spruce@box:border(),
width :: gleam@option:option(integer()),
border_top_color :: spruce@style:color(),
border_right_color :: spruce@style:color(),
border_bottom_color :: spruce@style:color(),
border_left_color :: spruce@style:color(),
border_top :: boolean(),
border_right :: boolean(),
border_bottom :: boolean(),
border_left :: boolean()
}).