Description
This plugin creates a series of classes to draw a 100vw stroke pseudo layer.
Jump to the demos to see each in action, or jump to a specific underline class group:
Setup
Demos
The basic usage is to add stroke-full-bottom
to draw a stroke
at the bottom of your container, or stroke-full-top
- along
with a colour for your stroke, stroke-full-primary
:
Stroke colours are derived from your
theme.borderColor
settings. So, using the secondary border
colour and drawing a top stroke:
Usage with background-fill
:
You can also change the border style - any
valid CSS border style
can be used. So, using stroke-full-dotted
:
And stroke-full-dashed
:
By default, the stroke width is 0.0625em (1px). But, you can use any spacing
value from your theme.spacing
config. For a 0.125em (2px)
stroke
And a 0.25em (4px) stroke:
Combining type with thickness, a 0.625em (10px) dashed stroke: