Skip to content

Scssphp and Bootstrap

gtbu edited this page Jan 20, 2025 · 12 revisions

Typesetter uses the inbuilt ScssPhp 1.12.0 – compiler for compilation of scss-files and stores the complied css-files in the cache-directory.

  • Bootstrap4.min.css is 141 kb , while
  • Bootstrap5.3.min. css is 238 kb

Therefore it takes much longer, if You compile a bootstrap5-theme (up to 5 seconds).

A workaround is to use a reduced bootstrap.scss as shown in the example_styles.scss.

  • You have 2 files for prefixing, which You can add to the scss-php-mixins.
Clone this wiki locally