ngx-edu-sharing-ui 10.0.26 → 10.0.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,32 @@
1
- /**
2
- branding is deprecated. Use the "themeColors" in the client.config
3
- */
4
- $tokens: (/*
5
- primaryFontFamily,
6
- primaryFontSize,
7
- */ customIcons: false);
1
+ $tokens: (
2
+ primaryFontFamily: 'Montserrat',
3
+ primaryFontSize: 9pt,
4
+ customIcons: true
5
+ );
6
+
7
+
8
+ $warning: #EA4B71;
9
+ $warningMedium: #e98c1b;
10
+ $colorStatusPositive: #189d62;
11
+
12
+ $oehYellow: #e4f700;
13
+ $oehGreen: #b4da1c;
14
+ $tabColorLight: $oehYellow;
15
+ $cardWidth: 280px;
16
+
17
+ @use '@angular/material' as mat;
18
+ @use 'sass:map';
19
+
20
+ $custom-typography: mat.m2-define-typography-config(
21
+ $font-family: map.get($tokens, primaryFontFamily),
22
+ //$display-1: mat.define-typography-level(32px, 40px, 500, 'Montserrat'),
23
+ $headline-1: mat.m2-define-typography-level(24px, 32px, 700, 'Montserrat'),
24
+ $headline-2: mat.m2-define-typography-level(20px, 30px, 700, 'Montserrat'),
25
+ $subtitle-1: mat.m2-define-typography-level(18px, 27px, 700, 'Montserrat'),
26
+ $subtitle-2: mat.m2-define-typography-level(16px, 24px, 700, 'Montserrat'),
27
+ $body-2: mat.m2-define-typography-level(16px, 24px, 400, 'Montserrat'),
28
+ $body-1: mat.m2-define-typography-level(16px, 21px, 400),
29
+ $caption: mat.m2-define-typography-level(11px, 15px, 500, 'Montserrat'),
30
+ $button: mat.m2-define-typography-level(14px, 20px, 700, 'Montserrat'),
31
+ //$input: mat.define-typography-level(inherit, 1.125, 400),
32
+ );
@@ -50,8 +50,37 @@ $dark-disabled-text: rgba(black, 0.54); // increased contrast
50
50
  $dark-secondary-text: rgba(black, 0.54);
51
51
 
52
52
  :root {
53
+ --mat-sys-corner-full: 9999px;
53
54
  --mdc-fab-container-color: #{$backgroundColor};
54
55
  }
56
+ :root {
57
+ --mdc-switch-track-width: 48px;
58
+ --mdc-switch-track-height: 26px;
59
+ --mat-switch-with-icon-handle-size: 22px;
60
+ --mdc-switch-handle-width: 22px;
61
+ --mdc-switch-handle-height: 22px;
62
+ --mat-switch-pressed-handle-size: 22px;
63
+ --mat-switch-track-outline-color: var(--mdc-switch-unselected-handle-color);
64
+ --mdc-switch-handle-shape: var(--mat-sys-corner-full);
65
+ --mdc-switch-track-shape: var(--mat-sys-corner-full);
66
+ }
67
+ html .mat-mdc-slide-toggle {
68
+ --mat-switch-track-outline-width: 2px;
69
+ --mat-switch-unselected-with-icon-handle-horizontal-margin: 0 4px;
70
+ --mat-switch-unselected-pressed-handle-horizontal-margin: 0 4px;
71
+ --mat-switch-selected-with-icon-handle-horizontal-margin: 0 -2px;
72
+ --mat-switch-selected-pressed-handle-horizontal-margin: 0 -2px;
73
+ --mdc-switch-handle-elevation-shadow: none;
74
+ --mat-switch-track-outline-color: var(--mdc-switch-unselected-handle-color);
75
+ }
76
+ .mdc-switch--selected {
77
+ --mdc-switch-selected-icon-size: 16px;
78
+ --mdc-switch-selected-handle-color: var(--palette-primary-contrast-500);
79
+ --mdc-switch-selected-focus-handle-color: var(--palette-primary-contrast-500);
80
+ --mdc-switch-selected-hover-handle-color: var(--palette-primary-contrast-500);
81
+ --mdc-switch-selected-pressed-handle-color: var(--palette-primary-contrast-500);
82
+ --mdc-switch-selected-icon-color: var(--palette-primary-500);
83
+ }
55
84
 
56
85
  .mdc-button {
57
86
  span {
@@ -6,7 +6,8 @@
6
6
  :root {
7
7
  --primary: var(--palette-primary-500);
8
8
  --warning: #cd2457;
9
- --aiColor: #2f0b9b;
9
+ --aiColor: #2c0799;
10
+ --aiColorChipBg: color-mix(in srgb, var(--aiColor), #fff 75%);
10
11
  --aiColorText: #fff;
11
12
  --aiColorChip: #fff;
12
13
  --aiColorChipRemove: #555;