This is a preferences web component which can be integrated into any website.
npm i preferences-web-extension
Use the package manager npm to install web component.
<preference-view env-config='{"apiHost":"http://localhost:4000","apiKey":"apikey"}'
access-token="token" hr-id="389755"></preference-view>
To customize colors, define the following CSS variables in your application:
- --pref-app-color-darkBlueGreen
- --pref-app-color-darkGreen
- --pref-app-color-midGreen
- --pref-app-color-blackGrey
- --pref-app-color-lightGrey
- --pref-app-color-iOsSystemTintsSystemGreenLight