typo3typo3-extensionstypo3-12.x

t3sbootstrap with customScss


Good morning everyone, is anyone here using t3sbootstrap? I can’t manage to include a custom.scss file and could use some support.

The system behaves as if my custom-variables.scss file doesn’t exist.

Does anyone have an idea and can help me out?

Thanks, Markus

Setup:

In the constants, I’ve set bootstrap.customScssPath to EXT:<my_sitepackage>/Resources/Public/Scss/. In this directory, I have a custom-variables.scss and a custom-styles.scss. I’ve run the scheduler task t3sbootstrap:customScss multiple times (without any errors), cleared the temporary files, but still, nothing changes – not even an error message.

I'd want to change the primary color globally, but nothings happens. No error occured.


Solution

  • The t3sbootstrap extension offers two methods for managing custom SCSS properties:

    1. Storing in fileadmin:
      • Location: fileadmin/T3SB/Resources/Public/T3SB-SCSS/
    2. Storing in the t3sb_package Extension:
      • Location: EXT:t3sb_package/Resources/Public/T3SB-SCSS/

    In order to activate the second option :

    Important Notes: