@salaxy/ng1
Version:
AngularJS libraries for Salaxy platform (Palkkaus.fi)
35 lines (24 loc) • 880 B
Markdown
Dynamic LESS-compilation
------------------------
As of July 2019 the `src/less` folder is independent from external references:
everything is in that folder an it does not require node_modules.
This change was done so that you can use dynamic LESS-rendering in browser
by simply copying this folder.
Custom styles compilation with LESS
-----------------------------------
You can compile project specific css-files using the included less-files.
For example:
```
@import "node_modules/@salaxy/ng1/less/bootstrap.less";
@import "variables/variables-bootstrap.less";
```
produces bootstrap.css
and
```
@import "node_modules/@salaxy/ng1/less/salaxy-lib-ng1-bootstrap.less";
@import "variables/variables-bootstrap.less";
@import "variables/variables-salaxy.less";
```
produces salaxy-lib-ng1-bootstrap.less
with overridden variables.
```