Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add styleguide base

Krzysztof Białogłowicze0dd82fbe10b
diff --git a/saleor/static/scss/dashboard/components/_style-guide.scss b/saleor/static/scss/dashboard/components/_style-guide.scss
new file mode 100644
index 0000000000..98eb1e76e1
--- /dev/null
+++ b/saleor/static/scss/dashboard/components/_style-guide.scss
@@ -0,0 +1,3 @@
+.styleguide {
+
+}
\ No newline at end of file
diff --git a/saleor/static/scss/dashboard/dashboard.scss b/saleor/static/scss/dashboard/dashboard.scss
index 750654c563..b2cbd2ee62 100644
--- a/saleor/static/scss/dashboard/dashboard.scss
+++ b/saleor/static/scss/dashboard/dashboard.scss
@@ -20,5 +20,6 @@
@import "components/ppoi";
@import "components/select2";
@import "components/search";
+@import "components/style-guide";
@import "components/tabs";
@import "components/toast";
diff --git a/templates/dashboard/styleguide/index.html b/templates/dashboard/styleguide/index.html
index 68d9b5a5cf..077c8664d2 100644
--- a/templates/dashboard/styleguide/index.html
+++ b/templates/dashboard/styleguide/index.html
@@ -19,5 +19,32 @@
{% endblock %}
{% block content %}
-
+ <div class="container styleguide">
+ <div class="row">
+ <div class="col m9 styleguide__content">
+ <div id="typography" class="styleguide__content__block"></div>
+ <div id="colors" class="styleguide__content__block"></div>
+ <div id="buttons" class="styleguide__content__block"></div>
+ <div id="grid" class="styleguide__content__block"></div>
+ <div id="forms" class="styleguide__content__block"></div>
+ <div id="tables" class="styleguide__content__block"></div>
+ <div id="lists" class="styleguide__content__block"></div>
+ <div id="cards" class="styleguide__content__block"></div>
+ <div id="modals" class="styleguide__content__block"></div>
+ </div>
+ <div class="col m3 styleguide__menu">
+ <ul>
+ <li><a href="#">Typography</a></li>
+ <li><a href="#">Colors</a></li>
+ <li><a href="#">Buttons</a></li>
+ <li><a href="#">Grid</a></li>
+ <li><a href="#">Forms</a></li>
+ <li><a href="#">Tables</a></li>
+ <li><a href="#">Lists</a></li>
+ <li><a href="#">Cards</a></li>
+ <li><a href="#">Modals</a></li>
+ </ul>
+ </div>
+ </div>
+ </div>
{% endblock %}