diff --git a/pages/_docs/divider.md b/pages/_docs/divider.md index d50a9a4bf..2a5379dbe 100644 --- a/pages/_docs/divider.md +++ b/pages/_docs/divider.md @@ -7,19 +7,31 @@ done: true ### Default markup {% example html max-width=300 %} -

- Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ab consequatur maxime quia reprehenderit tempore? -

-
Left divider
+{% include ui/hr.html%}

Dicta error hic illo iure necessitatibus nihil officiis omnis perferendis, praesentium repellendus rerum, saepe sed, sit!

-
Centered divider
+{% include ui/hr.html text="Left divider"%}

Dicta error hic illo iure necessitatibus nihil officiis omnis perferendis, praesentium repellendus rerum, saepe sed, sit!

-
Right divider
+{% include ui/hr.html text="Centered divider" position="center"%} +

+ Dicta error hic illo iure necessitatibus nihil officiis omnis perferendis, praesentium repellendus rerum, saepe sed, sit! +

+{% include ui/hr.html text="Right divider" position="right"%}

Dicta error hic illo iure necessitatibus nihil officiis omnis perferendis, praesentium repellendus rerum, saepe sed, sit!

{% endexample %} + +### Divider color + +Customize the color of the divider. You can click [here]({% docs_url colors %}) to see the list of available colors. + +{% example %} +{% include ui/hr.html text="Green divider" color="green"%} +

+Dicta error hic illo iure necessitatibus nihil officiis omnis perferendis, praesentium repellendus rerum, saepe sed, sit! +

+{% endexample %} \ No newline at end of file diff --git a/pages/_includes/ui/hr.html b/pages/_includes/ui/hr.html new file mode 100644 index 000000000..6b7cceeae --- /dev/null +++ b/pages/_includes/ui/hr.html @@ -0,0 +1 @@ +
{{ include.text }}