This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
<link rel="stylesheet" href="{{ [ 'assets/scss/icons/logo.scss', 'assets/scss/main.scss', this.page.scss ]|theme }}">
Last updated
I think you should elaborate about what you are trying to achieve here.
My guess is you want to insert variables into your own scss? Like the backend color variables?
One solution might be to use the combiner variables feature see
This create an interface for the settings of your theme where you can define variables. It is a bit like the WordPress theme settings page but without the live visualization.
However, it is not your solution if you want to dynamically generate generate scss. the combiner is expecting files paths. Thus if you want to achieve this kind of feature you must do it programmatically.
1-3 of 3