Skip to content

Commit 7a04fdb

Browse files
update ui theme
1 parent dcd4900 commit 7a04fdb

File tree

1 file changed

+13
-27
lines changed

1 file changed

+13
-27
lines changed

services/ui/angular/src/theme.scss

Lines changed: 13 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
@include mat.elevation-classes();
55
@include mat.app-background();
66

7-
$new-primary: (
7+
$gray-palette: (
88
100: #ffffff,
99
200: #fafafa,
1010
300: #c7c7c7,
@@ -21,7 +21,7 @@ $new-primary: (
2121
)
2222
);
2323

24-
$new-secondary: (
24+
$blue-palette: (
2525
100: #5ddef4,
2626
200: #00acc1,
2727
300: #007c91,
@@ -32,32 +32,18 @@ $new-secondary: (
3232
)
3333
);
3434

35-
$app-blue: (
36-
200: #8ed5f2,
37-
400: #57b7e8,
38-
600: #469dd5,
39-
contrast: (
40-
200: rgba(black, 0.87),
41-
400: white,
42-
600: white
43-
)
44-
);
45-
46-
$app-green: (
47-
300: #00dbbb,
48-
500: #00c29b,
49-
700: #00a17a,
50-
contrast: (
51-
300: white,
52-
500: white,
53-
700: white
54-
)
55-
);
56-
57-
$app-accent: mat.m2-define-palette($new-primary, 200, 100, 300);
58-
$app-primary: mat.m2-define-palette($new-secondary, 200, 100, 300);
35+
$app-accent: mat.m2-define-palette($gray-palette, 200, 100, 300);
36+
$app-primary: mat.m2-define-palette($blue-palette, 200, 100, 300);
5937
$app-warn: mat.m2-define-palette(mat.$m2-red-palette);
6038

61-
$app-theme: mat.m2-define-light-theme($app-primary, $app-accent, $app-warn);
39+
$app-theme: mat.m2-define-light-theme((
40+
color: (
41+
primary: $app-primary,
42+
accent: $app-accent,
43+
warn: $app-warn
44+
),
45+
typography: mat.m2-define-typography-config(),
46+
density: 0,
47+
));
6248

6349
@include mat.all-component-themes($app-theme);

0 commit comments

Comments
 (0)