Including Magento UI library to your theme

The _lib.less file contains the includes of all Magento UI library files. To use Magento UI library in your theme add the following directive to the theme’s styles.less:

  @import 'source/lib/_lib';

The lib.less file is designed to avoid manual adding of each Magento UI library file import instruction to your theme.