@Laravelephant - have you had a look at
https://joelennon.com/generating-custom-branded-stylesheets-in-laravel-with-scssphp
It seems to be a tutorial for your exact needs
Hi,
I'm currently working on something which lets a theme be uploaded and then let a user customise aspects of that theme via a form.
Right now the theme CSS files are being uploaded to S3 and served from a CDN. Certain variables are stored on a configuration page which then will post to a controller.
From that I want to be able to take the user input and pass the values to the relevant SCSS variable. Once that is done then I'll need to compile the SCSS and upload the new CSS file, replacing the old one.
I've been trying this with the scssphp package but haven't had much luck. I think mix may be a better way of doing this but wondered if anyone has any advice on how to achieve this?
Thanks!
Please or to participate in this conversation.