This package it to ensure we are using consistent theme variables (and other shared assets) for the EEE+ suite of tools
Install this like any other NPM package. See https://www.npmjs.com/package/@ucirvine/eeeplus-theme for more info
Software
- PHP
^7.0
- Yarn
^1.22
To make changes
- GitHub.com account
- Write access to the
eeeplus-theme
on theucirvine
GitHub.com account
To publish to the package
- npmjs.com account
- Access to the
ucirvine
NPM account - Added your NPM account to your command line by running
npm adduser
and following the prompts
- Update any scss files you need. If you add a new file, do the following:
- Add it to
build.sh
to the bottom of the list of other SCSS files in the following format:cat 'src/FILENMAME' >> dist/theme.scss
. Note that the files are added manually so that they are included in the correct order. - Be sure to add a new line at the bottom of each file so that it does not stack into the previous file.
- Add it to
- Run
build.sh
to merge all the files intodist/theme.scss
and generate the demo docs. - Update
package.json
to increment the version number appropriately. The version number follows SemVer as with our other tools. - Commit the changes to a new branch and submit a pull request
To test changes on a branch, not a release
If you're ever making updates to the theme package and want to test them out in a tool before you make a release,
run npm install --save ucirvine/eeeplus-theme#branch-name
in whatever tool to use the branch instead of a release
Publish the changes via npm: npm publish
-- Note the repository requires 2FA to be enabled for you to publish