mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
38 lines
887 B
SCSS
38 lines
887 B
SCSS
@use '@angular/material' as mat;
|
|
@import '../../lib/core/src/lib/styles/index';
|
|
@import '../../lib/core/src/lib/styles/typography';
|
|
@include mat.core;
|
|
|
|
$primary: mat.define-palette($alfresco-accent-orange);
|
|
$accent: mat.define-palette($alfresco-accent-purple);
|
|
$warn: mat.define-palette($alfresco-warn);
|
|
$theme: mat.define-light-theme(
|
|
(
|
|
color: (
|
|
primary: $primary,
|
|
accent: $accent,
|
|
warn: $warn
|
|
),
|
|
typography: $alfresco-typography
|
|
)
|
|
);
|
|
|
|
@include mat.all-component-themes($theme);
|
|
@include alfresco-material-theme($theme);
|
|
|
|
$typography: map-get($theme, typography);
|
|
|
|
body,
|
|
html {
|
|
margin: 0;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
font-size: mat.font-size($typography, body-1);
|
|
font-family: mat.font-family($typography);
|
|
line-height: mat.line-height($typography, body-1);
|
|
}
|
|
|
|
body {
|
|
overflow: auto;
|
|
}
|