Documentation for www.leadership-digitale-kommunikation.de
Make sure Node is installed on your machine.
Then run npm i
. It will install all the necessary dependencies.
Now run gulp build
to build all the relevant assets.
BEM Style: https://bem.info/method/definitions/
If new features of ZeptoJS are required, it needs to be build like described here: https://github.com/madrobby/zepto#building
- Go to zeptojs folder
cd bower_components/zeptojs
- Run
MODULES="zepto event data ie" ./make dist
, add whatever new module is needed - Move it to assets/js
mv dist/zepto.min.js ../../assets/js
- Update this Readme with the new module chain
- Commit the new build and readme.md
Use IcoMoon to generate a new icon font. Follow these steps:
- Go to icomoon.io/app/
- Click
Import Icons
at the top left - Upload the
selection.json
file – it’s located in the repository in/assets/fonts
- Add all the icons you need. Use reasonable area codes and see if there are other codes that are related to the new icon. E. g. if there was a new file icon, place it at
\e62x
. - Generate a new icomoon icon set
- Unzip it and replace the font files in
/assets/fonts
- Edit
/modules/base/_icons.scss
- Update the cache busting hash in the
@font-face
declaration (take the hash fromstyle.css
out of the icomoon set) - Extend the
$base-icons
map with the new names and codes
- Update the cache busting hash in the
- Run
gulp build
– this copies the new font files to the right place
We’d be happy if you’d like to contribute front end fixes or features. Just give me a shout if you need anything.