bulma/docs/_includes/steps/create-sass-file.html

51 lines
1.1 KiB
HTML
Raw Permalink Normal View History

2018-07-14 13:18:43 +00:00
{% capture scss_bulma %}
@charset "utf-8";
2018-07-14 17:38:27 +00:00
@import "{{ include.path }}";
2018-07-14 13:18:43 +00:00
{% endcapture %}
{% capture step_3 %}
<div class="content">
<p>
Create a <code>sass</code> folder in which you add a file called <code>mystyles.scss</code>:
</p>
</div>
{% highlight scss %}{{ scss_bulma }}{% endhighlight %}
<div class="content">
<p>
Make sure to write the correct path to the <code>bulma.sass</code> file.
</p>
</div>
{% endcapture %}
2018-07-14 17:38:27 +00:00
{% capture step_3_bis %}
<div class="content">
<p>
Inside the same <code>src</code> folder, add a file called <code>mystyles.scss</code>:
</p>
</div>
{% highlight scss %}{{ scss_bulma }}{% endhighlight %}
<div class="content">
<p>
Make sure to write the correct path to the <code>bulma</code> folder.
</p>
</div>
{% endcapture %}
2018-07-14 13:18:43 +00:00
{% assign step_title = ". Create a Sass file" | prepend: include.number %}
2018-07-14 17:38:27 +00:00
{% if include.bis == true %}
{% include components/step.html
title=step_title
content=step_3_bis
%}
{% else %}
{% include components/step.html
title=step_title
content=step_3
%}
{% endif %}