Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

enonic-admin-artifacts

Package Overview
Dependencies
Maintainers
2
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

enonic-admin-artifacts

Core rules and definitions for styles of enonic applications

  • 1.7.8
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
532
increased by187.57%
Maintainers
2
Weekly downloads
 
Created
Source

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:

  • webpack (using css-loader):
@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 {}; // => .xp-admin-common-button {}

Keywords

FAQs

Package last updated on 13 Oct 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc