From e90de8108c8cf889737474d62156fbd692b93347 Mon Sep 17 00:00:00 2001 From: Angelos Chalaris Date: Tue, 15 May 2018 18:57:08 +0300 Subject: [PATCH] Inputs for the contextual module flavor controls --- docs/doc-fragments/buildYourOwnFlavor.js | 146 ++++++++++++++++++++++- docs/v3/DEVLOG.md | 4 + docs/v3/flavors.html | 146 ++++++++++++++++++++++- 3 files changed, 294 insertions(+), 2 deletions(-) diff --git a/docs/doc-fragments/buildYourOwnFlavor.js b/docs/doc-fragments/buildYourOwnFlavor.js index 0911d6f..1b846cc 100644 --- a/docs/doc-fragments/buildYourOwnFlavor.js +++ b/docs/doc-fragments/buildYourOwnFlavor.js @@ -598,6 +598,150 @@ module.exports = { +

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.

+
+
+ + +
+
+ Text highlighting +
+ + + +

Foreground color for highlighted text elements

+
+
+ + + +

Background color for highlighted text elements

+
+
+ + +

Font size for highlighted text elements, relative to context

+
+
+ + +

Line height for highlighted text elements

+
+
+
+ Toasts +
+ + + +

Foreground color for toasts

+
+
+ + + +

Background color for toasts

+
+
+
+ Tooltips +
+ + + +

Foreground color for tooltips

+
+
+ + + +

Background color for tooltips

+
+
+
+ Modal dialogs +
+ + + +

Overal color for modal dialogs

+
+
+ + + +

Close color for modal dialogs

+
+
+ + + +

Background color for modal dialogs' close (on hover)

+
+
+ + +

Modal dialog close size, relative to root

+
+
+
+ Spoilers & accordions +
+ + +

Label height for spoilers & accordions, relative to root

+
+
+ + +

Maximum height for content in spoilers & accordions, in pixels

+
+
+ + + +

Background color for content in spoilers & accordions

+
+
+ + + +

Border color for spoilers & accordions

+
+
+ + + +

Foreground color for labels in spoilers & accordions

+
+
+ + + +

Background color for labels in spoilers & accordions

+
+
+ + + +

Background color for labels in spoilers & accordions (on hover)

+
+
+ + + +

Background color for selected labels in spoilers & accordions

+
+
+ + + +

Border color for selected labels in spoilers & accordions

+
+
+