You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, is there any interest to make theme setting variables available in less/scss?
This would make it possible for the theme developer to let the user change style colors, sizes and much more (or any bootstrap variable) in the customize theme settings. There are already different color schemes in october themes, but the developer currently need to create several css files by hand for each color. This would be no longer necessary with theme setting variable injecting for less/scss.
I am also a shopify theme developer and it's great to have this feature there, but the implementation is another, on shopify you have a style.scss.liquid file and you can use your template variables (liquid is very similar to twig) in SCSS like this:
$brand-primary: {{settings.brand-primary}};
but with variable injecting (as described above) it would be even more beautiful, isn't?
Hi, is there any interest to make theme setting variables available in less/scss?
This would make it possible for the theme developer to let the user change style colors, sizes and much more (or any bootstrap variable) in the customize theme settings. There are already different color schemes in october themes, but the developer currently need to create several css files by hand for each color. This would be no longer necessary with theme setting variable injecting for less/scss.
I am also a shopify theme developer and it's great to have this feature there, but the implementation is another, on shopify you have a style.scss.liquid file and you can use your template variables (liquid is very similar to twig) in SCSS like this:
but with variable injecting (as described above) it would be even more beautiful, isn't?
Thanks!
See also:
The text was updated successfully, but these errors were encountered: