bluex v1.11.0
Bluex Core Theme
This theme is use as base for Randstad bluex project.
Getting started
In this folder run
npm installThen clone this repo in src/assets. This will setup Local Orbit.
git clone git@gitlab.workingpropeople.com:randstad-bluex/orbit.gitThen run
npm run buildLocal orbit
This is the place where all Orbit script and style is handled. It serves as the meddleman between Orbit and Bluex. All overrides are done here. Always make sure that you have the latest changes.
Local Orbit javascript override
Javascript should be overrided by extendting existing class.
1. Create new file in overrides.
2. Extend class.
3. Replace path in components.
For example create in overrides/auto-suggest.js and export it.
export class OverrideAutoSuggest extends AutoSuggestOverride the component path in components like this
import { OverrideAutoSuggest } from "../overrides/auto-suggest";
export default OverrideAutoSuggest;Gulp
This theme is usinh gulp for building assets.
Available tasks.
Build icons
gulp build:iconsBuild fonts
gulp build:fontBuild sass located in src/assets/scss
gulp build:theme:cssBuild sass located in src/assets/components
gulp build:components:cssCombine build:theme:css and build:components:css
gulp build:cssWatch scss
gulp watch:cssBuild js located in src/assets/js
gulp build:theme:jsBuild js located in src/assets/components
gulp build:components:jsCombine build:theme:js and build:components:js
gulp build:jsWatch js
gulp watch:jsClean dist folder
gulp cleanCombine build:js, build:css, build:icons and build:font
gulp buildUpdate the theme.
- Update
@randstad-design/orbitpackage. - Run
gulp build
Setup OpCo
6 years ago