Socket
Socket
Sign inDemoInstall

enonic-admin-artifacts

Package Overview
Dependencies
0
Maintainers
2
Versions
40
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    enonic-admin-artifacts

Core rules and definitions for styles of enonic applications


Version published
Maintainers
2
Install size
21.2 kB
Created

Readme

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

Last updated on 04 Apr 2024

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc