Rank: Advanced Member
Groups: Authorized User, Developers Joined: 2/17/2019(UTC) Posts: 909
Thanks: 3 times Was thanked: 15 time(s) in 15 post(s)
|
Does AbleCommerce support "less" files as opposed to "css"?
Can we have a "custom.less" as supposed to a "custom.css"?
If the answer is no, are there plans in the future to do so?
Thanks
|
|
|
|
Rank: Administration
Groups: Admin, Administrators, HelpDesk, System, Authorized User, Developers, Registered Joined: 10/5/2018(UTC) Posts: 175
Thanks: 8 times Was thanked: 17 time(s) in 15 post(s)
|
Quote:Does AbleCommerce support "less" files as opposed to "css"? Well out of the box we are using CSS for AbleCommerce. You can update your own theme to use LESS if you want to use a CSS preprocessor. Quote:Can we have a "custom.less" as supposed to a "custom.css"? Well, you can have a custom.less and have it precompile into custom.css. This way you don't have to make any updates to style includes in theme. Alternatively if you don't want to precompile your less file then you can update _ThemeStyles.cshtml and _ThemeScripts.cshtml in your theme to include your less file. Quote:If the answer is no, are there plans in the future to do so?
You can update your theme to make it use LESS preprocessor if that's what needed in your case. We don't have any plans for using LESS or any other CSS preprocessor in the near future but if we did we will probably choose to precompile into CSS due to performance concerns. Edited by user Tuesday, March 3, 2020 4:19:21 AM(UTC)
| Reason: Not specified
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The AbleCommerce Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close