From da1893bfcddc9c441294ea9a635b98df842c2fbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20D=C3=A9ramond?= Date: Thu, 9 Jun 2022 18:01:20 +0200 Subject: [PATCH] Fix 'Remove from map' Sass description --- site/content/docs/5.2/customize/sass.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/site/content/docs/5.2/customize/sass.md b/site/content/docs/5.2/customize/sass.md index 6215d1032dea..0fd90bc370f3 100644 --- a/site/content/docs/5.2/customize/sass.md +++ b/site/content/docs/5.2/customize/sass.md @@ -160,18 +160,19 @@ $theme-colors: map-merge($theme-colors, $custom-colors); ### Remove from map -To remove colors from `$theme-colors`, or any other map, use `map-remove`. Be aware you must insert it between our requirements and options: +To remove colors from `$theme-colors`, or any other map, use `map-remove`. Be aware you must insert `$theme-colors` between our requirements just after its definition in `variables` and before its usage in `maps`: ```scss // Required @import "../node_modules/bootstrap/scss/functions"; @import "../node_modules/bootstrap/scss/variables"; + +$theme-colors: map-remove($theme-colors, "info", "light", "dark"); + @import "../node_modules/bootstrap/scss/maps"; @import "../node_modules/bootstrap/scss/mixins"; @import "../node_modules/bootstrap/scss/root"; -$theme-colors: map-remove($theme-colors, "info", "light", "dark"); - // Optional @import "../node_modules/bootstrap/scss/reboot"; @import "../node_modules/bootstrap/scss/type";