ibi-group / trimet-mod-otp

5 stars 5 forks source link

Handle custom css/html #266

Closed landonreed closed 4 years ago

landonreed commented 4 years ago

This PR adds custom CSS and HTML file injection to trimet-mod-otp in order to override the default files (lib/style.scss and index.tpl.html). To override all files, do something like:

cp lib/style.scss lib/index.tpl.html lib/config.yml lib/config.js /tmp
yarn start --env.HTML_FILE=/tmp/index.tpl.html --env.CUSTOM_CSS=/tmp/styles.scss --env.JS_CONFIG=/tmp/config.js --env.YAML_CONFIG=/tmp/config.yml