Bootstrap 4 stable public theme with SCSS - error
Created 6 years ago by robin

Hello,

I'm having trouble upgrading the standard theme (created via make addon:theme xx.xx.xx) to bootstrap 4. When I replace every bootstrap file, I get the following error: An exception has been thrown during the rendering of a template ("expecting color: line: 152").. I recorded a short video to show you what I did: https://i.imgur.com/kJJ89nu.gifv

What is going wrong? Did I miss something? I would really like to use the uncompiled SCSS version of Bootstrap 4 so we can use the _variables.scss in the same way as with the Bootstrap 3 theme.

ryanthompson  —  6 years ago

Can you try removing any minification you have defined in filters? I'll have to try this on my end and see if I can dig something up. That exception you are seeing is in the view system (parsing variables out of files) here: https://github.com/anomalylabs/streams-platform/blob/1.3/src/Asset/Asset.php#L511-L521

robin  —  6 years ago

This is without the minification: https://i.imgur.com/8RTzEbI.png

Unfortunately the same error