Outline contains everything about outline rendering.
{ color : Maybe.Maybe Color.Color, thickness : Maybe.Maybe Elegant.Helpers.Shared.SizeUnit, style : Maybe.Maybe Elegant.Outline.OutlineStyle }
The Outline
record contains everything about one outline side.
You probably won't use it as is, but instead using Elegant.outline
which automatically generate an empty Outline
record. You
can then use modifiers. I.E.
Elegant.outline
[ Outline.solid
, Elegant.color Color.blue
]
[]
Represents the possible styles of the outline.
It can be Solid or Dashed. They are created by solid
and dashed
.
Generate an empty Outline
record, with every field equal to Nothing.
You are free to use it as you wish, but it is instanciated automatically by Elegant.outline
.
Set the thickness of the outline.
Set the outline to none.
Set the outline as solid.
Set the outline as dashed.
Compiles an Outline
record to the corresponding CSS list of tuples.
Compiles only styles which are defined, ignoring Nothing
fields.