hybris techne is the design guideline and component library for modern, mobile-first, user-centric experience design on YaaS
See this page for a list of UI Components included in hybris techne. https://techne.yaas.io/section-1.html
You can easily install techne using Bower:
bower install hyTechne
Four quick steps to get started:
- Clone the repo.
- Run npm:
npm install
. - Run npm:
npm start
or run gulp:gulp
- If you have a different folder setup than the default bower, you should modify the config.json to fit your needs.
Within the repo you'll find the following directories and files:
├── src/
│ ├── less
│ ├── icons
│ ├── js
│ └── templates
├── dist/
│ ├── css
│ ├── js
│ ├── fonts
├── docs
Nothing easier than that! Simply include our styes.less files like:
@import "bower_components/hyTechne/src/less/styles";
.
Remember to fix the paths for fonts by overwriting the path variables in a less include after the style.less include like:
@import "_resource-paths";
and add in the file something like:
// Use this file to point to the right folders
// for correct paths for icon-fonts etc
@bootstrap-path: '../../bower_components/bootstrap'; // Path to bootstrap folder
@bower-path: '../../bower_components'; // Path to bower_components folder
@hytech-path: '../../bower_components/hyTechne'; // Path to hytech folder
Note: In order to build the less the minimum required version of less is 2.3.0.