This document covers integration differences between major versions of our themes.
In version 7, we have updated our @angular/material
dependency from v12 to v13 which has changed the way our themes are imported in project's styles.
Before:
import '~@brightlayer-ui/angular-themes/theme.scss'
import '~@brightlayer-ui/angular-themes/open-sans.scss'
After:
use '@brightlayer-ui/angular-themes/theme.scss'
use '@brightlayer-ui/angular-themes/open-sans.scss'
In version 6, we have migrated from the deprecated typeface-open-sans
package to @fontsource/open-sans
(bundled with the Brightlayer UI themes). You'll need to update your Open Sans references in angular.json:
Before:
'./node_modules/typeface-open-sans';
After:
'./node_modules/@brightlayer-ui/angular-themes/open-sans.scss';