mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
Ng18 migration (#10683)
* [MIGRATION] - Angular 18 * [ci:force][MIGRATION] - fixed Apollo new import * [MIGRATION] - rebased to lastest * [MIGRATION] - updated style to use still material 2 and postpone material migration * [AAE-32974] - sync lock with version 8 * [AAE-33014] - Fixed m2 material issue * Rebased to latest * Rebased to latest * [ACS-9159] Upgraded node version (#10782) * [MIGRATION] - Added missing package * [MIGRATION] - check if hte module mapping hide the warning * [MIGRATION] - Readded wrongly removed package * Upgrade TS --------- Co-authored-by: AleksanderSklorz <115619721+AleksanderSklorz@users.noreply.github.com> Co-authored-by: DominikIwanek <dominik.iwanek@hyland.com>
This commit is contained in:
@@ -2,22 +2,19 @@
|
||||
@use '@angular/material' as mat;
|
||||
@import './theme/theme-data';
|
||||
|
||||
$custom-theme: mat.define-light-theme(
|
||||
$custom-theme: mat.m2-define-light-theme(
|
||||
(
|
||||
color: (
|
||||
primary: map.get($palettes, primary),
|
||||
accent: map.get($palettes, accent),
|
||||
warn: map.get($palettes, warning),
|
||||
warn: map.get($palettes, warning)
|
||||
),
|
||||
typography: $app-typography,
|
||||
typography: $app-typography
|
||||
)
|
||||
);
|
||||
|
||||
@if $background-color {
|
||||
$custom-theme: get-custom-background-color(
|
||||
$background-color,
|
||||
$custom-theme
|
||||
);
|
||||
$custom-theme: get-custom-background-color($background-color, $custom-theme);
|
||||
}
|
||||
|
||||
@if $text-color {
|
||||
|
Reference in New Issue
Block a user