From 2cb7a5eb23a5a828c86a1dbd931bc97d6d4b1f4d Mon Sep 17 00:00:00 2001 From: Angelos Chalaris Date: Tue, 15 May 2018 19:59:56 +0300 Subject: [PATCH] Event hookup for auto updated fields --- docs/doc-fragments/buildYourOwnFlavor.js | 370 ++++++++++++++--------- docs/v3/DEVLOG.md | 3 + docs/v3/flavors.html | 370 ++++++++++++++--------- 3 files changed, 441 insertions(+), 302 deletions(-) diff --git a/docs/doc-fragments/buildYourOwnFlavor.js b/docs/doc-fragments/buildYourOwnFlavor.js index 556db7b..e792b47 100644 --- a/docs/doc-fragments/buildYourOwnFlavor.js +++ b/docs/doc-fragments/buildYourOwnFlavor.js @@ -10,77 +10,77 @@ module.exports = { Textual content
- +

Base font size for all text elements, in pixels

- +

Base line height for all text elements (unitless)

- +

Font weight for headings (400 is normal, 700 is bold)

- +

Ratio for headings

- +

Line height for headings

- +

Font weight for headings (400 is normal, 700 is bold)

- +

Font size for subheadings, relative to context

- +

Top margin for subheadings, relative to root

- +

Font size for small text, relative to context

- +

Line height for headings

- +

Font size for code elements, relative to context

- +

Top position for superscript, relative to context

- +

Bottom position for subscript, relative to context

- +

Font size for the quotation of blockquotes, relative to root

- +

Font size for the citation of blockquotes, relative to root

@@ -119,7 +119,7 @@ module.exports = {
- +

Secondary border color for certain elements

@@ -151,32 +151,32 @@ module.exports = { Universal styles
- +

Universal padding for most elements, relative to root

- +

Universal margin for most elements, relative to root

- +

Universal border radius for most elements, relative to root

- +

Universal box shadow for most elements

- +

Breakpoint between mobile screen and desktops, in pixels

- +

Breakpoint between desktops and large screens, in pixels

@@ -192,25 +192,30 @@ module.exports = { Grid
- +

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

- +

Breakpoint between small and medium screens, in pixels

+
+ + +

Breakpoint between medium and large screens, in pixels

+
Cards
- +

Width of normal cards, in pixels

- +

Height of card media sections, in pixels

@@ -342,12 +347,12 @@ module.exports = { Header
- +

Height for header elements, relative to root

- +

Font size of header elements, relative to root

@@ -379,7 +384,7 @@ module.exports = { Navigation bar
- +

Maximum number of navigation bar levels

@@ -417,7 +422,7 @@ module.exports = { Footer
- +

Font size for footers, relative to root

@@ -449,17 +454,17 @@ module.exports = { Menu Drawer
- +

Width of menu drawers, in pixels

- +

Font size for menu drawer toggle control, relative to context

- +

Font size for menu drawer close, relative to root

@@ -499,22 +504,22 @@ module.exports = { Tables
- +

Table max height, in pixels

- +

Font size of table captions, relative to root

- +

Attribute name for tables' mobile card labels

- +

Font weight for tables' mobile card labels (400 is normal, 700 is bold)

@@ -567,37 +572,6 @@ module.exports = {
-

Icons module

-

The Icons module contains styling rules for icons. This module is not always enabled and it's recommended to enable it only if you're planning to use the icon set provided.

-
-
- - -
-
-

Utility module

-

The Utility module contains styling rules for utility classes. This module is not always enabled, but it's recommended to enable it as it contains some features that can be useful in most designs.

-
-
- - -
-
- Utilities -
- - - -

Border color for the generic border utility class

-
-
- - - -

Box shadow color for the generic box shadow utility class

-
-
-

Contextual module

The Contextual module contains styling rules for text highlighting, toasts, tooltips, modal dialogs, spoilers and accordions. This module is not always enabled, but it's recommended that you enable it, as it contains functionality that is useful for most designs and layouts.

@@ -621,12 +595,12 @@ module.exports = {
- +

Font size for highlighted text elements, relative to context

- +

Line height for highlighted text elements

@@ -690,12 +664,12 @@ module.exports = { Spoilers & accordions
- +

Label height for spoilers & accordions, relative to root

- +

Maximum height for content in spoilers & accordions, in pixels

@@ -753,7 +727,7 @@ module.exports = { Progress bars
- +

Height of progress bars, relative to root

@@ -770,12 +744,12 @@ module.exports = {
- +

Maximum value for progress bars

- +

Width for inline progress bars, in percentage

@@ -783,12 +757,12 @@ module.exports = { Donut spinners
- +

Size of donut spinners, relative to root

- +

Thickness of donut spinners, relative to root

@@ -805,85 +779,179 @@ module.exports = {
+

Icons module

+

The Icons module contains styling rules for icons. This module is not always enabled and it's recommended to enable it only if you're planning to use the icon set provided.

+
+
+ + +
+
+

Utility module

+

The Utility module contains styling rules for utility classes. This module is not always enabled, but it's recommended to enable it as it contains some features that can be useful in most designs.

+
+
+ + +
+
+ Utilities +
+ + + +

Border color for the generic border utility class

+
+
+ + + +

Box shadow color for the generic box shadow utility class

+
+
+
`, sections: [ {id: 'textual-content', title: 'Textual content'}, diff --git a/docs/v3/DEVLOG.md b/docs/v3/DEVLOG.md index 52f16c6..61d71d9 100644 --- a/docs/v3/DEVLOG.md +++ b/docs/v3/DEVLOG.md @@ -336,3 +336,6 @@ - Coded the `contextual` module's inputs for the flavors page. - Coded the `progress` module's inputs for the flavors page. +- Generalized flavor page previews. +- Hooked up most of the flavor page automatic updates. +- Updated flavor page with `autocomplete="off"` for all `input` fields. diff --git a/docs/v3/flavors.html b/docs/v3/flavors.html index f534d66..12ee62f 100644 --- a/docs/v3/flavors.html +++ b/docs/v3/flavors.html @@ -34,77 +34,77 @@ Textual content
- +

Base font size for all text elements, in pixels

- +

Base line height for all text elements (unitless)

- +

Font weight for headings (400 is normal, 700 is bold)

- +

Ratio for headings

- +

Line height for headings

- +

Font weight for headings (400 is normal, 700 is bold)

- +

Font size for subheadings, relative to context

- +

Top margin for subheadings, relative to root

- +

Font size for small text, relative to context

- +

Line height for headings

- +

Font size for code elements, relative to context

- +

Top position for superscript, relative to context

- +

Bottom position for subscript, relative to context

- +

Font size for the quotation of blockquotes, relative to root

- +

Font size for the citation of blockquotes, relative to root

@@ -143,7 +143,7 @@
- +

Secondary border color for certain elements

@@ -175,32 +175,32 @@ Universal styles
- +

Universal padding for most elements, relative to root

- +

Universal margin for most elements, relative to root

- +

Universal border radius for most elements, relative to root

- +

Universal box shadow for most elements

- +

Breakpoint between mobile screen and desktops, in pixels

- +

Breakpoint between desktops and large screens, in pixels

@@ -216,25 +216,30 @@ Grid
- +

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

- +

Breakpoint between small and medium screens, in pixels

+
+ + +

Breakpoint between medium and large screens, in pixels

+
Cards
- +

Width of normal cards, in pixels

- +

Height of card media sections, in pixels

@@ -366,12 +371,12 @@ Header
- +

Height for header elements, relative to root

- +

Font size of header elements, relative to root

@@ -403,7 +408,7 @@ Navigation bar
- +

Maximum number of navigation bar levels

@@ -441,7 +446,7 @@ Footer
- +

Font size for footers, relative to root

@@ -473,17 +478,17 @@ Menu Drawer
- +

Width of menu drawers, in pixels

- +

Font size for menu drawer toggle control, relative to context

- +

Font size for menu drawer close, relative to root

@@ -523,22 +528,22 @@ Tables
- +

Table max height, in pixels

- +

Font size of table captions, relative to root

- +

Attribute name for tables' mobile card labels

- +

Font weight for tables' mobile card labels (400 is normal, 700 is bold)

@@ -591,37 +596,6 @@
-

Icons module

-

The Icons module contains styling rules for icons. This module is not always enabled and it's recommended to enable it only if you're planning to use the icon set provided.

-
-
- - -
-
-

Utility module

-

The Utility module contains styling rules for utility classes. This module is not always enabled, but it's recommended to enable it as it contains some features that can be useful in most designs.

-
-
- - -
-
- Utilities -
- - - -

Border color for the generic border utility class

-
-
- - - -

Box shadow color for the generic box shadow utility class

-
-
-

Contextual module

The Contextual module contains styling rules for text highlighting, toasts, tooltips, modal dialogs, spoilers and accordions. This module is not always enabled, but it's recommended that you enable it, as it contains functionality that is useful for most designs and layouts.

@@ -645,12 +619,12 @@
- +

Font size for highlighted text elements, relative to context

- +

Line height for highlighted text elements

@@ -714,12 +688,12 @@ Spoilers & accordions
- +

Label height for spoilers & accordions, relative to root

- +

Maximum height for content in spoilers & accordions, in pixels

@@ -777,7 +751,7 @@ Progress bars
- +

Height of progress bars, relative to root

@@ -794,12 +768,12 @@
- +

Maximum value for progress bars

- +

Width for inline progress bars, in percentage

@@ -807,12 +781,12 @@ Donut spinners
- +

Size of donut spinners, relative to root

- +

Thickness of donut spinners, relative to root

@@ -829,85 +803,179 @@
+

Icons module

+

The Icons module contains styling rules for icons. This module is not always enabled and it's recommended to enable it only if you're planning to use the icon set provided.

+
+
+ + +
+
+

Utility module

+

The Utility module contains styling rules for utility classes. This module is not always enabled, but it's recommended to enable it as it contains some features that can be useful in most designs.

+
+
+ + +
+
+ Utilities +
+ + + +

Border color for the generic border utility class

+
+
+ + + +

Box shadow color for the generic box shadow utility class

+
+
+