Working with themes
In this chapter, so far, you’ve learned the following:
- You know where to put LESS/CSS files inside your theme and theme-related folders.
- LESS and CSS files follow the same logic as templates when it comes to the fallback feature. Files located in your theme take the highest priority.
- You know how to work with LESS files preprocessing and compile them into CSS files for both the server and the client side.
As always, there are two ways for us to be able to customize a theme and its styles. One is to extend parents styles and the other one is to override them.
Extending parent styles
I’ll start by explaining how this process is done first. Once I do it, I’ll tell you why, in my opinion, it is not recommended. It is time to focus on how to work with the themes using all the tools we have and some additional features that are in the AC framework. We start by looking into the styles-l.less
file of the Blank theme. You...