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.
npm install --save-dev @conjoon/extjs-theme-material
If you want to develop with with this package, run the
npm run build:dev
Testing environment will then be available via
theme property in conjoon's
Additionally, packages providing styling information might refer to this theme
to access SASS-variable definitions.
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
cannot be required in a production build if not specified explicitely. There is a dummy-override in the
defined that makes sure that the class is made available to applications.
The following naming conventions apply: