From 1c7709d86bf265103a0862d167ad1f12f332e83d Mon Sep 17 00:00:00 2001 From: Garrick Aden-Buie Date: Wed, 23 Oct 2024 09:31:27 -0400 Subject: [PATCH] refactor(brand): Remove Bootstrap version check --- src/core/sass/brand.ts | 33 +++++++++++++++------------------ 1 file changed, 15 insertions(+), 18 deletions(-) diff --git a/src/core/sass/brand.ts b/src/core/sass/brand.ts index d5840f48e6..9004b0653a 100644 --- a/src/core/sass/brand.ts +++ b/src/core/sass/brand.ts @@ -262,24 +262,21 @@ const brandBootstrapBundle = ( bsVariables.push('// quarto-scss-analysis-annotation { "action": "pop" }'); // Bootstrap Colors from color.palette - let bootstrapColorVariables: string[] = []; - if (Number(brandBootstrap?.version ?? 5) === 5) { - // https://getbootstrap.com/docs/5.3/customize/color/#color-sass-maps - bootstrapColorVariables = [ - "black", - "white", - "blue", - "indigo", - "purple", - "pink", - "red", - "orange", - "yellow", - "green", - "teal", - "cyan", - ] - } + // https://getbootstrap.com/docs/5.3/customize/color/#color-sass-maps + const bootstrapColorVariables = [ + "black", + "white", + "blue", + "indigo", + "purple", + "pink", + "red", + "orange", + "yellow", + "green", + "teal", + "cyan", + ] const bsColors: string[] = [ "/* Bootstrap color variables from _brand.yml */",