@elliemae-digital-experience/ui-kit
v1.0.59
Published
1. goto `corpweb-em-ui-kit/resources/assets/sass/_em-brand.scss` * append code to the file like below: ``` @include em_brand(elliemae-aiq, 209px, 50px); ```
Downloads
36
Readme
Instructions to adding NEW Brand logos
goto
corpweb-em-ui-kit/resources/assets/sass/_em-brand.scss
- append code to the file like below:
@include em_brand(elliemae-aiq, 209px, 50px);
upload SVG assets to
corpweb-em-ui-kit/public/img/brand
(note that logo filename must match param passed above)- Directories:
- root (color logo)
- cool-gray (gray logo)
- white (white logo)
- Directories:
from
corpweb-em-ui-kit/resources/views/components/brand.blade.php
- append code to the file like below:
[ 'name'=>'elliemae-aiq', 'width'=>164, 'height'=>102, ],
from
corpweb-em-ui-kit/resources/assets/
in terminal type:npm install
(this will insure you got latest package.json version)npm version patch
(this will bump your ui-kit version)npm publish
(this will push to https://www.npmjs.com/package/@elliemae-digital-experience/ui-kit cloud)
from
corpweb-em-ui-kit/
runnpm run prod
(this will compile necessary assets for render)commit and push your files
Note to purge CACHE assets on UIKIT:
- Goto URL:
https://console.aws.amazon.com/cloudfront/home?#distribution-settings:E3I7MGO6395EJ6
- Goto Invalidation tab
- Click on Create Invalidation
- Supply paths below as an example to invalidate:
/v1/img/brand/* /img/brand/*