Skip to content

Scssphp and Bootstrap

gtbu edited this page Sep 24, 2026 · 4 revisions

Typesetter until summer 2026 uses the inbuilt ScssPhp 1.12 - 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). The newer version use scssphp 2.10 which compiles faster.

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