Add documentation of all CSS variables available

This commit is contained in:
Jeremy Thomas
2024-09-18 14:46:10 +01:00
parent 29aea4dfc4
commit 15ff0be367
35 changed files with 635 additions and 97 deletions

View File

@@ -15,6 +15,7 @@ meta:
colors: false
sizes: true
variables: true
hide_css_vars: true
---
{% capture container_example %}
@@ -310,6 +311,4 @@ maximum widths" %}
<div class="bd-example is-fullwidth">{{ container_fluid_example }}</div>
{% highlight html -%} {{- container_fluid_example -}} {%- endhighlight %} {%
include docs/components/variables.html type='element'
data=site.data.variables.elements.container %}
{% highlight html -%} {{- container_fluid_example -}} {%- endhighlight %}

View File

@@ -9,6 +9,8 @@ breadcrumb:
- documentation
- layout
- layout-footer
meta:
variables: true
---
{% capture footer_example %}
<footer class="footer">

View File

@@ -9,6 +9,9 @@ breadcrumb:
- documentation
- layout
- layout-level
meta:
variables: true
hide_css_vars: true
---
{% capture nav_example %}
<!-- Main container -->

View File

@@ -9,6 +9,8 @@ breadcrumb:
- documentation
- layout
- layout-media
meta:
variables: true
---
{% capture media_example %}
<article class="media">

View File

@@ -10,6 +10,8 @@ breadcrumb:
- documentation
- layout
- layout-section
meta:
variables: true
---
{% capture section_example %}
<section class="section">