- Bulma is a free, open source framework that provides ready-to-use frontend components that you can easily
- combine to build responsive web interfaces.
+ Bulma is a free, open source framework that provides ready-to-use
+ frontend components that you can easily combine to build responsive web
+ interfaces.
@@ -46,9 +47,10 @@ These variable changes are documented here, so you can edit or revert them if ne
{% endfor %}
-{% include elements/anchor.html name="New variables" %}
+{% include docs/elements/anchor.html name="New variables" %}
{% for item in site.data.blog.migratingv070.new %}
+
@@ -75,7 +77,7 @@ These variable changes are documented here, so you can edit or revert them if ne
{% endfor %}
-{% include elements/anchor.html name="Removed variables" %}
+{% include docs/elements/anchor.html name="Removed variables" %}
diff --git a/docs/_posts/2019-10-15-light-dark-colors.md b/docs/_posts/2019-10-15-light-dark-colors.md
index 65ac8799..270af833 100644
--- a/docs/_posts/2019-10-15-light-dark-colors.md
+++ b/docs/_posts/2019-10-15-light-dark-colors.md
@@ -12,21 +12,21 @@ alt: "Light and dark clouds"
The new version **[Bulma 0.8.0](https://github.com/jgthms/bulma/releases/tag/0.8.0)** is out! 😃 It comes with several bug fixes and a lot of nice new features:
-* [Light/Dark colors](#light-dark-colors)
-* [Better visual look](#better-visual-look)
-* [Panel colors](#panel-colors)
-* [Larger form controls](#larger-form-controls)
-* [4-value color map](#4-value-color-map)
-* [Scheme variables for "Dark mode"](#scheme-variables-for-dark-mode)
+- [Light/Dark colors](#light-dark-colors)
+- [Better visual look](#better-visual-look)
+- [Panel colors](#panel-colors)
+- [Larger form controls](#larger-form-controls)
+- [4-value color map](#4-value-color-map)
+- [Scheme variables for "Dark mode"](#scheme-variables-for-dark-mode)
More in the [Changelog](https://github.com/jgthms/bulma/releases/tag/0.8.0).
-{% include elements/anchor.html name="Light/Dark colors" %}
+{% include docs/elements/anchor.html name="Light/Dark colors" %}
Each main color (`"primary"`, `"info"`, `"success"`, `"warning"`, `"danger"`) now comes with a `*-light` and a `*-dark` version. They are calculated using 2 new color functions:
-* `findLightColor()` which finds the light version of a color
-* `findDarkColor()` which finds the dark version of a color
+- `findLightColor()` which finds the light version of a color
+- `findDarkColor()` which finds the dark version of a color
The **light** colors are used by the `button` element:
@@ -45,7 +45,7 @@ The **light** and **dark** colors are used by the `message` component, which gen
-{% include elements/anchor.html name="Better visual look" %}
+{% include docs/elements/anchor.html name="Better visual look" %}
Some of the Bulma colors have been updated:
@@ -60,10 +60,10 @@ Some of the Bulma colors have been updated:
$green
- {% include elements/color-square.html value="hsl(141, 71%, 48%)" %}
+ {% include docs/elements/color-swatch.html background="hsl(141, 71%, 48%)" %}
- {% include elements/color-square.html value="hsl(141, 53%, 53%)" %}
+ {% include docs/elements/color-swatch.html background="hsl(141, 53%, 53%)" %}
@@ -71,10 +71,10 @@ Some of the Bulma colors have been updated:
$cyan
- {% include elements/color-square.html value="hsl(204, 86%, 53%)" %}
+ {% include docs/elements/color-swatch.html background="hsl(204, 86%, 53%)" %}
- {% include elements/color-square.html value="hsl(204, 71%, 53%)" %}
+ {% include docs/elements/color-swatch.html background="hsl(204, 71%, 53%)" %}
@@ -82,10 +82,10 @@ Some of the Bulma colors have been updated:
$red
- {% include elements/color-square.html value="hsl(348, 100%, 61%)" %}
+ {% include docs/elements/color-swatch.html background="hsl(348, 100%, 61%)" %}
- {% include elements/color-square.html value="hsl(348, 86%, 61%)" %}
+ {% include docs/elements/color-swatch.html background="hsl(348, 86%, 61%)" %}
@@ -106,7 +106,7 @@ The shadows of the box and card have
-{% include elements/anchor.html name="Panel colors" %}
+{% include docs/elements/anchor.html name="Panel colors" %}
The panel component is now available in all colors:
@@ -118,7 +118,7 @@ The shadows of the box and card have
-{% include elements/anchor.html name="Larger form controls" %}
+{% include docs/elements/anchor.html name="Larger form controls" %}
Form controls and buttons are now `2.5em` high. You can revert this resizing by setting these previous values:
@@ -131,7 +131,7 @@ $button-padding-vertical: calc(0.375em - #{$button-border-width})
$button-padding-horizontal: 0.75em
```
-{% include elements/anchor.html name="4-value color map" %}
+{% include docs/elements/anchor.html name="4-value color map" %}
The `$colors` Sass map now accepts, for each of its values, a map of up to **4** values. For example: the key `"info"` now has the `($info, $info-invert, $info-light, $info-dark)` map.
@@ -139,16 +139,30 @@ If you provide a `$custom-colors` map, you can decide to provide a map of 1, 2,
```scss
$custom-colors: (
- "lime": (lime),
- "tomato": (tomato, white),
- "orange": ($orange, $orange-invert, $orange-light),
- "lavender": ($lavender, $lavender-invert, $lavender-light, $lavender-dark)
+ "lime": (
+ lime,
+ ),
+ "tomato": (
+ tomato,
+ white,
+ ),
+ "orange": (
+ $orange,
+ $orange-invert,
+ $orange-light,
+ ),
+ "lavender": (
+ $lavender,
+ $lavender-invert,
+ $lavender-light,
+ $lavender-dark,
+ ),
);
```
This is processed by the updated `mergeColorMaps()` Sass function.
-{% include elements/anchor.html name='Scheme variables for "Dark mode"' %}
+{% include docs/elements/anchor.html name='Scheme variables for "Dark mode"' %}
There are 6 new `$scheme` derived variables: `$scheme-main` `$scheme-main-bis` `$scheme-main-ter` `$scheme-invert` `$scheme-invert-bis` `$scheme-invert-ter`
They replace the `$white` and `$black` occurrences in the codebase.
diff --git a/docs/alternative-to-bootstrap.html b/docs/alternative-to-bootstrap.html
index 9500fd11..d3c48e06 100644
--- a/docs/alternative-to-bootstrap.html
+++ b/docs/alternative-to-bootstrap.html
@@ -56,10 +56,8 @@ bootstrap:
content: "Bulma has introduced some support for accessibility, but Bootstrap has strong and pervasive compatibility with **WCAG 2.0** guidelines."
---
-{% include global/navbar.html id="AlternativeToBootstrap" %}
-
{%
- include components/hero.html
+ include docs/components/hero.html
color="bootstrap"
icon="fas fa-exchange-alt"
title="Bulma: an **alternative** to Bootstrap"
@@ -67,7 +65,7 @@ bootstrap:
%}
{%
- include components/call.html
+ include docs/components/call.html
color="primary"
text='Both Bulma and Bootstrap are CSS frameworks that allow developers to quickly build web interfaces with ease. While they have fairly similar features, they still differ in some ways, and you might wonder why you should choose one framework over the other. This page is here to help answer that.'
%}
@@ -85,7 +83,7 @@ bootstrap:
{% for pro in page.bulma %}
{%
- include content/pro.html
+ include docs/content/pro.html
type=pro.type
icon=pro.icon
icon_brand=pro.icon_brand
@@ -106,7 +104,7 @@ bootstrap:
{% for pro in page.bootstrap %}
{%
- include content/pro.html
+ include docs/content/pro.html
type=pro.type
icon=pro.icon
icon_brand=pro.icon_brand
@@ -142,7 +140,7 @@ bootstrap:
- {% include content/comparison.html %}
+ {% include docs/content/comparison.html %}