<p dir="auto">Include only Bootstrap components that are in use as recommended <a href="https://getbootstrap.com/docs/5.1/customize/sass/#importing" rel="nofollow">here</a><br>
by creating <code class="notranslate">_bootstrap-custom.scss</code> as described <a href="https://github.com/twbs/bootstrap-rubygem#sass-individual-components">here</a>.<br>
Results in ~10% smaller css.</p>
<p dir="auto">Actually I do this to modify Bootstrap's theme colors. It has to be done after importing variables but before importing components, and I can't do that if everything is imported in one <code class="notranslate">@import</code>.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/openstreetmap/openstreetmap-website/pull/4250'>https://github.com/openstreetmap/openstreetmap-website/pull/4250</a></p>

<h4>Commit Summary</h4>
<ul>
  <li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/4250/commits/fd73bce13269ad2924a58e3b340231bd3d087c57" class="commit-link">fd73bce</a>  Don't include unused bootstrap css</li>
</ul>

<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/4250/files">2 files</a>)</p>
<ul>
  <li>
    <strong>A</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4250/files#diff-49e3be7615db612f358eaa330ea40a6e50dc525623b5fd56eb0ba928efc0d6fe">app/assets/stylesheets/_bootstrap-custom.scss</a>
    (53)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4250/files#diff-e86a39e6d0b163f152db8843fc7d647a3f5d648de4a74f1732bef4474b6e5bc8">app/assets/stylesheets/common.scss</a>
    (2)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4250.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/4250.patch</a></li>
  <li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/4250.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/4250.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4250">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLJLRSSZYTPKDB6VQ7LX2YXLJANCNFSM6AAAAAA43F5U7A">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLM3GBBFRLTI7PT5JWLX2YXLJA5CNFSM6AAAAAA43F5U7CWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHHCOMCA4.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/4250</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/4250",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/4250",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>