Hey all,
I’ve installed the latest v10.8.2
theme and started fresh. Then I’ve copied a piece of SCSS from a previous project. But it doesn’t seem to render the entire styles anymore.
An example is this file colors.scss
:
@use "sass:map";
$col_primary: "#ffd500";
$col_secondary: "#f29dbf";
$col_tertiary: "#ffffff";
$colors: (
(
slug: "primary",
value: $col_primary,
),
(
slug: "secondary",
value: $col_secondary,
),
(
slug: "tertiary",
value: $col_tertiary,
),
);
:root {
@each $color in $colors {
$slug: map-get($color, "slug");
$value: map-get($color, "value");
#{--#{$slug}}: #{$value};
#{--#{$slug}-root}: #{$value};
}
}
package.json part:
"devDependencies": {
"@alpinejs/intersect": "^3.13.8",
"@roots/bud": "6.20.0",
"@roots/bud-postcss": "^6.20.0",
"@roots/bud-prettier": "6.20.0",
"@roots/bud-purgecss": "6.20.0",
"@roots/bud-sass": "^6.20.0",
"@roots/bud-stylelint": "^6.20.0",
"@roots/bud-tailwindcss": "6.20.0",
"@roots/sage": "6.20.0",
"alpinejs": "^3.13.8"
},
It seems like it’s not processing the SCSS. When I check the front-end render I see the litteral code SCSS code above in de the inline CSS.
There must be a part I forgot