Skip to content

Commit bf93178

Browse files
authored
Merge pull request #11474 from quarto-dev/bugfix/11471
forward 'brand' to theme name
2 parents 603c237 + e44837d commit bf93178

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/core/sass/brand.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -567,6 +567,15 @@ export async function brandSassLayers(
567567
const brand = await project.resolveBrand(fileName);
568568
const sassLayers: SassLayer[] = [];
569569

570+
if (brand) {
571+
sassLayers.push({
572+
defaults: '$theme: "brand" !default;',
573+
uses: "",
574+
functions: "",
575+
mixins: "",
576+
rules: "",
577+
});
578+
}
570579
if (brand?.data.color) {
571580
sassLayers.push(brandColorLayer(brand, nameMap));
572581
}

0 commit comments

Comments
 (0)