@conjoon/extjs-theme-material

    0.1.0 • Public • Published

    @conjoon/extjs-theme-material

    This Sencha ExtJS NPM package contains the material theme for development of conjoon along with its application packages. Please note, that this theme serves as a base for pluggable packages, such as conjoon/app-cn_mail, where styling information for these packages are self-contained. This theme extends the Material-Theme of ExtJS. ExtJS > 7.0 is required for this package.

    Installation

    npm install --save-dev @conjoon/extjs-theme-material
    

    If you want to develop with with this package, run the build:dev-script afterwards:

    npm run build:dev

    Testing environment will then be available via

    npm test

    Usage

    Specified as theme property in conjoon's app.json. Additionally, packages providing styling information might refer to this theme to access SASS-variable definitions.

    Note

    Registering as a coon.js-Theme

    This theme automatically registers itself by setting the following global properties:

    Ext.theme.is["coon-js-theme"] = true;
    Ext.theme.name = "extjs-theme-material";
    

    This is to identify itself later on for proper inclusion in the coon.js-environment.

    Loading Source Files

    Although the package is registered as a static-theme package, sources such as the conjoon.theme.material.Theme cannot be required in a production build if not specified explicitely. There is a dummy-override in the init.js-file defined that makes sure that the class is made available to applications.

    Dev

    Naming

    The following naming conventions apply:

    Namespace

    Package name

    extjs-theme-material

    Install

    npm i @conjoon/extjs-theme-material

    DownloadsWeekly Downloads

    7

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    86.5 kB

    Total Files

    55

    Last publish

    Collaborators

    • thorstensuckow