mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-13 17:14:04 +02:00
Reflect sass readme change in css.html
This commit is contained in:
8
css.html
8
css.html
@@ -3476,8 +3476,10 @@ $navbar-default-color: $light-orange;
|
|||||||
<p>You can also import components explicitly. To start with a full list of modules copy this file from the gem:</p>
|
<p>You can also import components explicitly. To start with a full list of modules copy this file from the gem:</p>
|
||||||
|
|
||||||
{% highlight bash %}
|
{% highlight bash %}
|
||||||
cp $(bundle show bootstrap-sass)/vendor/assets/stylesheets/bootstrap/bootstrap.scss \
|
# copy and prepend "bootstrap/" to the @import paths:
|
||||||
app/assets/stylesheets/bootstrap-custom.scss
|
sed 's/@import "/@import "bootstrap\//' \
|
||||||
|
$(bundle show bootstrap-sass)/vendor/assets/stylesheets/bootstrap/bootstrap.scss > \
|
||||||
|
app/assets/stylesheets/bootstrap-custom.scss
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
<p>In your <code>application.sass</code>, replace <code>@import 'bootstrap'</code> with:</p>
|
<p>In your <code>application.sass</code>, replace <code>@import 'bootstrap'</code> with:</p>
|
||||||
@@ -3486,7 +3488,7 @@ cp $(bundle show bootstrap-sass)/vendor/assets/stylesheets/bootstrap/bootstrap.s
|
|||||||
@import 'bootstrap-custom';
|
@import 'bootstrap-custom';
|
||||||
{% endhighlight %}
|
{% endhighlight %}
|
||||||
|
|
||||||
<p>Comment out any modules you don't need from <code>bootstrap-custom</code>.</p>
|
<p>Comment out any components you do not want from <code>bootstrap-custom</code>.</p>
|
||||||
|
|
||||||
<h3 id="sass-usage-js">JavaScript</h3>
|
<h3 id="sass-usage-js">JavaScript</h3>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user