- Added THEME.md documentation detailing the theming system, including usage, service methods, and CSS variables reference. - Created theme.scss with SCSS mixins for applying OpenVidu themes and integrating with Angular Material. - Introduced theme.model.ts to define theme modes and variables. - Developed theme.service.ts to manage theme switching, variable updates, and system theme detection. - Updated public-api.ts to export new theme model and service. - Enhanced styles.scss to incorporate OpenVidu theme integration with Angular Material. - Added support for responsive theme detection based on system preferences.
Openvidu Angular TestAPP
Architechture
openvidu-components-angular
│
└─── src (openvidu-components-testapp)
│
└───projects
│
└─── openvidu-components-angular
How to develop with ease:
Run ng serve for a dev server.
Run, in a new terminal, npm run lib:serve for serving the openvidu-components-angular library with live reload for listening changes
Code scaffolding
For generate new components in openvidu-components-angular:
ng g component components/component-name --project=openvidu-components-angular
Build library
npm run lib:build
Publishing
After the library is built, tun the following command:
cd dist/ && npm publish