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? -
-Dicta error hic illo iure necessitatibus nihil officiis omnis perferendis, praesentium repellendus rerum, saepe sed, sit!
-Dicta error hic illo iure necessitatibus nihil officiis omnis perferendis, praesentium repellendus rerum, saepe sed, sit!
-+ 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 @@ +