[2.9.5] Compiling css files using less returns Mermaid error
Posted: Thu Oct 06, 2016 2:55 pm
HI,
I try to figure out the templating system. I want to change some CSS stuff like colors, etc.
In order to make an own theme, I copies the default folder to a new folder and changed the template in the admin. That works fine.
Then, I figure that the only file I need to change in fact is the style.min.css. However I want to change thing the right way, which is (according to me) update the less files and compile them into the style.css and style.min.css. Am I correct?
When I try to compile the style.less files (on my Ubuntu 14.04 desktop) I tried:. Unfortunately, I get an error (I changed name and path with <name> and <directoy> manually for obvious reasons):
Can you please explain what went wrong and how to compile the less files the right way?
Thanks in advance!
Bob
I try to figure out the templating system. I want to change some CSS stuff like colors, etc.
In order to make an own theme, I copies the default folder to a new folder and changed the template in the admin. That works fine.
Then, I figure that the only file I need to change in fact is the style.min.css. However I want to change thing the right way, which is (according to me) update the less files and compile them into the style.css and style.min.css. Am I correct?
When I try to compile the style.less files (on my Ubuntu 14.04 desktop) I tried:
Code: Select all
lessc style.less style.css
Code: Select all
FileError: '../../../../../components/mermaid/dist/mermaid.forest.css' wasn't found. Tried - /home/<name>/Documents/<directory>/FAQ/components/mermaid/dist/mermaid.forest.css,/home/<name>/Documents/<directory>/FAQ/components/mermaid/dist/mermaid.forest.css,../../../../../components/mermaid/dist/mermaid.forest.css in /home/<name>/Documents/<directory>/FAQ/TEST - phpMYFAQ/assets/template/<templatename>/less/style.less on line 886, column 1:
885 //
886 @import (less)"../../../../../components/mermaid/dist/mermaid.forest.css";
Thanks in advance!
Bob