+ You can use these variables to customize this element. Simply set one or multiple of these variables before importing Bulma. Learn how. +
+From: Jeremy Thomas
+ You can use these variables to customize this element. Simply set one or multiple of these variables before importing Bulma. Learn how.
+
+
+
diff --git a/docs/_includes/elements/variable-row.html b/docs/_includes/elements/variable-row.html
new file mode 100644
index 000000000..c03b21cda
--- /dev/null
+++ b/docs/_includes/elements/variable-row.html
@@ -0,0 +1,26 @@
+
+
+
+
+ Name
+ Default value
+
+
+
+
+ {% for key in page.variables_keys %}
+ {% assign variable = site.data.variables.elements.form.vars[key] %}
+ Name
+ Default value
+
+
+ {% endfor %}
+
+
+
+ {{ variable.name }}
+
+
+ {{ variable.value }}
+
+
diff --git a/docs/_includes/elements/variables.html b/docs/_includes/elements/variables.html
index a1268dd56..c098c31d8 100644
--- a/docs/_includes/elements/variables.html
+++ b/docs/_includes/elements/variables.html
@@ -53,36 +53,22 @@
- {% for variable_name in variables %}
- {% assign variable = data.by_name[variable_name] %}
-
-
+
+ {{ include.variable.name }}
+
+
+ {% if include.variable.computed_type and include.variable.computed_type != include.variable.type %}
+ {{ include.variable.computed_type }}
+ {% else %}
+ {{ include.variable.type }}
+ {% endif %}
+
+
+
+
+ {{ include.variable.value }}
+
+ {% if include.variable.computed_value != '' %}
+ {% if include.variable.computed_type == 'color' %}
+ {% include elements/color-square.html value=variable.computed_value %}
+ {% elsif include.variable.computed_value and include.variable.computed_value != include.variable.value %}
+
+{{ include.variable.computed_value }}
+ {% endif %}
+ {% endif %}
+
-
- {% endfor %}
+ {% if include.variables_keys %}
+ {% for key in include.variables_keys %}
+ {% if include.responsiveness_variables %}
+ {% assign variable = site.data.variables.utilities.initial-variables.by_name[key] %}
+ {% include elements/variable-row.html variable=variable %}
+ {% else %}
+ {% assign variable = site.data.variables.elements.form.by_name[key] %}
+ {% include elements/variable-row.html variable=variable %}
+ {% endif %}
+ {% endfor %}
+ {% else %}
+ {% for variable_name in variables %}
+ {% assign variable = data.by_name[variable_name] %}
+ {% include elements/variable-row.html variable=variable %}
+ {% endfor %}
+ {% endif %}
diff --git a/docs/documentation/form/file.html b/docs/documentation/form/file.html
index ad028553d..7d1fdd08a 100644
--- a/docs/documentation/form/file.html
+++ b/docs/documentation/form/file.html
@@ -10,16 +10,16 @@ breadcrumb:
- form-file
file_name: "Screen Shot 2017-07-29 at 15.54.25.png"
variables_keys:
-- file-border-color
-- file-radius
-- file-cta-background-color
-- file-cta-color
-- file-cta-hover-color
-- file-cta-active-color
-- file-name-border-color
-- file-name-border-style
-- file-name-border-width
-- file-name-max-width
+- $file-border-color
+- $file-radius
+- $file-cta-background-color
+- $file-cta-color
+- $file-cta-hover-color
+- $file-cta-active-color
+- $file-name-border-color
+- $file-name-border-style
+- $file-name-border-width
+- $file-name-max-width
meta:
experimental: true
colors: true
@@ -730,38 +730,4 @@ meta:
-
- {{ variable.name }}
-
-
- {% if variable.computed_type and variable.computed_type != variable.type %}
- {{ variable.computed_type }}
- {% else %}
- {{ variable.type }}
- {% endif %}
-
-
-
-
- {{ variable.value }}
-
- {% if variable.computed_value != '' %}
- {% if variable.computed_type == 'color' %}
- {% include elements/color-square.html value=variable.computed_value %}
- {% elsif variable.computed_value and variable.computed_value != variable.value %}
-
- {{ variable.computed_value }}
- {% endif %}
- {% endif %}
-
- You can use these variables to customize this element. Simply set one or multiple of these variables before importing Bulma. Learn how. -
-| Name | -Default value | -
|---|---|
| Name | -Default value | -
- {{ variable.name }}
- |
-
- {{ variable.value }}
- |
-
- You can use these variables to customize this element. Simply set one or multiple of these variables before importing Bulma. Learn how. -
-| Name | -Default value | -
|---|---|
| Name | -Default value | -
- {{ variable.name }}
- |
-
- {{ variable.value }}
- |
-
- You can use these variables to customize the responsive breakpoints. Simply set one or multiple of these variables before importing Bulma. Learn how. -
-| Name | -Default value | -
|---|---|
| Name | -Default value | -
- {{ variable.name }}
- |
-
- {{ variable.value }}
- |
-