<p></p>
<blockquote>
<p dir="auto">Can you expand on this please, perhaps with an example?</p>
</blockquote>
<p dir="auto"><a href="https://getbootstrap.com/docs/5.1/customize/sass/#add-to-map" rel="nofollow">https://getbootstrap.com/docs/5.1/customize/sass/#add-to-map</a></p>
<p dir="auto">You can't add to the theme map before it's defined. Then you may try to include Bootstrap first, but if you include everything, it's too late to modify the map.</p>
<p dir="auto">Something like this would work, if there's an editable file with Bootstrap includes:</p>
<pre class="notranslate"><code class="notranslate">// Configuration
@import "bootstrap/functions";
@import "bootstrap/variables";
@import "bootstrap/mixins";
@import "bootstrap/utilities";
$theme-colors: map-merge($theme-colors, $custom-colors); // added custom themes
// Layout & components
@import "bootstrap/root";
@import "bootstrap/reboot";
@import "bootstrap/type";
@import "bootstrap/images";
...
</code></pre>
<p dir="auto">Or do you prefer to redefine the entire theme map instead of adding to it?</p>
<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#issuecomment-1727883973">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLMAV6T42SHURWXVKRLX3L657ANCNFSM6AAAAAA43F5U7A">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLJFVJEINHFFGXU32ETX3L657A5CNFSM6AAAAAA43F5U7CWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTG7VVMK.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/c1727883973</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#issuecomment-1727883973",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/4250#issuecomment-1727883973",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>