mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
AAE-31712 Custom theme fix after ng17 update (#10661)
* AAE-31712 Fix custom theme after Angular17 update * update
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
@use 'sass:map';
|
||||
@use 'sass:math';
|
||||
@use 'sass:color';
|
||||
@use '@angular/material' as mat;
|
||||
|
||||
@function multiply($fore, $back) {
|
||||
$red: math.div(color.red($back) * color.red($fore), 255);
|
||||
@@ -44,8 +45,11 @@
|
||||
$green: color.green($color);
|
||||
$blue: color.blue($color);
|
||||
|
||||
$light-text: $light-primary-text;
|
||||
$dark-text: $dark-primary-text;
|
||||
$light-text: map.get(mat.$light-theme-foreground-palette, text);
|
||||
$light-secondary-text: map.get(mat.$light-theme-foreground-palette, secondary-text);
|
||||
|
||||
$dark-text: map.get(mat.$dark-theme-foreground-palette, text);
|
||||
$dark-secondary-text: map.get(mat.$dark-theme-foreground-palette, secondary-text);
|
||||
|
||||
@if $colorType == 'accent' {
|
||||
$light-text: $light-secondary-text;
|
||||
|
Reference in New Issue
Block a user