1
-- Download the source files: -
- {% highlight bash %}npm install bulma{% endhighlight %} -diff --git a/docs/_data/links.json b/docs/_data/links.json
index 6c2997d2..16512a1d 100644
--- a/docs/_data/links.json
+++ b/docs/_data/links.json
@@ -8,6 +8,42 @@
"name": "Documentation",
"path": "/documentation"
},
+ "overview": {
+ "name": "Overview",
+ "path": "/documentation/overview"
+ },
+ "overview-start": {
+ "name": "Start",
+ "path": "/documentation/overview/start"
+ },
+ "overview-classes": {
+ "name": "Classes",
+ "path": "/documentation/overview/classes"
+ },
+ "overview-modular": {
+ "name": "Modular",
+ "path": "/documentation/overview/modular"
+ },
+ "overview-responsiveness": {
+ "name": "Responsiveness",
+ "path": "/documentation/overview/responsiveness"
+ },
+ "overview-variables": {
+ "name": "Variables",
+ "path": "/documentation/overview/variables"
+ },
+ "overview-colors": {
+ "name": "Colors",
+ "path": "/documentation/overview/colors"
+ },
+ "overview-functions": {
+ "name": "Functions",
+ "path": "/documentation/overview/functions"
+ },
+ "overview-mixins": {
+ "name": "Mixins",
+ "path": "/documentation/overview/mixins"
+ },
"modifiers": {
"name": "Modifiers",
"path": "/documentation/modifiers"
@@ -214,6 +250,7 @@
}
},
"order": {
+ "overview": ["overview-start", "overview-classes", "overview-modular", "overview-responsiveness", "overview-variables", "overview-colors", "overview-functions", "overview-mixins"],
"columns": ["columns-basics", "columns-sizes", "columns-responsiveness", "columns-nesting", "columns-gap", "columns-options"],
"modifiers": ["modifiers-syntax", "modifiers-helpers", "modifiers-responsive-helpers", "modifiers-color-helpers", "modifiers-typography-helpers"],
"form": ["form-general", "form-input", "form-textarea", "form-select", "form-checkbox", "form-radio", "form-file"],
diff --git a/docs/_sass/main.sass b/docs/_sass/main.sass
index fe17a2ea..06dcb8e1 100644
--- a/docs/_sass/main.sass
+++ b/docs/_sass/main.sass
@@ -77,6 +77,8 @@ $main-spacing: 2.5rem
.bd-side-background
display: none
+$sidebar-width: 16rem
+
+tablet
.bd-duo
display: flex
@@ -88,7 +90,7 @@ $main-spacing: 2.5rem
.bd-prev-next
display: flex
.bd-side
- flex: 0 0 calc(#{$carbon-width} + 1.5rem)
+ flex: 0 0 calc(#{$sidebar-width} + 1.5rem)
+desktop
.bd-main
@@ -97,14 +99,16 @@ $main-spacing: 2.5rem
margin-left: -3rem
padding: 3rem
.bd-header
+ align-items: center
display: flex
+ min-height: 130px
.bd-header-titles
flex-grow: 1
flex-shrink: 1
.bd-header-carbon
flex-grow: 0
flex-shrink: 0
- margin-left: 1.5rem
+ margin: -15px 0 -15px 1.5rem
width: $carbon-width
.bd-side
padding: 3rem 0 3rem 1.5rem
diff --git a/docs/css/bulma-docs.css b/docs/css/bulma-docs.css
index 83f84e47..d6c93d40 100644
--- a/docs/css/bulma-docs.css
+++ b/docs/css/bulma-docs.css
@@ -9600,7 +9600,7 @@ label.panel-block:hover {
display: flex;
}
.bd-side {
- flex: 0 0 calc(300px + 1.5rem);
+ flex: 0 0 calc(16rem + 1.5rem);
}
}
@@ -9613,7 +9613,9 @@ label.panel-block:hover {
padding: 3rem;
}
.bd-header {
+ align-items: center;
display: flex;
+ min-height: 130px;
}
.bd-header-titles {
flex-grow: 1;
@@ -9622,7 +9624,7 @@ label.panel-block:hover {
.bd-header-carbon {
flex-grow: 0;
flex-shrink: 0;
- margin-left: 1.5rem;
+ margin: -15px 0 -15px 1.5rem;
width: 300px;
}
.bd-side {
diff --git a/docs/documentation/overview/classes.html b/docs/documentation/overview/classes.html
index 5849b64e..ac7b857a 100644
--- a/docs/documentation/overview/classes.html
+++ b/docs/documentation/overview/classes.html
@@ -1,38 +1,33 @@
---
title: CSS classes
+subtitle: "Bulma is simply a collection of CSS classes. Write the HTML code you want."
layout: documentation
doc-tab: overview
doc-subtab: classes
+breadcrumb:
+- home
+- documentation
+- overview
+- overview-classes
---
-{% include subnav/subnav-overview.html %}
-
-
- Bulma is a CSS framework, meaning that the end result is simply a single
- Because Bulma solely comprises CSS classes, the HTML code you write has no impact on the styling of your page. That's why
- Bulma only styles generic tags directly twice:
- Classes
- Bulma is simply a collection of CSS classes. Write the HTML code you want.
-
-
-
- .css
file:
-
- https://github.com/jgthms.input
exists as a class, so you can choose which <input type="text">
elements you want to style.
-
-
- generic.sass
to define a basic style for your page
- .content
class to use for any textual content, like WYSIWYG
-
+ Bulma is a CSS framework, meaning that the end result is simply a single .css
file:
+
+ https://github.com/jgthms
+ Because Bulma solely comprises CSS classes, the HTML code you write has no impact on the styling of your page. That's why .input
exists as a class, so you can choose which <input type="text">
elements you want to style.
+
+ Bulma only styles generic tags directly twice: +
+generic.sass
to define a basic style for your page
+ .content
class to use for any textual content, like WYSIWYG
+
+ Most elements and components have color variations thanks to modifiers with syntax .is-$color
, like is-primary
or is-dark
.
+
+ This is thanks to the $colors
Sass map, through which Bulma cycles to grab all the colors and their inverts.
+
Color | +Variable | +Value | +Computed value | +Invert value | +Computed invert value | +||
---|---|---|---|---|---|---|---|
+ {{ derivedColor.id | capitalize }} + | +
+ ${{ derivedColor.id }}
+ |
+
+ ${{ initialColor.id }}
+ |
+ + {% include elements/color-square.html value=initialColor.value %} + | + {% if derivedColor.invertValue %} +
+ {{ derivedColor.invertValue }}
+ |
+ + {% include elements/color-square.html value=derivedColor.invertValue %} + | + {% elsif derivedColor.invertId %} + {% assign invertColor = site.data.colors.initial | where: "id", derivedColor.invertId | first %} +
+ ${{ derivedColor.invertId }}
+ |
+ + {% include elements/color-square.html value=invertColor.value %} + | + {% endif %} +
+ Bulma also provides a $shades
Sass map, that only contains shades of grey between black and white.
+
- Most elements and components have color variations thanks to modifiers with syntax .is-$color
, like is-primary
or is-dark
.
-
- This is thanks to the $colors
Sass map, through which Bulma cycles to grab all the colors and their inverts.
-
Color | -Variable | -Value | -Computed value | -Invert value | -Computed invert value | -||
---|---|---|---|---|---|---|---|
- {{ derivedColor.id | capitalize }} - | -
- ${{ derivedColor.id }}
- |
-
- ${{ initialColor.id }}
- |
- - {% include elements/color-square.html value=initialColor.value %} - | - {% if derivedColor.invertValue %} -
- {{ derivedColor.invertValue }}
- |
- - {% include elements/color-square.html value=derivedColor.invertValue %} - | - {% elsif derivedColor.invertId %} - {% assign invertColor = site.data.colors.initial | where: "id", derivedColor.invertId | first %} -
- ${{ derivedColor.invertId }}
- |
- - {% include elements/color-square.html value=invertColor.value %} - | - {% endif %} -
- Bulma also provides a $shades
Sass map, that only contains shades of grey between black and white.
-
Color | -Variable | -Value | -
---|---|---|
- {{ initial_shade.name | capitalize }} - | -
- ${{ initial_shade.id }}
- |
- - {% include elements/color-square.html value=initial_shade.value %} - | -
Color | +Variable | +Value | +
---|---|---|
+ {{ initial_shade.name | capitalize }} + | +
+ ${{ initial_shade.id }}
+ |
+ + {% include elements/color-square.html value=initial_shade.value %} + | +
If you're familiar with Sass and want to customize Bulma with your own colors and variables, just install Bulma via npm:
+If you're familiar with Sass and want to customize Bulma with your own colors and variables, just install Bulma via npm:
-1
-- Download the source files: -
- {% highlight bash %}npm install bulma{% endhighlight %} -2
-- Set your variables -
-
- Create a file called mystyles.scss
and add your own colors, set new fonts, override Bulma's default styles...
-
3
-- See the result: before and after -
-
- As $blue
has been updated, and since $blue-invert
is automatically calculated with the function $blue-invert: findColorInvert($blue)
, the $blue-invert
is now black instead of white
1
+ Download the source files: +
+ {% highlight bash %}npm install bulma{% endhighlight %} +2
++ Set your variables +
+
+ Create a file called mystyles.scss
and add your own colors, set new fonts, override Bulma's default styles...
+
3
++ See the result: before and after +
+
+ As $blue
has been updated, and since $blue-invert
is automatically calculated with the function $blue-invert: findColorInvert($blue)
, the $blue-invert
is now black instead of white
Bulma uses 3 custom functions to help define the values and colors dynamically:
+powerNumber($number, $exp)
: calculates the value of a number exposed to another one. Returns a number.colorLuminance($color)
: defines if a color is dark or light. Return a decimal number between 0 and 1 where <= 0.5 is dark and > 0.5 is light.findColorInvert($color)
: returns either 70% transparent black or 100% opaque white depending on the luminance of the color.findColorInvert()
function" %}
- Bulma uses 3 custom functions to help define the values and colors dynamically:
-powerNumber($number, $exp)
: calculates the value of a number exposed to another one. Returns a number.colorLuminance($color)
: defines if a color is dark or light. Return a decimal number between 0 and 1 where <= 0.5 is dark and > 0.5 is light.findColorInvert($color)
: returns either 70% transparent black or 100% opaque white depending on the luminance of the color.findColorInvert()
function" %}
-
- The findColorInvert($color)
function takes a color as an input, and outputs either transparent black rgba(#000, 0.7)
or white #fff
:
colorLuminance($color) > 0.55
, it outputs rgba(#000, 0.7)
#fff
Its purpose is to guarantee a readable shade for the text when the input color is used as the background.
-color | -color luminance | -findColorInvert() | -result | -
---|---|---|---|
-
- #00d1b2
- |
-
- 0.52831
- |
-
-
- #fff
- |
- - - Button - - | -
-
- #3273dc
- |
-
- 0.23119
- |
-
-
- #fff
- |
- - - Button - - | -
-
- #23d160
- |
-
- 0.51067
- |
-
-
- #fff
- |
- - - Button - - | -
-
- #ffdd57
- |
-
- 0.76863
- |
-
-
- rgba(0, 0, 0, 0.7)
- |
- - - Button - - | -
-
- #ff3860
- |
-
- 0.27313
- |
-
-
- #fff
- |
- - - Button - - | -
-
- #ffb3b3
- |
-
- 0.61796
- |
-
-
- rgba(0,0,0,0.7)
- |
- - - Button - - | -
-
- #ffbc6b
- |
-
- 0.63053
- |
-
-
- rgba(0,0,0,0.7)
- |
- - - Button - - | -
-
- hsl(294, 71%, 79%)
- |
-
- 0.5529
- |
-
-
- rgba(0,0,0,0.7)
- |
- - - Button - - | -
- For colors that have a luminance close to the 0.55
threshold, it can be useful to override the findColorInvert()
function, and rather set the invert color manually.
-
- For example, this shade of purple has a color luminance of 0.5529
. It can be preferable to set a color invert of white instead of transparent black:
-
- with findColorInvert()
- |
-
- $purple-invert: findColorInvert($purple)
- |
-
-
- rgba(0,0,0,0.7)
- |
- - - Button - - | -
---|---|---|---|
- with manual setting - | -
- $purple-invert: #fff
- |
-
-
- #fff
- |
- - - Button - - | -
The findColorInvert($color)
function takes a color as an input, and outputs either transparent black rgba(#000, 0.7)
or white #fff
:
colorLuminance($color) > 0.55
, it outputs rgba(#000, 0.7)
#fff
Its purpose is to guarantee a readable shade for the text when the input color is used as the background.
+color | +color luminance | +findColorInvert() | +result | +
---|---|---|---|
+
+ #00d1b2
+ |
+
+ 0.52831
+ |
+
+
+ #fff
+ |
+ + + Button + + | +
+
+ #3273dc
+ |
+
+ 0.23119
+ |
+
+
+ #fff
+ |
+ + + Button + + | +
+
+ #23d160
+ |
+
+ 0.51067
+ |
+
+
+ #fff
+ |
+ + + Button + + | +
+
+ #ffdd57
+ |
+
+ 0.76863
+ |
+
+
+ rgba(0, 0, 0, 0.7)
+ |
+ + + Button + + | +
+
+ #ff3860
+ |
+
+ 0.27313
+ |
+
+
+ #fff
+ |
+ + + Button + + | +
+
+ #ffb3b3
+ |
+
+ 0.61796
+ |
+
+
+ rgba(0,0,0,0.7)
+ |
+ + + Button + + | +
+
+ #ffbc6b
+ |
+
+ 0.63053
+ |
+
+
+ rgba(0,0,0,0.7)
+ |
+ + + Button + + | +
+
+ hsl(294, 71%, 79%)
+ |
+
+ 0.5529
+ |
+
+
+ rgba(0,0,0,0.7)
+ |
+ + + Button + + | +
+ For colors that have a luminance close to the 0.55
threshold, it can be useful to override the findColorInvert()
function, and rather set the invert color manually.
+
+ For example, this shade of purple has a color luminance of 0.5529
. It can be preferable to set a color invert of white instead of transparent black:
+
+ with findColorInvert()
+ |
+
+ $purple-invert: findColorInvert($purple)
+ |
+
+
+ rgba(0,0,0,0.7)
+ |
+ + + Button + + | +
---|---|---|---|
+ with manual setting + | +
+ $purple-invert: #fff
+ |
+
+
+ #fff
+ |
+ + + Button + + | +
=arrow($color) |
- Creates a CSS-only down arrow. Used for the dropdown select. | -
=block |
- Defines a margin-bottom of 1.5rem, except when the element is the last child. Used for almost all block elements. | -
=clearfix |
- Adds a clearfix at the end of the element. Used for the "is-clearfix" helper. | -
=center($size) |
- Positions an element in the exact center of its parent. Used for the spinner in a loading button. | -
=delete |
- Creates a CSS-only cross. Used for the delete element in modals, messages, tags... | -
=fa($size, $dimensions) |
- Sets the style of a Font Awesome icon container. | -
=hamburger($dimensions) |
- Creates a CSS-only hamburger menu with 3 bars. Used for the "nav-toggle". | -
=loader |
- Creates a CSS-only loading spinner. Used for the ".loader" element, and for input and button spinners. | -
=overflow-touch |
- Sets the style of a container so that it keeps momentum when scrolling on iOS devices. | -
=overlay($offset: 0) |
- Makes the element overlay its parent container, like the transparent modal background. | -
=placeholder |
- Sets the styles of an input placeholder. | -
=unselectable |
- Turns the element unselectable. Used for buttons to prevent selection when clicking. | -
=arrow($color) |
+ Creates a CSS-only down arrow. Used for the dropdown select. | +
=block |
+ Defines a margin-bottom of 1.5rem, except when the element is the last child. Used for almost all block elements. | +
=clearfix |
+ Adds a clearfix at the end of the element. Used for the "is-clearfix" helper. | +
=center($size) |
+ Positions an element in the exact center of its parent. Used for the spinner in a loading button. | +
=delete |
+ Creates a CSS-only cross. Used for the delete element in modals, messages, tags... | +
=fa($size, $dimensions) |
+ Sets the style of a Font Awesome icon container. | +
=hamburger($dimensions) |
+ Creates a CSS-only hamburger menu with 3 bars. Used for the "nav-toggle". | +
=loader |
+ Creates a CSS-only loading spinner. Used for the ".loader" element, and for input and button spinners. | +
=overflow-touch |
+ Sets the style of a container so that it keeps momentum when scrolling on iOS devices. | +
=overlay($offset: 0) |
+ Makes the element overlay its parent container, like the transparent modal background. | +
=placeholder |
+ Sets the styles of an input placeholder. | +
=unselectable |
+ Turns the element unselectable. Used for buttons to prevent selection when clicking. | +
These mixins are already used throughout Bulma, but you can use them as well to extend your own styles.
-These mixins are already used throughout Bulma, but you can use them as well to extend your own styles.
+
- Bulma consists of 39 .sass
files that you can import individually.
-
- For example, let's say you only want the Bulma columns.
-
- The file is located in the bulma/sass/grid
folder.
-
- Simply import the utilities dependencies, and then the files you need directly:
-
- Now you can use the classes .columns
(for the container) and .column
directly:
-
- What if you only want the button styles instead? -
-{% highlight sass %} +{% capture only_button %} @import "bulma/sass/utilities/_all" @import "bulma/sass/elements/button.sass" -{% endhighlight %} -
- You can now use the .button
class, and all its modifiers:
-
.is-active
- .is-primary
,
- .is-info
,
- .is-success
...
- .is-small
,
- .is-medium
,
- .is-large
- .is-outlined
,
- .is-inverted
,
- .is-link
- .is-loading
,
- [disabled]
-
+ Bulma consists of 39 .sass
files that you can import individually.
+
+ For example, let's say you only want the Bulma columns.
+
+ The file is located in the bulma/sass/grid
folder.
+
+ Simply import the utilities dependencies, and then the files you need directly:
+
+ Now you can use the classes .columns
(for the container) and .column
directly:
+
+ What if you only want the button styles instead? +
+ {% highlight sass %}{{ only_button }}{% endhighlight %} +
+ You can now use the .button
class, and all its modifiers:
+
.is-active
+ .is-primary
,
+ .is-info
,
+ .is-success
...
+ .is-small
,
+ .is-medium
,
+ .is-large
+ .is-outlined
,
+ .is-inverted
,
+ .is-link
+ .is-loading
,
+ [disabled]
+ + Every element in Bulma is mobile-first and optimizes for vertical reading, so by default on mobile: +
+columns
are stacked verticallylevel
component will show its children stacked verticallynav
menu will be hiddenFor example, you can enforce the horizontal layout for both columns
or nav
by appending the is-mobile
modifier.
- Every element in Bulma is mobile-first and optimizes for vertical reading, so by default on mobile: -
-columns
are stacked verticallylevel
component will show its children stacked verticallynav
menu will be hiddenFor example, you can enforce the horizontal layout for both columns
or nav
by appending the is-mobile
modifier.
Bulma has 5 breakpoints:
+{{ breakpoint.id }}
: {% if breakpoint.id == 'mobile' %}up to {{ breakpoint.to }}px
{% else %}from {{ breakpoint.from }}px
{% endif %}Bulma uses 9 responsive mixins:
+={{ breakpoint.id }}
{{ breakpoint.to }}px
+ ={{ breakpoint.id }}
{{ breakpoint.from }}px
+ ={{ breakpoint.id }}
{{ breakpoint.from }}px
+ ={{ breakpoint.id }}-only
{{ breakpoint.from }}px
and until {{ breakpoint.to }}px
+ =touch
{{ breakpoint.to }}px
+ Bulma has 5 breakpoints:
-{{ breakpoint.id }}
: {% if breakpoint.id == 'mobile' %}up to {{ breakpoint.to }}px
{% else %}from {{ breakpoint.from }}px
{% endif %}
+ {{ breakpoint.name }} + {% if breakpoint.id == 'mobile' %} + Up to {{ breakpoint.to }}px
+ {% elsif breakpoint.id == 'fullhd' %}
+ {{ breakpoint.from }}px and above
+ {% else %}
+ Between {{ breakpoint.from }}px and {{ breakpoint.to }}px
+ {% endif %}
+ |
+ {% endfor %}
+ ||||
---|---|---|---|---|
+ mobile + |
+
+ - + |
+ |||
+ - + |
+
+ tablet + |
+ |||
+ - + |
+
+ desktop + |
+ |||
+ - + |
+
+ widescreen + |
+ |||
+ - + |
+
+ fullhd + |
+ |||
+ - + |
+
+ tablet-only + |
+
+ - + |
+ ||
+ - + |
+
+ desktop-only + |
+
+ - + |
+ ||
+ - + |
+
+ widescreen-only + |
+
+ - + |
+ ||
+ touch + |
+
+ - + |
+ |||
+ until-widescreen + |
+
+ - + |
+ |||
+ until-fullhd + |
+
+ - + |
+
Bulma uses 9 responsive mixins:
-={{ breakpoint.id }}
{{ breakpoint.to }}px
- ={{ breakpoint.id }}
{{ breakpoint.from }}px
- ={{ breakpoint.id }}
{{ breakpoint.from }}px
- ={{ breakpoint.id }}-only
{{ breakpoint.from }}px
and until {{ breakpoint.to }}px
- =touch
{{ breakpoint.to }}px
-
- {{ breakpoint.name }} - {% if breakpoint.id == 'mobile' %} - Up to {{ breakpoint.to }}px
- {% elsif breakpoint.id == 'fullhd' %}
- {{ breakpoint.from }}px and above
- {% else %}
- Between {{ breakpoint.from }}px and {{ breakpoint.to }}px
- {% endif %}
- |
- {% endfor %}
- ||||
---|---|---|---|---|
- mobile - |
-
- - - |
- |||
- - - |
-
- tablet - |
- |||
- - - |
-
- desktop - |
- |||
- - - |
-
- widescreen - |
- |||
- - - |
-
- fullhd - |
- |||
- - - |
-
- tablet-only - |
-
- - - |
- ||
- - - |
-
- desktop-only - |
-
- - - |
- ||
- - - |
-
- widescreen-only - |
-
- - - |
- ||
- touch - |
-
- - - |
- |||
- until-widescreen - |
-
- - - |
- |||
- until-fullhd - |
-
- - - |
-
+ By default, the $widecreen
and $fullhd
breakpoints are enabled. You can disable them by setting the corresponding Sass boolean to false
:
+
- By default, the $widecreen
and $fullhd
breakpoints are enabled. You can disable them by setting the corresponding Sass boolean to false
:
-
+ You can use these variables to customize the responsive breakpoints. Simply set one or multiple of these variables before importing Bulma. Learn how. +
+- 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 }}
- |
-
Name | +Default value | +
---|---|
Name | +Default value | +
+ {{ variable.name }}
+ |
+
+ {{ variable.value }}
+ |
+
- There are several ways to get started with Bulma. You can either: -
-1
-- Use NPM (recommended): -
- {% highlight bash %}npm install bulma{% endhighlight %} -2
-
- Use the cdnjs CDN
-
- https://cdnjs.com/libraries/bulma
-
3
-
- Download from the repository
-
- https://github.com/jgthms/bulma/tree/master/css
-
- For Bulma to work correctly, you need to make your webpage responsive. -
-1
-- Use the HTML5 doctype -
- {% highlight html %}{% endhighlight %} -2
-- Add the responsive viewport meta tag -
- {% highlight html %}{% endhighlight %} -- If you want to get started right away, you can use this HTML starter template. Just copy/paste this code in a file and save it on your computer. -
-
- bulma-start
is a tiny npm package that includes the npm
dependencies you need to build your own website with Bulma.
-
- Check it out -
-+ There are several ways to get started with Bulma. You can either: +
+1
+ Use NPM (recommended): +
+ {% highlight bash %}npm install bulma{% endhighlight %} +2
+
+ Use the cdnjs CDN
+
+ https://cdnjs.com/libraries/bulma
+
3
+
+ Download from the repository
+
+ https://github.com/jgthms/bulma/tree/master/css
+
+ For Bulma to work correctly, you need to make your webpage responsive. +
+1
++ Use the HTML5 doctype +
+ {% highlight html %}{% endhighlight %} +2
++ Add the responsive viewport meta tag +
+ {% highlight html %}{% endhighlight %} ++ If you want to get started right away, you can use this HTML starter template. Just copy/paste this code in a file and save it on your computer. +
+
+ bulma-start
is a tiny npm package that includes the npm
dependencies you need to build your own website with Bulma.
+
+ Check it out +
+Bulma has two variable files divided into 4 sections:
-Bulma has two variable files divided into 4 sections:
+{{ initial_vars.blue.name }}: {{ initial_vars.blue.value }}
{{ initial_vars.size-1.name }}: {{ initial_vars.size-1.value }}
{{ initial_vars.gap.name }}: {{ initial_vars.gap.value }}
{{ initial_vars.easing.name }}: {{ initial_vars.easing.value }}
or {{ initial_vars.radius-large.name }}: {{ initial_vars.radius-large.value }}
{{ initial_vars.blue.name }}: {{ initial_vars.blue.value }}
{{ initial_vars.size-1.name }}: {{ initial_vars.size-1.value }}
{{ initial_vars.gap.name }}: {{ initial_vars.gap.value }}
{{ initial_vars.easing.name }}: {{ initial_vars.easing.value }}
or {{ initial_vars.radius-large.name }}: {{ initial_vars.radius-large.value }}
{{ derived_vars.primary.name }}: {{ derived_vars.primary.value }}
{{ derived_vars.link.name }}: {{ derived_vars.link.value }}
{{ derived_vars.info.name }}: {{ derived_vars.info.value }}
{{ derived_vars.success.name }}: {{ derived_vars.success.value }}
{{ derived_vars.warning.name }}: {{ derived_vars.warning.value }}
{{ derived_vars.danger.name }}: {{ derived_vars.danger.value }}
{{ derived_vars.dark.name }}: {{ derived_vars.dark.value }}
{{ derived_vars.text.name }}: {{ derived_vars.text.value }}
{{ derived_vars.background.name }}: {{ derived_vars.background.value }}
: a general background color{{ derived_vars.link.name }}: {{ derived_vars.link.value }}
: the links use the primary color{{ derived_vars.family-primary.name }}: {{ derived_vars.family-primary.value }}
: the primary font family is the sans-serif one{{ derived_vars.primary.name }}: {{ derived_vars.primary.value }}
{{ derived_vars.link.name }}: {{ derived_vars.link.value }}
{{ derived_vars.info.name }}: {{ derived_vars.info.value }}
{{ derived_vars.success.name }}: {{ derived_vars.success.value }}
{{ derived_vars.warning.name }}: {{ derived_vars.warning.value }}
{{ derived_vars.danger.name }}: {{ derived_vars.danger.value }}
{{ derived_vars.dark.name }}: {{ derived_vars.dark.value }}
{{ derived_vars.text.name }}: {{ derived_vars.text.value }}
{{ derived_vars.background.name }}: {{ derived_vars.background.value }}
: a general background color{{ derived_vars.link.name }}: {{ derived_vars.link.value }}
: the links use the primary color{{ derived_vars.family-primary.name }}: {{ derived_vars.family-primary.value }}
: the primary font family is the sans-serif one{{ derived_vars.colors.name }}: {{ derived_vars.colors.value }}
{{ derived_vars.shades.name }}: {{ derived_vars.shades.value }}
{{ derived_vars.sizes.name }}: {{ derived_vars.sizes.value }}
{{ derived_vars.colors.name }}: {{ derived_vars.colors.value }}
{{ derived_vars.shades.name }}: {{ derived_vars.shades.value }}
{{ derived_vars.sizes.name }}: {{ derived_vars.sizes.value }}
- To override any of these variables, just set them before importing Bulma. -
-+ To override any of these variables, just set them before importing Bulma. +
+- These are variables with a literal value. -
-+ These are variables with a literal value. +
+
- {{ variable.name }}
- |
-
- {% if starts_with == 'hsl' %}
-
- {% endif %}
- {{ variable.value }}
- |
-
+ {{ variable.name }}
+ |
+
+ {% if starts_with == 'hsl' %}
+
+ {% endif %}
+ {{ variable.value }}
+ |
+