@smitag/angular-shared-ui 18.1.14 → 18.1.16
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.
package/README.md
CHANGED
|
@@ -12,10 +12,11 @@ This repository contains themes for [Angular Material](https://github.com/angula
|
|
|
12
12
|
@use '@smitag/angular-shared-ui/src/lib/styles/styles';
|
|
13
13
|
@use '@smitag/angular-shared-ui/src/lib/styles/themes/default';
|
|
14
14
|
```
|
|
15
|
-
## Applying the theme
|
|
15
|
+
## Applying the theme color
|
|
16
16
|
|
|
17
|
-
If you want to apply the theme
|
|
17
|
+
If you want to apply the theme primary color to html elements, set the class to `theme-color-primary`.
|
|
18
|
+
For the secondary color use `theme-color-secondary`.
|
|
18
19
|
|
|
19
20
|
```html
|
|
20
|
-
<
|
|
21
|
+
<mat-icon class="theme-color-primary" fontSet="far" fontIcon="fa-edit"></mat-icon>
|
|
21
22
|
```
|
package/package.json
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
.mat-mdc-card-title.colored {
|
|
3
3
|
background-color: rgba($secondary, 0.1);
|
|
4
4
|
color: $primary;
|
|
5
|
+
margin-bottom: 0 !important;
|
|
5
6
|
}
|
|
6
7
|
|
|
7
8
|
a,
|
|
@@ -17,16 +18,17 @@
|
|
|
17
18
|
background-color: $primary;
|
|
18
19
|
}
|
|
19
20
|
|
|
20
|
-
.
|
|
21
|
-
.theme-color-primary,
|
|
22
|
-
.mat-primary {
|
|
21
|
+
.theme-color-primary {
|
|
23
22
|
color: $primary;
|
|
24
23
|
}
|
|
25
24
|
|
|
26
|
-
.
|
|
27
|
-
|
|
25
|
+
.theme-color-secondary {
|
|
26
|
+
color: $secondary;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label {
|
|
28
30
|
color: $primary;
|
|
29
|
-
}
|
|
31
|
+
}
|
|
30
32
|
}
|
|
31
33
|
|
|
32
34
|
@mixin whiteToolbar($primary, $second-color) {
|