SRF Frontend Framework (FEF) is a frontend component library which serves as a basis for the SRF websites. It tries to follow the principles of atomic design and uses the BEM methodology to organise the styles.
FEF is based on patternlab as a showcase for the components. The generated FEF patternlab website can be viewed here: https://frontend-framework.herokuapp.com
- Clone FEF repository via preferred method
composer installnpm install
Documentation is located in /docs and an overview can be found here.
It's also accessible from the start page of the FEF patternlab website.
-
gulpgenerates the patternlab website and starts a local browsersync webserver (URL is displayed in the output of the gulp task) -
gulp sass-lintlint all sass files -
gulp js-lintlint all JS files