An official theme for OJS 3.2+.
main | 3.4.0 | 3.3.0 |
---|---|---|
This theme can be installed through the Plugin Gallery in Open Journal Systems. If it's not available in the plugin gallery, you may need to update Open Journal Systems to a compatible version. The theme also can be installed manually by picking up and downloading the correspondent version from a release page.
git clone https://github.com/pkp/pragma.git
.- Move to the theme's root folder:
cd pragma
. - Make sure that npm and Gulp are installed.
- Resolve dependencies:
npm install
. Gulp config file is inside a theme root foldergulpfile.js
. - To compile external SCSS, concatenate styles and minify:
gulp sass
. The result CSS path isresources/dist/app.min.css
. The theme's own styles are compiled automatically by OJS's theme API. - To concatenate and minify javascript:
gulp scripts
andgulp compress
. The result Javascript file path isresources/dist/app.min.js
. Rungulp watch
to view javascript changes insideresources/js
folder in real time. - To compile and minify all at once:
gulp compileAll
. - Copy the plugin's folder to
plugins/themes
directory starting from the OJS installation root folder. - Login into the OJS admin dashboard, activate the plugin and enable the theme.
Note that the master branch may contain code that will not be shipped to the stable release.
This theme is released under the GPL license.
The Alegreya and Spectral fonts are distributed under the terms of the Open Font License.