Hi guys
How is the convention about making a "_custom.less" file in the rapido folder? With this we can use the Rapido variables in our less files. Is this ok, or should we avoid it (it would not be overwritten on an update of Rapido, right?)
Hi guys
How is the convention about making a "_custom.less" file in the rapido folder? With this we can use the Rapido variables in our less files. Is this ok, or should we avoid it (it would not be overwritten on an update of Rapido, right?)
Hi Jens
Great question. It is a really good idea to use the variables from the Rapido Base project. I think it would help your design to be a little more clean. For example if you use @reflex-cell-spacing, you will have the same spacing as the grid uses.
We do not rename or remove the variables from Base in any release. In the Rapido Less project, there is a lot of generated variables from Website settings. You can also re-use these. For example to get a Brand color. But keep in mind that they will be changed when someone changes Website settings. We do strive not to change the variable names in the Rapido Less project. If we, in some rare circumstance, do, it will be written in the release notes.
Best regards
Karsten Thuen
You must be logged in to post in the forum