Обновить угловой 17CSS

Разбираемся в CSS
Anonymous
Обновить угловой 17

Сообщение Anonymous »

Я обновил свое угловое приложение на версии 17, прежде чем обновлять, я избавился от устаревших компонентов, я также использую угловой материал. Но после обновления углового материала на 17, у меня возникла проблема с тем, что такие компоненты, как Selects, Dialogs и т. Д. в качестве диалогов и выбирают при нажатии.// hue. Available color palettes: https://material.io/design/color/
$rds-npm-ng-service-advisor-primary: mat.define-palette($sun-yellow);
// $rds-npm-ng-service-advisor-secondary: mat-palette($warranty-pro);
$rds-npm-ng-service-advisor-accent: mat.define-palette($green);

// The warn palette is optional (defaults to red).
$rds-npm-ng-service-advisor-warn: mat.define-palette(mat.$red-palette);

$rds-npm-ng-service-advisor-warn: mat.define-palette(mat.$red-palette);

// Create the theme object (a Sass map containing all of the palettes).
$rds-npm-ng-service-advisor-theme: mat.define-light-theme($rds-npm-ng-service-advisor-primary, $rds-npm-ng-service-advisor-accent, $rds-npm-ng-service-advisor-warn);

// Include theme styles for core and each component used in your app.
// Alternatively, you can import and @include the theme mixins for each component
// that you are using.
@include mat.all-component-themes($rds-npm-ng-service-advisor-theme);



Подробнее здесь: https://stackoverflow.com/questions/795 ... angular-17

Вернуться в «CSS»