mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-14 11:14:24 +00:00
Include Bulma's initial variables
This commit is contained in:
parent
25836ac0d6
commit
fb866439ef
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user