Include Bulma's initial variables

This commit is contained in:
Jürgen van Dijk 2016-10-13 11:57:28 +02:00 committed by Jeremy Thomas
parent 25836ac0d6
commit fb866439ef

View File

@ -98,6 +98,9 @@ npm install bulma
<p class="title is-5"> <p class="title is-5">
<strong>Set</strong> your variables:<br> <strong>Set</strong> your variables:<br>
{% highlight sass %} {% highlight sass %}
// Import Bulma's initial variables
@import "bulma/sass/utilities/variables.sass"
// Override initial variables here // Override initial variables here
// You can add new ones or update existing ones: // You can add new ones or update existing ones:
@ -124,7 +127,10 @@ $family-primary: $family-serif // Use the new serif family
<p class="title is-5"> <p class="title is-5">
<strong>Import</strong> Bulma <em>after</em> having set your variables:<br> <strong>Import</strong> Bulma <em>after</em> having set your variables:<br>
{% highlight sass %} {% highlight sass %}
// Override variables here // Import Bulma's initial variables
@import "bulma/sass/utilities/variables.sass"
// Override initial variables here
// You can add new ones or update existing ones: // You can add new ones or update existing ones:
$blue: #72d0eb // Update blue $blue: #72d0eb // Update blue