
Feature request: SCSS compilation (Bootstrap v4 compatibility)
Reported by dleffler | September 4th, 2015 @ 12:08 AM | in 2.4.1 (closed)
Since Twitter Bootstrap 4 will ONLY provide .scss files, we'll need to be able to compile .scss files on the fly to continue with the flexibility we've provided with bs2/3 thus far. The creator of lessphp also has an scss compiler scssphp.
As a note, Bootstrap 3 and Font Awesome provide .scss files (in addition to .less)
Comments and changes to this ticket
-
expNinja September 4th, 2015 @ 11:28 AM
(from [f60d63036bf42a26b84da73b5642e5e56cfa6857]) Initial support for scss to css compilation using scssphp (not actually used or accessed yet) [#1310] https://github.com/exponentcms/exponent-cms/commit/f60d63036bf42a26...
-
dleffler September 4th, 2015 @ 08:08 PM
The syntax for the scss compiler is identical to the less compiler
expCSS::auto_compile_scss('external/bootstrap3/scss/bootstrap.scss', 'tmp/css/testbs3.css', $less_vars);
- scssprimer = lessprimer = css_primer
- scsscss = lesscss = link
We'll likely reuse lessvars as our passed variables. Core css are all .less files which shouldn't change. We auto-pickup theme .less files in the theme /less folder and will do the same for .scss files in the theme /scss folder.
-
dleffler September 10th, 2015 @ 08:34 PM
Both Bootstrap v3.5.1 and 4.0.0alpha compile correctly locally
-
-
-
-
dleffler December 13th, 2016 @ 03:17 PM
- State changed from new to resolved
- Assigned user set to dleffler
- Milestone set to 2.4.1
We'll close this since it was implemented. The remaining bootstrap4 and version updates functionality is left to other tickets
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Bug Tracker for Exponent CMS