-
Task
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
In order to align the styles across the webapps, the scaffolding of .less files should be normalized.
In the end the scaffolding should look like:
styles.less ├─ cam-variables.less (⤍ commons-ui) | └─ variables.less (⤍ commons-ui - bootstrap) ├─ variables.less ├─ cam-bootstrap.less (⤍ commons-ui) | ├─ mixins.less (⤍ commons-ui - bootstrap) | ├─ normalize.less (⤍ commons-ui - bootstrap) | ├─ print.less (⤍ commons-ui - bootstrap) | ├─ scaffolding.less (⤍ commons-ui - bootstrap) | └─ ... (⤍ commons-ui - bootstrap) ├─ commons-widget-a.less (⤍ commons-ui - widgets) ├─ commons-widget-b.less (⤍ commons-ui - widgets) ├─ webapp-feat-a.less ├─ webapp-feat-b.less ├─ webapp-feat-c.less └─ ...
The grunt task configuration (in commons-ui) should provide import paths to
- the commons-ui widgets
- the webapp plugins
In a way that would not require any changes when adding a commons widget or webapp plugin.
The goal of having a similar scaffolding is reached.
Some design glitches might have been introduced and this OK as styles will benefits from an general lifting.