From 6918364a37d1c23e53abbecd9e52781ee38d39f8 Mon Sep 17 00:00:00 2001 From: Angelos Chalaris Date: Wed, 2 May 2018 19:23:33 +0300 Subject: [PATCH] Inputs for the layout module flavor controls --- docs/doc-fragments/buildYourOwnFlavor.js | 57 +++++++++++++++++++++- docs/v3/DEVLOG.md | 4 ++ docs/v3/flavors.html | 61 ++++++++++++++++++++++-- 3 files changed, 118 insertions(+), 4 deletions(-) diff --git a/docs/doc-fragments/buildYourOwnFlavor.js b/docs/doc-fragments/buildYourOwnFlavor.js index bf23d78..631f782 100644 --- a/docs/doc-fragments/buildYourOwnFlavor.js +++ b/docs/doc-fragments/buildYourOwnFlavor.js @@ -5,7 +5,7 @@ module.exports = { content: `

Core module

The Core module contains styling rules for common textual elements, headings, quotations and code, as well as rules for universal styling and color palettes. This module is always enabled, as many other modules and components depend on it.

-
+
Textual content
@@ -181,6 +181,58 @@ module.exports = {
+

Layout module

+

The Layout module contains rules and functionality for the grid and card systems. This module is not always enabled, but it's highly recommended that you enable it, as many other components depend on its functionality to work properly.

+
+
+ + +
+
+ Grid +
+ + +

Number of horizontal column partitions for the grid system (default 12)

+
+
+ + +

Breakpoint between small and medium screens, in pixels

+
+
+
+ Cards +
+ + +

Width of normal cards, in pixels

+
+
+ + +

Height of card media sections, in pixels

+
+
+ + + +

Foreground color for cards

+
+
+ + + +

Background color for cards

+
+
+ + + +

Border color for cards

+
+
+
`, diff --git a/docs/v3/DEVLOG.md b/docs/v3/DEVLOG.md index 358e62b..6ceb33b 100644 --- a/docs/v3/DEVLOG.md +++ b/docs/v3/DEVLOG.md @@ -315,3 +315,7 @@ - Started working on the tool for flavors. Made an initial draft of all the needed variables. - Coded the base architecture behind the flavors page. - Coded the `core` module's inputs for the flavors page. + +## 20180502 + +- Coded the `layout` module's inputs for the flavors page. diff --git a/docs/v3/flavors.html b/docs/v3/flavors.html index 2e928ba..4116ea8 100644 --- a/docs/v3/flavors.html +++ b/docs/v3/flavors.html @@ -29,7 +29,7 @@

Build your own flavor

Core module

The Core module contains styling rules for common textual elements, headings, quotations and code, as well as rules for universal styling and color palettes. This module is always enabled, as many other modules and components depend on it.

-
+
Textual content
@@ -195,16 +195,68 @@
- +

Breakpoint between mobile screen and desktops, in pixels

- +

Breakpoint between desktops and large screens, in pixels

+

Layout module

+

The Layout module contains rules and functionality for the grid and card systems. This module is not always enabled, but it's highly recommended that you enable it, as many other components depend on its functionality to work properly.

+
+
+ + +
+
+ Grid +
+ + +

Number of horizontal column partitions for the grid system (default 12)

+
+
+ + +

Breakpoint between small and medium screens, in pixels

+
+
+
+ Cards +
+ + +

Width of normal cards, in pixels

+
+
+ + +

Height of card media sections, in pixels

+
+
+ + + +

Foreground color for cards

+
+
+ + + +

Background color for cards

+
+
+ + + +

Border color for cards

+
+
+