enonic-admin-artifacts
Core rules and definitions for styles of Enonic applications.
Install
npm install --save-dev enonic-admin-artifacts
Usage
Import the package from your .less
file:
@import '~enonic-admin-artifacts';
@import '../node_modules/enonic-admin-artifacts/index';
Since less compiler can't manage links to node_modules, relative path to index file is needed.
Main common variables
Among colors and mixins, enonic-admin-artifacts
package defines an important property @_COMMON_PREFIX
in prefix.less to set unique class names for some common classes from:
.@{_COMMON_PREFIX}button {};