mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
* [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>
37 lines
718 B
SCSS
37 lines
718 B
SCSS
@use 'sass:map';
|
|
@use '@angular/material' as mat;
|
|
@import './theme/theme-data';
|
|
|
|
$custom-theme: mat.m2-define-light-theme(
|
|
(
|
|
color: (
|
|
primary: map.get($palettes, primary),
|
|
accent: map.get($palettes, accent),
|
|
warn: map.get($palettes, warning)
|
|
),
|
|
typography: $app-typography
|
|
)
|
|
);
|
|
|
|
@if $background-color {
|
|
$custom-theme: get-custom-background-color($background-color, $custom-theme);
|
|
}
|
|
|
|
@if $text-color {
|
|
$custom-theme: get-custom-text-color($text-color, $custom-theme);
|
|
}
|
|
|
|
@if $base-font-size {
|
|
body,
|
|
html {
|
|
font-size: $base-font-size;
|
|
}
|
|
}
|
|
|
|
@if $font-family {
|
|
body,
|
|
html {
|
|
font-family: $font-family;
|
|
}
|
|
}
|