Theme manager compiling bug

I want to set custom font sizes for h2 for example.
But I get the following error

(can’t compile)

(Bootstrap 5 latest beta, local)

Reproduce:

  1. Go to theme manager → advanced
  2. Select h2 font size
  3. Change the value from $font-size-base * 2 to $font-size-base * 3
  4. Compile with the rocket icon
  5. Error occurs

PS in the screenshot I put it back to $font-size-base *2, which removed the line in theme.json, but still gave me the error.

You need to declare the font-size-base before using it in the h2 font size option - so just include it before the h2 font size in advanced options.

1 Like