1.0.1 • Published 5 years ago
cron-editor-material-style v1.0.1
cron-editor-material-style
cron-editor-material-style is Material design CSS styles for cron-editor.
Installation
This extension is published as a npm package.
npm install cron-editor-material-style --saveUsage
Use class cron-editor-material-control in CronOptions:
cronOptions: CronOptions = {
formInputClass: 'cron-editor-material-control',
formSelectClass: 'cron-editor-material-control',
...
};In your component styles use:
::ng-deep {
@import "~cron-editor-material-style/scss/mixin";
@include cron-editor-material-style($color);
}where $color is the color of active tab or active input field. Default value: #3f51b5.
If you are not using Sass, then use a precompiled CSS:
~cron-editor-material-style/css/cron-editor-material-style.cssDevelopment
1. Install dependencies
npm install2. Build CSS
npm run buildLicense
Licensed under the MIT license.