-
Notifications
You must be signed in to change notification settings - Fork 84
/
styles.scss
39 lines (31 loc) · 1009 Bytes
/
styles.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/* You can add global styles to this file, and also import other style files */
@use '@angular/material' as mat;
// Use this import in a real project instead
//@use '@mat-datetimepicker/core/datetimepicker/datetimepicker-theme.scss';
@use 'dist/core/datetimepicker/datetimepicker-theme.scss';
@include mat.core();
$app-primary: mat.m2-define-palette(mat.$m2-indigo-palette);
$app-accent: mat.m2-define-palette(mat.$m2-pink-palette);
$app-warn: mat.m2-define-palette(mat.$m2-red-palette);
$theme: mat.m2-define-light-theme(
(
color: (
primary: $app-primary,
accent: $app-accent,
warn: $app-warn,
),
typography: mat.m2-define-typography-config(),
density: 0,
)
);
@include mat.all-component-themes($theme);
// Using the $theme variable from the pre-built theme you can call the theming function
@include datetimepicker-theme.mat-datetimepicker-theme($theme);
html,
body {
height: 100%;
}
body {
margin: 0;
font-family: Roboto, 'Helvetica Neue', sans-serif;
}